/* ==========================================================================
   Oramak Luxury Salon & Wellness Spa - Design System & Stylesheet
   ========================================================================== */
:root {
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-title: 'Fredoka', sans-serif;
  
  /* Palette Oramak Botanique : Tons Brun Acajou, Chocolat Chaud & Or */
  --color-bg-light: #FAFBF9; /* Blanc perle doux */
  --color-bg-taupe: #3D1B11; /* Fond brun acajou sombre */
  --color-dark-brown: #240F0A; /* Acajou très sombre */
  --color-bronze: #5D3325; /* Brun moyen acajou */
  --color-gold: #BCA054; /* Or de marque scintillant */
  --color-sand: #E3D09F; /* Or clair pour séparateurs */
  --color-white: #FFFFFF;
  
  --color-text-light: #FDF6F0;
  --color-text-dark: #4A362D;
  --color-text-muted: #8c7a72;
  
  /* Panel Styles */
  --panel-bg: rgba(255, 255, 255, 0.85);
  --panel-border: var(--color-sand);
  --panel-shadow: 0 10px 30px rgba(150, 113, 78, 0.08);
  
  --border-radius-lg: 24px;
  --border-radius-md: 14px;
  --border-radius-sm: 8px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Base Styles & Ambient Patterns
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #240F0A;
  
  /* Motif Luxe: Petits pois dorés subtils sur fond dégradé acajou */
  background-image: 
    radial-gradient(rgba(227, 208, 159, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #1C0A07 0%, #381810 50%, #1C0A07 100%);
  background-size: 16px 16px, 100% 100%;
  background-attachment: fixed;
  
  color: var(--color-text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Background floating patterns */
.cute-patterns-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.cute-motif {
  position: absolute;
  opacity: 0.08;
  filter: drop-shadow(0 4px 8px rgba(74, 54, 45, 0.08));
}

.motif-star {
  top: 12%;
  left: 6%;
  width: 70px;
  transform: rotate(-15deg);
  animation: floatUp 8s ease-in-out infinite alternate;
}

.motif-flower {
  bottom: 18%;
  right: 6%;
  width: 80px;
  transform: rotate(10deg);
  animation: floatDown 10s ease-in-out infinite alternate;
}

@keyframes floatUp {
  from { transform: translateY(0) rotate(-15deg); }
  to { transform: translateY(-15px) rotate(-10deg); }
}

@keyframes floatDown {
  from { transform: translateY(0) rotate(10deg); }
  to { transform: translateY(15px) rotate(15deg); }
}

/* App Container */
.app-container {
  width: 100%;
  max-width: 480px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
}

/* ==========================================================================
   Headers
   ========================================================================== */
.main-header {
  text-align: center;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
}

.logo-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: var(--color-white);
  border: 2.5px solid var(--color-sand);
  box-shadow: 0 8px 24px rgba(150, 113, 78, 0.12);
  margin-bottom: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.1;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 1px 1px 0px var(--color-gold);
}

.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Utility & Common Layout Components
   ========================================================================== */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 3px dashed var(--panel-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--panel-shadow);
  padding: 24px;
  text-align: center;
}

.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forms */
.custom-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-bronze);
}

.form-group label .optional {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: none;
}

.form-group input {
  background: var(--color-white);
  border: 2px solid var(--color-sand);
  border-radius: var(--border-radius-md);
  padding: 12px 14px;
  color: var(--color-text-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input::placeholder {
  color: #b0a39d;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 159, 107, 0.18);
}

.checkbox-group {
  margin-top: 2px;
}

.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-transform: none !important;
  letter-spacing: normal !important;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
  flex-shrink: 0;
  background: var(--color-white);
  border: 1.5px solid var(--color-sand);
  border-radius: 4px;
}

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(200, 159, 107, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 159, 107, 0.5);
}

.btn-secondary {
  background: rgba(74, 54, 45, 0.05);
  color: var(--color-dark-brown);
  border: 2px solid var(--color-sand);
  font-size: 0.85rem;
  padding: 10px 16px;
}

.btn-secondary:hover {
  background: rgba(74, 54, 45, 0.1);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn:hover .btn-shine {
  left: 125%;
}

.auth-card h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-dark-brown);
  margin-bottom: 8px;
}

