/* ── BASE & VARIABLES ────────────────────────────────────────── */
:root {
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette */
  --sidebar-bg: #141722;
  --sidebar-hover: #1D2130;
  --sidebar-active: #FF5500;
  
  --canvas-bg: #F4F6F9;
  --card-bg: #FFFFFF;
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.08);

  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  --orange-primary: #FF5500;
  --orange-hover: #E04B00;
  --orange-glow: rgba(255, 85, 0, 0.25);

  --yellow-bg: #FEF9C3;
  --yellow-border: #FEF08A;
  --yellow-text: #854D0E;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--canvas-bg);
  color: var(--text-dark);
  height: 100vh;
  overflow: hidden;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* ── SIDEBAR ────────────────────────────────────────────────── */
.sidebar {
  width: 250px;
  background-color: var(--sidebar-bg);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-dark);
  flex-shrink: 0;
  z-index: 10;
}

.sidebar-header {
  padding: 24px 20px 16px 20px;
}

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

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--orange-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.brand-icon svg {
  width: 20px;
  height: 20px;
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.sidebar-cta {
  padding: 0 16px 16px 16px;
}

.btn-create-post {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--orange-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.btn-create-post:hover {
  background-color: var(--orange-hover);
  transform: translateY(-1px);
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background-color: var(--sidebar-hover);
  color: #F8FAFC;
}

.nav-item.active {
  background-color: var(--orange-primary);
  color: #FFFFFF;
  font-weight: 600;
}

.sidebar-user {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-user:hover {
  background: var(--sidebar-hover);
}

.user-avatar-wrapper {
  position: relative;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.user-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #22C55E;
  border: 2px solid var(--sidebar-bg);
  border-radius: 50%;
}

.user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #F8FAFC;
}

.user-role {
  font-size: 12px;
  color: #94A3B8;
}

.user-menu-chevron {
  color: #64748B;
}

/* ── MAIN WRAPPER ────────────────────────────────────────────── */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background-color: var(--canvas-bg);
}

/* ── TOP HEADER ──────────────────────────────────────────────── */
.top-header {
  height: 64px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  flex-shrink: 0;
}

.header-title-area h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-select-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 6px 14px;
  border-radius: 20px;
}

.dot.live {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
}

.account-select-pill select {
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
}

.icon-btn-header {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  position: relative;
}

.badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  background-color: var(--orange-primary);
  border-radius: 50%;
}

.header-profile-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #E2E8F0;
}

/* ── VIEW PANELS ─────────────────────────────────────────────── */
.view-panel {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.view-panel.active {
  display: flex;
  flex-direction: column;
}

/* ── VIEW 1: SCHEDULER / CALENDAR (Image 1) ─────────────────── */
.scheduler-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.scheduler-title h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.calendar-controls-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.date-navigator {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 4px 8px;
}

.nav-arrow-btn {
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
}

.current-month-text {
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
  color: var(--text-dark);
}

.btn-filter-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.filter-dropdown-container {
  position: relative;
}

.filter-menu {
  position: absolute;
  top: 42px;
  left: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 14px;
  width: 200px;
  z-index: 20;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-menu.hidden {
  display: none;
}

.filter-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.filter-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-dark);
  border-radius: 6px;
  cursor: pointer;
}

.filter-opt.active, .filter-opt:hover {
  background-color: #FFF7ED;
  color: var(--orange-primary);
  font-weight: 600;
}

.view-switch-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}

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

