:root {
  --bg-color: #ffffff;
  --bg-color-alt: #f8f9fa;
  --card-bg: #ffffff;
  --card-bg-light: #f1f3f5;
  --text-main: #111111;
  --text-muted: #6c757d;
  --primary: #e91e63; /* Pink */
  --primary-glow: rgba(233, 30, 99, 0.3);
  --secondary: #e9ecef; 
  --success: #4caf50;
  --danger: #f44336;
  --font-family: 'Outfit', sans-serif;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Hide spin buttons for number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

#app {
  width: 100%;
  max-width: 480px; /* Mobile first, centered on desktop */
  background: var(--bg-color);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }

h1, h2, h3, h4 {
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--border-radius-lg);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-main);
}

.btn-outline:active {
  background: var(--card-bg-light);
}

.btn-icon {
  background: var(--card-bg);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.input-group label {
  font-size: 14px;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
}

.input-field {
  width: 100%;
  padding: 16px 16px 16px 48px;
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-md);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Header */
.header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
}

/* Pills */
.pills-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 10px 20px;
}
.pills-container::-webkit-scrollbar {
  display: none;
}
.pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg-color-alt);
  color: var(--text-muted);
  border: 1px solid var(--secondary);
  cursor: pointer;
}
.pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Home Login & Selectors */
.language-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

/* Temporarily hidden from Login screen */
.lang-selector-container {
  display: none !important;
}
.lang-badge {
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.lang-badge.active {
  background: var(--primary);
  color: #fff;
}

.login-container {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-logo {
  width: 100px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-tabs {
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-lg);
  display: flex;
  padding: 4px;
  width: 100%;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--primary);
  color: #ffffff;
}

.forgot-pwd {
  color: var(--primary);
  font-size: 14px;
  text-align: right;
  margin-top: 8px;
  display: block;
  text-decoration: none;
}

/* Bar Grid */
.bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}

.bar-card {
  background: var(--card-bg);
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transform: translateZ(0); /* Force hardware acceleration */
  will-change: transform;
}
.bar-card:active {
  transform: scale(0.98);
}
.bar-cover {
  width: calc(100% - 24px);
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 12px 0 12px;
  border: 1px solid var(--secondary);
  box-sizing: border-box;
}
.bar-info {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bar-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-bg);
  margin-top: -30px;
}

/* ================================================
   Girls Grid — Premium Redesign
   ================================================ */

.girls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 16px 100px 16px;
}

/* Card shell */
.girl-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--bg-color-alt);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1),
              box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0); /* Force hardware acceleration */
  will-change: transform;
}

.girl-card:active {
  transform: scale(0.97) translateZ(0);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Photo */
.girl-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Gradient overlay */
.girl-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0)    35%,
    rgba(0,0,0,0.12) 60%,
    rgba(0,0,0,0.72) 100%
  );
  pointer-events: none;
}

/* Name + bar info block */
.girl-name-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 12px 12px;
  pointer-events: none;
}

.girl-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  display: block;
}

.girl-bar-name {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
  display: block;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Status pill (ONLINE / BUSY) */
.girl-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px 3px 5px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 4px;
  pointer-events: none;
}

.girl-status-pill.online {
  background: rgba(76, 175, 80, 0.95);
  color: #ffffff;
}

.girl-status-pill.busy {
  background: rgba(255, 180, 0, 0.95);
  color: #ffffff;
}

.girl-status-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

/* Legacy status dot — kept for backwards compat */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.status-dot.busy {
  background: #ffb400;
}

/* Floating favorite button */
.girl-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.girl-fav-btn:active {
  transform: scale(0.88);
}

.girl-fav-btn svg,
.girl-fav-btn i {
  width: 15px;
  height: 15px;
  transition: color 0.2s ease, fill 0.2s ease;
}

/* Empty state */
.girls-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 32px;
}

