/* ==========================================================================
   숏폼공장 (ShortsFactory) - Marky 정밀 구현 30일 소셜 캘린더 스타일시트
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-dark-section: #0f172a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --primary-black: #000000;
  --accent-purple: #6366f1;
  --accent-pink: #ec4899;
  --accent-blue: #0284c7;
  --accent-green: #10b981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

body.marky-theme {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, sans-serif;
  background-color: #f1f5f9;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top-header {
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: #0f172a;
}

.nav-btn {
  background: #000000;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav-btn:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Marky Exact Onboarding Card (화이트 미니멀 카드)
   ========================================================================== */

.onboarding-section {
  padding: 48px 0 32px;
  display: flex;
  justify-content: center;
}

.marky-onboarding-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 36px 32px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
}

.marky-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.marky-subtitle {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 24px;
}

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

.field-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

/* Quality Gauge */
.quality-gauge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gauge-bars {
  display: flex;
  gap: 3px;
}

.gauge-bars .bar {
  width: 14px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: background-color 0.25s ease;
}

.gauge-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  min-width: 30px;
  text-align: right;
}

.marky-textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.marky-textarea:focus, .marky-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.marky-textarea::placeholder, .marky-input::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

.marky-input {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.toggle-link-row {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #475569;
}

.toggle-link {
  color: #6366f1;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
}

.toggle-link:hover {
  color: #4f46e5;
}

/* Quick Options */
.marky-quick-options {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.opt-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 10px;
}

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

.sub-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.marky-sub-input, .marky-sub-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
}

.marky-btn-submit {
  width: 100%;
  height: 48px;
  background: var(--primary-black);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s, transform 0.15s;
}

.marky-btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.marky-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   Brand Profile Banner
   ========================================================================== */

.brand-profile-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 26px;
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .brand-profile-banner {
    grid-template-columns: 1fr;
  }
}

.brand-meta-left h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.brand-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #ede9fe;
  color: #6d28d9;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.target-audience {
  font-size: 0.88rem;
  color: #475569;
}

.brand-meta-right h4 {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 10px;
  font-weight: 700;
}

.usp-list {
  list-style: none;
  font-size: 0.9rem;
  color: #1e293b;
}

.usp-list li {
  margin-bottom: 6px;
}

.hashtag-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hashtag-pill {
  font-size: 0.8rem;
  background: #e0f2fe;
  color: #0369a1;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* ==========================================================================
   Calendar Grid & Cards
   ========================================================================== */

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.tab-btn {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.calendar-stats {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}

.day-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.day-card.card-reels {
  border-top: 4px solid var(--accent-pink);
}

.day-card.card-cardnews {
  border-top: 4px solid var(--accent-blue);
}

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

.day-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
}

.type-pill {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.type-pill.reels {
  background: #fdf2f8;
  color: #db2777;
}

.type-pill.cardnews {
  background: #f0f9ff;
  color: #0284c7;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-hook {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 16px;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 6px;
  border-left: 2px solid #6366f1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.status-badge {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-card-action {
  background: #f1f5f9;
  border: none;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-card-action:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.2s ease-out;
}

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

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

.modal-body {
  padding: 24px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-grid-2col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .modal-grid-2col {
    grid-template-columns: 1fr;
  }
}

.scene-step-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid #6366f1;
}

.scene-step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 3px;
}

.scene-narration {
  font-size: 0.88rem;
  color: #1e293b;
}

.caption-copy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  font-size: 0.85rem;
  color: #334155;
  white-space: pre-line;
  max-height: 220px;
  overflow-y: auto;
}

