/* Digital PR Course Microsite - Professional Styling */
@import url('slideshow.css');

:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --accent: #ed8936;
  --accent-hover: #dd6b20;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* SURGICAL IMAGE FIX - Prevent Overflow in Chapters */
img { 
  max-width: 100%; 
  height: auto; 
}

/* Header */
.site-header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-size: 1.25rem; font-weight: 700; color: white; text-decoration: none; }
.logo span { color: var(--accent); }

.main-nav ul { display: flex; list-style: none; gap: 2rem; }
.main-nav a { color: white; font-weight: 500; opacity: 0.9; text-decoration: none; }
.main-nav a:hover { opacity: 1; color: var(--accent); }

.mobile-menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero-inner { max-width: 800px; margin: 0 auto; }

.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.hero .subtitle { font-size: 1.5rem; opacity: 0.9; margin-bottom: 1.5rem; }
.hero .author { font-size: 1.1rem; opacity: 0.8; margin-bottom: 2rem; }

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  text-decoration: none;
}
.hero-cta:hover { background: var(--accent-hover); color: white; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Stats Bar */
.stats-bar {
  background: var(--bg-white);
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 { font-size: 2.5rem; color: var(--primary); font-weight: 700; }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Section */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; color: var(--primary); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Modules Grid */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; }

.module-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.module-header {
  background: var(--primary);
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.module-number {
  background: var(--accent);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem;
}

.module-header h3 { font-size: 1.15rem; font-weight: 600; flex: 1; }

.module-content { padding: 1.5rem; flex: 1; }
.module-content p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }

.chapter-list { list-style: none; }
.chapter-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.chapter-list li:last-child { border-bottom: none; }
.chapter-list a { display: flex; align-items: center; gap: 0.5rem; color: var(--text-dark); font-size: 0.9rem; text-decoration: none; }
.chapter-list a:hover { color: var(--accent); }
.chapter-list .ch-num { color: var(--text-light); font-weight: 500; min-width: 28px; }

.module-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.module-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.module-link:hover { color: var(--accent); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-item h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.25rem; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Author Section */
.author-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.author-image {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 4rem; font-weight: 700;
}

.author-info h3 { font-size: 1.75rem; color: var(--primary); margin-bottom: 0.5rem; }
.author-title { color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.author-bio { color: var(--text-muted); line-height: 1.8; }

/* Chapter Page */
.chapter-hero {
  background: var(--primary);
  color: white;
  padding: 3rem 1.5rem;
}

.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
.breadcrumb a { color: white; opacity: 0.8; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; }

.chapter-title-block { max-width: var(--max-width); margin: 0 auto; }
.chapter-title-block h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.chapter-meta { opacity: 0.8; }

.chapter-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: var(--bg-white);
}

.chapter-content h2 { font-size: 1.75rem; color: var(--primary); margin: 2rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.chapter-content h3 { font-size: 1.35rem; color: var(--primary-light); margin: 1.5rem 0 0.75rem; }
.chapter-content h4 { font-size: 1.1rem; color: var(--text-dark); margin: 1.25rem 0 0.5rem; }

.chapter-content p { margin-bottom: 1rem; color: var(--text-dark); }
.chapter-content ul, .chapter-content ol { margin: 1rem 0 1rem 1.5rem; }
.chapter-content li { margin-bottom: 0.5rem; }

.chapter-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-light);
  font-style: italic;
}

/* Enhanced Key Takeaways UI */
.chapter-content blockquote.key-takeaways {
  background: #f0f7ff; /* Very light blue/primary tint */
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 2rem 1.5rem 4rem; /* Extra left padding for icon */
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  font-style: normal;
  margin: 2rem 0;
}

.chapter-content blockquote.key-takeaways .kt-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.chapter-content blockquote.key-takeaways p {
  margin-bottom: 0.75rem;
  color: #2d3748;
}

.chapter-content blockquote.key-takeaways strong {
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* TABLE FIX FOR CHAPTERS */
.chapter-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.chapter-content th, .chapter-content td {
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: left;
}
.chapter-content th {
  background: var(--bg-light);
}

.chapter-content .highlight {
  background: #fef3cd;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent);
}

/* Chapter Navigation */
.chapter-nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.nav-link {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  min-width: 200px;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-link:hover { background: var(--primary); color: white !important; }
.nav-link.next { text-align: right; }
.nav-label { font-size: 0.85rem; opacity: 0.7; margin-bottom: 0.25rem; }
.nav-title { font-weight: 600; color: var(--primary); }
.nav-link:hover .nav-title { color: white; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--accent); }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-section a { color: white; opacity: 0.8; font-size: 0.9rem; text-decoration: none; }
.footer-section a:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Slideshow Component IMPORT */

/* Video Embeds */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem 0;
  border-radius: var(--radius);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}

/* Quiz System */
.quiz-section {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.quiz-intro h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.quiz-intro p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.quiz-start-btn, .quiz-next-btn, .quiz-retry-btn, .quiz-review-btn, .quiz-back-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.quiz-start-btn:hover, .quiz-next-btn:hover, .quiz-retry-btn:hover, .quiz-review-btn:hover, .quiz-back-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quiz-container {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.quiz-header {
  margin-bottom: 1.5rem;
}

.quiz-progress {
  background: var(--border);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quiz-progress-bar {
  background: var(--accent);
  height: 100%;
  transition: width 0.3s;
}

.quiz-counter {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.quiz-question h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-size: 1rem;
}

.quiz-option:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--bg-light);
}

.quiz-option.correct {
  border-color: #38a169;
  background: #f0fff4;
}

.quiz-option.incorrect {
  border-color: #e53e3e;
  background: #fff5f5;
}

.quiz-option:disabled {
  cursor: default;
}

.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-light);
  border-radius: 50%;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.option-text {
  flex: 1;
  color: var(--text-dark);
}

.quiz-feedback {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.quiz-feedback.correct {
  background: #f0fff4;
  border: 1px solid #38a169;
}

.quiz-feedback.incorrect {
  background: #fff5f5;
  border: 1px solid #e53e3e;
}

.feedback-icon {
  font-size: 1.5rem;
  font-weight: bold;
}

.quiz-feedback.correct .feedback-icon { color: #38a169; }
.quiz-feedback.incorrect .feedback-icon { color: #e53e3e; }

.feedback-text strong {
  display: block;
  margin-bottom: 0.25rem;
}

.feedback-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.quiz-next-btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Quiz Results */
.quiz-results {
  text-align: center;
  padding: 2rem 0;
}

.results-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.quiz-results h3 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.results-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.results-score .score-divider {
  color: var(--text-muted);
  margin: 0 0.25rem;
}

.results-percentage {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.results-message {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.quiz-review-btn, .quiz-back-btn {
  background: var(--primary);
}

.quiz-review-btn:hover, .quiz-back-btn:hover {
  background: var(--primary-light);
}

/* Quiz Review */
.quiz-review {
  text-align: left;
}

.quiz-review h3 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
}

.review-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.review-item.correct {
  border-left: 4px solid #38a169;
}

.review-item.incorrect {
  border-left: 4px solid #e53e3e;
}

.review-status {
  font-size: 1.25rem;
  font-weight: bold;
}

.review-item.correct .review-status { color: #38a169; }
.review-item.incorrect .review-status { color: #e53e3e; }

.review-question {
  margin-bottom: 0.5rem;
}

.review-answer {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.review-correct {
  color: #38a169;
  font-size: 0.9rem;
  font-weight: 500;
}

.review-explanation {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.5rem;
}

.quiz-back-btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .modules-grid, .features-grid, .footer-inner { grid-template-columns: 1fr; }
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.search-modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 1.5rem;
  transform: translateY(-20px);
  transition: transform 0.2s;
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.search-icon {
  color: var(--text-light);
  margin-right: 1rem;
}

.search-input {
  flex: 1;
  border: none;
  font-size: 1.1rem;
  outline: none;
  background: transparent;
  color: var(--text-dark);
}

.search-shortcut {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  background: var(--bg-light);
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.search-result {
  display: block;
  padding: 0.75rem 1.5rem;
  border-left: 3px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.search-result:hover, .search-result.selected {
  background: var(--bg-light);
  border-left-color: var(--primary);
}

.result-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.result-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.search-footer {
  padding: 0.75rem 1.5rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

.search-trigger {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.search-hint, .search-no-results {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* --- Auth Styles --- */

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2001; /* Above everything */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    overflow: hidden;
}

.auth-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.auth-close:hover {
    color: var(--text-dark);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.auth-tab:hover {
    color: var(--primary);
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.auth-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.auth-submit-btn:hover {
    background: var(--primary-light);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 1;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.auth-google-btn {
    width: 100%;
    padding: 0.875rem;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-google-btn:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
}

.auth-error {
    color: #e53e3e;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    min-height: 1.4em;
}

/* Nav Auth Button */
.auth-nav-item a {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.auth-nav-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}