.form-desc {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.error-msg {
  background: rgba(220, 50, 50, 0.08);
  border: 1.5px solid rgba(220, 50, 50, 0.25);
  color: #cc2525;
  padding: 10px 14px;
  border-radius: var(--border-radius-md);
  margin-top: 14px;
  font-size: 0.82rem;
}

/* ==========================================================================
   The 3D Loyalty Pass Card
   ========================================================================== */
.pass-wrapper {
  perspective: 1200px;
  width: 100%;
  aspect-ratio: 1.25 / 1; /* Adjusted for 4 stamp circles */
  margin-bottom: 6px;
}

.loyalty-pass-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  cursor: pointer;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 12px 30px rgba(74, 54, 45, 0.18);
}

.loyalty-pass-card.flipped {
  transform: rotateY(180deg);
}

.pass-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  border: 3px solid var(--color-white);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Card Front - Luxe Marble & Pink Blush using generated AI banner */
.pass-front {
  background: url('/assets/strip.png') no-repeat center/cover;
  color: #FFFFFF;
  border: 2px solid var(--color-sand);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.pass-front .pass-shop-name {
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.pass-front .pass-shop-sub {
  color: var(--color-sand);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.pass-front .pass-type-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Subtle inner sheen on the front */
.pass-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
  border-radius: inherit;
}

/* Card Back Background */
.pass-back {
  background: linear-gradient(165deg, #FFFAFA 0%, #FFF0F0 100%);
  color: var(--color-text-dark);
  transform: rotateY(180deg);
  border: 3px solid var(--color-white);
}

/* Card Header */
.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(92, 62, 53, 0.1);
  padding-bottom: 8px;
}

.pass-back .pass-header {
  border-bottom: 1.5px solid rgba(92, 62, 53, 0.1);
}

.pass-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pass-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-sand);
}

.pass-shop-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  display: block;
  text-transform: uppercase;
}

.pass-back .pass-shop-name {
  color: var(--color-dark-brown);
}

.pass-shop-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-bronze);
  display: block;
}

.pass-back .pass-shop-sub {
  color: var(--color-bronze);
}

.pass-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 8px;
  border-radius: 20px;
  color: var(--color-white);
}

.pass-back .pass-type-badge {
  background: rgba(92, 62, 53, 0.08);
  border: 1px solid rgba(92, 62, 53, 0.15);
  color: var(--color-dark-brown);
}

/* Labels on Pass */
.pass-grid-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-sand);
  margin: 4px 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Stamps Grid layout - Single row for 4 slots */
.stamps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 12px;
  margin: 10px 0;
  padding: 0 4px;
}

/* Stamp Slots - Rose-gold circle styles with soft backgrounds */
.stamp-slot {
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.55);
  border: 2px dashed var(--color-bronze);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.stamp-slot-label {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-bronze);
  line-height: 1;
}

/* Stamped State - Golden Medal style */
.stamp-slot.stamped {
  background: radial-gradient(circle at 35% 30%, var(--color-white) 0%, var(--color-sand) 40%, var(--color-gold) 100%);
  border: 2px solid var(--color-white);
  box-shadow: 0 6px 14px rgba(200, 159, 107, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  animation: stampPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.4) forwards;
}

.stamp-slot.stamped .stamp-slot-label {
  display: none;
}

/* Checkmark inside stamped slot */
.stamp-slot.stamped::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 55%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A362D' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12.5 10 17.5 19.5 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@keyframes stampPop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Card Footer */
.pass-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.25);
  padding-top: 6px;
  color: var(--color-sand);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pass-back .pass-footer {
  border-top: 1.5px solid rgba(74, 54, 45, 0.1);
  color: var(--color-bronze);
}

.footer-note {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Back Side Content */
.pass-back-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: left;
}

.pass-back-content h3 {
  font-family: var(--font-serif);
  color: var(--color-dark-brown);
  font-size: 0.8rem;
  margin-top: 2px;
  border-bottom: 1.5px solid rgba(74, 54, 45, 0.08);
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pass-back-content p {
  color: var(--color-text-muted);
}

.rewards-list {
  list-style: none;
}

.rewards-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 2px;
  color: var(--color-text-muted);
}

