/* ========== THEME ========== */
:root {
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-light: #DCFCE7;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #DBEAFE;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --ash: #94A3B8;
  --ash-light: #E2E8F0;
  --text: #1E40AF;
  --text-body: #1E293B;
  --text-grey: #64748B;
  --border: #CBD5E1;
  --bg: #F8FAFC;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: var(--blue);
  color: white;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.app-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}
header h1 { font-size: 1.3rem; line-height: 1.1; color: white; }
header p { font-size: 0.75rem; opacity: 0.95; color: white; }
.header-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.logout {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  transition: background 0.2s;
  font-family: inherit;
}
.logout:hover { background: rgba(255,255,255,0.3); }

.lang-selector select {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  max-width: 130px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.lang-selector select option { background: white; color: var(--text-body); }

main { flex: 1; padding: 1rem; max-width: 700px; margin: 0 auto; width: 100%; }
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  margin-top: 1rem;
  border: 1px solid #E2E8F0;
  animation: fadeInCard 0.25s ease;
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.hidden { display: none !important; }

h2 { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--text); }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; color: var(--text); }
.muted { color: var(--text-grey); font-size: 0.92rem; }
.small { font-size: 0.85rem; }
.text-center { text-align: center; margin-top: 0.75rem; }
.auth-title { text-align: center; margin-bottom: 0.25rem; color: var(--text); }
.auth-subtitle { margin-bottom: 1.25rem !important; }

.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.home-header h2 { margin-bottom: 0; }
.plan-badge {
  background: #F1F5F9;
  color: var(--text-grey);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plan-badge.pro {
  background: linear-gradient(135deg, var(--green-light), #FFFBEB);
  color: var(--green-dark);
  border: 1px solid var(--green);
}
.quota-info {
  font-size: 0.82rem;
  color: var(--text-grey);
  margin-top: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: #F1F5F9;
  border-radius: 8px;
  display: inline-block;
}
.quota-info.pro { background: var(--green-light); color: var(--green-dark); font-weight: 600; }

.upgrade-box {
  margin-top: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, #FFFBEB, var(--green-light));
  border: 2px solid var(--green);
  border-radius: 14px;
}
.upgrade-header { margin-bottom: 0.75rem; }
.upgrade-header h3 { margin: 0 0 0.25rem; color: var(--green-dark); font-size: 1.05rem; }
.payment-toggle {
  display: flex;
  gap: 0.4rem;
  background: white;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  border: 1px solid #E2E8F0;
}
.pay-toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-grey);
  cursor: pointer;
  width: auto;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.pay-toggle-btn.active { background: var(--green); color: white; }
.pay-toggle-btn:hover:not(.active) { background: var(--green-light); color: var(--green-dark); }
.pay-toggle-btn svg { width: 16px; height: 16px; }

.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.5rem; }
.plan-btn {
  background: var(--green) !important;
  border: 2px solid var(--green-dark);
  border-radius: 12px;
  padding: 0.9rem 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
  position: relative;
  color: white !important;
  width: 100%;
}
.plan-btn:hover { background: var(--green-dark) !important; transform: translateY(-2px); }
.plan-btn strong { display: block; font-size: 1.2rem; color: white; margin-bottom: 0.15rem; font-weight: 700; }
.plan-btn .plan-period { font-size: 0.75rem; color: rgba(255,255,255,0.9); display: block; }
.plan-btn.plan-best { background: var(--green) !important; border-color: var(--green-dark); }
.plan-btn.plan-best strong { color: white; }
.best-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 700;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0.75rem;
  border: none;
  transition: background 0.2s;
  font-family: inherit;
  background: var(--blue);
  color: white;
}
.social-btn:hover { background: var(--blue-dark); }
.social-icon {
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  font-size: 0.85rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-grey);
  font-size: 0.85rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; background: #F1F5F9; padding: 4px; border-radius: 10px; }
.tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-grey);
  cursor: pointer;
  width: auto;
  transition: all 0.2s;
  font-family: inherit;
}
.tab.active { background: var(--blue); color: white; box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2); }

