/* Import Space Grotesk font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #FAF9F7;
  color: #1a1a1a;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Push footer to bottom */
main, .hero, .page-container, .login-container, .code-container, .dashboard-container {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  background-color: #FAF9F7;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.header-logo a {
  color: #1a1a1a;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.header-nav a:hover {
  opacity: 0.6;
}

.header-nav a.active {
  color: #FAF9F7;
  background: #1a1a1a;
  padding: 8px 16px;
  border-radius: 8px;
  opacity: 1;
}

.nav-spacer {
  color: #ccc;
  font-weight: 300;
  user-select: none;
}

/* Mobile Nav Toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.nav-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.nav-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 30px;
  color: #1a1a1a;
  min-height: 2.2em; /* Fixed height to prevent layout shift from rotating text */
}

.hero .tagline {
  font-size: 1.25rem;
  color: #666;
  max-width: 500px;
  margin-bottom: 50px;
  font-weight: 400;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background-color: #1a1a1a;
  color: #FAF9F7;
  padding: 18px 45px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  letter-spacing: -0.2px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
  opacity: 1;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #1a1a1a;
  padding: 18px 45px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  border: 1.5px solid #1a1a1a;
  letter-spacing: -0.2px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: #FAF9F7;
  opacity: 1;
}

/* Page Container */
.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 50px 120px;
}

