/*
==================================================
Unified Stylesheet for Aliyah Online Course - Light Theme
==================================================
*/

:root {
  --bg-accent-1: rgba(216, 232, 255, 0.45);
  --bg-accent-2: rgba(240, 248, 255, 0.85);
  --bg-accent-3: rgba(208, 224, 255, 0.35);

  /* Light sky-tinted base */
  --bg-color: #f7fbff;
  --card-bg: rgba(255, 255, 255, 0.85);
  --border-color: #dee2e6;
  --text-color: #111827;
  --text-muted: #6b7280;

  /* Modern primary palette */
  --primary-color: #2563eb; /* Indigo-500 */
  --primary-hover: #1d4ed8; /* Indigo-600 */
  --primary-pressed: #1e40af; /* Indigo-700 */

  --correct-color: #10b981;
  --incorrect-color: #ef4444;
  --shadow-color: rgba(2, 6, 23, 0.08);

  /* Button gradients */
  --btn-grad-start: #3b82f6;
  --btn-grad-end: #2563eb;
  --btn-glow: rgba(37, 99, 235, 0.35);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  /* Fallback subtle sky gradient under the animated canvas */
  background-image: radial-gradient(
      1200px 800px at 20% 0%,
      var(--bg-accent-1),
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      800px 600px at 90% 10%,
      var(--bg-accent-3),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--text-color);
  margin: 0;
  padding: 2rem;
  line-height: 1.7;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background Canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}

/* Main Content Container */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px var(--shadow-color);
  animation: fadeIn 0.9s ease-out;
}

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

/* Header & Typography */
header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.header-logo {
  width: 84px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(2, 6, 23, 0.1));
}

header h1 {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-color);
}

header h2 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.author-credit {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Lecture */
.lecture-text p {
  font-size: 1.06rem;
  margin-bottom: 1.35rem;
  color: #1f2937;
}

.lecture-text h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.video-container {
  margin: 2.25rem 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
}

.video-container iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}

/* Navigation Buttons – modern, glassy, elevated */
.navigation-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.nav-btn {
  display: inline-block;
  position: relative;
  background: linear-gradient(
    180deg,
    var(--btn-grad-start),
    var(--btn-grad-end)
  );
  color: #fff;
  padding: 0.95rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 9999px;
  border: 0;
  box-shadow: 0 10px 24px var(--btn-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.nav-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.nav-btn:hover {
  transform: translateY(-1px) scale(1.01);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--btn-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: saturate(1.05);
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px var(--btn-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    180deg,
    var(--primary-hover),
    var(--primary-pressed)
  );
}

.nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 10px 24px var(--btn-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Secondary button: soft, glassy */
.nav-btn.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-color);
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Quiz Styles */
.progress-bar-container {
  width: 100%;
  background-color: #edf2f7;
  border-radius: 12px;
  margin-top: 1.4rem;
  height: 12px;
  border: 1px solid var(--border-color);
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--btn-grad-start),
    var(--btn-grad-end)
  );
  border-radius: 12px;
  transition: width 0.5s ease-in-out;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  color: var(--text-muted);
}

.question-block {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.04);
}

.question-block h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.options-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.options-list li {
  background-color: #fff;
  margin: 0.7rem 0;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.options-list li:hover {
  border-color: var(--primary-color);
  background: #eef5ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.options-list li.selected {
  color: #fff;
  background: linear-gradient(
    180deg,
    var(--btn-grad-start),
    var(--btn-grad-end)
  );
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

#submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-top: 2rem;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

#submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

#submit-btn:disabled {
  background: #e5e7eb;
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s;
}

.modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);

  background: #ffffff;
  padding: 2.5rem;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 640px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(2, 6, 23, 0.16);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#score-percentage {
  font-size: 4.25rem;
  font-weight: 800;
  margin: 1rem 0;
}

#grade-level {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.grade-pass {
  color: var(--correct-color);
}
.grade-fail {
  color: #d97706;
  font-weight: 600;
}

.modal-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-buttons button,
.modal-buttons a {
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-color);
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
}

.modal-buttons button:hover,
.modal-buttons a:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

#next-lecture-btn {
  background: linear-gradient(
    180deg,
    var(--btn-grad-start),
    var(--btn-grad-end)
  );
  border-color: transparent;
  color: #fff;
  display: none; /* Shown via JS on pass */
}

