/* ==========================================================================
   FIXBASERA - QUICKSERVE STYLE MODERN DESIGN SYSTEM
   ========================================================================== */

:root {
  --primary-blue: #3b82f6;
  --primary-indigo: #4338ca;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  --orange-accent: #ff6b00;
  --orange-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  --whatsapp-green: #10b981;
  --whatsapp-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

  --dark-navy: #0b1329;
  --navy-card: #152244;

  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-soft-blue: #eff6ff;
  --bg-soft-purple: #f3e8ff;
  --bg-soft-yellow: #fef3c7;
  --bg-soft-green: #ecfdf5;
  --bg-soft-pink: #fff1f2;

  --border-light: #e2e8f0;
  --text-dark: #0f172a;
  --text-muted: #64748b;

  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 10px 25px rgba(67, 56, 202, 0.28);
  --shadow-wa: 0 10px 25px rgba(16, 185, 129, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-indigo);
  background: var(--bg-soft-blue);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary, .btn-blue {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover, .btn-blue:hover {
  box-shadow: 0 14px 35px rgba(67, 56, 202, 0.38);
}

.btn-orange {
  background: var(--orange-gradient);
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.28);
}

.btn-whatsapp {
  background: var(--whatsapp-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-wa);
}
.btn-whatsapp:hover {
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.38);
}

.btn-outline {
  border-color: var(--border-light);
  background: #ffffff;
  color: var(--text-dark);
}
.btn-outline:hover {
  background: var(--bg-soft-blue);
  border-color: #cbd5e1;
}

.btn-soft {
  background: var(--bg-soft-blue);
  color: var(--primary-indigo);
}
.btn-soft:hover {
  background: #dbeafe;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.full {
  width: 100%;
}

.link-btn {
  color: var(--text-dark);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   HEADER (QUICKSERVE STYLE)
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-gradient);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-blue);
  font-size: 22px;
  font-weight: 800;
}

.brand strong {
  font-size: 24px;
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--text-dark);
}
.brand small {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--primary-indigo);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-picker-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   HERO SECTION (QUICKSERVE STYLE)
   -------------------------------------------------------------------------- */
.hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-copy h1 {
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-dark);
}
.hero-copy h1 span {
  color: var(--primary-indigo);
}

.hero-copy > p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 32px;
}

/* Dual Dropdown Search Widget */
.hero-search-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.search-field-group {
  display: flex;
  flex-direction: column;
}
.search-field-group label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.search-field-group select, .search-field-group input {
  border: 0;
  background: var(--bg-page);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  outline: 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-icon {
  color: var(--whatsapp-green);
}

/* Hero Visual with Floating Chips */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.floating-service-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: float-soft 4s ease-in-out infinite alternate;
}
.floating-service-chip.chip-1 {
  top: 30px;
  left: -20px;
}
.floating-service-chip.chip-2 {
  top: 40px;
  right: -20px;
  animation-delay: 1s;
}
.floating-service-chip.chip-3 {
  bottom: 80px;
  right: -15px;
  animation-delay: 2s;
}

.chip-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft-blue);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.chip-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-dark);
}
.chip-info small {
  font-size: 11px;
  color: var(--text-muted);
}
.chip-rating {
  color: #f59e0b;
  font-weight: 700;
}