/* Section Styles */
.section {
  margin-bottom: 100px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 20px;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  max-width: 650px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.card {
  background: #fff;
  padding: 40px 35px;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* Audience Tabs */
.audience-tabs {
  display: flex;
  gap: 0;
  margin-top: 30px;
  border-bottom: 2px solid #e5e5e5;
}

.audience-tab {
  padding: 12px 24px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.audience-tab:hover {
  color: #1a1a1a;
}

.audience-tab.active {
  color: #1a1a1a;
  font-weight: 600;
  border-bottom-color: #1a1a1a;
}

.audience-intro {
  margin-top: 30px;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

.info-note {
  margin-top: 30px;
  padding: 20px 24px;
  background: #f8f9fa;
  border-left: 3px solid #888;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* Steps List */
.steps {
  list-style: none;
  margin-top: 50px;
}

.steps li {
  display: flex;
  gap: 30px;
  padding: 35px 0;
  border-bottom: 1px solid #e5e5e5;
}

.steps li:first-child {
  border-top: 1px solid #e5e5e5;
}

.step-number {
  font-size: 1rem;
  font-weight: 600;
  color: #888;
  min-width: 30px;
}

.step-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.step-content p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: #1a1a1a;
  color: #FAF9F7;
  padding: 80px 60px;
  border-radius: 20px;
  text-align: center;
}

.cta-section h2 {
  color: #FAF9F7;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin: 0 auto 35px;
}

.cta-section .btn-primary {
  background-color: #FAF9F7;
  color: #1a1a1a;
}

.cta-section .btn-primary:hover {
  background-color: #fff;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e5e5;
}

.pricing-card.featured {
  border: none;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  background: #1a1a1a;
  color: #FAF9F7;
}

.pricing-header {
  padding: 45px 40px 30px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.pricing-header .subtitle {
  font-size: 0.95rem;
  opacity: 0.6;
}

.pricing-body {
  padding: 0 40px 45px;
}

.price {
  margin-bottom: 35px;
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -2px;
}

.price .period {
  font-size: 1rem;
  opacity: 0.6;
}

.price .custom {
  font-size: 1.5rem;
  font-weight: 500;
}

.features {
  list-style: none;
  margin-bottom: 35px;
}

.features li {
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-card.featured .features li {
  border-bottom-color: rgba(255,255,255,0.1);
}

.features li::before {
  content: "→";
  opacity: 0.4;
}

.pricing-card .btn-primary {
  width: 100%;
  text-align: center;
}

.pricing-card.featured .btn-primary {
  background: #FAF9F7;
  color: #1a1a1a;
}

/* FAQ */
.faq-grid {
  margin-top: 50px;
}

.faq-item {
  padding: 30px 0;
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.faq-item p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* Chat Page */
.chat-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 50px;
}

.chat-box {
  height: 450px;
  overflow-y: auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
}

.chat-input-area {
  display: flex;
  gap: 15px;
}

.chat-input-area textarea {
  flex: 1;
  padding: 20px;
  border: none;
  border-radius: 16px;
  background: #fff;
  resize: none;
  height: 60px;
  font-size: 16px;
  font-family: inherit;
}

.chat-input-area textarea:focus {
  outline: none;
}

.chat-input-area button {
  padding: 20px 35px;
  background-color: #1a1a1a;
  color: #FAF9F7;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  transition: background-color 0.2s;
}

.chat-input-area button:hover {
  background-color: #333;
}

.message {
  margin: 15px 0;
  padding: 15px 20px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 0.95rem;
}

.bot {
  background-color: #f0f0f0;
  color: #1a1a1a;
}

.user {
  background-color: #1a1a1a;
  color: #FAF9F7;
  margin-left: auto;
}

.typing-indicator {
  color: #888;
  font-size: 1.5rem;
  letter-spacing: 3px;
  animation: pulse 1s infinite;
}

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

/* Dashboard */
.dashboard-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 50px 50px;
  box-sizing: border-box;
}

/* Tablets and phones (any orientation) */
@media (max-width: 1024px) {
  .dashboard-container {
    width: 100vw;
    max-width: 100vw;
    padding: 15px;
    margin: 0;
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.dashboard-header h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.user-email {
  font-size: 0.85rem;
  color: #888;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.stat-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
}

.stat-card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 10px;
}

.stat-card .value {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -1px;
}

.dashboard-section {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  margin-bottom: 25px;
}

.dashboard-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: -0.3px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 15px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

th {
  font-weight: 600;
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-admin {
  background: #1a1a1a;
  color: #FAF9F7;
}

.badge-user {
  background: #e5e5e5;
  color: #666;
}

/* Flash Messages */
.flash-messages {
  margin-bottom: 30px;
}

.flash-message {
  padding: 18px 25px;
  border-radius: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.flash-message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.flash-message.error {
  background: #ffebee;
  color: #c62828;
}

/* Login Page */
.login-container {
  max-width: 420px;
  margin: 100px auto;
  padding: 50px;
  background: #fff;
  border-radius: 20px;
}

.login-container h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 35px;
  text-align: center;
}

.login-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.login-form input[type="email"],
.login-form input[type="text"] {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.login-form input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.btn-login {
  width: 100%;
  padding: 18px;
  background: #1a1a1a;
  color: #FAF9F7;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.2s;
}

.btn-login:hover {
  background: #333;
}

.divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: #999;
  font-size: 0.9rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e5e5;
}

.divider span {
  padding: 0 20px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.btn-google:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.admin-note {
  font-size: 0.85rem;
  color: #888;
  text-align: center;
  margin-top: 15px;
}

/* Code Entry */
.code-container {
  max-width: 420px;
  margin: 100px auto;
  padding: 50px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
}

.code-container h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.code-container > p {
  color: #666;
  margin-bottom: 35px;
}

.code-form input[type="text"] {
  width: 100%;
  padding: 20px;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1.75rem;
  font-family: inherit;
  text-align: center;
  letter-spacing: 8px;
  font-weight: 600;
}

.code-form input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.btn-verify {
  width: 100%;
  padding: 18px;
  background: #1a1a1a;
  color: #FAF9F7;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.2s;
}

.btn-verify:hover {
  background: #333;
}

.back-link {
  display: inline-block;
  margin-top: 25px;
  color: #888;
  font-size: 0.95rem;
}

.back-link:hover {
  color: #1a1a1a;
}

/* Dashboard Navigation */
.dashboard-nav {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 500;
  color: #555;
  text-align: center;
  border-right: 1px solid #ddd;
  transition: all 0.2s ease;
  flex: 1 1 0;
  min-width: 0;
}

.dashboard-nav a:last-child {
  border-right: none;
}

.dashboard-nav a:hover {
  color: #1a1a1a;
  background: #f0f0f0;
  opacity: 1;
}

.dashboard-nav a.active {
  color: #FAF9F7;
  background: #1a1a1a;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-description {
  color: #666;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* Alerts */
.alert {
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.alert-warning {
  background: #fff8e1;
  border: 1px solid #ffe082;
}

.alert strong {
  display: block;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.alert p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Buttons */
.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-link {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-link:hover {
  opacity: 0.7;
}

/* Status Badges */
.badge-completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-active {
  background: #e3f2fd;
  color: #1565c0;
}

.badge-pending {
  background: #fff8e1;
  color: #f57c00;
}

.badge-expired {
  background: #ffebee;
  color: #c62828;
}

.badge-default {
  background: #f5f5f5;
  color: #666;
  position: absolute;
  top: 15px;
  right: 15px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #666;
}

.empty-state p {
  margin-bottom: 20px;
}

/* Text Utilities */
.text-muted {
  color: #999;
}

/* Forms */
.profile-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #888;
}

ul.form-hint {
  padding-left: 18px;
  margin-top: 8px;
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  align-items: center;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 20px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Template Cards */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 15px;
}

.template-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 16px;
  position: relative;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.template-card .template-actions {
  margin-top: auto;
}

.template-card:hover {
  border-color: #ccc;
}

.template-card.template-default {
  background: #f0f4ff;
  border-color: #c7d5f0;
}

.template-card.template-default:hover {
  border-color: #a8bde0;
}

.template-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.template-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 10px;
}

.template-preview {
  margin-bottom: 10px;
}

.preview-question {
  font-size: 0.8rem;
  color: #666;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.preview-more {
  font-size: 0.8rem;
  color: #888;
  padding-top: 6px;
  font-style: italic;
}

/* Info Box */
.info-box {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.info-box.collapsible {
  padding: 0;
}

.info-box.collapsible summary {
  padding: 16px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.info-box.collapsible summary::-webkit-details-marker {
  display: none;
}

.info-box.collapsible summary::before {
  content: "+";
  font-size: 1.2rem;
  font-weight: 600;
  color: #888;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.info-box.collapsible[open] summary::before {
  content: "\2212";
}

.info-box.collapsible .expand-hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
  margin-left: auto;
}

.info-box.collapsible[open] .expand-hint {
  display: none;
}

.info-box-content {
  padding: 0 25px 20px;
}

.info-box h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-box p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  font-size: 0.9rem;
  color: #666;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.info-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a1a1a;
}

/* Instructions Box */
.instructions-box {
  background: #e8f4f0;
  border-color: #c5e0d8;
}

.instructions-list {
  margin: 0;
  padding-left: 24px;
}

.instructions-list li {
  font-size: 0.95rem;
  color: #333;
  padding: 8px 0;
  padding-left: 0;
  line-height: 1.5;
}

.instructions-list li::before {
  content: none;
}

.instructions-list li::marker {
  color: #1a1a1a;
  font-weight: 600;
}

.instructions-list a {
  color: #1a1a1a;
  text-decoration: underline;
  font-weight: 500;
}

.instructions-list a:hover {
  opacity: 0.7;
}

/* Interview Detail */
.interview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.interview-info h2 {
  margin-bottom: 5px;
}

.interview-email {
  color: #666;
  font-size: 0.95rem;
}

.interview-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meta-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.meta-value {
  font-size: 0.95rem;
  color: #1a1a1a;
}

.meta-value.code {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Share Details */
.share-details {
  margin-top: 15px;
}

.share-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.share-item:last-child {
  border-bottom: none;
}

.share-label {
  font-size: 0.9rem;
  color: #666;
  min-width: 120px;
}

.share-item code {
  font-family: monospace;
  font-size: 1rem;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}

.share-item code.access-code {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 3px;
}

/* Q&A List */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qa-item {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.qa-question {
  font-weight: 500;
  margin-bottom: 12px;
  color: #1a1a1a;
  display: flex;
  gap: 12px;
}

.qa-number {
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
}

.qa-answer {
  color: #555;
  line-height: 1.6;
  padding-left: 35px;
}

.qa-answer-label {
  font-style: italic;
  color: #888;
  margin-right: 6px;
}

.qa-followup {
  margin-top: 16px;
  padding-left: 35px;
  border-left: 3px solid #ddd;
  margin-left: 35px;
  padding-top: 8px;
  padding-bottom: 4px;
}

.qa-followup-question {
  font-weight: 500;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.qa-followup-label {
  font-style: italic;
  color: #888;
  margin-right: 6px;
}

.qa-followup-answer {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Analytics Summary Styles */
.scale-summary {
  margin: 10px 0;
}

.average-rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 35px;
}

.avg-value {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
}

.avg-label {
  font-size: 0.9rem;
  color: #666;
}

.response-count {
  padding-left: 35px;
  font-size: 0.9rem;
  color: #888;
}

.supporting-quotes {
  margin-top: 15px;
  padding-top: 15px;
  padding-left: 35px;
  border-top: 1px solid #e5e5e5;
}

.quotes-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  margin-bottom: 10px;
}

.anon-quote {
  background: #fff;
  border-left: 3px solid #ddd;
  padding: 12px 15px;
  margin: 8px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

.text-muted {
  color: #888;
}

/* Interview Landing Info */
/* Interview Start Steps */
.interview-start {
  max-width: 480px;
}

.interview-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.interview-step:last-of-type {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 2px;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.interview-step .code-form input[type="text"],
.interview-step input[type="text"] {
  margin-top: 0;
}

.radio-group-vertical {
  flex-direction: column;
  gap: 4px;
}

.radio-description {
  font-size: 0.82rem;
  color: #888;
  margin: 0 0 12px 26px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"]:disabled {
  opacity: 0.4;
  cursor: default;
}

.interview-step .btn-verify {
  margin-top: 0;
}

.btn-verify:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn-verify:disabled:hover {
  background: #ccc;
}

.interview-info-box {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e5e5e5;
  text-align: left;
}

.interview-info-box h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.interview-info-box ul {
  list-style: none;
}

.interview-info-box li {
  font-size: 0.9rem;
  color: #666;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.interview-info-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e7d32;
}

/* Success Icon */
.success-icon {
  color: #2e7d32;
  margin-bottom: 25px;
}

.thank-you-message {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Admin Navigation */
.admin-nav {
  display: flex;
  gap: 5px;
  margin-bottom: 30px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
}

.admin-nav a {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.admin-nav a:hover {
  color: #1a1a1a;
  background: #f5f5f5;
  opacity: 1;
}

.admin-nav a.active {
  color: #FAF9F7;
  background: #1a1a1a;
}

/* Admin mobile nav dropdown */
.admin-nav-mobile {
  display: none;
  margin-bottom: 25px;
}

.admin-nav-mobile select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.admin-nav-mobile select:focus {
  outline: none;
  border-color: #1a1a1a;
}

/* Filter Form */
.filter-form {
  display: flex;
  gap: 10px;
}

.filter-form select {
  padding: 8px 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
}

.filter-form select:focus {
  outline: none;
  border-color: #1a1a1a;
}

/* Logs Table */
.logs-table {
  width: 100%;
  font-size: 0.85rem;
}

.logs-table th {
  font-size: 0.75rem;
}

.logs-table td {
  vertical-align: top;
}

.log-time {
  white-space: nowrap;
  color: #888;
}

.log-description {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.severity-error {
  background: #fff5f5;
}

.severity-warning {
  background: #fffbeb;
}

/* Log Badges */
.badge-type-auth {
  background: #e3f2fd;
  color: #1565c0;
}

.badge-type-interview {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-type-email {
  background: #f3e5f5;
  color: #7b1fa2;
}

.badge-type-error {
  background: #ffebee;
  color: #c62828;
}

.badge-info {
  background: #e3f2fd;
  color: #1565c0;
}

.badge-warning {
  background: #fff8e1;
  color: #f57c00;
}

.badge-error {
  background: #ffebee;
  color: #c62828;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.page-info {
  color: #888;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #FAF9F7;
  padding: 25px 50px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FAF9F7;
  opacity: 1;
}

.footer-bottom {
  max-width: 1100px;
  margin: 15px auto 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 15px 20px;
  }

  /* Show hamburger menu */
  .nav-toggle {
    display: flex;
  }

  /* Mobile nav styling */
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FAF9F7;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 150;
  }

  .header-nav.nav-open {
    right: 0;
  }

  .header-nav a {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .header-nav a.active {
    background: none;
    color: #1a1a1a;
    padding: 15px 0;
    font-weight: 600;
  }

  .nav-spacer {
    display: none;
  }

  .hero {
    padding: 40px 20px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -1.5px;
    min-height: 4em; /* Taller on mobile since text wraps more */
  }

  .hero p {
    font-size: 1rem;
  }

  .page-container {
    padding: 40px 20px 60px;
  }

  .page-container h1 {
    font-size: 2rem;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .login-container,
  .code-container {
    margin: 30px 15px;
    padding: 30px 20px;
  }

  .chat-container {
    padding: 0 20px;
  }

  .site-footer {
    padding: 20px 25px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  /* Pricing mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .pricing-header {
    padding: 20px 20px 15px;
  }

  .pricing-header h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  .pricing-header .subtitle {
    font-size: 0.85rem;
  }

  .pricing-body {
    padding: 0 20px 20px;
  }

  .price {
    margin-bottom: 20px;
  }

  .price .amount {
    font-size: 2.5rem;
  }

  .features {
    margin-bottom: 20px;
  }

  .features li {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  /* FAQ mobile */
  .faq-item {
    padding: 20px 0;
  }

  .faq-item h3 {
    font-size: 1.05rem;
  }

  /* How it works / Steps mobile */
  .audience-tabs {
    flex-direction: column;
    gap: 0;
  }

  .audience-tab {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
  }

  .audience-tab.active {
    border-bottom: 1px solid #e5e5e5;
    background: #f5f5f5;
  }

  .steps {
    margin-top: 30px;
  }

  .steps li {
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;
  }

  .step-content h3 {
    font-size: 1.1rem;
  }

  /* Cards grid mobile */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .card {
    padding: 25px 20px;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  /* Section labels mobile */
  .section-label {
    font-size: 0.8rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  /* Buttons mobile */
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Interview landing mobile */
  .interview-landing {
    padding: 40px 20px;
  }

  /* Chat container mobile */
  .chat-messages {
    max-height: 50vh;
  }

  /* Role selection mobile - stack buttons */
  .role-selection-form {
    flex-direction: column;
    gap: 0.75em;
  }

  .role-selection-form .btn-google {
    width: 100%;
  }

  .role-or {
    display: none;
  }

  /* Chat page mobile */
  .chat-container {
    margin: 20px auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px); /* Account for header and footer */
  }

  .chat-box {
    flex: 1;
    height: auto;
    min-height: 200px;
    max-height: none;
  }

  .chat-input-area {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
  }

  .chat-input-area textarea {
    min-height: 60px;
    font-size: 16px; /* Prevent iOS zoom on focus */
  }

  .chat-input-area button {
    width: 100%;
    padding: 15px;
  }

  /* Interview landing mobile adjustments */
  .code-container.interview-start {
    margin: 30px 15px;
  }

  .interview-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    align-self: flex-start;
  }

  .interview-info-box {
    padding: 20px;
  }

  .interview-info-box h3 {
    font-size: 1rem;
  }

  .interview-info-box ul {
    padding-left: 20px;
  }

  .interview-info-box li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
}

/* Landscape mode on phones */
@media (orientation: landscape) and (max-height: 600px) {
  /* Show hamburger menu */
  .nav-toggle {
    display: flex;
  }

  /* Mobile nav styling for landscape */
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FAF9F7;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 150;
    overflow-y: auto;
  }

  .header-nav.nav-open {
    right: 0;
  }

  .header-nav a {
    font-size: 16px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .header-nav a.active {
    background: none;
    color: #1a1a1a;
    padding: 12px 0;
    font-weight: 600;
  }

  .nav-spacer {
    display: none;
  }

  /* Reduce hero padding in landscape */
  .hero {
    padding: 20px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
    min-height: auto;
    margin-bottom: 15px;
  }

  .hero .tagline {
    margin-bottom: 20px;
  }


  .dashboard-header h1 {
    font-size: 1.3rem !important;
  }

  .section-header h2 {
    font-size: 1rem !important;
  }

  .login-container,
  .code-container {
    margin: 10px !important;
    padding: 15px !important;
    max-width: 100% !important;
  }

  /* Pricing landscape */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .pricing-header {
    padding: 15px 15px 10px;
  }

  .pricing-header h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .pricing-header .subtitle {
    font-size: 0.8rem;
  }

  .pricing-body {
    padding: 0 15px 15px;
  }

  .price {
    margin-bottom: 15px;
  }

  .price .amount {
    font-size: 2rem;
  }

  .features {
    margin-bottom: 15px;
  }

  .features li {
    padding: 6px 0;
    font-size: 0.85rem;
  }

  /* Chat page landscape */
  .chat-container {
    margin: 10px auto;
    padding: 0 15px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
  }

  .chat-box {
    flex: 1;
    height: auto;
    min-height: 100px;
  }

  .chat-input-area textarea {
    font-size: 16px;
    padding: 12px;
  }

  .chat-input-area button {
    padding: 12px 25px;
  }

  /* Interview landing landscape */
  .code-container.interview-start {
    margin: 20px auto;
    max-width: 600px;
  }

  .interview-info-box {
    padding: 15px;
  }

  /* Dashboard nav dropdown for landscape */
  .dashboard-nav-mobile {
    display: block !important;
  }

  .dashboard-nav {
    display: none !important;
  }

  /* Interview tracking mobile cards for landscape */
  .interview-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .interviews-table-desktop {
    display: none !important;
  }

  .interview-card-mobile {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px;
  }

  .interview-card-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .interview-card-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .interview-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .interview-card-badges .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  /* Employee list mobile cards for landscape */
  .employee-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .employees-table-desktop {
    display: none !important;
  }

  .employee-card-mobile {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px;
  }

  .employee-card-info {
    margin-bottom: 10px;
  }

  .employee-card-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .employee-card-info .employee-email {
    font-size: 0.8rem;
    color: #666;
  }

  .employee-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .btn-link-danger {
    color: #dc2626 !important;
    border-color: #fecaca !important;
  }

  .archive-confirm-mobile {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .archive-confirm-mobile input {
    flex: 1;
    min-width: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }

  /* Template editor - question cards on landscape */
  #templateForm {
    max-width: 100%;
  }

  .question-row {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: default;
    position: relative;
  }

  .question-row-fields {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .question-row-fields .drag-handle {
    display: none;
  }

  .question-row-fields .question-row-number {
    position: absolute;
    top: 15px;
    left: 15px;
    min-width: auto;
  }

  .question-row-fields .btn-remove-question {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 1rem;
  }

  .question-row-fields textarea.question-text-input {
    width: 100% !important;
    margin-top: 30px;
  }

  .question-row-fields select.question-type-select {
    width: 100% !important;
  }

  #templateForm .form-actions .btn-primary,
  #templateForm .form-actions .btn-secondary {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  #addQuestionBtn {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px;
  }

  /* Show reorder buttons on mobile - positioned top right */
  .question-reorder-mobile {
    display: flex;
    gap: 4px;
    position: absolute;
    top: 12px;
    right: 50px;
  }

  .btn-reorder {
    padding: 4px 10px;
    font-size: 0.9rem;
  }

  /* Show mobile hint, hide desktop hint */
  .reorder-hint-desktop {
    display: none;
  }

  .reorder-hint-mobile {
    display: list-item;
  }

  /* Interview detail landscape */
  .interview-header {
    flex-direction: column;
    gap: 10px;
  }

  .interview-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
  }

  .info-box {
    padding: 15px;
  }

  .share-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .share-label {
    min-width: auto;
  }

  .share-item code {
    font-size: 0.85rem;
    word-break: break-all;
  }
}

/* Template Actions */
.template-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.8rem;
}

/* Danger Button/Link */
.btn-danger {
  color: #dc2626 !important;
}

.btn-danger:hover {
  opacity: 0.8;
}

button.btn-danger {
  background: #dc2626;
  color: #fff !important;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

button.btn-danger:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.actions-row .btn-action-danger {
  margin-left: auto;
}

.btn-action {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-action:hover {
  border-color: #999;
  background: #f8f8f8;
}

.btn-action-danger {
  color: #dc2626;
  border-color: #fca5a5;
}

.btn-action-danger:hover {
  background: #fef2f2;
  border-color: #dc2626;
}

.archive-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.archive-confirm input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  width: 130px;
}

/* Danger Zone Section */
.danger-zone {
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.danger-zone h2 {
  color: #dc2626;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #1a1a1a;
}

.modal-content p {
  margin-bottom: 10px;
  color: #666;
}

.modal-content input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: inherit;
}

.modal-content input[type="text"]:focus {
  outline: none;
  border-color: #1a1a1a;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Admin Stat Cards - Clickable */
.stat-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.stat-card-wide {
  grid-column: span 2;
}

.stat-hint {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.stat-formula {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* Sortable Table Headers */
.sort-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.sort-link:hover {
  color: #1a1a1a;
}

.sort-arrow {
  font-size: 12px;
}

.sort-arrow-inactive {
  color: #bbb;
}

/* Filter Form */
.filter-form {
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
}

.filter-group select,
.filter-group input.search-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  min-width: 150px;
}

.filter-group select {
  cursor: pointer;
}

.filter-group input.search-input {
  min-width: 250px;
}

.filter-group select:focus,
.filter-group input.search-input:focus {
  outline: none;
  border-color: #1a1a1a;
}

/* Status Badges */
.badge-pending {
  background: #f3f4f6;
  color: #6b7280;
}

.badge-in_progress {
  background: #fef3c7;
  color: #d97706;
}

.badge-completed {
  background: #d1fae5;
  color: #059669;
}

.badge-expired {
  background: #fee2e2;
  color: #dc2626;
}

/* Role Badges */
.badge-admin {
  background: #fef3c7;
  color: #d97706;
}

.badge-client {
  background: #dbeafe;
  color: #2563eb;
}

.badge-team_member {
  background: #e0e7ff;
  color: #4f46e5;
}

.badge-exiting_employee {
  background: #ccfbf1;
  color: #0d9488;
}

/* Risk level badges */
.badge-risk-critical {
  background: #dc2626;
  color: #fff;
  font-weight: 600;
}

.badge-risk-high {
  background: #f97316;
  color: #fff;
  font-weight: 600;
}

.badge-risk-medium {
  background: #fbbf24;
  color: #78350f;
}

.badge-risk-low {
  background: #d1fae5;
  color: #059669;
}

/* Role Select */
.role-select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
}

.role-select:focus {
  outline: none;
  border-color: #1a1a1a;
}

/* Admin mobile/desktop view defaults */
.admin-users-mobile,
.admin-logs-mobile,
.admin-convos-mobile,
.admin-chats-mobile {
  display: none;
}

/* Responsive stats grid for admin */
@media (max-width: 768px) {
  .stat-card-wide {
    grid-column: span 1;
  }

  /* Admin nav mobile toggle */
  .admin-nav-mobile {
    display: block;
  }

  .admin-nav {
    display: none;
  }

  /* Section header stacked on mobile */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-header .filter-form {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .section-header .filter-form select {
    width: 100%;
  }

  /* Admin tables responsive */
  .admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
  }

  .admin-table-wrapper table {
    min-width: 700px;
  }

  /* Mobile cards for admin users */
  .admin-users-mobile {
    display: block;
  }

  .admin-users-desktop {
    display: none;
  }

  .admin-user-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
  }

  .admin-user-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .admin-user-card-email {
    font-weight: 500;
    color: #1a1a1a;
    word-break: break-word;
  }

  .admin-user-card-meta {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
  }

  .admin-user-card-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
  }

  /* Mobile cards for admin logs */
  .admin-logs-mobile {
    display: block;
  }

  .admin-logs-desktop {
    display: none;
  }

  .admin-log-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    overflow: hidden;
  }

  .admin-log-card.severity-error {
    border-left: 3px solid #dc2626;
  }

  .admin-log-card.severity-warning {
    border-left: 3px solid #f59e0b;
  }

  .admin-log-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
  }

  .admin-log-card-event {
    font-weight: 500;
    color: #1a1a1a;
  }

  .admin-log-card-time {
    font-size: 0.8rem;
    color: #888;
    white-space: nowrap;
  }

  .admin-log-card-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .admin-log-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
  }

  .admin-log-card-meta span {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  /* Mobile cards for admin conversations */
  .admin-convos-mobile {
    display: block;
  }

  .admin-convos-desktop {
    display: none;
  }

  .admin-convo-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
  }

  .admin-convo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
  }

  .admin-convo-card-employee {
    font-weight: 500;
    color: #1a1a1a;
  }

  .admin-convo-card-meta {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
  }

  /* Mobile cards for admin chats */
  .admin-chats-mobile {
    display: block;
  }

  .admin-chats-desktop {
    display: none;
  }

  .admin-chat-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
  }

  .admin-chat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
  }

  .admin-chat-card-visitor {
    font-weight: 500;
    color: #1a1a1a;
    word-break: break-word;
  }

  .admin-chat-card-meta {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
  }
}

/* Interview Credits Page */
.credits-display {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.credits-display.compact {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 25px;
  text-align: left;
  margin-bottom: 20px;
}

.credits-display.compact .credits-number {
  font-size: 42px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.credits-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credits-info .credits-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-top: 0;
}

.credits-info .credits-sublabel {
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 1024px) {
  .credits-display.compact {
    flex-wrap: wrap;
    gap: 8px 15px;
    padding: 20px 15px;
  }

  .credits-display.compact .credits-number {
    font-size: 32px;
  }

  .credits-info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
  }

  .credits-info .credits-label {
    font-size: 0.9rem;
  }

  .credits-info .credits-sublabel {
    flex-basis: 100%;
    font-size: 0.8rem;
  }
}

.credits-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.credits-number {
  font-size: 72px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  letter-spacing: -2px;
}

.credits-label {
  font-size: 18px;
  color: #666;
  margin-top: 10px;
  font-weight: 500;
}

.credits-description {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

.credits-actions {
  text-align: center;
  padding: 20px;
}

/* Admin User Detail Page */
.user-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .user-detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 15px;
  color: #1a1a1a;
}

/* Admin Credits Display */
.credits-admin-display {
  text-align: center;
  padding: 30px 20px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 20px;
}

.credits-current {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits-number-admin {
  font-size: 48px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
}

.credits-label-admin {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.add-credits-form .form-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.add-credits-form input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

/* User link in admin table */
.user-link {
  color: #2563eb;
  font-weight: 500;
}

.user-link:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Core Data / Settings Page */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.setting-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.setting-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.setting-value {
  display: flex;
  align-items: center;
  gap: 15px;
}

.current-value {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
}

@media (max-width: 600px) {
  .setting-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .setting-value {
    width: 100%;
    justify-content: space-between;
  }
}

/* Rotating Text Animation */
.rotating-text {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Exit animation - blur, scale down, fade out, slide up */
.rotating-text.exit {
  animation: textExit 0.4s ease-in forwards;
}

/* Prepare for entrance - position below, invisible */
.rotating-text.enter-prepare {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  filter: blur(8px);
}

/* Enter animation - unblur, scale up, fade in, slide up */
.rotating-text.enter {
  animation: textEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes textExit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    filter: blur(8px);
  }
}

@keyframes textEnter {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Purchase Credits Section */
.purchase-section {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  margin-top: 15px;
  text-align: center;
}

.purchase-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.purchase-price {
  color: #666;
  margin-bottom: 25px;
}

.purchase-form {
  max-width: 350px;
  margin: 0 auto;
}

.quantity-selector {
  margin-bottom: 20px;
}

.quantity-selector label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.quantity-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.qty-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.qty-btn:last-child {
  border-radius: 0 8px 8px 0;
}

.qty-btn:hover {
  background: #eee;
}

.quantity-buttons input {
  width: 80px;
  height: 44px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
}

.quick-select {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 25px;
}

.quick-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-btn:hover {
  border-color: #1a1a1a;
}

.quick-btn.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.purchase-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.total-label {
  font-size: 16px;
  color: #666;
}

.total-amount {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.btn-large {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
  font-size: 13px;
  color: #888;
}

.secure-note svg {
  color: #22c55e;
}

/* Employee Dashboard - Interview Cards */
.interview-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.interview-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
}

.interview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.interview-date {
  font-size: 13px;
  color: #888;
}

.interview-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.interview-company {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.interview-card-actions {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

/* Transcript Styles */
.transcript-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.transcript-info h2 {
  margin-bottom: 6px;
}

.transcript-meta {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.transcript-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.transcript-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.transcript-question {
  background: #f8f8f8;
  padding: 15px 20px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.question-number {
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.transcript-answer {
  padding: 20px;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 600px) {
  .transcript-header {
    flex-direction: column;
    gap: 15px;
  }

  .transcript-actions {
    width: 100%;
  }

  .transcript-actions .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* Template Editor - Question Rows */
#templateForm {
  max-width: 900px;
}

.question-row {
  margin-bottom: 10px;
  cursor: grab;
}

.question-row.dragging {
  opacity: 0.4;
}

.drag-handle {
  cursor: grab;
  color: #aaa;
  font-size: 1.1rem;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

/* Download button */
.download-btn {
  color: #666;
  display: inline-flex;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.download-btn:hover {
  color: #1a1a1a;
  background: #f0f0f0;
}

.question-row-fields {
  display: flex;
  align-items: center;
  gap: 10px;
}

.question-row-number {
  font-weight: 600;
  min-width: 28px;
  color: #666;
}

.question-row-fields textarea.question-text-input {
  flex: 1;
  min-width: 0;
  width: auto !important;
  padding: 10px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 44px;
}

.question-row-fields select.question-type-select {
  width: 130px !important;
  flex-shrink: 0;
  padding: 10px 8px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
}

.btn-remove-question {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px 12px;
  color: #dc2626;
  line-height: 1;
}

.btn-remove-question:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

#addQuestionBtn {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

#addQuestionBtn:hover {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}

/* Mobile reorder buttons - hidden on desktop */
.question-reorder-mobile {
  display: none;
}

/* Reorder hints - desktop by default */
.reorder-hint-mobile {
  display: none;
}

.btn-reorder {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
  color: #666;
}

.btn-reorder:hover {
  background: #eee;
  border-color: #ccc;
  color: #333;
}

/* Role Selection Form */
.role-selection-form {
  display: flex;
  align-items: center;
  gap: 1em;
}

.role-selection-form .btn-google {
  flex: 1 1 0;
}

.role-or {
  color: #999;
  font-size: 0.9rem;
}

/* Compact Interview List (Employee Dashboard) */
.interview-list-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.interview-card-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.interview-card-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.interview-card-info .interview-company {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 4px 0;
}

.interview-date-completed {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 500;
}

.interview-card-action {
  flex-shrink: 0;
}

.btn-link-small {
  font-size: 0.75rem;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

.btn-link-small:hover {
  color: #1a1a1a;
  background: #f5f5f5;
  border-color: #ccc;
}

/* Email subheader */
.user-email-subheader {
  color: #666;
  font-size: 0.9rem;
  margin: -10px 0 20px 0;
}

@media (max-width: 1024px) {
  .user-email-subheader {
    margin: -5px 0 12px 0;
    font-size: 0.85rem;
  }
}

/* Back link subheader */
.back-link-subheader {
  margin: -10px 0 20px 0;
}

.back-link-subheader a {
  color: #666;
  font-size: 0.85rem;
  text-decoration: none;
}

.back-link-subheader a:hover {
  color: #1a1a1a;
}

/* Compact transcript header */
.transcript-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.transcript-header-compact h2 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
}

.transcript-company {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 4px 0;
}

.transcript-date {
  font-size: 0.85rem;
  color: #16a34a;
  margin: 0;
}

.btn-download-small {
  font-size: 0.75rem;
  padding: 6px 10px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-download-small:hover {
  background: #333;
}

/* Answer label */
.answer-label {
  font-weight: 600;
  color: #666;
}

/* Transcript follow-up */
.transcript-followup {
  margin-top: 12px;
  padding-left: 20px;
  border-left: 2px solid #e5e5e5;
}

.transcript-followup-question {
  margin-bottom: 8px;
  color: #444;
}

.transcript-followup-answer {
  color: #1a1a1a;
}

/* Dashboard mobile nav dropdown */
.dashboard-nav-mobile {
  display: none;
  margin-bottom: 25px;
}

.dashboard-nav-mobile select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.dashboard-nav-mobile select:focus {
  outline: none;
  border-color: #1a1a1a;
}

@media (max-width: 768px) {
  .dashboard-nav-mobile {
    display: block;
  }

  .dashboard-nav {
    display: none;
  }

  /* Smaller buttons on mobile */
  .section-header .btn-secondary.btn-small {
    font-size: 0.75rem;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Interview detail mobile */
  .interview-header {
    flex-direction: column;
    gap: 15px;
  }

  .interview-status {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .interview-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
  }

  .meta-item {
    font-size: 0.85rem;
  }

  .info-box {
    padding: 15px;
  }

  .share-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .share-label {
    min-width: auto;
  }

  .share-item code {
    font-size: 0.85rem;
    word-break: break-all;
    max-width: 100%;
  }

  /* Interview tracking mobile cards */
  .interview-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .interviews-table-desktop {
    display: none !important;
  }

  .interview-card-mobile {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px;
  }

  .interview-card-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .interview-card-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .interview-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .interview-card-badges .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  /* Employee list mobile cards */
  .employee-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .employees-table-desktop {
    display: none !important;
  }

  .employee-card-mobile {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px;
  }

  .employee-card-info {
    margin-bottom: 10px;
  }

  .employee-card-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .employee-card-info .employee-email {
    font-size: 0.8rem;
    color: #666;
  }

  .employee-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .btn-link-danger {
    color: #dc2626 !important;
    border-color: #fecaca !important;
  }

  .archive-confirm-mobile {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .archive-confirm-mobile input {
    flex: 1;
    min-width: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }

  /* Form actions mobile */
  .form-actions {
    flex-wrap: wrap;
  }

  .form-actions .btn-primary,
  .form-actions .btn-secondary {
    flex: 1;
    min-width: 120px;
  }

  /* Template editor - question cards on mobile */
  #templateForm {
    max-width: 100%;
  }

  .question-row {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: default;
    position: relative;
  }

  .question-row-fields {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .question-row-fields .drag-handle {
    display: none;
  }

  .question-row-fields .question-row-number {
    position: absolute;
    top: 15px;
    left: 15px;
    min-width: auto;
  }

  .question-row-fields .btn-remove-question {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 1rem;
  }

  .question-row-fields textarea.question-text-input {
    width: 100% !important;
    margin-top: 30px;
  }

  .question-row-fields select.question-type-select {
    width: 100% !important;
  }

  /* Smaller template form buttons */
  #templateForm .form-actions .btn-primary,
  #templateForm .form-actions .btn-secondary {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  #addQuestionBtn {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px;
  }

  /* Show reorder buttons on landscape - positioned top right */
  .question-reorder-mobile {
    display: flex;
    gap: 4px;
    position: absolute;
    top: 12px;
    right: 50px;
  }

  .btn-reorder {
    padding: 4px 10px;
    font-size: 0.9rem;
  }

  /* Show mobile hint, hide desktop hint */
  .reorder-hint-desktop {
    display: none;
  }

  .reorder-hint-mobile {
    display: list-item;
  }
}

/* Desktop: show table, hide mobile cards */
.interview-cards-mobile {
  display: none;
}

.interviews-table-desktop {
  display: table;
  width: 100%;
}

/* Desktop: show employee table, hide mobile cards */
.employee-cards-mobile {
  display: none;
}

.employees-table-desktop {
  display: table;
  width: 100%;
}

/* ============================================
   Chat Widget Styles
   ============================================ */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #1a1a1a;
  color: #fff;
}

.chat-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.chat-header-actions {
  display: flex;
  gap: 8px;
}

.chat-header-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-btn:hover {
  opacity: 1;
}

/* Keep old class for backwards compatibility */
.chat-close-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.chat-close-btn:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message-user {
  align-self: flex-end;
  background: #1a1a1a;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-message-admin,
.chat-message-llm {
  align-self: flex-start;
  background: #f0f0f0;
  color: #1a1a1a;
  border-bottom-left-radius: 4px;
}

.chat-message-system {
  align-self: center;
  background: #e8f4f0;
  color: #555;
  font-size: 0.85rem;
  max-width: 90%;
  text-align: center;
}

.message-content {
  word-wrap: break-word;
}

.message-time {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 4px;
  text-align: right;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  border-top: 1px solid #f0f0f0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}

.chat-status-waiting .status-dot {
  background: #f59e0b;
  animation: pulse 1.5s infinite;
}

.chat-status-active .status-dot {
  background: #10b981;
}

.chat-status-llm .status-dot {
  background: #6366f1;
}

.chat-status-closed .status-dot {
  background: #9ca3af;
}

.chat-status-error .status-dot {
  background: #ef4444;
}

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

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.chat-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.chat-form input:focus {
  border-color: #1a1a1a;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-send-btn:hover {
  background: #333;
}

.chat-send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-panel {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 80px;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
  }
}

/* ============================================
   Admin Chat Page Styles
   ============================================ */

.chat-queue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.chat-queue-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-queue-item:hover {
  border-color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chat-queue-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.chat-queue-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.chat-new-message {
  font-size: 0.7rem;
  color: #059669;
  font-weight: 500;
}

.chat-queue-name {
  font-weight: 600;
  font-size: 1rem;
}

.chat-queue-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.chat-queue-badge.waiting {
  background: #fef3c7;
  color: #92400e;
}

.chat-queue-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.chat-queue-badge.llm_active {
  background: #e0e7ff;
  color: #3730a3;
}

.chat-queue-meta {
  font-size: 0.85rem;
  color: #666;
}

.chat-unread-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: #ef4444;
  color: #fff;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 6px;
  margin-left: 8px;
}

/* Admin Chat Detail */
.admin-chat-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  height: calc(100vh - 280px);
  min-height: 400px;
}

@media (max-width: 900px) {
  .admin-chat-container {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.admin-chat-main {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

.admin-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-chat-input {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}

.admin-chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.admin-chat-input input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.admin-chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-chat-info {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 20px;
}

.admin-chat-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-chat-info-item {
  margin-bottom: 12px;
}

.admin-chat-info-label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2px;
}

.admin-chat-info-value {
  font-size: 0.95rem;
  color: #1a1a1a;
}

/* Compact session info layout */
.admin-chat-info-compact .admin-chat-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.admin-chat-info-compact .admin-chat-info-label {
  margin-bottom: 0;
  font-weight: 500;
}

.admin-chat-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ====================================
   Landing Page (Cold Email Campaign)
   ==================================== */

.landing-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 50px 100px;
}

.landing-hero {
  text-align: center;
  padding: 60px 0 80px;
}

.landing-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.landing-tagline {
  font-size: 1.2rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.landing-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.landing-note {
  font-size: 0.9rem;
  color: #888;
  margin-top: 15px;
}

.landing-section {
  margin-bottom: 80px;
}

.landing-section .section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 15px;
}

.landing-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.landing-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 20px;
}

/* Checklist style */
.landing-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.landing-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.landing-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #1a1a1a;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAF9F7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Simple list style */
.landing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.landing-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #888;
}

/* Two column layout */
.landing-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.landing-col-label {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
  font-weight: 500;
}

.landing-callout {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 20px 25px;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
}

/* Steps */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.landing-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  color: #FAF9F7;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.landing-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.landing-step p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Cost list */
.landing-cost-list {
  margin-bottom: 30px;
}

/* Comparison */
.landing-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.landing-compare-col {
  padding: 30px;
  border-radius: 12px;
}

.landing-compare-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.landing-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-compare-col li {
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.landing-compare-col li:last-child {
  border-bottom: none;
}

.compare-bad {
  background: #fafafa;
  border: 1px solid #e5e5e5;
}

.compare-bad h3 {
  color: #888;
}

.compare-bad li {
  color: #666;
}

.compare-good {
  background: #1a1a1a;
  color: #FAF9F7;
}

.compare-good h3 {
  color: #FAF9F7;
}

.compare-good li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.1);
}

/* FAQ */
.landing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.landing-faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.landing-faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Final CTA section */
.landing-cta-section {
  background: #1a1a1a;
  color: #FAF9F7;
  padding: 60px 50px;
  border-radius: 16px;
  text-align: center;
}

.landing-cta-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
}

.landing-cta-sublead {
  font-size: 1.15rem;
  color: #FAF9F7;
  font-weight: 500;
  margin-bottom: 30px;
}

.landing-cta-section .landing-cta-group {
  margin-bottom: 0;
}

.landing-cta-section .landing-note {
  color: rgba(255,255,255,0.6);
  margin-top: 20px;
}

.landing-cta-section .btn-primary {
  background-color: #FAF9F7;
  color: #1a1a1a;
}

.landing-cta-section .btn-primary:hover {
  background-color: #fff;
}

.landing-cta-section .btn-secondary {
  border-color: #FAF9F7;
  color: #FAF9F7;
}

.landing-cta-section .btn-secondary:hover {
  background-color: #FAF9F7;
  color: #1a1a1a;
}

/* Landing Page Mobile */
@media (max-width: 768px) {
  .landing-page {
    padding: 40px 25px 60px;
  }

  .landing-hero {
    padding: 40px 0 50px;
  }

  .landing-hero h1 {
    font-size: 1.85rem;
    letter-spacing: -1px;
  }

  .landing-tagline {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .landing-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .landing-cta-group .btn-primary,
  .landing-cta-group .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .landing-section {
    margin-bottom: 50px;
  }

  .landing-section h2 {
    font-size: 1.35rem;
    margin-bottom: 20px;
  }

  .landing-two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .landing-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .landing-step {
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #f9f9f9;
    border-radius: 8px;
  }

  .landing-step h3 {
    margin-top: 5px;
  }

  .step-number {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .landing-step-content {
    flex: 1;
  }

  .landing-comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .landing-compare-col {
    padding: 25px 20px;
  }

  .landing-cta-section {
    padding: 40px 25px;
  }

  .landing-cta-lead,
  .landing-cta-sublead {
    font-size: 1.05rem;
  }
}

/* Error Pages */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 60px 30px;
}

.error-container {
  text-align: center;
  max-width: 500px;
}

.error-container h1 {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.error-container h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.error-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .error-container h1 {
    font-size: 80px;
  }

  .error-container h2 {
    font-size: 22px;
  }
}
