/* css/shared.css - Unified Design System & Common Styles for Xian Restaurant */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

/* --- Brand Variables & Tokens --- */
:root {
  --brand-white: #FFFFFF;
  --brand-cream: #FDFBF9;      /* Warm, friendly soft alternate backgrounds */
  --brand-light: #F7F7FA;      /* Soft light gray for card backgrounds */
  --brand-red: #D21414;        /* Energetic logo crimson red */
  --brand-red-hover: #E32626;  /* Friendly bright red for hover states */
  --brand-black: #1A1A1E;      /* Softer contemporary charcoal black */
  --brand-charcoal: #4A4A4E;   /* Friendly soft gray for readable body text */
  --brand-border: #E8E8EC;     /* Clean, light border */
  
  /* Fonts - Modern Sans-Serif Everywhere for Friendly Vibe */
  --font-en-heading: 'Plus Jakarta Sans', sans-serif;
  --font-en-body: 'Plus Jakarta Sans', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-heading: var(--font-en-heading);
  --font-body: var(--font-en-body);
  
  /* Border Radiuses for Soft Friendly Feel */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.15s ease;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Force light mode scheme */
:root {
  color-scheme: light !important;
}

/* Remove all over-designed luxury structural elements and watermarks */
.grid-line,
.pulse-node,
.bg-watermark-text,
.hero-watermark,
.sep-line {
  display: none !important;
}

/* --- Resets --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

@media (max-width: 576px) {
  html {
    scroll-padding-top: 70px;
  }
}

/* --- Direction & Typography --- */
body {
  background-color: var(--brand-white);
  color: var(--brand-charcoal);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ensure main content always has horizontal padding on mobile */
main {
  min-width: 0;
}

/* English styling */
html[lang="en"] body {
  direction: ltr;
  font-family: var(--font-en-body);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6 {
  font-family: var(--font-en-heading);
}

/* Arabic styling */
html[lang="ar"] {
  --font-heading: var(--font-ar);
  --font-body: var(--font-ar);
}

html[lang="ar"] body {
  direction: rtl;
  font-family: var(--font-ar);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  font-family: var(--font-ar);
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-black);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

/* --- Spacing Utilities --- */
.max-w-7xl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 576px) {
  .max-w-7xl {
    padding: 0 16px;
  }
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* --- Buttons System --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-red);
  color: var(--brand-white);
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-red);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(210, 20, 20, 0.1);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
  color: var(--brand-white);
  box-shadow: 0 6px 18px rgba(210, 20, 20, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--brand-black);
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: var(--brand-light);
  border-color: var(--brand-border);
  transform: translateY(-2px);
}

html[lang="ar"] .btn-primary,
html[lang="ar"] .btn-secondary {
  font-weight: 600;
}

.btn-primary svg {
  margin-inline-start: 6px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

html[lang="ar"] .btn-primary:hover svg {
  transform: translateX(-4px);
}

/* --- Header Component --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--brand-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition-smooth);
}

header.scrolled .header-container {
  height: 75px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
}

.logo-container {
  width: 60px;
  height: 60px;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
  transition: var(--transition-smooth);
}

header.scrolled .logo-container {
  width: 48px;
  height: 48px;
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0 !important;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-charcoal);
  position: relative;
  padding: 6px 0;
  margin: 0 8px;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-red);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--brand-black);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--brand-black);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
}

/* Arabic navigation details */
html[lang="ar"] .nav-link {
  font-family: var(--font-ar);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  margin: 0 10px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-order-header {
  display: inline-flex;
  align-items: center;
  background-color: var(--brand-red);
  color: var(--brand-white);
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--brand-red);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(210, 20, 20, 0.1);
  transition: var(--transition-smooth);
}

.btn-order-header:hover {
  background-color: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
  color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(210, 20, 20, 0.2);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--brand-border);
  background-color: var(--brand-white);
  color: var(--brand-black);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full) !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background-color: rgba(210, 20, 20, 0.03);
}

.flag-icon {
  display: inline-block;
  width: 16px;
  height: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Mobile Hamburg Button (Borderless & Sleek) */
.mobile-menu-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 1100;
  box-shadow: none !important;
}

.mobile-menu-trigger:hover {
  background: transparent !important;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--brand-black);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-trigger.active .line-1 {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--brand-white) !important;
}

.mobile-menu-trigger.active .line-2 {
  opacity: 0;
}

.mobile-menu-trigger.active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--brand-white) !important;
}

