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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #2d3748;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */

body.login-page {
  background: linear-gradient(135deg, #0d1a2a 0%, #1a3050 55%, #0f2238 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.login-brand {
  text-align: center;
  margin-bottom: 36px;
}

.login-brand .logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #1a2332, #2d4a6e);
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(26, 35, 50, 0.35);
}

.login-brand .logo-box svg {
  color: #4a9eff;
}

.login-brand h1 {
  font-size: 27px;
  font-weight: 800;
  color: #1a2332;
  letter-spacing: -0.5px;
}

.login-brand h1 span {
  color: #4a9eff;
}

.login-brand .sub {
  font-size: 11px;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  margin-top: 5px;
}

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

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.form-group .form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #2d3748;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group .form-control:focus {
  border-color: #4a9eff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.13);
}

.form-group .form-control::placeholder {
  color: #b7c5d3;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #a0aec0;
  padding: 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.password-toggle:hover {
  color: #4a9eff;
}

.btn-login {
  width: 100%;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #4a9eff 0%, #2b7de0 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 6px;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 158, 255, 0.45);
}

.btn-login:active {
  transform: translateY(0);
  box-shadow: none;
}

.alert {
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #b2f5cc;
}

.alert-danger {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */

body.admin-body {
  background: #f0f2f5;
}

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  width: 258px;
  background: #1a2332;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 900;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.sidebar-brand .brand-name {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.sidebar-brand .brand-name span {
  color: #4a9eff;
}

.sidebar-brand .brand-tag {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #3d5470;
  font-weight: 600;
  margin-top: 3px;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 0;
}

.nav-section-title {
  padding: 10px 20px 4px;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #314059;
  font-weight: 700;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px;
  color: #7a8fa6;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: color 0.15s, background 0.15s;
  margin: 1px 0;
}

.nav-link:hover {
  color: #b8c8d9;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.nav-link.active {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.09);
  border-left-color: #4a9eff;
}

.nav-link i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.soon-badge {
  margin-left: auto;
  font-size: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #314059;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-footer {
  flex-shrink: 0;
  padding: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a9eff, #2b7de0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

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

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: #c5cede;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 11px;
  color: #314059;
  font-weight: 500;
}

.logout-link {
  color: #314059;
  text-decoration: none;
  padding: 5px;
  border-radius: 6px;
  font-size: 17px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  flex-shrink: 0;
}

.logout-link:hover {
  color: #e05555;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main-wrapper {
  margin-left: 258px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */

.top-navbar {
  height: 62px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: 0;
  z-index: 800;
  gap: 12px;
}

.navbar-page-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a2332;
  flex: 1;
}

.navbar-date {
  font-size: 12.5px;
  color: #a0aec0;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */

.page-content {
  flex: 1;
  padding: 28px;
}

/* ============================================================
   WELCOME BANNER
   ============================================================ */

.welcome-banner {
  background: linear-gradient(135deg, #1a2332 0%, #2d4a6e 100%);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.welcome-banner::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 180px;
  height: 180px;
  background: rgba(74, 158, 255, 0.08);
  border-radius: 50%;
}

.welcome-banner::after {
  content: '';
  position: absolute;
  right: 70px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  background: rgba(74, 158, 255, 0.05);
  border-radius: 50%;
}

.welcome-banner h2 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.welcome-banner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

/* ============================================================
   STAT CARDS
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  border-top: 3px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.03);
}

.stat-card.c-courses  { border-color: #4a9eff; }
.stat-card.c-tutorials { border-color: #48bb78; }
.stat-card.c-videos   { border-color: #ed8936; }
.stat-card.c-users    { border-color: #9f7aea; }

.stat-card i {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.stat-card.c-courses  i { color: #4a9eff; }
.stat-card.c-tutorials i { color: #48bb78; }
.stat-card.c-videos   i { color: #ed8936; }
.stat-card.c-users    i { color: #9f7aea; }

.stat-value {
  font-size: 30px;
  font-weight: 800;
  color: #1a2332;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #a0aec0;
}

/* ============================================================
   CONTENT CARD
   ============================================================ */

.content-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.content-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid #f0f2f5;
}

.content-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2332;
}

.content-card-body {
  padding: 22px;
  color: #718096;
  line-height: 1.7;
}

/* ============================================================
   SIDEBAR — photo avatar
   ============================================================ */

.user-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.1);
}