/* Answer Review */
#answer-review {
  margin-top: 2rem;
  max-height: 250px;
  overflow-y: auto;
  text-align: left;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.review-item {
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
  background: #fff;
  border-radius: 12px;
}

.review-item.correct {
  border-color: var(--correct-color);
}
.review-item.incorrect {
  border-color: var(--incorrect-color);
}

.review-item p {
  margin: 0.5rem 0;
}
.review-item .review-question {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.review-item .correct-answer {
  color: var(--correct-color);
}
.review-item .incorrect-answer {
  color: var(--incorrect-color);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  .container {
    padding: 1.5rem;
  }
}

/* Softer fail message text */
.modal-fail-message {
  color: #d97706; /* amber tone */
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Friendlier feedback tone */
#feedback-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Improved focus ring */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Subtle container backdrop */
.container::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    1000px 700px at 10% 80%,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
  z-index: 0;
}

/* Auth panel */
.auth-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 14px;
}
#auth input {
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
}
#auth button {
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}
#auth button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
#auth #auth-msg {
  width: 100%;
  color: #b00;
  margin-top: 4px;
  font-size: 12px;
}
@media (max-width: 640px) {
  .auth-panel {
    left: 12px;
    right: 12px;
  }
  #auth input {
    flex: 1 1 140px;
  }
}
/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal-backdrop[open] {
  display: flex;
}
.modal-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  max-width: 560px;
  width: 92%;
  padding: 20px 22px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.modal-card h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
}
.modal-card p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.6;
}
.modal-card input {
  width: 100%;
  height: 36px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0 10px;
}
.modal-card button {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
}
.modal-card button.secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
#auth-msg {
  color: #b00;
  font-size: 12px;
  margin-top: 6px;
}
/* ========================================
   AUTHENTICATION MODAL STYLES
   Add these to your existing style.css
   ======================================== */

/* Auth Modal */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.show {
  opacity: 1;
  visibility: visible;
}

.auth-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.auth-modal.show .auth-card {
  transform: translateY(0);
}

.auth-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--btn-grad-end) 100%
  );
  padding: 2rem;
  text-align: center;
  position: relative;
}

.auth-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.auth-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.auth-logo img {
  filter: brightness(0) invert(1);
}

.auth-title {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
}

.auth-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 200px);
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 12px;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.auth-tab.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-tab:hover:not(.active) {
  color: #334155;
}

/* Auth Forms */
.auth-form {
  display: none;
  animation: fadeIn 0.3s ease;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  font-family: "Poppins", sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error {
  border-color: #ef4444;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #334155;
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

/* Submit Button */
.auth-submit {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--btn-grad-end) 100%
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.auth-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.auth-submit:hover:not(:disabled)::before {
  width: 300px;
  height: 300px;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.auth-submit:active:not(:disabled) {
  transform: translateY(0);
}

.auth-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.auth-submit.loading {
  color: transparent;
}

.auth-submit.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Auth Messages */
.auth-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  display: none;
  animation: slideUp 0.3s ease;
}

.auth-message.show {
  display: block;
}

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

.auth-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auth-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.auth-message.info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Auth Footer */
.auth-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.auth-link {
  color: #64748b;
  background: none;
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: underline;
  font-family: "Poppins", sans-serif;
}

.auth-link:hover {
  color: #334155;
}

/* Auth Status Bar */
.auth-status {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: white;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.auth-status.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-email {
  font-size: 0.875rem;
  color: #334155;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-status {
  font-size: 0.75rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.sign-out-btn {
  padding: 0.5rem 1rem;
  background: #f1f5f9;
  color: #334155;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.sign-out-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* Auth Trigger Button */
.auth-trigger {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--btn-grad-end) 100%
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.auth-trigger.hidden {
  display: none;
}

.auth-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .auth-status {
    right: 0.5rem;
    top: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .auth-trigger {
    right: 0.5rem;
    top: 0.5rem;
    padding: 0.625rem 1.25rem;
  }

  .user-email {
    max-width: 120px;
  }

  .auth-card {
    width: 95%;
    margin: 1rem;
  }

  .auth-body {
    padding: 1.5rem;
  }

  .auth-header {
    padding: 1.5rem;
  }
}
