
/* Mobile-specific styles and components */

/* Details tab styles for mobile */
.detail-tab-btn {
  padding: 12px 12px;
  font-size: 14px;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
  font-weight: 600;
}

.detail-tab {
  padding: 20px 0;
}

.detail-tab .grid {
  gap: 24px;
}

.detail-tab .space-y-4 > div {
  margin-bottom: 16px;
}

.detail-tab .space-y-4 > div:last-child {
  margin-bottom: 0;
}

/* Mobile package list styles */
.mobile-package-list {
  display: none;
}

.mobile-package-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-package-item.selected {
  border-color: var(--primary-color);
  background-color: rgba(14, 165, 233, 0.05);
}

.mobile-package-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mobile-package-title {
  font-weight: 600;
  font-size: 16px;
  color: #1f2937;
}

.mobile-package-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-color);
}

.mobile-package-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b7280;
  font-size: 14px;
}

.mobile-package-data {
  font-weight: 600;
}

.mobile-package-validity {
  font-size: 16px;
}

.mobile-package-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-package-item.selected .mobile-package-radio {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.mobile-package-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-package-item.selected .mobile-package-radio::after {
  opacity: 1;
}

/* Slide-up Search Panel */
.search-panel-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.search-panel-overlay.active {
  display: block;
}

.search-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.search-panel.active {
  transform: translateY(0);
}

.search-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.search-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.search-panel-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
}

.search-panel-content {
  padding: 20px;
}

.mobile-search-container {
  position: relative;
  margin-bottom: 20px;
}

.mobile-search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.mobile-search-input:focus {
  border-color: var(--primary-color);
}

.mobile-search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.mobile-search-results {
  max-height: 300px;
  overflow-y: auto;
}

/* Mobile body padding to prevent overlap with bottom nav */
.mobile-body-padding {
  padding-bottom: 80px;
}

/* ICCID Input Mobile Improvements */
.iccid-input {
  transition: border-color 0.3s;
}

.iccid-container {
  position: relative;
}
