/* ==========================================================================
   PUGY TEACHER PORTAL — PREMIUM LIGHT/CREAM DESIGN SYSTEM
   Theme: Warm Orange, Cream & Dark Chocolate
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

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

:root {
  --font: 'Nunito', sans-serif;
  --primary: #E8620A;
  --primary-hover: #C4510A;
  --primary-light: rgba(232,98,10,0.12);
  --primary-light-hover: rgba(232,98,10,0.18);
  --secondary: #F5A623;
  --secondary-light: #FFF8ED;
  --dark-chocolate: #3D2010;
  
  --fox: #E8620A;
  --fox-light: #FF7A1F;
  --fox-dim: rgba(232,98,10,0.08);
  
  --dark: #FFF8F2;      /* Page Background */
  --dark2: #FFFFFF;     /* Card Background */
  --dark3: #FCF6F2;     /* Inner background / lists background */
  --cream: #3D2010;     /* Primary text color / Header text */
  --text: #3D2010;      /* Dark chocolate text */
  --text-muted: #9C6B40; /* Muted text */
  --border: rgba(232, 98, 10, 0.15); /* Soft cream border */
  
  --green: #2D9E6B;
  --blue: #4A90D9;
  --red: #E84040;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(232, 98, 10, 0.08);
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  position: fixed;
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* LOGIN OVERLAY */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 40% 30%, rgba(232, 98, 10, 0.08) 0%, transparent 60%), var(--dark);
  overflow-y: auto;
  padding: 20px;
}

.login-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 40px;
  width: 380px;
  box-shadow: 0 20px 48px rgba(26, 18, 0, 0.08);
  text-align: center;
}

.login-icon {
  font-size: 54px;
  margin-bottom: 14px;
  animation: bounce 4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.login-card h1 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 6px;
}

.login-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  text-align: left;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: all 0.2s;
  resize: vertical;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--fox);
  background: var(--dark2);
  box-shadow: 0 0 0 3px rgba(232, 98, 10, 0.1);
}

.error-msg {
  color: var(--red);
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}

/* MAIN APP LAYOUT */
.app {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: var(--dark2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex-shrink: 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
}

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--fox);
}

.logo-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--fox) 0%, #FF8533 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.8px;
  line-height: 1;
  text-transform: none;
  filter: drop-shadow(0 2px 4px rgba(232, 98, 10, 0.1));
}

/* Teacher Profile Mini Card */
.teacher-profile-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 8px;
}

.teacher-profile-mini:hover {
  background: var(--dark3);
}

.tpm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fox-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid var(--fox);
  overflow: hidden;
  flex-shrink: 0;
}

.tpm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tpm-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
}

.tpm-subject {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-nav {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8533 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(232, 98, 10, 0.2);
}

.logout-btn {
  margin: 0 16px;
  background: transparent;
  border: 1px solid rgba(232, 64, 64, 0.2);
  color: var(--red);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font);
  font-weight: 600;
  transition: all 0.2s;
}

.logout-btn:hover {
  background: rgba(232, 64, 64, 0.05);
  border-color: rgba(232, 64, 64, 0.4);
}

/* CONTENT CONTAINER */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--dark2);
  flex-shrink: 0;
}

.topbar-title {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  color: var(--cream);
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

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

.tab-content {
  flex: 1;
  overflow: hidden;
}

.section-title {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  color: var(--cream);
  padding: 24px 24px 8px;
}

/* TWO COL LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100%;
}

/* STUDENTS PANEL */
.students-panel {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark2);
}

.sp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.sp-header h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  color: var(--cream);
}

.student-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.search-wrap {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.search-wrap input {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: all 0.2s;
}

.search-wrap input:focus {
  border-color: var(--fox);
  background: var(--dark2);
}

.students-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
}

.student-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  margin: 20px 22px;
  background: var(--dark2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 18px rgba(232, 98, 10, 0.04);
}

.student-item:hover {
  background: var(--dark3);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 24px rgba(232, 98, 10, 0.08);
}

.student-item.active {
  background: var(--primary-light);
  border-color: var(--fox);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(232, 98, 10, 0.15);
}

.student-item.active .si-name {
  color: var(--fox);
}

.si-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.si-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hw-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--dark2);
}

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

.si-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.si-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* EVAL PANEL */
.eval-panel {
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--dark);
}

.eval-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
  font-size: 15px;
}

/* Student Info Card */
.student-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.sic-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fox-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 3px solid var(--fox);
  overflow: hidden;
  flex-shrink: 0;
}

.sic-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sic-name {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  color: var(--cream);
}

.sic-level {
  font-size: 13px;
  color: var(--fox);
  font-weight: 700;
  margin-top: 2px;
}