.girls-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,45,117,0.10), rgba(255,90,138,0.06));
  border: 1.5px solid rgba(233,30,99,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.girls-empty-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(110deg, #c0134e 0%, #e91e63 50%, #ff5a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.girls-empty-msg {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
}

/* Bottom Bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  z-index: 100;
}

.balance-info {
  display: flex;
  flex-direction: column;
}
.balance-label {
  font-size: 12px;
  color: var(--text-muted);
}
.balance-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

/* Profile Full */
.profile-header {
  position: relative;
  height: 45vh;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.profile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-back {
  position: absolute;
  top: 24px;
  left: 20px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-action-top {
  position: absolute;
  top: 24px;
  right: 20px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-info {
  padding: 20px 20px 16px 20px;
}
/* Premium girl name — gradient text with accent bar */
.profile-name-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 2px;
}

.profile-name {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.8px;
  /* Gradient fill using the app's primary palette */
  background: linear-gradient(110deg, #c0134e 0%, #e91e63 45%, #ff5a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Soft pink glow for depth */
  filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.18));
}

/* Short decorative accent bar beneath the name */
.profile-name-accent {
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e91e63, #ff5a8a);
  opacity: 0.85;
}
.status-badge {
  background: rgba(0, 230, 118, 0.2);
  color: var(--success);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Bar name pill below girl's name */
.profile-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 12px 5px 10px;
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1px;
  line-height: 1;
}

/* Bar Detail page — premium typography
   Mirrors the design language of the Girl Profile name */
.bar-name-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 2px;
}

.bar-detail-name {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0;
  background: linear-gradient(110deg, #c0134e 0%, #e91e63 45%, #ff5a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.18));
}

.bar-name-accent {
  width: 32px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e91e63, #ff5a8a);
  opacity: 0.85;
}

.bar-detail-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  letter-spacing: 0.05px;
}

/* "Ladies Working Today" section heading */
.bar-section-header-lux {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.bar-section-icon-lux {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.12), rgba(255, 90, 138, 0.04));
  border: 1px solid rgba(233, 30, 99, 0.15);
  color: #e91e63;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(233, 30, 99, 0.08);
}

.bar-section-title-lux {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.1;
  background: linear-gradient(110deg, #c0134e 0%, #e91e63 50%, #ff5a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.bar-section-divider-lux {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(233, 30, 99, 0.2), transparent);
  margin-left: 4px;
}

.bar-section-subtext {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.1px;
  padding-left: 11px;
}

/* Total Amount premium card */
.total-amount-card {
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  border-radius: 20px;
  padding: 16px 20px;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.total-amount-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #FF2D75, #FF5A8A);
  border-radius: 20px 0 0 20px;
}

.total-amount-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.total-amount-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -1px;
  line-height: 1.1;
}
.checkout-section {
  padding: 16px 20px 20px 20px;
  background: var(--card-bg);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 0px;
}

/* ================================================
   Drinks Section — Premium Redesign
   ================================================ */

.drinks-section-wrapper {
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  border-radius: 24px;
  padding: 20px;
  margin: 0 20px 20px 20px;
  position: relative;
  overflow: hidden;
}

.drinks-section-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(233, 30, 99, 0.05);
  pointer-events: none;
}

.drinks-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.drinks-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.22);
}

.drinks-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.drinks-section-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-left: 48px;
}

/* Drinks list container */
.drinks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

/* Premium horizontal drink row card */
.drink-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1.5px solid #e9ecef;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.drink-row-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,45,117,0.06), rgba(255,90,138,0.03));
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: 18px;
}

.drink-row-card.selected {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.12);
}

.drink-row-card.selected::before {
  opacity: 1;
}

.drink-row-card:active {
  transform: scale(0.98);
}

/* Icon badge */
.drink-row-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--bg-color-alt);
  border: 1.5px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.22s ease;
  position: relative;
  z-index: 1;
}

.drink-row-icon-wrap.selected {
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 45, 117, 0.22);
}

.drink-row-icon-wrap i {
  transition: color 0.22s ease;
}

/* Text info */
.drink-row-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.drink-row-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drink-row-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right side: price + check */
.drink-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.drink-row-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.drink-row-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(255,45,117,0.25);
}

.drink-row-check.visible {
  opacity: 1;
  transform: scale(1);
}

/* Drink summary card */
.drink-summary-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255,45,117,0.07), rgba(255,90,138,0.04));
  border: 1px solid rgba(233,30,99,0.15);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 4px;
  animation: drinkSummaryIn 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes drinkSummaryIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.drink-summary-icon {
  font-size: 24px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255,45,117,0.2);
}

.drink-summary-body {
  flex: 1;
  min-width: 0;
}