/* ============================================================
   SETTINGS PAGE
   ============================================================ */

.settings-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 20px;
  align-items: start;
}

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

/* --- Photo card --- */
.photo-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 24px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 16px;
}

.profile-photo,
.profile-photo-initials {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid #e8ecf1;
}

.profile-photo {
  object-fit: cover;
  display: block;
}

.profile-photo-initials {
  background: linear-gradient(135deg, #4a9eff, #2b7de0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
}

.photo-cam-btn {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4a9eff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  transition: background 0.15s;
}

.photo-cam-btn:hover {
  background: #2b7de0;
}

.photo-display-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 3px;
}

.photo-username {
  font-size: 12.5px;
  color: #a0aec0;
  margin-bottom: 20px;
}

.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #f0f2f5;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
}

.btn-upload:hover {
  background: #e8ecf1;
  border-color: #cbd5e0;
}

.btn-save-photo {
  display: none;
  margin-top: 10px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #4a9eff, #2b7de0);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-save-photo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(74, 158, 255, 0.38);
}

.photo-hint {
  font-size: 11.5px;
  color: #b7c5d3;
  line-height: 1.6;
  margin-top: 14px;
}

/* --- Profile details card --- */
.profile-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.03);
  overflow: hidden;
}

.profile-card-header {
  padding: 20px 26px;
  border-bottom: 1px solid #f0f2f5;
}

.profile-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 2px;
}

.profile-card-subtitle {
  font-size: 12.5px;
  color: #a0aec0;
}

.profile-card-body {
  padding: 26px;
}

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

@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-hint {
  font-size: 11.5px;
  color: #a0aec0;
  margin-top: 5px;
}

.char-counter {
  font-size: 11.5px;
  color: #a0aec0;
  text-align: right;
  margin-top: 5px;
}

.char-counter.warn  { color: #ed8936; }
.char-counter.limit { color: #e05555; }

textarea.form-control {
  resize: vertical;
  min-height: 110px;
  line-height: 1.65;
}

.profile-card-footer {
  padding: 18px 26px;
  border-top: 1px solid #f0f2f5;
  display: flex;
  justify-content: flex-end;
}

.btn-save {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 26px;
  background: linear-gradient(135deg, #4a9eff 0%, #2b7de0 100%);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(74, 158, 255, 0.4);
}

.btn-save:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ============================================================
   PAGE HEADERS & BUTTONS
   ============================================================ */

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: #1a2332;
  letter-spacing: -0.3px;
  margin-bottom: 3px;
}

.page-header p {
  font-size: 13px;
  color: #a0aec0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4a9eff 0%, #2b7de0 100%);
  color: white;
  border: none;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(74, 158, 255, 0.4);
  color: white;
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: #fff;
  color: #4a5568;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  background: #f7f8f9;
  border-color: #cbd5e0;
  color: #2d3748;
  text-decoration: none;
}

/* ============================================================
   STAT CHIPS
   ============================================================ */

.stat-chips {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.03);
}

.stat-chip-value {
  font-size: 20px;
  font-weight: 800;
  color: #1a2332;
  line-height: 1;
}

.stat-chip-label {
  font-size: 12px;
  color: #a0aec0;
  font-weight: 500;
}

/* ============================================================
   TUTORIALS TABLE
   ============================================================ */

.tutorials-table {
  width: 100%;
  border-collapse: collapse;
}

.tutorials-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a0aec0;
  text-align: left;
  border-bottom: 1px solid #f0f2f5;
  background: #f8fafc;
}

