/* =========================================================
   SISTEMA DE CUMPLEAÑOS PREMIUM - EL IMPERIO MOFONGO
   Glassmorphism | Dark Mode | Animaciones Premium
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --red: #dc3545;
  --red-dark: #b02a37;
  --red-glow: rgba(220, 53, 69, 0.4);
  --gold: #FFD700;
  --gold-glow: rgba(255, 215, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --dark-bg: #0a0a0f;
  --card-bg: rgba(15, 15, 25, 0.9);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-dim: rgba(255, 255, 255, 0.25);
  --success: #28a745;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark-bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── HERO SECTION ─── */
.birthday-hero-new {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0510 40%, #0d0020 100%);
}

.birthday-hero-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(220,53,69,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(255,215,0,0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero-floating-emojis {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-floating-emojis span {
  position: absolute;
  font-size: 2rem;
  opacity: 0;
  animation: floatEmoji 8s ease-in infinite;
}

@keyframes floatEmoji {
  0%   { opacity: 0; transform: translateY(100%) rotate(0deg); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-200%) rotate(360deg); }
}

.birthday-hero-new .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220,53,69,0.15);
  border: 1px solid rgba(220,53,69,0.4);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.6;
}

/* ─── MONTH NAVIGATION ─── */
.month-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.month-nav::-webkit-scrollbar { display: none; }

.month-pill {
  flex-shrink: 0;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.month-pill:hover {
  background: rgba(220,53,69,0.15);
  border-color: rgba(220,53,69,0.4);
  color: var(--text);
}
.month-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 20px var(--red-glow);
}