.modal-footer {
  padding: 18px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.btn-render-reel {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-publish-insta {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-preview-player {
  width: 100%;
  max-height: 380px;
  background: #000;
  border-radius: 12px;
  margin-top: 14px;
}

/* Brand Slogan & Colors */
.brand-slogan {
  font-size: 0.95rem;
  font-style: italic;
  color: #4f46e5;
  margin: 6px 0 10px;
  font-weight: 600;
}

.brand-colors-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.color-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.color-chips-wrap {
  display: flex;
  gap: 6px;
}

.color-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  display: inline-block;
  cursor: pointer;
  transition: transform 0.15s;
}

.color-chip:hover {
  transform: scale(1.15);
}

/* Toolbar Actions & View Mode Switcher */
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.view-switch-tabs {
  display: flex;
  background: #ffffff;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}

.view-btn.active {
  background: #4f46e5;
  color: #ffffff;
}

.btn-export-csv {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, border-color 0.15s;
}

.btn-export-csv:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* ==========================================================================
   Instagram Mobile Profile 3x3 Mockup View
   ========================================================================== */

.instagram-feed-container {
  display: flex;
  justify-content: center;
  padding: 20px 0 60px;
}

.mockup-phone {
  background: #ffffff;
  border: 8px solid #0f172a;
  border-radius: 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.mockup-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.mockup-notch {
  width: 90px;
  height: 18px;
  background: #0f172a;
  border-radius: 0 0 10px 10px;
  margin: -18px auto 14px;
}

.mockup-ig-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ig-username {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
}

.ig-dots {
  color: #94a3b8;
  font-weight: 900;
}

.mockup-profile-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.mockup-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mockup-stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
}

.stat-col strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-col span {
  font-size: 0.75rem;
  color: #64748b;
}

.mockup-bio strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.mockup-bio p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
  margin: 2px 0 4px;
}

.mock-bio-link {
  font-size: 0.82rem;
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}

/* 3x3 Grid Feed Tiles */
.mockup-grid-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #f1f5f9;
}

.mockup-tile {
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #ffffff;
  text-align: center;
  transition: opacity 0.15s;
}

.mockup-tile:hover {
  opacity: 0.9;
}

.mockup-tile .tile-type-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 2px 5px;
  border-radius: 4px;
}

.mockup-tile .tile-day-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

.mockup-tile .tile-title-text {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.beta-free-pill {
  font-size: 0.75rem;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

/* ==========================================================================
   Multi-Step Wizard Components (Steps 2 to 5)
   ========================================================================== */

.onboarding-step-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 16px;
  min-height: calc(100vh - 120px);
}

.marky-step-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  text-align: center;
}

.step-progress-segments {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.seg {
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: #e2e8f0;
  transition: background 0.3s ease;
}

.seg.active {
  background: #6366f1;
}

/* Radial Gauge */
.circle-gauge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}

.circle-gauge {
  position: relative;
  width: 120px;
  height: 120px;
}

.circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #f1f5f9;
  stroke-width: 8;
}

.circle-bar {
  fill: none;
  stroke: #6366f1;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 0.5s ease;
}

.circle-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
}

.step-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.step-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Checklist */
.step-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 320px;
  margin: 0 auto 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  transition: all 0.2s ease;
}

.check-item.disabled {
  color: #cbd5e1;
}

.check-icon {
  font-size: 1.1rem;
}

.check-item.done .check-icon {
  color: #6366f1;
}

.strategy-tags-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.strat-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.btn-step-next {
  width: 100%;
  padding: 14px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-step-next:hover {
  background: #1e293b;
}

.btn-step-next.disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.btn-step-skip {
  background: none;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  margin-top: 14px;
  transition: color 0.15s;
}

.btn-step-skip:hover {
  color: #0f172a;
}

/* Plan Ready Inner Card */
.plan-ready-inner-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}