@keyframes float-soft {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   POPULAR CATEGORIES (QUICKSERVE PASTEL GRID)
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0;
}
.section-head .view-all {
  color: var(--primary-indigo);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.categories-grid, .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

@media (min-width: 768px) {
  .categories-grid, .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid, .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cat-bg-blue { background: var(--bg-soft-blue); border-color: #dbeafe; }
.cat-bg-yellow { background: var(--bg-soft-yellow); border-color: #fef08a; }
.cat-bg-green { background: var(--bg-soft-green); border-color: #a7f3d0; }
.cat-bg-purple { background: var(--bg-soft-purple); border-color: #e9d5ff; }
.cat-bg-pink { background: var(--bg-soft-pink); border-color: #fecdd3; }

.cat-icon-3d {
  font-size: 42px;
  margin-bottom: 12px;
  line-height: 1;
}
.category-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--text-dark);
}
.category-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   OFFERS & TRUSTED METRICS DUAL BANNER
   -------------------------------------------------------------------------- */
.dual-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}

.offer-card-banner {
  background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border: 1px solid #c7d2fe;
}
.offer-info h4 {
  color: var(--primary-indigo);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.offer-info h3 {
  font-size: 26px;
  margin: 0 0 14px;
}
.coupon-tag {
  display: inline-block;
  background: #ffffff;
  color: var(--primary-indigo);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  border: 1px dashed var(--primary-indigo);
  margin-bottom: 18px;
}

.gift-illustration {
  font-size: 80px;
}

.trust-metrics-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}
.trust-metrics-card h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.metric-item {
  background: var(--bg-page);
  padding: 16px;
  border-radius: 16px;
}
.metric-icon {
  font-size: 26px;
  margin-bottom: 6px;
}
.metric-item strong {
  display: block;
  font-size: 24px;
  color: var(--text-dark);
  font-family: var(--font-heading);
}
.metric-item small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS (QUICKSERVE 4-STEP SEQUENCE)
   -------------------------------------------------------------------------- */
.how-it-works-sec {
  background: #ffffff;
  text-align: center;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}

.step-card {
  background: var(--bg-page);
  border-radius: 20px;
  padding: 32px 20px;
  position: relative;
  border: 1px solid var(--border-light);
}

.step-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.step-number-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-indigo);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.step-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE QUICKSERVE / FIXBASERA BANNER
   -------------------------------------------------------------------------- */
.why-banner-card {
  background: var(--bg-soft-blue);
  border-radius: 28px;
  padding: 45px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  border: 1px solid #dbeafe;
}

.why-pro-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.why-info-list h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.why-check-list {
  display: grid;
  gap: 12px;
}
.why-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}
.check-icon-blue {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-indigo);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   APP CTA SECTION
   -------------------------------------------------------------------------- */
.app-section-card {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-radius: 28px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid #c7d2fe;
}
.app-section-card h2 {
  font-size: 40px;
  margin-bottom: 14px;
}
.app-section-card p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   DARK NAVY FOOTER (QUICKSERVE STYLE)
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark-navy);
  color: #94a3b8;
  padding: 75px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}

.footer-brand strong span { color: #ffffff; }
.footer-brand small { color: #64748b; }

.footer h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer a, .footer p {
  display: block;
  color: #94a3b8;
  margin: 10px 0;
  font-size: 14px;
}
.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

/* Floating WhatsApp Button */
.floating-wa {
  position: fixed;
  right: 26px;
  bottom: 26px;
  background: var(--whatsapp-gradient);
  color: #ffffff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-wa);
  z-index: 999;
  animation: wa-pulse-ring 2.2s infinite;
}
.floating-wa:hover {
  transform: scale(1.12);
}

@keyframes wa-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6), var(--shadow-wa); }
  70% { box-shadow: 0 0 0 18px rgba(16, 185, 129, 0), var(--shadow-wa); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), var(--shadow-wa); }
}

/* --------------------------------------------------------------------------
   FORMS & APP PAGES
   -------------------------------------------------------------------------- */
.auth-page, .success-page {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
}
.auth-card, .success-card {
  width: min(500px, 100%);
  background: #ffffff;
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
}

label {
  display: block;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 16px 0 6px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  background: #ffffff;
  color: var(--text-dark);
}

.booking-page, .dashboard-page {
  padding: 75px 0;
  min-height: 80vh;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}
.booking-panel, .side-card, .admin-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.summary-box {
  background: var(--bg-page);
  padding: 22px;
  border-radius: 16px;
  text-align: left;
  margin: 25px 0;
  border: 1px solid var(--border-light);
}