.sic-parent {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.sic-parent strong {
  color: var(--green);
}

/* Quick Stats Adjuster Panel */
.quick-stats-adjuster {
  box-shadow: var(--shadow);
}

.btn-adjust {
  transition: all 0.2s !important;
}
.btn-adjust:hover {
  transform: translateY(-1px);
  background: var(--primary-light-hover) !important;
}

/* Ratings Grid */
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rating-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.rc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stars-input {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.star-btn {
  font-size: 26px;
  cursor: pointer;
  filter: grayscale(1) opacity(0.35);
  transition: all 0.15s;
  background: none;
  border: none;
}

.star-btn.active {
  filter: none;
  transform: scale(1.15);
}

/* Comment & Homework sections */
.comment-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-section label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.comment-section textarea {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  resize: vertical;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.comment-section textarea:focus {
  border-color: var(--fox);
  box-shadow: 0 0 0 3px rgba(232, 98, 10, 0.1);
}

.homework-panel {
  background: var(--dark2);
  border: 1px solid rgba(45, 158, 107, 0.25);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.homework-panel h4 {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 10px;
}

.hw-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* BUTTONS */
.btn-save {
  background: linear-gradient(135deg, var(--green), #38B584);
  border: none;
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  box-shadow: 0 8px 20px rgba(45, 158, 107, 0.25);
  text-align: center;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(45, 158, 107, 0.35);
}

/* TEACHER PROFILE TAB */
.teacher-profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  padding: 24px;
  overflow-y: auto;
}

.profile-photo-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.profile-avatar-wrap {
  margin-bottom: 16px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--fox-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  border: 4px solid var(--fox);
  overflow: hidden;
  margin: 0 auto;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.photo-btn {
  display: block;
  margin: 12px auto 16px;
  background: var(--fox-dim);
  border: 2px solid var(--fox);
  color: var(--fox);
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  transition: all 0.2s;
}

.photo-btn:hover {
  background: var(--fox);
  color: white;
}

.p-name {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  color: var(--cream);
}

.p-subject {
  font-size: 13px;
  color: var(--fox);
  font-weight: 700;
  margin-top: 4px;
}

.profile-edit-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.profile-edit-card h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.info-row:last-of-type {
  border-bottom: none;
}

.info-lbl {
  color: var(--text-muted);
  font-weight: 700;
}

.phone-badge {
  background: rgba(45, 158, 107, 0.1);
  color: var(--green);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.profile-edit-card textarea {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  resize: vertical;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.profile-edit-card textarea:focus {
  border-color: var(--fox);
  background: var(--dark2);
}

.btn-save-bio {
  background: var(--fox-dim);
  border: 2px solid var(--fox);
  color: var(--fox);
  padding: 11px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  transition: all 0.2s;
}

.btn-save-bio:hover {
  background: var(--fox);
  color: white;
}

.save-note {
  margin-top: 20px;
  background: var(--dark3);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  color: var(--text-muted);
  border-left: 3px solid var(--fox);
  font-weight: 500;
  line-height: 1.5;
}

/* TOAST MESSAGE */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(26, 18, 0, 0.12);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* SCROLLBARS */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(232, 98, 10, 0.02);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgba(232, 98, 10, 0.2);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 98, 10, 0.45);
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--fox);
  color: var(--fox);
}

.lang-btn.active {
  background: var(--fox-dim);
  border-color: var(--fox);
  color: var(--fox);
}

/* ==========================================================================
   NOTION WORKSPACE TAB PREMIUM STYLING
   ========================================================================== */
.notion-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 40px 20px;
}

.notion-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(232, 98, 10, 0.06);
  border: 2px solid rgba(232, 98, 10, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(232, 98, 10, 0.12);
  border-color: rgba(232, 98, 10, 0.15);
}

.notion-icon-wrap {
  font-size: 68px;
  margin-bottom: 8px;
  display: inline-block;
  animation: bounce 3s ease-in-out infinite;
}

.notion-card h2 {
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin: 0;
  letter-spacing: -0.5px;
}

.notion-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

.notion-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8533 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(232, 98, 10, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
}

.notion-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 98, 10, 0.38);
}

.notion-btn:active {
  transform: translateY(0);
}

.notion-warning-card {
  background: var(--dark2);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 12px 36px rgba(26, 18, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.notion-warning-card h3 {
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 0;
}

#tab-profile {
  height: 100%;
  overflow-y: auto;
}

/* MODAL STYLES */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 18, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.3s;
}

.modal-content {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  width: 800px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(26, 18, 0, 0.15);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.btn-close {
  transition: color 0.18s;
}

.btn-close:hover {
  color: var(--fox) !important;
}

/* TABS STYLES FOR CONTENT MANAGER & LEVEL FILTERS */
.cm-tab-btn, .level-tab-btn {
  background: var(--dark3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: all 0.2s !important;
  box-shadow: none !important;
  width: auto !important;
  margin: 0 !important;
}

.cm-tab-btn:hover, .level-tab-btn:hover {
  background: var(--fox-dim) !important;
  color: var(--fox) !important;
  border-color: var(--fox) !important;
}

.cm-tab-btn.active, .level-tab-btn.active {
  background: linear-gradient(135deg, var(--fox), var(--fox-light)) !important;
  color: white !important;
  border-color: var(--fox) !important;
  box-shadow: 0 4px 16px rgba(232, 98, 10, 0.2) !important;
}

.btn-secondary {
  background: var(--primary-light);
  border: 1px solid rgba(232, 98, 10, 0.15);
  color: var(--fox);
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--fox);
  color: white;
  border-color: var(--fox);
}