.drink-summary-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.drink-summary-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drink-summary-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

/* ================================================
   Tips Section — Premium Redesign
   ================================================ */

.tip-section-wrapper {
  background: var(--bg-color-alt);
  border: 1px solid var(--secondary);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.tip-section-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(233, 30, 99, 0.05);
  pointer-events: none;
}

.tip-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.tip-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.25);
}

.tip-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.tip-section-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  padding-left: 46px;
}

/* Amount cards grid */
.tip-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.tip-amount-card {
  background: #ffffff;
  border: 1.5px solid #dde1e7;
  border-radius: 18px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-amount-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.tip-amount-card.selected::after {
  opacity: 1;
}

.tip-amount-card:active {
  transform: scale(0.95);
}

.tip-card-emoji {
  font-size: 18px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  transition: transform 0.22s ease;
}

.tip-amount-card.selected .tip-card-emoji {
  transform: scale(1.15);
}

.tip-card-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: color 0.22s ease;
}

.tip-amount-card.selected .tip-card-amount {
  color: #ffffff;
}

.tip-card-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  transition: color 0.22s ease;
}

.tip-amount-card.selected .tip-card-label {
  color: rgba(255,255,255,0.85);
}

.tip-amount-card.selected {
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 45, 117, 0.28);
}

/* Custom tip input */
.tip-custom-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.tip-custom-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Fredoka', sans-serif;
  pointer-events: none;
  z-index: 1;
}

.tip-custom-input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  background: #ffffff;
  border: 1.5px solid #dde1e7;
  border-radius: 16px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  transition: all 0.22s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  box-sizing: border-box;
}

.tip-custom-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}

.tip-custom-input::placeholder {
  color: #b0b8c1;
  font-weight: 500;
}

/* Apply custom tip button */
.tip-apply-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.tip-apply-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 2px 8px rgba(255,45,117,0.2);
}

/* Tip summary card */
.tip-summary-card {
  background: linear-gradient(135deg, rgba(255,45,117,0.07), rgba(255,90,138,0.04));
  border: 1px solid rgba(233,30,99,0.15);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  animation: tipSummaryIn 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes tipSummaryIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.tip-summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255,45,117,0.2);
}

.tip-summary-body {
  flex: 1;
}

.tip-summary-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.tip-summary-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.tip-summary-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

.topup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.topup-card {
  background: var(--card-bg);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
}
.topup-card.selected {
  border-color: var(--primary);
}
.topup-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.topup-bonus {
  font-size: 12px;
  color: var(--success);
  margin-top: 4px;
}

/* Admin panel */
.admin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
}
.stat-card {
  background: var(--bg-color-alt);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid #dcdfe3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
}
.queue-list {
  padding: 0 20px;
}
.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  padding: 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 0 20px 12px 20px;
}
.admin-attendance {
  padding: 20px;
}
.attendance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-bg-light);
}

/* Views Management */
.view {
  display: none;
  animation: fadeIn 0.3s ease;
  flex: 1;
  padding-bottom: 90px;
}

.view.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Admin Tabs and Modals */
.admin-tabs {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 0 20px;
  margin-bottom: 20px;
}
.admin-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--card-bg-light);
  border: 1px solid var(--secondary);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
}
.admin-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.admin-list-item {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 16px;
  margin: 0 20px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
  margin: 0 20px 20px 20px;
  box-sizing: border-box;
}
.admin-list-item input {
  background: var(--card-bg-light);
  border: none;
  color: white;
  padding: 8px;
  border-radius: 6px;
  width: 100%;
}
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  width: 90%; max-width: 400px;
  box-sizing: border-box;
}
.modal-content h3 { margin-bottom: 16px; }

