/* MB Surgalt - Official Red Theme & Admin UI (Production V3) */
:root {
  --primary: #dc2626; /* Crimson Red */
  --primary-hover: #b91c1c;
  --primary-light: #fef2f2;
  --primary-border: #fecaca;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius: 14px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-size: 15px;
  min-height: 100vh;
}

/* Auth View */
.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.06);
}

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

.auth-logo-img {
  width: 90px;
  height: auto;
  margin-bottom: 12px;
}

.auth-header h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 4px;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  background: var(--surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
}

/* Buttons */
.btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-secondary {
  background: var(--border-light);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-danger {
  background: #fee2e2;
  color: var(--error);
}

.btn-danger:hover {
  background: #fecaca;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
  padding: 14px;
}

.btn-icon-only {
  padding: 6px 10px;
  font-size: 13px;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-error {
  background: #fef2f2;
  color: var(--error);
  border: 1px solid #fecaca;
}

/* App Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 285px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
}

.sidebar-brand {
  padding: 22px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-light);
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  font-size: 21px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.sidebar-menu {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.sidebar-section {
  margin-bottom: 14px;
}

.sidebar-section-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 14px 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  border-radius: 10px;
  transition: all 0.2s;
}

.menu-item:hover {
  background: var(--surface-secondary);
  color: var(--text-main);
}

.menu-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.menu-item i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-border);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 15px;
  font-weight: 800;
}

.user-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

.btn-logout {
  background: transparent;
  border: none;
  color: var(--error);
  font-size: 18px;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.2s;
}

.btn-logout:hover {
  background: #fef2f2;
}

/* Main Content */
.main-content {
  margin-left: 285px;
  flex: 1;
  padding: 32px 40px;
  background: var(--bg);
  min-width: 0;
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.top-header h1 {
  font-size: 26px;
  font-weight: 800;
}

.live-indicator {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bg-red { background: #fef2f2; color: #dc2626; }
.bg-green { background: #ecfdf5; color: #10b981; }
.bg-purple { background: #faf5ff; color: #9333ea; }
.bg-orange { background: #fff7ed; color: #ea580c; }

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  margin-top: 2px;
}

/* Live Pulse Indicator */
.stat-card-live {
  border-color: #a7f3d0;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 1.6s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Content Grid & Cards */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
}

.card-header {
  margin-bottom: 20px;
}

.card-header h2 {
  font-size: 18px;
  font-weight: 800;
}

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

/* Tables & Action Cells */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.data-table td {
  padding: 16px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table td.actions-cell,
.table-actions-cell {
  white-space: nowrap !important;
  text-align: right;
  min-width: 150px;
}

.table-action-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge-success { background: #ecfdf5; color: #10b981; }
.badge-warning { background: #fff7ed; color: #ea580c; }
.badge-danger { background: #fef2f2; color: #ef4444; }
.badge-primary { background: #fef2f2; color: #dc2626; }
.badge-purple { background: #faf5ff; color: #9333ea; }
.badge-youtube { background: #fee2e2; color: #ef4444; }
.badge-bunny { background: #ffedd5; color: #f97316; }

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-card {
  background: var(--surface);
  border-radius: 24px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

.modal-card.modal-lg {
  max-width: 850px;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

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

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.btn-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ========================================================= */
/* DEDICATED CURRICULUM WORKSPACE (FULL-PAGE VIEW)           */
/* ========================================================= */
.curriculum-workspace-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.curriculum-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.curriculum-course-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.curriculum-course-thumb {
  width: 120px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.curriculum-title-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.curriculum-stats-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.section-workspace-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.section-workspace-header {
  padding: 16px 24px;
  background: #f8fafc;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
}

.section-title-wrap i {
  color: var(--primary);
  font-size: 18px;
}

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

.lesson-workspace-list {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lesson-workspace-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}

.lesson-workspace-card:hover {
  border-color: var(--primary-border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.04);
}

.lesson-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lesson-play-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.lesson-title-text {
  font-weight: 700;
  font-size: 14px;
}

.lesson-submeta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lesson-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.empty-section-state {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ========================================================= */
/* SETTINGS SUB-TABS NAVIGATION                              */
/* ========================================================= */
.settings-subtabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 12px;
}

.subtab-btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.subtab-btn:hover {
  color: var(--primary);
  border-color: var(--primary-border);
}

.subtab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.subtab-pane {
  display: none;
}

.subtab-pane.active {
  display: block;
}

/* ========================================================= */
/* REPORT DATE RANGE & FILTER BAR                            */
/* ========================================================= */
.report-filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.filter-controls-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-item label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-item input,
.filter-item select {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  background: var(--surface);
}

.filter-item input:focus,
.filter-item select:focus {
  border-color: var(--primary);
}

.filter-presets-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.btn-preset {
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-preset:hover {
  color: var(--primary);
  border-color: var(--primary-border);
}

.btn-preset.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* Video Preview Container */
.video-preview-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.video-preview-wrapper iframe,
.video-preview-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================= */
/* REAL-TIME SEARCH BARS & UPLOAD TRIGGERS                   */
/* ========================================================= */
.table-search-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.table-search-box input {
  padding: 8px 14px 8px 34px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  outline: none;
  background: var(--surface);
  width: 220px;
  transition: all 0.2s;
}

.table-search-box input:focus {
  border-color: var(--primary);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.table-search-box i {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.upload-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-input-group input[type="url"],
.upload-input-group input[type="text"] {
  flex: 1;
}

.upload-btn-trigger {
  padding: 11px 14px;
  background: #f1f5f9;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.upload-btn-trigger:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* Progress Detail Card */
.progress-course-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.progress-bar-container {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0 6px 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Rich Content Editor & Live Preview */
.editor-tab-switch {
  display: flex;
  background: var(--bg);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.btn-tab-toggle {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-tab-toggle.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.rich-editor-wrapper {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.btn-tool {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.btn-tool:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-tool-primary {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.btn-tool-primary:hover {
  background: #dbeafe;
}

.tool-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 4px;
}

.rich-editor-wrapper textarea {
  width: 100%;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}

.rich-preview-wrapper {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  min-height: 220px;
  max-height: 380px;
  overflow-y: auto;
  background: #fafafa;
}

.markdown-preview-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-main);
}

.markdown-preview-body h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 14px 0 8px 0;
  color: var(--text-main);
}

.markdown-preview-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 12px 0 6px 0;
  color: var(--text-main);
}

.markdown-preview-body p {
  margin-bottom: 10px;
}

.markdown-preview-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 10px 0;
  display: block;
}

.markdown-preview-body blockquote {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 10px 0;
  color: #1e3a8a;
  font-size: 13px;
}

.markdown-preview-body ul, .markdown-preview-body ol {
  padding-left: 20px;
  margin-bottom: 10px;
}

/* ========================================================
   Full-Page Course Workspace & WordPress-Style Visual Editor
   ======================================================== */
/* ===================================================
   2.C COURSE EDITOR WORKSPACE & WORDPRESS VISUAL EDITOR
   =================================================== */
.editor-page-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.course-editor-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
}

@media (max-width: 1100px) {
  .course-editor-grid {
    grid-template-columns: 1fr !important;
  }
}

.course-editor-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.course-editor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Editor Cards */
.editor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.editor-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.required-star {
  color: #ef4444;
  margin-left: 2px;
}

.input-title-large {
  font-size: 17px !important;
  font-weight: 800 !important;
  padding: 13px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text-main) !important;
  background: #ffffff !important;
  width: 100% !important;
  transition: all 0.2s !important;
}

.input-title-large:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

.input-subtitle-box {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
  background: #ffffff !important;
  width: 100% !important;
}

.editor-card-header {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.editor-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
}

.editor-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
}

.editor-view-mode-toggle {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  gap: 2px;
}

.btn-mode-toggle {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  font-size: 11.5px;
  font-weight: 800;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-mode-toggle.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Sidebar Cards */
.sidebar-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sidebar-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-card-title i {
  color: var(--primary);
  font-size: 14px;
}

.sidebar-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

/* Toggle Switch Row */
.sidebar-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.switch-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.switch-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Live Video Preview Box in Sidebar */
.video-preview-embed-box {
  background: #0f172a;
  border-radius: 12px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid #1e293b;
}

.video-placeholder-inner {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pricing Badge */
.pricing-badge-info {
  margin-top: 8px;
  padding: 6px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Drag & Drop Thumbnail Upload Box */
.image-dropzone-box {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.image-dropzone-box:hover, .image-dropzone-box.dragover {
  border-color: var(--primary);
  background: #eff6ff;
}

.dropzone-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.dropzone-text {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
}

.dropzone-subtext {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.dropzone-preview-img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.dropzone-overlay-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

/* WordPress Style Editor Toolbar */
.wp-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  position: sticky;
  top: 70px;
  z-index: 20;
}

.wp-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wp-toolbar-divider {
  width: 1px;
  height: 22px;
  background: #e2e8f0;
  margin: 0 4px;
}

.wp-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.wp-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  min-width: 32px;
  height: 32px;
}

.wp-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: var(--primary);
}

.wp-btn-primary {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
}

.wp-btn-primary:hover {
  background: #dbeafe !important;
}

/* WordPress Visual Content Area */
.wp-content-body {
  border: 1px solid var(--border);
  border-radius: 0 0 14px 14px;
  padding: 24px 28px;
  min-height: 480px;
  max-height: 750px;
  overflow-y: auto;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.75;
  color: #1e293b;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.wp-content-body:empty:before {
  content: attr(placeholder);
  color: var(--text-muted);
  pointer-events: none;
  display: block;
}

.wp-content-body h1 {
  font-size: 24px;
  font-weight: 900;
  margin: 20px 0 12px 0;
  color: var(--text-main);
}

.wp-content-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 18px 0 10px 0;
  color: var(--text-main);
}

.wp-content-body h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 14px 0 8px 0;
  color: var(--text-main);
}

.wp-content-body p {
  margin-bottom: 14px;
}

.wp-content-body ul, .wp-content-body ol {
  padding-left: 26px;
  margin-bottom: 16px;
}

.wp-content-body li {
  margin-bottom: 6px;
}

.wp-content-body blockquote {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 10px;
  margin: 16px 0;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.6;
}

/* Callout Box inside Editor */
.wp-callout {
  padding: 16px 20px;
  border-radius: 12px;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wp-callout-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.wp-callout-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.wp-callout-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* Images & Alignments inside WordPress Editor */
.wp-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 16px 0;
  display: inline-block;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wp-content-body img:hover, .wp-content-body img.selected {
  outline: 3px solid var(--primary);
}

.wp-content-body img.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-content-body img.align-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 16px;
  max-width: 45%;
}

.wp-content-body img.align-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 16px;
  max-width: 45%;
}

.wp-content-body img.align-full {
  width: 100%;
  display: block;
}

/* Code Mode Editor Textarea */
.wp-code-body {
  width: 100%;
  min-height: 480px;
  border: 1px solid var(--border);
  border-radius: 0 0 14px 14px;
  padding: 20px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13.5px;
  line-height: 1.6;
  background: #0f172a;
  color: #f8fafc;
  resize: vertical;
  outline: none;
}

/* Cargo Branches Table & Modern Actions */
.btn-action-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-edit i {
  color: #0284c7;
  font-size: 12.5px;
}

.btn-action-edit:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
  transform: translateY(-1px);
}

.btn-action-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 12px;
  border: 1px solid #fee2e2;
  background: #fef2f2;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-delete:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  transform: translateY(-1px);
}

.table-badge-main {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 800;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.table-badge-branch {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 800;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* ========================================================
   NEW DASHBOARD OVERVIEW & VPS HEALTH STYLES (MATCHING SCREENSHOT)
   ======================================================== */

/* 1. Live Activity Banner */
.dashboard-live-banner {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.live-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulseAnim 2s infinite;
  flex-shrink: 0;
}

@keyframes livePulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.live-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.live-title strong {
  color: #10b981;
  font-weight: 900;
}

.live-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

.live-banner-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-platform-pill {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-platform-pill i {
  color: var(--text-muted);
  font-size: 15px;
}

.live-platform-pill strong {
  color: var(--text-main);
  font-weight: 900;
}

.btn-live-reload {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 14px;
}

.btn-live-reload:hover {
  background: #f1f5f9;
  color: var(--text-main);
  transform: rotate(45deg);
}

/* 2. 4 Metrics Cards Grid */
.metrics-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

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

@media (max-width: 600px) {
  .metrics-grid-4 {
    grid-template-columns: 1fr;
  }
  .dashboard-live-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .live-banner-right {
    flex-wrap: wrap;
    width: 100%;
  }
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.metric-card-content {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.metric-trend {
  font-size: 13px;
  font-weight: 800;
  color: #10b981;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.metric-status-normal {
  color: #10b981;
}

.metric-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  flex-shrink: 0;
}

/* 3. VPS Health Card */
.vps-health-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vps-health-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.vps-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vps-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.vps-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
}

.vps-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

.vps-online-badge {
  background: #ecfdf5;
  color: #10b981;
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vps-online-badge i {
  font-size: 9px;
}

.vps-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

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

.vps-spec-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vps-spec-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.vps-spec-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vps-spec-label i {
  font-size: 15px;
  color: var(--text-muted);
}

.vps-spec-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
}

.vps-spec-val-large {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.vps-progress-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.vps-progress-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 8px;
  transition: width 0.4s ease;
}

.vps-spec-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Toast Animations */
@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastFadeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes adminSkeletonShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.table-skeleton-cell {
  height: 18px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: adminSkeletonShimmer 1.5s infinite;
  border-radius: 4px;
}

/* ===================== QPAY LIVE CHECKOUT SIMULATOR ===================== */
.simulator-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.amount-preset-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.btn-preset-amount {
  flex: 1;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preset-amount:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.btn-preset-amount.active {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
}

.simulator-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.simulator-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.simulator-qr-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.simulator-invoice-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.simulator-invoice-info .info-row {
  font-size: 13px;
  color: #475569;
}

.simulator-invoice-info .info-label {
  color: #64748b;
  margin-right: 6px;
}

.simulator-status-box {
  width: 100%;
  max-width: 320px;
}

.simulator-banks-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.simulator-banks-title {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.simulator-banks-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.simulator-bank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.simulator-bank-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #1e293b;
  min-height: 84px;
  text-align: center;
}

.simulator-bank-btn:hover {
  background: #f0fdf4;
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.simulator-bank-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.simulator-bank-fallback-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.simulator-bank-name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
  max-width: 100%;
}