.field { margin-bottom: 1rem; }
label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--text); }
input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-body);
  font-family: inherit;
  transition: border-color 0.2s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.field small { display: block; margin-top: 0.3rem; color: var(--text-grey); font-size: 0.78rem; }

button {
  background: var(--blue);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: background 0.15s, transform 0.05s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
button:hover { background: var(--blue-dark); }
button:active { transform: scale(0.98); }
button:disabled { background: #94A3B8; cursor: not-allowed; color: white; }

#start-btn { background: var(--green); }
#start-btn:hover { background: var(--green-dark); }
#become-tutor-btn { background: var(--green); }
#become-tutor-btn:hover { background: var(--green-dark); }
#tutor-dashboard-btn { background: var(--green); }
#tutor-dashboard-btn:hover { background: var(--green-dark); }

button.secondary { background: var(--blue); color: white; margin-top: 0.6rem; }
button.secondary:hover { background: var(--blue-dark); }

#find-tutor-btn { background: var(--blue); }
#find-tutor-btn:hover { background: var(--blue-dark); }
#find-student-btn { background: var(--blue); }
#find-student-btn:hover { background: var(--blue-dark); }
#my-requests-btn { background: var(--green); position: relative; }
#my-requests-btn:hover { background: var(--green-dark); }
#invite-btn { background: var(--blue); }
#invite-btn:hover { background: var(--blue-dark); }
#settings-btn { background: var(--blue); }
#settings-btn:hover { background: var(--blue-dark); }

.link-btn {
  background: transparent !important;
  color: var(--blue);
  border: none;
  padding: 0.4rem 0.5rem;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  width: auto;
  font-weight: 600;
  font-family: inherit;
}
.link-btn:hover { background: transparent !important; color: var(--blue-dark); }

.message { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.92rem; }
.message.error { background: var(--amber-light); color: #92400E; border-left: 4px solid var(--amber); }
.message.success { background: var(--green-light); color: var(--green-dark); border-left: 4px solid var(--green); }
.message.info { background: var(--blue-light); color: var(--blue-dark); border-left: 4px solid var(--blue); }

.waitlist-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.75rem 0 1.25rem;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
#question-text { font-size: 1.15rem; margin-bottom: 1.25rem; color: var(--text); }
.options { display: flex; flex-direction: column; gap: 0.7rem; }
.option {
  background: #F1F5F9;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  color: var(--text-body);
  font-weight: 500;
  transition: all 0.15s;
  width: 100%;
}
.option:hover:not(:disabled) { background: #E2E8F0; border-color: var(--border); }
.option:disabled { cursor: default; }
.option.correct { background: var(--green-light); border-color: var(--green); color: var(--green-dark); font-weight: 700; }
.option.wrong { background: var(--amber-light); border-color: var(--amber); color: #92400E; font-weight: 700; }
.explanation {
  margin-top: 1rem;
  padding: 1rem;
  background: #FFFBEB;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  font-size: 0.94rem;
  color: #78350F;
}
#next-btn { margin-top: 1rem; }

#result-screen { text-align: center; }
.final-score { font-size: 1.6rem; font-weight: 700; margin: 0.75rem 0; color: var(--green); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; }
.stat { background: var(--blue-light); border-radius: 10px; padding: 0.9rem 0.5rem; text-align: center; }
.stat-value { font-size: 1.4rem; font-weight: 700; color: var(--blue-dark); line-height: 1.2; }
.stat-label { font-size: 0.75rem; color: var(--text-grey); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 0.25rem; }
.attempts-list { display: flex; flex-direction: column; gap: 0.6rem; }
.attempt {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #E2E8F0;
}
.attempt-info { flex: 1; }
.attempt-subject { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.attempt-date { font-size: 0.8rem; color: var(--text-grey); margin-top: 0.15rem; }
.attempt-score { font-weight: 700; color: var(--green-dark); font-size: 1rem; white-space: nowrap; }
.empty {
  padding: 1.25rem;
  text-align: center;
  color: var(--text-grey);
  background: #F8FAFC;
  border-radius: 10px;
  font-size: 0.92rem;
}

.settings-group { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid #E2E8F0; }
.settings-group:last-of-type { border-bottom: none; }
.settings-group-title { font-size: 0.95rem; color: var(--text); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.settings-group-title svg { width: 18px; height: 18px; }
.settings-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; font-size: 0.9rem; }
.settings-label { color: var(--text-grey); }
.settings-value {
  color: var(--text-body);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-version { text-align: center; font-size: 0.78rem; color: var(--text-grey); margin-top: 0.75rem; }

.legal-content { margin: 1rem 0; font-size: 0.9rem; color: var(--text-body); }
.legal-content h3 { font-size: 0.98rem; color: var(--text); margin: 1.1rem 0 0.4rem; }
.legal-content p { margin-bottom: 0.5rem; line-height: 1.6; }

.contact-options { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
}
.contact-item:hover { background: var(--blue-light); border-color: var(--blue); transform: translateY(-1px); }
.contact-item strong { display: block; font-size: 0.92rem; color: var(--text); margin-bottom: 0.1rem; }
.contact-item p { font-size: 0.8rem; color: var(--text-grey); }
.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: white;
}
.contact-icon svg { width: 24px; height: 24px; fill: white; }
.whatsapp-icon { background: #25D366; }
.email-icon { background: var(--blue); }
.chat-icon { background: var(--green); }

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-top: 1px solid #E2E8F0;
  margin-top: 2rem;
}
.footer-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.social-icons { display: flex; justify-content: center; gap: 0.85rem; margin-bottom: 1rem; flex-wrap: wrap; }
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}
.social-icon-btn:hover { transform: translateY(-3px) scale(1.05); opacity: 0.95; }
.social-icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.social-icon-btn.whatsapp { background: #25D366; }
.social-icon-btn.facebook { background: #1877F2; }
.social-icon-btn.instagram { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); }
.social-icon-btn.twitter { background: #000000; }
.footer-legal { margin-top: 0.75rem; font-size: 0.78rem; }
.footer-legal a { color: var(--text-grey); text-decoration: none; margin: 0 0.35rem; }
.footer-legal a:hover { color: var(--blue); text-decoration: underline; }
.footer-copy { font-size: 0.82rem; color: var(--text-grey); margin-top: 0.5rem; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
  animation: popUp 0.25s ease;
}
@keyframes popUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-title { font-size: 1.2rem; color: var(--blue-dark); margin-bottom: 0.4rem; text-align: left; }
.modal-sub { color: var(--text-grey); font-size: 0.9rem; margin-bottom: 1.1rem; }
.referral-bonus {
  background: linear-gradient(135deg, #FFFBEB, var(--green-light));
  border-left: 4px solid var(--green);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #78350F;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.referral-bonus strong { color: var(--green-dark); }
.referral-progress { margin-bottom: 1rem; }
.referral-progress-bar {
  height: 8px;
  background: #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.referral-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 20px;
  transition: width 0.5s ease;
}
.referral-progress-text { font-size: 0.82rem; color: var(--text-grey); font-weight: 600; text-align: center; }
.invite-link-box { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.invite-link-box input { flex: 1; font-size: 0.85rem; padding: 0.6rem 0.75rem; border: 2px solid var(--border); border-radius: 8px; background: #F8FAFC; color: var(--text-body); }
.copy-btn { width: auto; padding: 0.6rem 1rem; background: var(--blue); color: white; border-radius: 8px; font-size: 0.85rem; font-weight: 600; flex-shrink: 0; }
.copy-btn:hover { background: var(--blue-dark); }
.invite-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.9rem; }
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: white;
  font-family: inherit;
  width: 100%;
  transition: background 0.15s, transform 0.05s;
}
.share-btn:active { transform: scale(0.98); }
.share-btn svg { width: 18px; height: 18px; }
.whatsapp-share { background: #25D366; }
.whatsapp-share:hover { background: #1EBA59; }
.email-share { background: var(--blue); }
.email-share:hover { background: var(--blue-dark); }
.modal-close {
  background: transparent !important;
  color: var(--text-grey) !important;
  border: none;
  padding: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}
.modal-close:hover { background: #F1F5F9 !important; color: var(--text-body) !important; }

.search-bar { margin-bottom: 0.75rem; }
.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
}
.search-bar input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.filter-row select {
  padding: 0.6rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  background: white;
  color: var(--text-body);
}
.tutor-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.tutor-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  transition: all 0.2s;
}
.tutor-card:hover { border-color: var(--blue); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1); }
.tutor-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tutor-info { flex: 1; min-width: 0; }
.tutor-name { font-weight: 700; color: var(--text); font-size: 0.98rem; margin-bottom: 0.15rem; }
.tutor-subjects {
  font-size: 0.8rem;
  color: var(--text-grey);
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tutor-price-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tutor-price-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.tutor-price-badge.free { background: var(--green-light); color: var(--green-dark); }
.tutor-price-badge.paid { background: var(--blue-light); color: var(--blue-dark); }
.enroll-btn {
  background: var(--green) !important;
  color: white !important;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.enroll-btn:hover { background: var(--green-dark) !important; }
.enroll-btn.view-only { background: var(--ash) !important; cursor: not-allowed; }
.enroll-btn.view-only:hover { background: var(--ash) !important; }
.enroll-btn.accept-req { background: var(--green) !important; }
.enroll-btn.accept-req:hover { background: var(--green-dark) !important; }
.enroll-btn.block-req { background: var(--amber) !important; }
.enroll-btn.block-req:hover { background: #D97706 !important; }
.enroll-btn.call-user { background: var(--green) !important; }
.enroll-btn.call-user:hover { background: var(--green-dark) !important; }

.toggle-group { display: flex; gap: 0.5rem; background: #F1F5F9; padding: 4px; border-radius: 12px; }
.toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-grey);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.toggle-btn.active { background: var(--blue); color: white; box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2); }

.price-preview {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.price-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-grey);
}
.price-preview-row strong { color: var(--text); font-weight: 700; }
.price-preview-row .green-text { color: var(--green-dark); }

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.status-badge.pending { background: var(--amber-light); color: #92400E; }
.status-badge.verified { background: var(--green-light); color: var(--green-dark); }

/* ========== REQUESTS BADGE ========== */
.requests-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #DC2626;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.5rem;
  animation: pulse-badge 1.5s infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ========== CONTACT INFO CARD (in accepted requests) ========== */
.contact-info-card {
  margin: 0.75rem 0;
  padding: 0.75rem;
  background: linear-gradient(135deg, #F0F9FF, #F8FAFC);
  border-radius: 10px;
  border: 1px dashed var(--blue);
}
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0.25rem 0;
}
.contact-info-row svg { flex-shrink: 0; }
.contact-info-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== AGORA VIDEO CALL STYLES ========== */
.agora-container {
  position: relative;
  background: #0F172A;
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  overflow: hidden;
  margin: 1rem 0;
  display: block;
}

#remote-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#local-video {
  position: absolute;
  bottom: 80px;
  right: 16px;
  width: 100px;
  height: 150px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
  background: #1E293B;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, width 0.3s, height 0.3s;
}
#local-video:hover { transform: scale(1.05); }

.agora-container .empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #94A3B8;
  text-align: center;
  width: 100%;
  padding: 1rem;
  background: transparent;
}

/* ========== FLOATING CALL CONTROLS ========== */
.lesson-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
  z-index: 20;
  border-radius: 0 0 14px 14px;
  grid-template-columns: none;
}

.ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ctrl-btn svg { width: 22px; height: 22px; fill: currentColor; }
.ctrl-btn:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
.ctrl-btn:active { transform: scale(0.95); }
.ctrl-btn.active {
  background: white;
  color: #0F172A;
  border-color: white;
}
.ctrl-btn.danger {
  background: #DC2626;
  border-color: #DC2626;
  width: 70px;
  border-radius: 30px;
}
.ctrl-btn.danger:hover { background: #B91C1C; transform: scale(1.05); }

.connection-status {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(245, 158, 11, 0.95);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 30;
  display: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: pulse-bg 1.5s infinite;
}
@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ========== INCOMING CALL MODAL ========== */
.incoming-call-box,
.calling-box {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: white;
  animation: popUp 0.3s ease;
}

.call-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  margin: 0 auto 1.25rem;
  animation: pulse-ring 1.5s infinite;
}
.calling-box .call-pulse {
  background: rgba(37, 99, 235, 0.15);
  animation: pulse-ring-blue 1.5s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 30px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes pulse-ring-blue {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { box-shadow: 0 0 0 30px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.call-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.call-modal-sub {
  font-size: 1rem;
  color: #E2E8F0;
  margin-bottom: 0.25rem;
}
.call-modal-type {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1.75rem;
}

.call-modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.accept-btn,
.decline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: white;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
}
.accept-btn {
  background: var(--green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}
.accept-btn:hover { background: var(--green-dark); transform: scale(1.05); }
.decline-btn {
  background: #DC2626;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}
.decline-btn:hover { background: #B91C1C; transform: scale(1.05); }

/* ========== LEAVE MESSAGE SECTION ========== */
#leave-message-section textarea {
  background: white;
  color: var(--text-body);
  font-size: 0.9rem;
}
#leave-message-section textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
#send-message-btn {
  background: var(--green) !important;
  color: white;
  font-weight: 700;
}
#send-message-btn:hover { background: var(--green-dark) !important; }

/* ========== SEND REQUEST MODAL ========== */
#send-request-modal .modal-box {
  max-width: 420px;
}
#send-request-submit {
  background: var(--green) !important;
  color: white !important;
  font-weight: 700;
  margin-top: 0.5rem;
}
#send-request-submit:hover { background: var(--green-dark) !important; }
#send-request-cancel {
  margin-top: 0.5rem;
}

/* ========== CONTACT INFO MODAL ========== */
#contact-info-submit {
  background: var(--blue) !important;
  color: white !important;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ========== REQUESTS SCREEN ========== */
#requests-screen .tutor-card {
  flex-direction: column;
  align-items: stretch;
}

/* ========== MOBILE ADJUSTMENTS FOR CALL UI ========== */
@media (max-width: 480px) {
  .agora-container { border-radius: 10px; min-height: 200px; }
  #local-video { width: 80px; height: 120px; bottom: 70px; right: 12px; }
  .ctrl-btn { width: 44px; height: 44px; }
  .ctrl-btn svg { width: 18px; height: 18px; }
  .ctrl-btn.danger { width: 60px; }
  .incoming-call-box,
  .calling-box { padding: 1.75rem 1.25rem; }
  .call-pulse { width: 80px; height: 80px; }
  .call-pulse svg { width: 40px; height: 40px; }
  .accept-btn,
  .decline-btn { padding: 0.75rem 1.25rem; font-size: 0.88rem; }
  .requests-badge { font-size: 0.65rem; min-width: 18px; height: 18px; }
}

/* ============================================================
   COMPLETE PROFILE PROMPT — Sliding Toast (auto-hides)
   ============================================================ */
#complete-profile-prompt {
  position: fixed !important;
  bottom: 100px !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, 200%) !important;
  opacity: 0 !important;
  width: 92vw !important;
  max-width: 420px !important;
  z-index: 9997 !important;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease !important;
  pointer-events: none !important;
  margin: 0 !important;
  border: 2px solid var(--green) !important;
  background: linear-gradient(135deg, #F0FDF4, #FFFFFF) !important;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25) !important;
}
#complete-profile-prompt.show {
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#complete-profile-prompt.hidden {
  display: flex !important;
  transform: translate(-50%, 200%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   LIVE SUPPORT CHATBOT — matches Peniel App style
   ============================================================ */

/* --- Chat Toggle Button (bottom-right, green circle) --- */
.chat-toggle {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  min-width: 60px !important;
  border-radius: 50% !important;
  background: #22C55E !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45) !important;
  z-index: 9998 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: transform 0.2s, background 0.2s !important;
}
.chat-toggle:hover {
  background: #16A34A !important;
  transform: scale(1.08) !important;
}
.chat-toggle.hidden { display: none !important; }

/* --- Welcome Tooltip Bubble --- */
.chat-tooltip {
  position: fixed !important;
  bottom: 92px !important;
  right: 20px !important;
  background: white !important;
  color: #1E293B !important;
  padding: 12px 32px 12px 14px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  z-index: 9997 !important;
  max-width: 190px !important;
  animation: slideInTooltip 0.35s ease !important;
}
.chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}
.chat-tooltip.hidden { display: none !important; }
.chat-tooltip-close {
  position: absolute !important;
  top: 4px !important;
  right: 6px !important;
  background: transparent !important;
  border: none !important;
  color: #94A3B8 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  width: auto !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.chat-tooltip-close:hover { color: #64748B !important; }
@keyframes slideInTooltip {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Chat Window --- */
.chat-window {
  position: fixed !important;
  bottom: 92px !important;
  right: 20px !important;
  width: 340px !important;
  max-width: calc(100vw - 32px) !important;
  height: 500px !important;
  max-height: calc(100vh - 120px) !important;
  background: white !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 9999 !important;
  animation: slideUp 0.3s ease !important;
}
.chat-window.hidden { display: none !important; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Chat Header (green) --- */
.chat-header {
  background: #22C55E !important;
  color: white !important;
  padding: 14px 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.chat-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.chat-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header strong {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  display: block !important;
  line-height: 1.2 !important;
  color: white !important;
}
.chat-status {
  font-size: 0.72rem !important;
  opacity: 0.95 !important;
  margin: 2px 0 0 0 !important;
  line-height: 1.2 !important;
  color: white !important;
}
.chat-close {
  background: transparent !important;
  border: none !important;
  color: white !important;
  font-size: 1.4rem !important;
  cursor: pointer !important;
  width: auto !important;
  padding: 0 4px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
}
.chat-close:hover { opacity: 0.8 !important; }

/* --- Messages --- */
.chat-messages {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 16px !important;
  background: #F8FAFC !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.chat-msg {
  max-width: 85% !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
  word-wrap: break-word !important;
}
.chat-msg.bot {
  background: #E2E8F0 !important;
  color: #1E293B !important;
  border-bottom-left-radius: 4px !important;
  align-self: flex-start !important;
}
.chat-msg.user {
  background: #22C55E !important;
  color: white !important;
  border-bottom-right-radius: 4px !important;
  align-self: flex-end !important;
}

/* --- Quick Suggestions --- */
.chat-suggestions-wrapper {
  background: #F8FAFC !important;
  padding: 0 14px 10px 14px !important;
  border-top: 1px solid #E2E8F0 !important;
}
.chat-suggestions-label {
  font-size: 0.75rem !important;
  color: #94A3B8 !important;
  margin: 10px 0 6px 0 !important;
  font-weight: 500 !important;
}
.chat-suggestions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.chat-suggestion {
  background: white !important;
  color: #1E293B !important;
  border: 1px solid #CBD5E1 !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  width: auto !important;
  font-family: inherit !important;
  transition: all 0.15s !important;
}
.chat-suggestion:hover {
  background: #22C55E !important;
  color: white !important;
  border-color: #22C55E !important;
}

/* --- Input Form --- */
.chat-form {
  display: flex !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-top: 1px solid #E2E8F0 !important;
  background: white !important;
  align-items: center !important;
}
.chat-form input {
  flex: 1 !important;
  border-radius: 24px !important;
  padding: 10px 16px !important;
  border: 1px solid #CBD5E1 !important;
  font-size: 0.85rem !important;
  background: white !important;
  font-family: inherit !important;
  color: #1E293B !important;
}
.chat-form input:focus {
  outline: none !important;
  border-color: #22C55E !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}
.chat-form button {
  width: auto !important;
  padding: 10px 20px !important;
  border-radius: 24px !important;
  background: #22C55E !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  border: none !important;
  font-family: inherit !important;
}
.chat-form button:hover { background: #16A34A !important; }

/* ============================================================
   MOBILE — SMALLER CHAT WINDOW (doesn't cover the screen)
   ============================================================ */
@media (max-width: 480px) {
  .chat-toggle {
    bottom: 16px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    min-width: 52px !important;
  }
  .chat-toggle svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Smaller chat window */
  .chat-window {
    bottom: 80px !important;
    right: 12px !important;
    left: auto !important;
    width: 90vw !important;
    max-width: 320px !important;
    height: 400px !important;
    max-height: 55vh !important;
    border-radius: 14px !important;
  }

  /* Smaller header */
  .chat-header {
    padding: 10px 12px !important;
  }
  .chat-header-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .chat-header-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .chat-header strong {
    font-size: 0.85rem !important;
  }
  .chat-status {
    font-size: 0.65rem !important;
  }
  .chat-close {
    font-size: 1.2rem !important;
  }

  /* Smaller messages */
  .chat-messages {
    padding: 10px !important;
    gap: 6px !important;
  }
  .chat-msg {
    font-size: 0.78rem !important;
    padding: 8px 11px !important;
    max-width: 88% !important;
    line-height: 1.35 !important;
  }

  /* Smaller quick suggestions */
  .chat-suggestions-wrapper {
    padding: 0 10px 8px 10px !important;
  }
  .chat-suggestions-label {
    font-size: 0.68rem !important;
    margin: 8px 0 5px 0 !important;
  }
  .chat-suggestion {
    font-size: 0.68rem !important;
    padding: 5px 10px !important;
  }

  /* Smaller input form */
  .chat-form {
    padding: 8px 10px !important;
    gap: 6px !important;
  }
  .chat-form input {
    font-size: 0.78rem !important;
    padding: 8px 14px !important;
  }
  .chat-form button {
    font-size: 0.78rem !important;
    padding: 8px 16px !important;
  }

  /* Tooltip */
  .chat-tooltip {
    bottom: 78px !important;
    right: 12px !important;
    max-width: 170px !important;
    font-size: 0.78rem !important;
    padding: 10px 28px 10px 12px !important;
  }

  /* Complete profile prompt */
  #complete-profile-prompt {
    bottom: 80px !important;
    width: 94vw !important;
    padding: 0.7rem 0.9rem !important;
    gap: 0.6rem !important;
  }
  #complete-profile-prompt .contact-icon {
    width: 38px !important;
    height: 38px !important;
  }
  #complete-profile-prompt strong { font-size: 0.88rem; }
  #complete-profile-prompt p { font-size: 0.75rem; }
  #complete-profile-prompt .enroll-btn { padding: 0.45rem 0.75rem; font-size: 0.75rem; }
}
/* ========================================= */
/* OFFLINE CBT ADDITIONS                     */
/* ========================================= */
.option-btn.correct {
  background-color: var(--green, #22C55E) !important;
  color: white !important;
  border-color: var(--green, #22C55E) !important;
}

.option-btn.incorrect {
  background-color: #EF4444 !important; 
  color: white !important;
  border-color: #EF4444 !important;
}
/* ========================================= */
/* HIDE TUTOR FEATURES FOR LAUNCH            */
/* ========================================= */
#become-tutor-btn,
#tutor-dashboard-btn,
#find-student-btn,
#find-tutor-btn,
#my-requests-btn {
  display: none !important;
}
/* ========================================= */
/* TOAST NOTIFICATIONS                       */
/* ========================================= */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999; /* Keeps it above everything, even the chat window */
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}

.toast {
  background: white;
  color: var(--text-body);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideDown 0.3s ease forwards;
  pointer-events: auto;
  border-left: 5px solid var(--blue);
}

.toast.success {
  border-left-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}

.toast.error {
  border-left-color: #DC2626;
  background: #FEE2E2;
  color: #991B1B;
}

.toast.info {
  border-left-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue-dark);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.toast.hide {
  animation: slideUpFade 0.3s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpFade {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