/* Home specific styles */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(100,50,200,0.2)"/></svg>') repeat;
  background-size: 10px 10px;
}
.bar-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 20px;
}
.bar-logo-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 12px;
  transition: var(--transition);
}
.bar-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.15);
}
.bar-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--secondary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 50px;
  z-index: 100;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  flex: 1;
}
.nav-item.active {
  color: var(--primary);
}
.nav-item i, .nav-item svg {
  transition: transform 0.2s;
}
.nav-item.active i, .nav-item.active svg {
  transform: scale(1.1);
}
.nav-item-center {
  background: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px var(--primary-glow);
  transform: translateY(-10px);
  cursor: pointer;
}
.nav-item-center i, .nav-item-center svg {
  width: 24px;
  height: 24px;
}
.nav-text {
  font-size: 10px;
  font-weight: 600;
}
.ranking-card {
  background: var(--card-bg);
  border: 1px solid var(--secondary);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ranking-card:hover {
  transform: scale(1.02);
  background: var(--card-bg-light);
}
.rank-num {
  font-size: 18px;
  font-weight: 800;
  color: #666;
  width: 20px;
}
.rank-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.rank-info {
  display: flex;
  flex-direction: column;
}
.rank-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
}


/* Custom selectable button for Request Videocall */
.vcall-btn-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 75%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px 24px;
  cursor: pointer;
  border-radius: 30px;
  font-family: 'Fredoka', sans-serif;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Estado 1 – Videollamada no solicitada (Acción Principal Destacada - Rosa/Magenta) */
.vcall-btn-custom.unselected {
  background: linear-gradient(135deg, #FF2D75 0%, #FF5A8A 100%);
  border: 2px solid transparent;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 45, 117, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.vcall-btn-custom.unselected i {
  color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Estado 2 – Videollamada solicitada (Estado Confirmado Verde Éxito) */
.vcall-btn-custom.selected {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 2px solid transparent;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.32);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  animation: vcallConfirmPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vcall-btn-custom.selected i {
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  animation: vcallCheckZoom 0.25s ease-out;
}

@keyframes vcallConfirmPop {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes vcallCheckZoom {
  0% { transform: scale(0.6) rotate(-15deg); opacity: 0.5; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Hover State (Web) */
@media (hover: hover) {
  .vcall-btn-custom.unselected:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff1e70, #ff5595);
    box-shadow: 0 8px 24px rgba(255, 45, 117, 0.38);
  }
  .vcall-btn-custom.selected:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38);
  }
}

/* Pressed State */
.vcall-btn-custom:active {
  transform: scale(0.96) translateY(0) !important;
  transition: transform 0.1s ease;
}

/* Disabled State */
.vcall-btn-custom.disabled,
.vcall-btn-custom[disabled] {
  background: var(--secondary) !important;
  color: var(--text-muted) !important;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

/* ================================================
   Zone Navigation Menu (Home screen) — Premium Redesign
   ================================================ */

/* --- Wrapper section below header --- */
.zone-nav-section {
  background: #ffffff;
  border-bottom: 1px solid var(--secondary);
  padding: 10px 0 12px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  position: relative;
  z-index: 100;
}

/* --- Level 1: City Dropdown Trigger --- */
.zone-city-selector-wrap {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 10px;
}

.zone-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px 7px 12px;
  background: #ffffff;
  border: 1.5px solid #e3e8ee;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  transition: all 0.22s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.zone-city-btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.zone-city-btn .city-pin {
  font-size: 14px;
  line-height: 1;
  color: #FF2D75;
  flex-shrink: 0;
}

.zone-city-btn .city-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.1px;
}

.zone-city-btn .city-chevron {
  width: 14px;
  height: 14px;
  color: #8e95a3;
  transition: transform 0.22s ease;
  flex-shrink: 0;
  margin-left: 2px;
}

.zone-city-btn.open .city-chevron {
  transform: rotate(180deg);
}

/* --- City Dropdown Panel --- */
.zone-city-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #ffffff;
  border: 1.5px solid #e3e8ee;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
  min-width: 180px;
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.zone-city-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.zone-city-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f3f5;
}

.zone-city-option:last-child {
  border-bottom: none;
}

.zone-city-option:active {
  background: #f8f9fa;
}

.zone-city-option .option-pin {
  font-size: 15px;
  line-height: 1;
  opacity: 0.7;
}

.zone-city-option.selected {
  color: #FF2D75;
}

.zone-city-option.selected .option-pin {
  opacity: 1;
}

.zone-city-option .option-check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #FF2D75;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.zone-city-option.selected .option-check {
  opacity: 1;
}

/* --- Level 2: Zone Chips --- */
.zone-pills-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.zone-pills-row::-webkit-scrollbar {
  display: none;
}

.zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid #dde1e7;
  background: #ffffff;
  color: #4a5568;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
  scroll-snap-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.zone-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfd4db;
  flex-shrink: 0;
  transition: background 0.22s ease;
}

.zone-pill.active {
  background: linear-gradient(135deg, #FF2D75, #FF5A8A);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(255, 45, 117, 0.28);
}

.zone-pill.active::before {
  background: rgba(255,255,255,0.75);
}

.zone-pill:active {
  transform: scale(0.95);
}

/* --- Empty Zone Wrapper (replaces bar-grid when empty) --- */
.zone-empty-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* --- Empty Zone State --- */
.zone-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--card-bg);
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  margin: 8px 0;
}

.zone-empty-icon {
  font-size: 40px;
  margin-bottom: 14px;
  opacity: 0.7;
}

.zone-empty-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.zone-empty-msg {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.zone-empty-sub {
  font-size: 12px;
  color: var(--secondary);
  color: #adb5bd;
}

/* Tablet mode overrides for Admin panel */
body.tablet-mode #app {
  max-width: 768px !important;
}
body.tablet-mode .bottom-nav,
body.tablet-mode .bottom-bar {
  max-width: 768px !important;
}

/* ================================================
   Admin Login — Zone & Bar Selector
   ================================================ */

.admin-login-zone-nav {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-md);
  padding: 16px 0 8px 0;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-login-zone-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin: 0 0 10px 0;
}

/* Bar cards grid */
.admin-bar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px 14px 16px;
}

.admin-bar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: calc(50% - 5px);
  max-width: 160px;
  padding: 12px 10px;
  background: var(--bg-color-alt);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.admin-bar-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.admin-bar-card span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.admin-bar-check {
  display: none;
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

.admin-bar-card.selected {
  border-color: var(--primary);
  background: rgba(233, 30, 99, 0.05);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
}

.admin-bar-card.selected img {
  border-color: var(--primary);
}

.admin-bar-card.selected span {
  color: var(--primary);
}

.admin-bar-card.selected .admin-bar-check {
  display: block;
}

.admin-bar-card:active {
  transform: scale(0.97);
}

/* Empty state when no bars in zone */
.admin-login-no-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  text-align: center;
}

/* Bar status badges and overlays */
@keyframes badgeFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.status-badge-overlay {
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: 'Fredoka', sans-serif;
  user-select: none;
  animation: badgeFadeIn 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.status-badge-open {
  background-color: #e8f5e9 !important;
  color: #2e7d32 !important;
  border: 1px solid #c8e6c9;
}
.status-badge-closed {
  background-color: #ffebee !important;
  color: #c62828 !important;
  border: 1px solid #ffcdd2;
}

/* Status badge positioning on home cards (inside bar-info, clean and static) */
.bar-card .status-badge-overlay {
  position: static;
  margin-left: auto;
}

/* Small Circular Status Indicator Dot */
.bar-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  border: 1.5px solid #ffffff;
  box-sizing: border-box;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.bar-status-dot.open {
  background-color: #28a745;
}
.bar-status-dot.closed {
  background-color: #dc3545;
}

/* Big Status Toggle Switch for Admin Dashboard */
.status-toggle-card {
  background: var(--card-bg);
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  padding: 20px;
  margin: 0 20px 20px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.status-toggle-label {
  position: relative;
  display: inline-block;
  width: 72px;
  height: 38px;
  user-select: none;
}
.status-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}
.status-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #dc3545;
  transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 38px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}
.status-toggle-slider::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.status-toggle-label input:checked + .status-toggle-slider {
  background-color: #28a745;
}
.status-toggle-label input:checked + .status-toggle-slider::before {
  transform: translateX(34px);
}
.status-toggle-label input:disabled + .status-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Toast Notification styling */
.toast-msg {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 99999;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
  opacity: 0;
  font-family: 'Fredoka', sans-serif;
  pointer-events: none;
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Carousel Styles */
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ================================================
   Admin - My Girls Premium Cards Redesign
   ================================================ */

@keyframes girlCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.girls-management-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}

.girl-card-item-modern {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--secondary, #e9ecef);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: girlCardFadeIn 0.35s ease-out forwards;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  transform: translateZ(0);
  will-change: transform;
}

.girl-card-item-modern:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(233, 30, 99, 0.25);
}