.plan-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.brand-avatar-box {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.color-dots-row {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.cdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.plan-big-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.plan-sub-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}

.plan-bullets-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

/* Media Sources Grid */
.media-sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-media-source {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-media-source:hover {
  border-color: #6366f1;
  background: #f8fafc;
}

.media-help-text {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 14px;
}

.dashed-notice-box {
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px 16px;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  background: #f8fafc;
}

.photos-preview-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.photo-thumb-card {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid #10b981;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.photo-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb-card .badge-check {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* Channels Connect Row */
.channels-connect-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.channel-card {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ch-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
}

.ch-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  line-height: 1.2;
}

.btn-ch-connect {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-ch-connect:hover {
  background: #f1f5f9;
}

/* ==========================================================================
   Paywall Section (Marky Exact Replica - 100% Free Beta Mode)
   ========================================================================== */

.paywall-section {
  padding: 40px 0 32px;
  display: flex;
  justify-content: center;
}

.marky-paywall-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 36px 30px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  text-align: center;
  animation: modalIn 0.3s ease-out;
}

.paywall-progress {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 18px;
}

.p-dot {
  width: 22px;
  height: 5px;
  background: #6366f1;
  border-radius: 2px;
}

.paywall-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.dot-green {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.paywall-previews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.mini-post-card {
  aspect-ratio: 1 / 1.1;
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mini-post-card.dark {
  background: #0f172a;
  color: #ffffff;
}

.mini-post-card.blue {
  background: #1e3a8a;
  color: #ffffff;
}

.mini-post-card.white {
  background: #f8fafc;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

.mini-badge {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
}

.mini-post-card strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-sub {
  font-size: 0.68rem;
  opacity: 0.75;
}

.paywall-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.paywall-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.feat-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  border: 1px solid #f1f5f9;
}

.paywall-price-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.price-toggle {
  display: inline-flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.pt-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
}

.pt-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.price-amount-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.strike-price {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.free-badge {
  font-size: 1.05rem;
  font-weight: 800;
  color: #059669;
}

.price-notice {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.btn-activate-free {
  width: 100%;
  height: 50px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-activate-free:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.paywall-footer-links {
  margin-top: 14px;
  font-size: 0.85rem;
}

.paywall-footer-links a {
  color: #64748b;
  text-decoration: underline;
  cursor: pointer;
}

/* Pricing Modal */
.pricing-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 680px) {
  .pricing-grid-3col {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  background: #ffffff;
  text-align: left;
  position: relative;
}

.pricing-card.highlighted {
  border: 2px solid #6366f1;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.card-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #6366f1;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.tier-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0 4px;
}

.tier-price span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.tier-status-free {
  display: inline-block;
  font-size: 0.75rem;
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.tier-features {
  list-style: none;
  font-size: 0.8rem;
  color: #475569;
}

.tier-features li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Marky Multi-Channel Social Feed Inspector Modal
   ========================================================================== */

.modal-feed-inspector {
  max-width: 940px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

.channel-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.ch-tab {
  border: none;
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.ch-tab.active {
  background: #0f172a;
  color: #ffffff;
}

.modal-body-preview-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  padding: 20px 24px;
}

@media (max-width: 768px) {
  .modal-body-preview-card {
    grid-template-columns: 1fr;
  }
}

/* Social Post Card */
.social-post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

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

.sp-avatar-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-avatar-ring.no-gradient {
  background: #e2e8f0 !important;
}

.sp-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sp-names {
  display: flex;
  flex-direction: column;
}

.sp-username {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.sp-time {
  font-size: 0.78rem;
  color: #94a3b8;
}

.sp-header-right {
  display: flex;
  align-items: center;
}

.sp-dots {
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
}

.sp-close-icon {
  color: #94a3b8;
  font-size: 1.3rem;
  line-height: 1;
}

/* Top Caption Area for Facebook & Google */
.sp-top-caption-area {
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.55;
  margin-bottom: 12px;
}

.sp-top-caption-body {
  white-space: pre-line;
  max-height: 160px;
  overflow-y: auto;
  color: #1e293b;
}

.sp-top-hashtags-row {
  color: #0284c7;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sp-media-container {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.sp-graphic-placeholder {
  aspect-ratio: 1 / 1;
  background: #0f172a;
  color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 12px;
}

.sp-hook-badge {
  font-size: 0.75rem;
  background: #ec4899;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sp-hook-headline {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 8px;
}

.sp-hook-subtext {
  font-size: 0.85rem;
  color: #94a3b8;
}

.sp-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 10px;
}

.sp-action-left {
  display: flex;
  gap: 12px;
}

.fb-action-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.fb-btn {
  background: none;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s;
}

.fb-btn:hover {
  background: #f1f5f9;
}

.sp-fb-reactions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  padding: 4px 4px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}

.sp-fb-badge-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fb-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #ffffff;
}

.fb-icon-badge.fb-like {
  background: #1877f2;
}

.fb-icon-badge.fb-heart {
  background: #fa3e3e;
}

.sp-fb-meta-right {
  display: flex;
  gap: 6px;
  color: #64748b;
}

/* Google Business CTA */
.sp-google-cta {
  padding: 10px 0;
}

.btn-gmb-action {
  width: 100%;
  padding: 10px;
  background: #1a73e8;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Bottom Caption for Instagram */
.sp-bottom-caption-area {
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.5;
}

.sp-caption-author {
  font-weight: 800;
  margin-right: 6px;
}

.sp-caption-body {
  white-space: pre-line;
  max-height: 140px;
  overflow-y: auto;
  margin: 4px 0;
  color: #334155;
}

.sp-hashtags-row {
  color: #0284c7;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sp-time-ago {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* Sidedock */
.sp-controls-sidedock {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.storyboard-col-scroll {
  max-height: 380px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.dock-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   Marky Exit-Intent Retention Modal
   ========================================================================== */

.exit-modal-box {
  max-width: 480px !important;
  border-radius: 20px !important;
  padding: 32px 28px 28px !important;
  background: #ffffff !important;
  position: relative !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16) !important;
}

.exit-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.5rem;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
}

.exit-modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.exit-modal-sub {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 22px;
}

.btn-exit-continue {
  width: 100%;
  padding: 14px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 24px;
}

.btn-exit-continue:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.exit-survey-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.exit-survey-prompt {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 12px;
}

.exit-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.exit-option-item {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s ease;
  user-select: none;
}

.exit-option-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.exit-option-item.selected {
  border-color: #6366f1;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
}

.exit-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-exit-cancel {
  padding: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-exit-cancel:hover {
  background: #f8fafc;
}

.btn-exit-submit {
  padding: 12px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: not-allowed;
  transition: all 0.15s;
}

.btn-exit-submit.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  cursor: pointer;
}

.btn-exit-submit.active:hover {
  background: #1e293b;
}

/* ==========================================================================
   Marky Social Connect Guide Modals (Facebook, Instagram, Google OAuth)
   ========================================================================== */

.social-auth-modal-box {
  max-width: 580px !important;
  border-radius: 20px !important;
  padding: 28px 30px 26px !important;
  background: #ffffff !important;
  position: relative !important;
  text-align: left !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18) !important;
}

.social-auth-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
}

.fb-step-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.fb-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
}

.fb-step-item.active {
  color: #0f172a;
  font-weight: 700;
}

.fb-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.fb-step-item.active .fb-step-num {
  background: #6366f1;
  color: #ffffff;
}

.fb-step-line {
  flex: 1;
  height: 1.5px;
  background: #e2e8f0;
}

.social-auth-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 12px;
}

.social-auth-subnote {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.fb-optin-illustration {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  background: #f8fafc;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fb-optin-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.fb-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}

.fb-radio.checked {
  border-color: #1877f2;
}

.fb-radio.checked::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #1877f2;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fb-optin-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.fb-optin-text strong {
  font-size: 0.84rem;
  color: #1e293b;
}

.fb-optin-text span {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}

.fb-red-arrow {
  font-size: 2rem;
  color: #ef4444;
  font-weight: 900;
  transform: rotate(-90deg);
  line-height: 1;
  margin-left: 8px;
}

.insta-help-link {
  display: inline-block;
  font-size: 0.88rem;
  color: #6366f1;
  text-decoration: underline;
  font-weight: 600;
  margin-top: 4px;
}

.insta-switch-help-box {
  margin-top: 12px;
  padding: 12px 14px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  font-size: 0.83rem;
  color: #3730a3;
  line-height: 1.6;
}

.social-auth-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.btn-auth-cancel {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}

.btn-auth-cancel:hover {
  background: #f8fafc;
}

.btn-auth-secondary {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}

.btn-auth-secondary:hover {
  background: #f1f5f9;
}

.btn-auth-continue {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  background: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
}

.btn-auth-continue:hover {
  background: #1e293b;
}

.oauth-account-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.oauth-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.oauth-account-item:hover,
.oauth-account-item.selected {
  border-color: #6366f1;
  background: #f8fafc;
}

.oauth-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.oauth-info strong {
  font-size: 0.88rem;
  color: #0f172a;
}

.oauth-info span {
  font-size: 0.78rem;
  color: #64748b;
}

.oauth-check {
  color: #6366f1;
  font-weight: 900;
}

/* Skip Connect Confirmation Modal (Marky Exact Replica) */
#skip-connect-modal.modal-overlay {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: rgba(15, 23, 42, 0.35);
}

.skip-confirm-box {
  max-width: 390px !important;
  border-radius: 18px !important;
  padding: 28px 26px 24px !important;
  background: #ffffff !important;
  text-align: left !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16) !important;
}

.skip-confirm-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.skip-confirm-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 22px;
}

.btn-skip-connect-primary {
  width: 100%;
  padding: 14px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-skip-connect-primary:hover {
  background: #1e293b;
}

.btn-skip-connect-sub {
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
}

.btn-skip-connect-sub:hover {
  color: #0f172a;
}

/* Jarvis Pill */
.jarvis-status-pill {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: #1e293b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 99;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}
