/* WM Helfer 2026 - Premium Stylesheet */

:root {
  /* Color Tokens */
  --bg-primary: #080c16;
  --bg-secondary: #0f1626;
  --card-bg: rgba(17, 24, 43, 0.75);
  --card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  /* Accents */
  --accent-primary: #10b981;      /* Pitch Green */
  --accent-primary-glow: rgba(16, 185, 129, 0.35);
  --accent-secondary: #06b6d4;    /* Electric Cyan */
  --accent-gold: #fbbf24;         /* Gold Trophy */
  --accent-danger: #f43f5e;       /* Rose Red */
  
  /* Priority Colors */
  --prio-2-color: #10b981;
  --prio-1-color: #06b6d4;
  --prio-0-color: #475569;
  
  /* Styling Utils */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  padding-bottom: 90px; /* Space for bottom navigation */
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Common UI Elements */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn {
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn.accent {
  background: linear-gradient(135deg, var(--accent-primary), #059669);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-primary-glow);
}

.btn.accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn.danger {
  background: linear-gradient(135deg, var(--accent-danger), #e11d48);
  color: #ffffff;
}

.btn.danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.btn.large-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 22, 0.75);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-emoji {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

.logo-area h1 {
  font-size: 1.3rem;
  background: linear-gradient(135deg, #ffffff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-area .tagline {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.sim-indicator {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

/* Countdown Banner */
.countdown-banner {
  max-width: 600px;
  margin: 1.5rem auto;
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, rgba(8, 12, 22, 0.6) 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.countdown-banner h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.timer-display {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.time-block strong {
  font-size: 1.8rem;
  color: var(--accent-gold);
  font-weight: 800;
}

.time-block span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Content Area */
.app-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.prio-badge {
  background: var(--prio-2-color);
  color: #000000;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-weight: 800;
  vertical-align: middle;
}

.badge-prio1 {
  background: var(--prio-1-color);
}

.badge-prio0 {
  background: var(--prio-0-color);
  color: #ffffff;
}

/* Matches Grid & Cards */
.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.match-card {
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--card-border);
}

.match-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.match-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.match-date {
  color: var(--accent-secondary);
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

.team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.team.fav-highlight {
  font-weight: 800;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.team:last-child {
  flex-direction: row-reverse;
  text-align: right;
}

.team-flag {
  font-size: 1.8rem;
}

.team-name {
  font-size: 1rem;
}

.vs {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 800;
  padding: 0 0.5rem;
}

.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.stadium-info {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.status-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.badge.no-tip {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.badge.tipped {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.match-result {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.75rem;
}

.empty-state {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Priority Settings */
.prio-explanation {
  list-style: none;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.prio-explanation li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.group-priority-card {
  margin-bottom: 1rem;
}

.group-priority-card h3 {
  font-size: 1.1rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.priority-teams-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.team-priority-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

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

.prio-btn {
  border: none;
  font-family: var(--font-family);
  font-weight: 800;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.prio-btn.prio-0.active {
  background: var(--prio-0-color);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(71, 85, 105, 0.5);
}

.prio-btn.prio-1.active {
  background: var(--prio-1-color);
  color: #000000;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.prio-btn.prio-2.active {
  background: var(--prio-2-color);
  color: #000000;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.save-bar {
  position: sticky;
  bottom: 85px;
  padding: 1rem 0;
  background: linear-gradient(to top, var(--bg-primary) 70%, transparent);
}

/* Predictor Styles */
.predictor-sub-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.sub-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.group-predictor-card {
  margin-bottom: 2rem;
  overflow: hidden;
}

.standing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  text-align: left;
}

.standing-table th {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standing-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.standing-table tr.row-advance {
  background: rgba(16, 185, 129, 0.03);
}

.standing-table tr.row-advance td:first-child {
  color: var(--accent-primary);
  font-weight: 800;
}

.standing-table tr.row-third-advance {
  background: rgba(6, 182, 212, 0.03);
}

.standing-table tr.row-third-advance td:first-child {
  color: var(--accent-secondary);
  font-weight: 800;
}

.table-flag {
  font-size: 1.1rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.group-matches-predictor {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
}

.predictor-match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.pred-match-teams {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.85rem;
  flex: 1;
  overflow: hidden;
}

.pred-team-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.pred-flag {
  font-size: 1.2rem;
}

.pred-buttons {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem;
  border-radius: 6px;
  gap: 0.15rem;
}

.pred-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-family);
  font-size: 0.8rem;
}

.pred-btn.active {
  background: var(--accent-primary);
  color: #000000;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.35);
}

/* Knockout Bracket Styles */
.ko-round-container {
  margin-bottom: 2rem;
}

.ko-round-container h3 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.ko-matches-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media(min-width: 768px) {
  .ko-matches-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ko-match-card {
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
}

.ko-match-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.ko-teams-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ko-pick-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-weight: 600;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ko-pick-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ko-pick-btn .flag {
  font-size: 1.1rem;
}

.ko-pick-btn.active {
  background: var(--accent-primary);
  color: #000000;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.ko-pick-btn.winner {
  border-color: var(--accent-gold);
}

/* Admin Styles */
.admin-card {
  margin-bottom: 1.5rem;
}

.admin-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.admin-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.admin-control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-control-group input[type="datetime-local"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
}

.admin-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.admin-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.admin-result-row .match-num {
  color: var(--accent-secondary);
  font-weight: 700;
}

.admin-result-row .teams {
  flex: 1;
  margin-left: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-picker {
  display: flex;
  gap: 0.25rem;
}

.admin-res-btn {
  border: none;
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
}

.admin-res-btn.active {
  background: var(--accent-gold);
  color: #000000;
}

.reset-card {
  border-color: rgba(244, 63, 94, 0.2);
}

/* Detail Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.modal-header h3 {
  font-size: 1.1rem;
  color: var(--accent-secondary);
}

.close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: #ffffff;
}

.modal-teams-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 1.5rem 0;
}

.modal-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.huge-flag {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.modal-team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.modal-vs {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
}

.modal-info-block {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-info-block .time {
  font-weight: 600;
  color: #ffffff;
}

.modal-info-block .stadium {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.modal-tip-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.modal-tip-section h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.modal-tip-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media(min-width: 480px) {
  .modal-tip-selector {
    flex-direction: row;
  }
}

.modal-tip-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-weight: 600;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
}

.modal-tip-btn.active {
  background: var(--accent-primary);
  color: #000000;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.tbd-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.modal-fact-box {
  border-color: rgba(251, 191, 36, 0.2);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.06) 0%, transparent 80%);
  margin-bottom: 1.5rem;
}

.modal-fact-box h5 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-fact-box p {
  font-size: 0.85rem;
}

.modal-rosters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.5rem;
}

.roster-col {
  flex: 1;
}

.roster-col h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.roster-col p {
  font-size: 0.8rem;
  line-height: 1.4;
}

.modal-share-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.modal-share-box textarea {
  width: 100%;
  height: 80px;
  background: rgba(8, 12, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.5rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  resize: none;
  margin: 0.75rem 0;
}

.modal-share-box textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media(min-width: 480px) {
  .modal-actions {
    flex-direction: row;
  }
}

.whatsapp-btn {
  flex: 1.3;
  background: #25d366;
  color: #ffffff;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.calendar-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 75px;
  background: rgba(17, 24, 43, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 900;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 65px;
}

.nav-icon {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  transition: var(--transition-smooth);
}

.nav-text {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-family);
}

.nav-btn.active {
  color: var(--accent-primary);
}

.nav-btn.active .nav-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px var(--accent-primary-glow));
}

/* Toast System */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-secondary);
  color: #ffffff;
  border-left: 4px solid var(--accent-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 250px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.info {
  border-left-color: var(--accent-secondary);
}

.toast.error {
  border-left-color: var(--accent-danger);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.animate-scale {
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