.girl-card-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.girl-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.girl-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary, #e9ecef);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: var(--bg-color-alt, #f8f9fa);
}

.girl-avatar-initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #e91e63), #ff4081);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-family);
  box-shadow: 0 4px 14px var(--primary-glow, rgba(233, 30, 99, 0.3));
  border: 2px solid #ffffff;
}

.girl-status-dot-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.girl-status-dot-indicator.online {
  background-color: #28a745;
}
.girl-status-dot-indicator.busy {
  background-color: #ff9800;
}
.girl-status-dot-indicator.offline {
  background-color: #6c757d;
}

.girl-info-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.girl-name-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main, #111111);
  line-height: 1.2;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-family);
}

.girl-status-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  font-family: var(--font-family);
}

.girl-status-badge-modern.online {
  background: rgba(40, 167, 69, 0.08);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}
.girl-status-badge-modern.busy {
  background: rgba(255, 152, 0, 0.08);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.2);
}
.girl-status-badge-modern.offline {
  background: rgba(108, 117, 125, 0.08);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.2);
}

.girl-card-actions-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-top: none;
  padding-top: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .girl-card-item-modern {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .girl-card-actions-wrapper {
    border-top: 1px solid var(--secondary, #e9ecef);
    padding-top: 12px;
    justify-content: space-between;
  }
}

.girl-status-segmented-control {
  display: inline-flex;
  background: var(--bg-color-alt, #f8f9fa);
  padding: 4px;
  border-radius: 16px;
  border: 1px solid var(--secondary, #e9ecef);
  gap: 4px;
}

.girl-status-segmented-btn {
  padding: 6px 12px;
  border-radius: 12px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-muted, #6c757d);
}

.girl-status-segmented-btn.active-online {
  background: #28a745;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}
.girl-status-segmented-btn.active-busy {
  background: #ff9800;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}
.girl-status-segmented-btn.active-offline {
  background: #6c757d;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.girl-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-girl-action-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-color-alt, #f8f9fa);
  border: 1px solid var(--secondary, #e9ecef);
  color: var(--text-main, #111111);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
}

.btn-girl-action-edit:hover {
  background: #ffffff;
  border-color: var(--primary, #e91e63);
  color: var(--primary, #e91e63);
}

.btn-girl-action-delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(244, 67, 54, 0.06);
  border: 1px solid rgba(244, 67, 54, 0.2);
  color: var(--danger, #f44336);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
}

.btn-girl-action-delete:hover {
  background: var(--danger, #f44336);
  border-color: var(--danger, #f44336);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(244, 67, 54, 0.3);
}

/* =========================================================
   OFFLINE SCREEN
   ========================================================= */

#offline-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#offline-screen.active {
  opacity: 1;
  visibility: visible;
}

.offline-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -10vh; /* Position slightly above vertical center */
}

.offline-logo {
  width: 120px;
  margin-bottom: 40px;
  animation: premium-pulse 1.8s ease-in-out infinite;
}

@keyframes premium-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.offline-title {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark, #111111);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.offline-subtitle {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  color: #666666;
  margin-bottom: 40px;
  max-width: 280px;
  line-height: 1.5;
}

.offline-status {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.offline-status.status-offline {
  color: #d32f2f;
  background: #fff0f0;
}

.offline-status.status-restored {
  color: #2e7d32;
  background: #e8f5e9;
}

.offline-retry-btn {
  width: 220px;
  height: 50px;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 25px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.offline-retry-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.offline-retry-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

/* Small spinner for reconnecting state */
.offline-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: offline-spin 0.8s linear infinite;
  display: none;
}

.offline-retry-btn.loading .offline-spinner {
  display: block;
}

@keyframes offline-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   UPDATE TOAST
   ========================================================= */

#update-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111111;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 999999;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

#update-toast.visible {
  bottom: 24px;
  pointer-events: auto;
}

#update-toast-btn {
  background-color: #FFFFFF;
  color: #111111;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#update-toast-btn:active {
  transform: scale(0.95);
}
.swal-no-padding { padding: 0 !important; }

.pay-btn-active {
  background: #2563EB !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28) !important;
}
.pay-btn-active:hover {
  background: #1D4ED8 !important;
}
.pay-btn-active:active {
  background: #1E40AF !important;
}