/* Responsive Menu */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-trigger {
    display: flex;
  }
  .btn-order-header {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-container {
    height: 68px;
  }
  header.scrolled .header-container {
    height: 60px;
  }
  .logo-container {
    width: 46px;
    height: 46px;
  }
  .lang-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .flag-icon {
    width: 14px;
    height: 10.5px;
  }
}

/* --- Mobile Navigation Drawer (Luxury Dark Glass) --- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 1040;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  padding: 100px 36px 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

html[lang="ar"] .mobile-nav {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
  right: 0;
}

html[lang="ar"] .mobile-nav.active {
  left: 0;
}

/* Header inside Mobile Nav */
.mobile-nav-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}

.mobile-nav-brand {
  font-family: var(--font-en-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-white);
  letter-spacing: 0.1em;
}

html[lang="ar"] .mobile-nav-brand {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.mobile-nav-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.05em;
}

/* Links inside Mobile Nav */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--brand-red);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--brand-white);
  padding-inline-start: 6px;
}

.mobile-nav-link.active::after {
  opacity: 1;
  transform: scale(1);
}

.mobile-nav-link.lang-mobile {
  color: var(--brand-red);
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
}

/* Footer inside Mobile Nav */
.mobile-nav-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-phone {
  font-size: 0.85rem;
  color: #88888F;
  font-weight: 500;
}

.mobile-nav-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #55555F;
}

.mobile-nav-socials a {
  color: #BBBBBF;
  transition: var(--transition-smooth);
}

.mobile-nav-socials a:hover {
  color: var(--brand-red);
}

/* Active Hamburger state against dark drawer */
.mobile-menu-trigger.active {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.mobile-menu-trigger.active .hamburger-line {
  background-color: var(--brand-white) !important;
}

/* --- Global Sub-Page Header Layout --- */
.page-header {
  padding: 150px 24px 60px 24px;
  background-color: var(--brand-cream);
  text-align: center;
  border-bottom: 1px solid var(--brand-border);
  position: relative;
  overflow: hidden;
}

.page-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.06em;
}

.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-black);
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 16px 45px 16px;
  }
  .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 100px 16px 36px 16px;
  }
  .page-title {
    font-size: 1.75rem;
  }
}

/* --- Section Header Utility --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-black);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* --- Footer Component --- */
footer {
  background-color: var(--brand-black);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 60px 0 30px 0;
  color: #BBBBBF;
}

@media (max-width: 576px) {
  footer {
    padding: 44px 0 24px 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Footer info takes less vertical space on mobile */
  .footer-info {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--brand-white);
  border-radius: var(--radius-sm);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-white);
  line-height: 1.1;
}

.footer-logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-red);
}

.footer-info-text {
  font-size: 0.9rem;
  color: #AAAAAE;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--brand-white);
  border-radius: var(--radius-full) !important;
  transition: var(--transition-smooth);
}

.footer-social-link:hover {
  background-color: var(--brand-red);
  color: var(--brand-white);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #BBBBBF;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--brand-red);
  padding-inline-start: 4px;
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-hours-item {
  font-size: 0.85rem;
  color: #BBBBBF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .footer-hours-item {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-hours-day {
  font-weight: 600;
  color: var(--brand-white);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #BBBBBF;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-red);
}

.footer-contact-item a {
  color: #BBBBBF;
}

.footer-contact-item a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    /* Add right padding so text doesn't hide behind the WhatsApp floating button */
    padding-right: 90px;
    padding-left: 16px;
    text-align: start;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #7A7A7E;
}

/* --- Floating Components --- */

/* WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 998;
  border-radius: var(--radius-full) !important;
  transition: var(--transition-smooth);
}

html[lang="ar"] .whatsapp-float-btn {
  right: auto;
  left: 24px;
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-float-btn img {
  width: 55%;
  height: 55%;
  object-fit: contain;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 40px;
  height: 40px;
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  color: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border-radius: var(--radius-full) !important;
  transition: var(--transition-smooth);
}

html[lang="ar"] .scroll-top-btn {
  right: auto;
  left: 24px;
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--brand-red);
  color: var(--brand-white);
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Success modal for Contact form --- */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 2000;
  transition: var(--transition-smooth);
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  padding: 32px;
  max-width: 420px;
  width: 90%;
  border-radius: var(--radius-lg) !important;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.success-modal.active .success-card {
  transform: scale(1);
}

.success-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(37, 211, 102, 0.08);
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border-radius: var(--radius-full) !important;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--brand-charcoal);
  opacity: 0.8;
  margin-bottom: 20px;
}

.btn-success-close {
  display: inline-flex;
  background-color: var(--brand-black);
  color: var(--brand-white);
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full) !important;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-success-close:hover {
  background-color: var(--brand-red);
}