.tutorials-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f7f8f9;
  vertical-align: middle;
}

.tutorials-table tr:last-child td {
  border-bottom: none;
}

.tutorials-table tr:hover td {
  background: #fafbfc;
}

.tutorial-thumb {
  width: 72px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: #f0f2f5;
}

.tutorial-thumb-placeholder {
  width: 72px;
  height: 50px;
  border-radius: 8px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e0;
  font-size: 20px;
}

.tutorial-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 3px;
}

.tutorial-desc {
  font-size: 12.5px;
  color: #a0aec0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.tbl-date {
  font-size: 12.5px;
  color: #a0aec0;
}

.tbl-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
  background: transparent;
  color: #718096;
  text-decoration: none;
}

.tbl-action-btn:hover {
  background: #f0f2f5;
  color: #1a2332;
}

.tbl-action-btn.delete:hover {
  background: #fff5f5;
  color: #e05555;
}

/* ============================================================
   STATUS TOGGLE & LABEL
   ============================================================ */

.status-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  cursor: pointer;
}

.status-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #e2e8f0;
  border-radius: 24px;
  transition: background 0.25s;
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.status-toggle input:checked + .toggle-track {
  background: #48bb78;
}

.status-toggle input:checked + .toggle-track::before {
  transform: translateX(18px);
}

.status-toggle input:disabled + .toggle-track {
  opacity: 0.6;
  cursor: wait;
}

.status-label {
  font-size: 12px;
  font-weight: 600;
}

.status-label.published {
  color: #38a169;
}

.status-label.unpublished {
  color: #a0aec0;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  padding: 60px 24px;
  text-align: center;
}

.empty-state i {
  font-size: 48px;
  color: #e2e8f0;
  margin-bottom: 16px;
  display: block;
}

.empty-state h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 13.5px;
  color: #a0aec0;
  margin-bottom: 20px;
}

/* ============================================================
   EDITOR LAYOUT (Blog/Tutorial Form)
   ============================================================ */

.editor-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1024px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
}

.editor-main {}
.editor-sidebar {}

/* ============================================================
   IMAGE UPLOAD AREA
   ============================================================ */

.image-upload-area {
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f8fafc;
}

.image-upload-area:hover {
  border-color: #4a9eff;
  background: #f0f7ff;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a0aec0;
  padding: 24px;
}

.image-placeholder i {
  font-size: 32px;
}

.image-placeholder span {
  font-size: 13px;
  font-weight: 500;
}

.image-placeholder small {
  font-size: 11px;
}

.preview-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.image-change-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 13px;
  gap: 6px;
}

.image-upload-area:hover .image-change-overlay {
  opacity: 1;
}

/* ============================================================
   QUILL EDITOR CUSTOMIZATION
   ============================================================ */

.ql-editor {
  min-height: 400px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.ql-toolbar {
  border-radius: 0;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.ql-toolbar.ql-snow .ql-stroke {
  stroke: #4a5568;
}

.ql-toolbar.ql-snow .ql-fill,
.ql-toolbar.ql-snow .ql-stroke.ql-fill {
  fill: #4a5568;
}

.ql-toolbar.ql-snow .ql-picker-label {
  color: #4a5568;
}

.ql-toolbar.ql-snow .ql-picker-options {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.ql-toolbar.ql-snow .ql-active .ql-stroke {
  stroke: #4a9eff;
}

.ql-toolbar.ql-snow .ql-active .ql-fill,
.ql-toolbar.ql-snow .ql-active .ql-stroke.ql-fill {
  fill: #4a9eff;
}

.ql-container {
  border-radius: 0 0 10px 10px;
  border-color: #e2e8f0;
}

.ql-container.ql-snow {
  border-top: 1px solid #e2e8f0;
}