.booking-id-banner {
  background: linear-gradient(135deg, var(--dark-navy), var(--navy-card));
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 16px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #e0f2fe; color: #075985; }
.status-assigned { background: #dbeafe; color: #1e40af; }
.status-in-progress { background: #fae8ff; color: #86198f; }
.status-completed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.label-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.btn-location-fetch {
  background: var(--bg-soft-blue);
  color: var(--primary-indigo);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.location-status {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}
.location-status.success { color: #16a34a; }
.location-status.error { color: #dc2626; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .desktop-nav, .nav-actions { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .menu-open .mobile-menu {
    display: grid;
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
  }
  .hero-grid, .dual-banner-grid, .why-banner-card, .app-section-card, .booking-layout {
    grid-template-columns: 1fr;
  }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .how-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 36px; }
  .hero-search-card { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   FORM GRID & INPUT CONTROL STYLING
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.form-grid label input,
.form-grid label select,
.form-grid label textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all 0.2s ease;
}
.form-grid label input:focus,
.form-grid label select:focus,
.form-grid label textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-grid .full-col {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.partner-step-block {
  background: #ffffff;
  border-radius: 16px;
}

/* ==========================================================================
   HIGH-END ADMIN LOGIN & PORTAL DESIGN SYSTEM
   ========================================================================== */

.admin-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  background: radial-gradient(circle at 15% 15%, rgba(67, 56, 202, 0.25) 0%, transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(255, 107, 0, 0.2) 0%, transparent 45%),
              linear-gradient(135deg, #070d1e 0%, #0f172a 50%, #1e1b4b 100%);
  color: #f8fafc;
  padding: 30px 20px;
  position: relative;
  overflow-x: hidden;
}

.admin-body::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.admin-login {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 44px 38px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: adminCardSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminCardSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-login .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-login .brand-mark {
  width: 48px;
  height: 48px;
  background: var(--orange-gradient);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
}

.admin-login .brand strong {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.admin-login .brand strong span { color: #ffffff; }
.admin-login .brand strong b { color: #ff6b00; }
.admin-login .brand small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #818cf8;
  text-transform: uppercase;
  margin-top: 1px;
}

.admin-login h1 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.admin-login p.admin-subtitle {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 26px;
}

.admin-login form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.admin-input-group label {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0;
}

.admin-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-input-icon {
  position: absolute;
  left: 16px;
  font-size: 16px;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}

.admin-input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #ffffff;
  font-size: 15px;
  font-family: var(--font-main);
  transition: all 0.25s ease;
}

.admin-input-wrapper input::placeholder {
  color: #64748b;
}

.admin-input-wrapper input:focus {
  outline: none;
  background: rgba(30, 41, 59, 0.95);
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

.admin-input-wrapper input:focus + .admin-input-icon,
.admin-input-wrapper input:focus ~ .admin-input-icon {
  color: #818cf8;
}

.toggle-password-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  transition: color 0.2s ease;
}
.toggle-password-btn:hover {
  color: #cbd5e1;
}

.admin-login .btn-orange {
  margin-top: 10px;
  padding: 15px;
  font-size: 16px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-login .btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 107, 0, 0.48);
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
  width: 100%;
}

.admin-back-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 20px;
}

/* ==========================================================================
   CUSTOMER & PARTNER AUTH CARDS ENHANCEMENTS
   ========================================================================== */

.auth-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12),
              0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.16);
}

.auth-illustration {
  font-size: 48px;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--bg-soft-blue), #dbeafe);
  border-radius: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.12);
}

.phone-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
}

.phone-input:focus-within {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.12);
}

.phone-input span {
  padding: 14px 16px;
  background: var(--bg-page);
  font-weight: 800;
  color: var(--primary-indigo);
  border-right: 1px solid var(--border-light);
  font-size: 15px;
}

.phone-input input {
  border: none;
  border-radius: 0;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.phone-input input:focus {
  box-shadow: none;
  border: none;
}