/* ─── BRANCH FILTER TABS ─── */
.branch-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.branch-tab {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}
.branch-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.branch-tab.active-at { background: rgba(220,53,69,0.2); border-color: var(--red); color: var(--red); }
.branch-tab.active-lm { background: rgba(40,167,69,0.2); border-color: #28a745; color: #28a745; }
.branch-tab.active-al { background: rgba(13,110,253,0.2); border-color: #0d6efd; color: #0d6efd; }
.branch-tab.active-all { background: var(--glass-bg-strong); border-color: rgba(255,255,255,0.3); color: var(--text); }

/* ─── STATS BAR ─── */
.stats-bar {
  display: flex;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── GLASS PANEL ─── */
.glass-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* ─── EMPLOYEE CARDS ─── */
/* ─── NEW HORIZONTAL CARD LAYOUT ─── */
.employee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 2rem;
}

.emp-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.emp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(220,53,69,0.4);
  box-shadow: 0 25px 60px rgba(220,53,69,0.2);
}

.emp-card-front {
  display: flex;
  height: 100%;
  min-height: 280px;
}

.emp-photo-side {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.emp-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.emp-card:hover .emp-card-photo {
  transform: scale(1.08);
}

.emp-info-side {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to right, rgba(255,255,255,0.02), transparent);
}

.emp-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.emp-position {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.emp-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.detail-item i {
  color: var(--red);
  width: 16px;
}

.countdown-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.5rem;
  width: fit-content;
}

.countdown-tag.today { background: var(--gold); color: #000; }
.countdown-tag.soon { background: rgba(220,53,69,0.2); color: var(--red); border: 1px solid rgba(220,53,69,0.3); }
.countdown-tag.normal { background: rgba(255,255,255,0.05); color: var(--text-muted); }

.emp-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.wish-pill {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.action-buttons-compact {
  display: flex;
  gap: 0.5rem;
}

.btn-wish-mini, .btn-propina-mini {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Outfit', sans-serif;
}

.btn-wish-mini { background: rgba(220,53,69,0.15); color: var(--red); border: 1px solid rgba(220,53,69,0.3); }
.btn-wish-mini:hover { background: var(--red); color: #fff; transform: scale(1.05); }

.btn-propina-mini { background: rgba(255,215,0,0.1); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.btn-propina-mini:hover { background: var(--gold); color: #000; transform: scale(1.05); }

/* Admin Grid */
.admin-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-admin-edit, .btn-admin-delete {
  padding: 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.btn-admin-edit:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-admin-delete:hover { background: rgba(220,53,69,0.1); color: var(--red); border-color: var(--red); }

.branch-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ─── BIRTHDAY CELEBRATION MODAL (Tarjeta Flotante) ─── */
.bday-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.bday-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bday-card-float {
  position: relative;
  max-width: 480px;
  width: 90%;
  background: linear-gradient(135deg, #1a0a1a 0%, #0d0020 50%, #1a0510 100%);
  border: 2px solid var(--gold);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 80px var(--gold-glow), 0 0 150px rgba(220,53,69,0.2);
  transform: scale(0.7) translateY(50px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bday-overlay.active .bday-card-float {
  transform: scale(1) translateY(0);
}

.bday-card-header {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.bday-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bday-card-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,0,20,0.9) 100%);
}

.bday-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.bday-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.bday-close-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.bday-no-photo {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220,53,69,0.2), rgba(255,215,0,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.bday-card-body {
  padding: 1.75rem;
  text-align: center;
  position: relative;
}

.bday-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  animation: bounceBig 1s ease-in-out infinite;
}

@keyframes bounceBig {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.1); }
}

.bday-name {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.bday-branch-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.bday-message {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bday-wishes-section {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
}

.mini-wishes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 1rem;
  text-align: left;
}

.mini-wish-item {
  background: var(--glass-bg);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  border-left: 2px solid var(--red);
}

.mini-wish-name { font-weight: 700; color: var(--text); }
.mini-wish-msg { color: var(--text-muted); }

.bday-action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-send-wish {
  flex: 1;
  padding: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-send-wish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--red-glow);
}

.btn-send-tip {
  flex: 1;
  padding: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,170,0,0.15));
  border: 1px solid rgba(255,215,0,0.4);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-send-tip:hover {
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  color: #000;
  transform: translateY(-2px);
}

/* ─── CONFETTI ─── */
.confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ─── MODALS ─── */
.empire-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.empire-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.empire-modal {
  background: linear-gradient(135deg, #12101c, #1a0a1a);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}
.empire-modal-overlay.open .empire-modal {
  transform: scale(1) translateY(0);
}

.modal-header-empire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-title-empire {
  font-size: 1.3rem;
  font-weight: 800;
}
.modal-close {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Form inputs empire style */
.empire-form-group { margin-bottom: 1.25rem; }
.empire-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.empire-input, .empire-select, .empire-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}
.empire-input:focus, .empire-select:focus, .empire-textarea:focus {
  outline: none;
  border-color: rgba(220,53,69,0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}
.empire-input::placeholder, .empire-textarea::placeholder {
  color: var(--text-dim);
}
.empire-select option { background: #1a0a1a; color: var(--text); }
.empire-textarea { resize: none; height: 90px; }

.btn-empire-primary {
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}
.btn-empire-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--red-glow);
}
.btn-empire-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-empire-gold {
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  border: none;
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}
.btn-empire-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--gold-glow);
}

/* Tip amounts grid */
.tip-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tip-amount-btn {
  padding: 0.6rem 0.5rem;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  text-align: center;
}
.tip-amount-btn:hover, .tip-amount-btn.selected {
  background: rgba(255,215,0,0.15);
  border-color: rgba(255,215,0,0.4);
  color: var(--gold);
}

/* Emoji selector */
.emoji-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.emoji-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.emoji-btn:hover, .emoji-btn.selected {
  background: rgba(220,53,69,0.15);
  border-color: rgba(220,53,69,0.4);
  transform: scale(1.15);
}

/* ─── ADMIN PANEL ─── */
.admin-section {
  background: linear-gradient(135deg, rgba(220,53,69,0.05), transparent);
  border: 1px solid rgba(220,53,69,0.2);
  border-radius: 20px;
  padding: 2rem;
}

.admin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: rgba(220,53,69,0.2);
  border: 1px solid rgba(220,53,69,0.4);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── PHOTO PREVIEW ─── */
.photo-preview-container {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  border: 2px dashed var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  background: var(--glass-bg);
}
.photo-preview-container:hover {
  border-color: rgba(220,53,69,0.4);
  background: rgba(220,53,69,0.05);
}
.photo-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-preview-placeholder {
  text-align: center;
  pointer-events: none;
}
.photo-preview-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(220,53,69,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(220,53,69,0.6); }

/* ─── LOADING SKELETON ─── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── SECTION DIVIDER ─── */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,53,69,0.3), rgba(255,215,0,0.2), transparent);
  margin: 3rem 0;
}

/* ─── TOAST NOTIFICATIONS ─── */
.toast-empire {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: rgba(20,15,30,0.95);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 99999;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.toast-empire.show { transform: translateY(0); opacity: 1; }
.toast-empire.success { border-color: #28a745; }
.toast-empire.error { border-color: var(--red); }
.toast-icon { font-size: 1.2rem; }

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state-text { color: var(--text-muted); font-size: 0.95rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .employee-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .emp-card-front { flex-direction: column; }
  .emp-photo-side { width: 100%; height: 260px; }
  .emp-info-side { padding: 1.25rem; }
  .emp-name { font-size: 1.35rem; }
  .bday-card-float { width: 95%; }
  .tip-amounts { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
  .bday-action-buttons { flex-direction: column; }
}

@media (max-width: 576px) {
  .empire-modal { padding: 1.5rem; }
  .stats-bar { gap: 1rem; }
  .stat-number { font-size: 1.2rem; }
}