input:checked + .slider:before {
  transform: translateX(18px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.btn-create-orange {
  background-color: var(--orange-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-create-orange:hover {
  background-color: var(--orange-hover);
}

/* CALENDAR CANVAS */
.calendar-card-canvas {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
}

.day-head {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.calendar-grid-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(110px, 1fr);
  flex: 1;
  overflow-y: auto;
}

.cal-day-cell {
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #FFFFFF;
  position: relative;
  min-height: 110px;
}

.cal-day-cell:nth-child(7n) {
  border-right: none;
}

.day-number {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.cal-post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--orange-primary);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.cal-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cal-post-thumb {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.cal-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.cal-post-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  width: fit-content;
}

.badge-published {
  background: #0F172A;
  color: #FFFFFF;
}

.badge-scheduled {
  background: #000000;
  color: #FFFFFF;
  border: 1px solid var(--orange-primary);
}

.badge-draft {
  background: #1E293B;
  color: #94A3B8;
}

.badge-approval {
  background: #0F172A;
  color: #F1F5F9;
}

/* ── VIEW 2: ARTICLE BUILDER & EDITOR (Image 2) ─────────────── */
.editor-two-column {
  display: flex;
  gap: 24px;
  flex: 1;
}

.editor-left-pane {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-right-pane {
  flex: 0.8;
}

/* AI TOOLBAR — restyled to the Kinetic/POPAI design system (slate + orange, no yellow) */
.ai-toolbar-bar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-toolbar-label {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #584237;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ai-tab-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.ai-tab-btn.active, .ai-tab-btn:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  box-shadow: 0 2px 6px rgba(255, 85, 0, 0.1);
}

.ai-tool-input-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
}

.ai-input-row {
  display: flex;
  gap: 10px;
}

.form-input-ai {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-ai:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.btn-generate-ai-gold {
  background: var(--orange-primary);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-generate-ai-gold:hover {
  background: var(--orange-hover);
}

/* COMPOSER CARD */
.composer-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.form-group-editor label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #584237;
  margin-bottom: 8px;
}

.input-editor-title {
  width: 100%;
  padding: 4px 0;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s;
}

.input-editor-title:focus {
  border-bottom-color: var(--orange-primary);
}

.rich-toolbar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tb-btn {
  background: transparent;
  border: none;
  padding: 5px 9px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  color: #475569;
  transition: background 0.15s, color 0.15s;
}

.tb-btn:hover {
  background: #E2E8F0;
  color: var(--orange-primary);
}

.tb-divider {
  width: 1px;
  height: 16px;
  background: #E2E8F0;
  margin: 0 4px;
}

.editor-textarea {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 0 0 10px 10px;
  padding: 16px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.editor-textarea:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.media-attachments-row {
  display: flex;
  gap: 14px;
}

.dropzone-box {
  flex: 1;
  border: 2px dashed #FED7AA;
  background: #FFF7ED;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #C2410C;
  font-size: 13px;
  font-weight: 600;
}

.media-preview-box img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.schedule-post-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-inputs {
  display: flex;
  gap: 10px;
}

.date-time-picker-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 12px;
  background: #FFFFFF;
}

.date-time-picker-box input {
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 13px;
}

.select-tz {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-main);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.schedule-action-buttons {
  display: flex;
  gap: 10px;
}

.btn-schedule-orange {
  background: var(--orange-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-publish-now {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* REAL-TIME LINKEDIN FEED PREVIEW */
.feed-preview-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.feed-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #854D0E;
  margin-bottom: 16px;
}

.linkedin-post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.li-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.li-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.li-author-info {
  flex: 1;
}

.li-author-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.li-author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.li-meta-time {
  font-size: 11px;
  color: #94A3B8;
}

.btn-li-follow {
  background: transparent;
  border: none;
  color: #0A66C2;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-li-dots {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
}

.li-post-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
}

.li-title-text {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.li-see-more {
  color: #64748B;
  font-size: 13px;
  cursor: pointer;
  display: inline-block;
  margin-top: 4px;
}

.li-media-container img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.li-reactions-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.li-actions-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 4px;
}

.li-action-btn {
  background: transparent;
  border: none;
  color: #64748B;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
}

.li-action-btn:hover {
  background: #F1F5F9;
}

/* DASHBOARD & OTHER VIEWS */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-lbl { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.m-val { font-size: 26px; font-weight: 700; color: var(--text-dark); }
.m-sub { font-size: 12px; }
.text-green { color: #16A34A; }
.text-orange { color: var(--orange-primary); }
.text-blue { color: #0284C7; }
.green-text { color: #16A34A; }

.recent-activity-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.activity-table th, .activity-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.activity-table th { font-weight: 700; color: var(--text-muted); }

.analytics-card, .team-card, .settings-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
}

.account-card-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-top: 16px;
}

.acc-info { display: flex; align-items: center; gap: 12px; }
.acc-info img { width: 44px; height: 44px; border-radius: 50%; }

.settings-form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.form-input-settings {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
}

.cron-help-box code {
  display: block;
  background: #0F172A;
  color: #38BDF8;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 8px;
}

/* ── SAAS AUTH MODAL STYLES (Task 2a) ── */
.auth-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  transition: opacity 0.3s ease;
}
.auth-modal-overlay.hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.auth-modal-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #F8FAFC;
}
.auth-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.auth-modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 8px;
}
.auth-modal-header p {
  color: #94A3B8;
  font-size: 13px;
  margin-top: 4px;
}
.inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EA580C;
  color: #FFFFFF;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  margin: 0 auto;
}
.auth-tabs {
  display: flex;
  background: #1E293B;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}
.auth-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.auth-tab-btn.active {
  background: #EA580C;
  color: #FFFFFF;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form.hidden {
  display: none;
}
.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
.auth-error-msg {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #F87171;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}
.auth-error-msg.hidden { display: none; }

/* ── PRICING & BILLING STYLES (Task 2f) ── */
.billing-status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
}
.billing-current-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 4px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.plan-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.featured {
  border-color: #EA580C;
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
}
.popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #EA580C;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.plan-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}
.price-val {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 12px 0;
}
.price-val span {
  font-size: 14px;
  font-weight: 400;
  color: #94A3B8;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 13px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: "✓";
  color: #10B981;
  font-weight: 700;
}
.btn-logout-icon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
}
.btn-logout-icon:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border-color: #EF4444;
}


