/* ==========================================================================
   CREATOR NIHAR - AUTHENTICATION, ADMIN SUITE & AI LEARNING STYLESHEET
   Extends Creator Nihar Brand Tokens: Deep Blue (#0A4E8C), Orange (#F5701E)
   ========================================================================== */

/* --- NAVBAR AUTHENTICATION BUTTONS --- */
.nav-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-auth-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-auth-login:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue-hover);
  transform: translateY(-1px);
}

.btn-auth-signup {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 112, 30, 0.28);
  transition: all var(--transition-fast);
}

.btn-auth-signup:hover {
  background: linear-gradient(135deg, #ff7e33 0%, var(--brand-orange) 100%);
  box-shadow: 0 6px 18px rgba(245, 112, 30, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.btn-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  background: var(--brand-blue-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-auth-user:hover {
  background: #dfeaf5;
  border-color: var(--brand-blue);
}

.btn-auth-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 6px 12px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.btn-auth-link:hover {
  background: var(--brand-blue-light);
}

.btn-auth-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(10, 78, 140, 0.3);
  transition: all var(--transition-fast);
}

.btn-auth-admin:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 78, 140, 0.45);
  color: #fff;
}

.admin-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.btn-auth-logout {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-auth-logout:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

/* --- AUTH PAGES (LOGIN / SIGNUP / FORGOT / RESET) --- */
.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 10% 20%, rgba(10, 78, 140, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(245, 112, 30, 0.04) 0%, transparent 40%),
              var(--bg-page);
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.auth-brand-logo {
  height: 52px;
  width: auto;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
}

.auth-brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  letter-spacing: -0.02em;
}

.auth-brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.auth-form-group {
  margin-bottom: 18px;
}

.auth-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.auth-form-group label .req {
  color: var(--brand-orange);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fafbfd;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.auth-input:focus {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(10, 78, 140, 0.12);
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
  line-height: 1;
}

.auth-password-toggle:hover {
  color: var(--brand-blue);
}

.auth-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 0.85rem;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
}

.auth-link {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.auth-link:hover {
  color: var(--brand-orange);
  text-decoration: underline;
}

.btn-auth-submit {
  width: 100%;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-hover) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition-fast);
}

.btn-auth-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--brand-blue-hover) 0%, var(--brand-blue-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(10, 78, 140, 0.32);
}

.btn-auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.auth-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.auth-alert.info {
  background: var(--brand-blue-light);
  border: 1px solid rgba(10, 78, 140, 0.2);
  color: var(--brand-blue-dark);
}

/* --- AI VIDEO LEARNING SECTION --- */
.learning-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
}

.learning-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.learning-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  border: 1px solid var(--border-orange);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.learning-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.learning-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.learning-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-btn.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.video-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 78, 140, 0.25);
}

.video-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06192e;
  overflow: hidden;
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-card-thumb {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 40, 74, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.video-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 18px rgba(245, 112, 30, 0.45);
  transition: transform var(--transition-fast);
}

.video-card:hover .video-play-btn {
  transform: scale(1.12);
}

.video-lesson-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(3, 23, 46, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-orange);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.video-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.video-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.video-tag {
  font-size: 0.72rem;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-watch-video {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-blue);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-watch-video:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

/* --- LOCKED LEARNING BANNER / PREVIEW --- */
.learning-locked-banner {
  background: linear-gradient(135deg, #06284a 0%, #03172e 100%);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.learning-locked-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 112, 30, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.locked-icon-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  font-size: 1.8rem;
}

.locked-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.locked-desc {
  max-width: 580px;
  margin: 0 auto 28px auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.locked-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- VIDEO PLAYER MODAL --- */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 23, 46, 0.92);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.video-modal-content {
  width: 100%;
  max-width: 960px;
  background: #06192e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

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

.video-modal-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}

.video-modal-close:hover {
  color: #fff;
}

.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal-footer {
  padding: 20px 24px;
  color: #cbd5e1;
  font-size: 0.92rem;
  background: #041324;
}

/* --- ADMIN PANEL STYLING (/admin) --- */
.admin-layout {
  min-height: 100vh;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: #06284a;
  color: #fff;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-topbar-logo {
  height: 38px;
  border-radius: var(--radius-sm);
}

.admin-topbar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-verified-pill {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.admin-topbar-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-owner-info {
  text-align: right;
}

.admin-owner-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.admin-owner-email {
  font-size: 0.75rem;
  color: #94a3b8;
}

.btn-admin-view-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.btn-admin-view-site:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 24px;
  flex-grow: 1;
}

/* Admin Dashboard Stats */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform var(--transition-fast);
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon-users {
  background: #eff6ff;
  color: #2563eb;
}

.stat-icon-logins {
  background: #f0fdf4;
  color: #16a34a;
}

.stat-icon-videos {
  background: #fff7ed;
  color: var(--brand-orange);
}

.stat-icon-bookings {
  background: #faf5ff;
  color: #9333ea;
}

.admin-stat-content h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.admin-stat-content .stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  line-height: 1;
}

.admin-stat-content .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Admin Tabs Navigation */
.admin-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-tab-btn {
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: var(--brand-blue);
}

.admin-tab-btn.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

/* Admin Section Panels */
.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.admin-panel-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-panel-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
}

.admin-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Data Tables */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

/* Table Badges */
.badge-role-admin {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-role-user {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status-active {
  background: #ecfdf5;
  color: #047857;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status-draft {
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status-published {
  background: #ecfdf5;
  color: #047857;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Action Buttons inside Tables */
.btn-table-action {
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-table-action:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-table-delete {
  color: #ef4444;
}

.btn-table-delete:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* Access Denied / 403 Forbidden Screen */
.access-denied-screen {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.access-denied-card {
  max-width: 500px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #fee2e2;
}

.access-denied-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.access-denied-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 12px;
}

.access-denied-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {
  .auth-card {
    padding: 30px 22px;
  }

  .admin-topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .admin-topbar-user {
    width: 100%;
    justify-content: space-between;
  }

  .learning-title {
    font-size: 1.8rem;
  }

  .nav-auth-actions {
    flex-wrap: wrap;
    margin-top: 10px;
  }
}