.bullet {
  font-weight: 700;
  color: var(--color-gold);
  flex-shrink: 0;
}

.reward-desc {
  font-size: 0.7rem;
}

/* ==========================================================================
   Customer Actions & Details Panel
   ========================================================================== */
.customer-actions-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customer-info-header {
  text-align: left;
  border-bottom: 1.5px solid rgba(150, 113, 78, 0.12);
  padding-bottom: 10px;
}

.customer-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.customer-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark-brown);
}

.count-badge {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-sand), var(--color-gold));
  color: var(--color-dark-brown);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(200, 159, 107, 0.15);
}

.customer-phone {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Status Banner */
.status-banner {
  padding: 12px 14px;
  border-radius: var(--border-radius-md);
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: left;
  font-weight: 400;
}

.status-banner strong {
  font-weight: 700;
}

.info-status {
  background: rgba(235, 217, 193, 0.15);
  border: 1.5px solid var(--color-sand);
  color: var(--color-dark-brown);
}

.info-status strong {
  color: var(--color-bronze);
}

.reward-available-status {
  background: linear-gradient(135deg, rgba(200, 159, 107, 0.2), rgba(235, 217, 193, 0.15));
  border: 2px solid var(--color-gold);
  color: var(--color-dark-brown);
  animation: bannerPulse 2.4s infinite ease-in-out;
}

.reward-available-status strong {
  color: var(--color-dark-brown);
}

@keyframes bannerPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 159, 107, 0.15); }
  50% { box-shadow: 0 0 10px 2px rgba(200, 159, 107, 0.3); }
  100% { box-shadow: 0 0 0 0 rgba(200, 159, 107, 0.15); }
}

/* QR Code Section */
.qr-code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(74, 54, 45, 0.02);
  border: 1.5px solid rgba(150, 113, 78, 0.08);
  padding: 16px;
  border-radius: var(--border-radius-md);
}

.qr-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
}

.qr-wrapper {
  position: relative;
  background: var(--color-white);
  padding: 10px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 6px 18px rgba(150, 113, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-logo-overlay {
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  border-radius: 50%;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.qr-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.customer-id-code {
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

/* Wallet buttons */
.wallet-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  border-radius: 10px;
  background: #111;
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.wallet-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.wallet-btn:hover {
  transform: scale(1.015);
  background: #000;
}

/* ==========================================================================
   Activity History Panel
   ========================================================================== */
.transaction-history-panel {
  text-align: left;
}

.transaction-history-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-dark-brown);
  border-bottom: 1.5px solid rgba(150, 113, 78, 0.12);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.no-activity {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  padding: 8px 0;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--color-white);
  border: 1.5px solid rgba(150, 113, 78, 0.08);
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.history-item:hover {
  transform: translateX(2px);
  border-color: var(--color-sand);
}

.history-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.history-date {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.history-points {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(200, 159, 107, 0.12);
  color: var(--color-bronze);
  padding: 3px 8px;
  border-radius: 12px;
}

/* ==========================================================================
   Global Toast Notification Popup Alert
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  border-radius: 40px;
  padding: 10px 24px;
  box-shadow: 0 10px 30px rgba(74, 54, 45, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: border-color 0.2s ease;
}

@keyframes toastSlideUp {
  from { bottom: 0; opacity: 0; }
  to { bottom: 24px; opacity: 1; }
}

#toast-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark-brown);
}

.toast.toast-error {
  border-color: #cc2525;
}
.toast.toast-error #toast-text {
  color: #cc2525;
}
.toast.toast-success {
  border-color: var(--color-gold);
}
.toast.toast-success #toast-text {
  color: var(--color-dark-brown);
}

/* ==========================================================================
   Custom Modals Dialog Overlays
   ========================================================================== */
.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(74, 54, 45, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.custom-modal-content {
  width: 100%;
  max-width: 360px;
}

.custom-modal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-dark-brown);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-modal-content p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.custom-modal-buttons {
  display: flex;
  gap: 12px;
}

.custom-modal-buttons .btn {
  flex: 1;
}

.bounce-in {
  animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* App Footer styles */
.app-footer {
  text-align: center;
  margin-top: auto;
  padding: 16px 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.app-footer p {
  margin-bottom: 4px;
}
