/* Orvo Auto — Core Enhancements & Responsive Layout System (v2.6) */

:root {
  --primary-green: #214f40;
  --accent-lime: #bdff6a;
  --border-subtle: #e2e8e0;
  --bg-page: #f5f5f1;
  --text-main: #202c2a;
  --text-muted: #7b8580;
}

/* =========================================================================
   1. GLOBAL RESPONSIVE APP SHELL & MOBILE NAVIGATION DRAWER
   ========================================================================= */
html, body {
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  overflow-x: hidden;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  background: var(--bg-page);
  position: relative;
}

.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #122119 0%, #0d1a14 55%, #08120d 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
  color: #ffffff;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.sidebar .brand {
  color: #ffffff !important;
  font-size: 19px;
  font-weight: 800;
}

.sidebar .brand-mark {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5) !important;
}

.sidebar .brand-light {
  color: #a7f3d0 !important;
}

.sidebar .nav-label {
  color: #6ee7b7 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  opacity: 0.85;
  margin: 14px 0 6px;
  padding: 0 6px;
}

.sidebar .nav-item {
  background: transparent !important;
  color: #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  border: 1px solid transparent !important;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.18s ease !important;
  width: 100%;
  text-align: left;
}

.sidebar .nav-item span:first-child {
  font-size: 16px;
  opacity: 0.85;
  width: 20px;
  text-align: center;
}

.sidebar .nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transform: translateX(3px);
}

.sidebar .nav-item.active {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.sidebar .nav-item .soon,
.sidebar .nav-item .badge-agency {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  margin-left: auto;
  font-style: normal;
}

.sidebar .accounts-label button {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #10b981 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  font-weight: 800;
  cursor: pointer;
}

.sidebar .account-list .platform-chip {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  margin-bottom: 4px;
}

.sidebar .empty-channel {
  color: #64748b !important;
  font-size: 11px !important;
}

.sidebar .empty-channel button {
  color: #34d399 !important;
  font-weight: 700 !important;
}

.sidebar .plan-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.sidebar .plan-card #planLabel {
  color: #ffffff !important;
}

.sidebar .plan-card #planCopy {
  color: #94a3b8 !important;
}

.sidebar .upgrade-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
  margin-top: 8px;
}

.sidebar .profile-button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 8px 12px;
  width: 100%;
}

.sidebar .profile-button #userName {
  color: #ffffff !important;
}

.sidebar .profile-button #userEmail {
  color: #94a3b8 !important;
}

.sidebar .profile-button .more {
  color: #94a3b8 !important;
}

.sidebar-close-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  place-items: center;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 8, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.main-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* TOPBAR */
.topbar {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 20px;
  color: #065f46;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mobile-menu-btn:active {
  background: rgba(16, 185, 129, 0.2);
  transform: scale(0.94);
}

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

.breadcrumbs b {
  color: var(--text-main);
  font-weight: 700;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf7ee;
  border: 1px solid #c2e2c0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #1b4d3e;
  cursor: pointer;
  transition: all 0.15s ease;
}

.post-quota-pill:hover {
  background: #e1f2df;
}

.quota-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.page-content {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 32px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* =========================================================================
   2. HOME TOP — LIVE PLAN TRACKER, WELCOME HEADER & STATS CARDS
   ========================================================================= */

/* LIVE QUOTA TRACKER BANNER */
.live-plan-tracker {
  background: linear-gradient(135deg, #1b3d32 0%, #112821 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(17, 40, 33, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tracker-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tracker-badge-row .pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(189, 255, 106, 0.2);
  color: #bdff6a;
  border: 1px solid rgba(189, 255, 106, 0.4);
}

.tracker-month {
  font-size: 12px;
  color: #a3b8ad;
  font-weight: 500;
}

.tracker-main h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 12px;
  line-height: 1.35;
  color: #ffffff;
}

.tracker-main h2 small {
  font-size: 13px;
  color: #9cb3a7;
  font-weight: 400;
}

.tracker-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.tracker-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #bdff6a 0%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.tracker-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  flex-wrap: wrap;
}

.tracker-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tracker-metric span {
  font-size: 11px;
  color: #8da498;
}

.tracker-metric strong {
  font-size: 15px;
  color: #ffffff;
}

.tracker-upgrade {
  margin-left: auto;
  background: #bdff6a;
  color: #142e24;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
}

.tracker-upgrade:hover {
  background: #a8ee52;
}

/* WELCOME ROW */
.welcome-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.welcome-row h1 {
  font-size: clamp(22px, 3.5vw, 28px);
  letter-spacing: -0.8px;
  margin: 2px 0 6px;
  color: var(--text-main);
  line-height: 1.25;
}

.welcome-row p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.welcome-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 116px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

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

.stat-card strong {
  font-size: 26px;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin: 8px 0 2px;
}

.stat-foot {
  font-size: 11px;
  color: #94a3b8;
}

/* =========================================================================
   3. SOCIAL CONNECTION CARDS & AUTHENTIC BRAND BUTTON COLORS
   ========================================================================= */

.connection-search-bar {
  margin-bottom: 12px;
}

.connection-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease;
}

.connection-search-input:focus {
  border-color: #214f40;
}

.connection-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.connection-cat-chip {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.connection-cat-chip:hover {
  background: #f1f5f9;
}

.connection-cat-chip.active {
  background: #214f40;
  color: #ffffff;
  border-color: #214f40;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.connection-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.connection-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.connection-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.connection-title h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.connection-card p {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.connection-card small {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.connection-card button {
  width: 100%;
}

.orvo-guide-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 15px 17px;
  margin-bottom: 15px;
  border: 1px solid #cfe0ce;
  border-radius: 12px;
  background: #f2f8ef;
  color: #466047;
  font-size: 12px;
  line-height: 1.6;
}
.orvo-guide-note b { white-space: nowrap; }
.orvo-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.orvo-guide-card { display: flex; align-items: flex-start; gap: 15px; padding: 20px; }
.orvo-guide-step { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; background: #edf4e9; color: #456344; font-size: 12px; font-weight: 800; }
.orvo-guide-card h2 { margin: 1px 0 7px; font-size: 15px; }
.orvo-guide-card p { margin: 0 0 13px; color: #748078; font-size: 11px; line-height: 1.65; }
.orvo-guide-card .button { width: auto; font-size: 10px; padding: 8px 11px; }

/* SPECIFIC BRAND BUTTONS & COLOURS */
.btn-brand-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-facebook {
  background: #1877F2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-youtube {
  background: #FF0000 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-google {
  background: linear-gradient(135deg, #0F9D58 0%, #4285F4 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 157, 88, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-linkedin {
  background: #0A66C2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-x {
  background: #0f1419 !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  font-weight: 700 !important;
}

.btn-brand-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #179cde 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-tiktok {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1.5px solid #fe2c55 !important;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.3) !important;
  font-weight: 700 !important;
}

.btn-brand-pinterest {
  background: #E60023 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-discord {
  background: #5865F2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-reddit {
  background: #FF4500 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-bluesky {
  background: #0285FF !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 133, 255, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-mastodon {
  background: #6364FF !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 100, 255, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-gemini {
  background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-brand-connected {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1.5px solid #10b981 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.btn-brand-disabled {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border: 1px solid #e2e8f0 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* =========================================================================
   4. SUBSCRIPTION & AGENCY PLAN (MAX 5 MEMBERS HIGHLIGHT)
   ========================================================================= */

.subscription-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #1e4236;
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.subscription-hero h2 {
  font-size: 22px;
  margin: 4px 0 6px;
  color: #ffffff;
}

.subscription-hero p {
  color: #cadbd1;
  font-size: 13px;
  margin: 0;
}

.billing-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 4px;
}

.billing-cycle {
  border: none;
  background: transparent;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.billing-cycle.active {
  background: #ffffff;
  color: #1e4236;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.agency-price-card {
  border-color: #10b981;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
}

.agency-badge {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.team-seat-highlight {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 12px;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================================
   5. WORKSPACE PILL, RICH TOOLBAR, LINK-IN-BIO & MODALS
   ========================================================================= */

.workspace-pill {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.55) 50%, rgba(15, 23, 42, 0.75) 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  margin: 12px 0 16px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: left !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.workspace-pill:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.32) 0%, rgba(6, 78, 59, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%) !important;
  border-color: rgba(52, 211, 153, 0.7) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.workspace-pill .avatar {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
}

.workspace-pill b,
.workspace-pill #wsTitle {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: block !important;
  letter-spacing: -0.2px !important;
}

.workspace-pill small,
.workspace-pill #wsSubtitle {
  color: #34d399 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 1px !important;
}

.workspace-pill .chevron {
  color: #a7f3d0 !important;
  font-size: 14px !important;
  margin-left: auto !important;
  transition: transform 0.2s ease !important;
}

.rich-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f8f3;
  border: 1px solid #dce6db;
  border-radius: 9px;
  padding: 6px 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rich-btn {
  background: #ffffff;
  border: 1px solid #cddcd0;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #234a34;
  cursor: pointer;
  transition: all 0.15s;
}

.rich-btn:hover {
  background: #e8f2e6;
  border-color: #a8c9ab;
}

.smart-time-btn {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
  color: #0369a1;
  border-color: #bae6fd;
  font-weight: 700;
}

.editor-wrap {
  position: relative;
}

.emoji-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  border: 1px solid #d5e2d4;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  box-shadow: 0 8px 24px rgba(20, 50, 30, 0.15);
  z-index: 20;
  width: 190px;
}

.emoji-item {
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: transform 0.15s;
  user-select: none;
}

.emoji-item:hover {
  transform: scale(1.2);
}

.first-comment-wrap {
  background: #f8faf6;
  border: 1px dashed #c8dcc6;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

/* =========================================================================
   6. RESPONSIVENESS & DEVICE MEDIA QUERIES (PC, TABLET, MOBILE, iOS)
   ========================================================================= */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 860px) {
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: min(320px, 86vw) !important;
    height: 100dvh !important;
    height: 100vh !important;
    box-shadow: none !important;
    transform: translateX(-105%) !important;
    padding: max(20px, env(safe-area-inset-top, 0px)) 16px max(24px, env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .sidebar.mobile-open {
    transform: translateX(0) !important;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.6) !important;
  }

  .sidebar-close-btn {
    display: grid !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .main-area {
    width: 100% !important;
  }

  .topbar {
    padding: 0 16px;
  }

  .page-content {
    padding: 16px 14px 40px;
  }

  .content-grid {
    grid-template-columns: 1fr !important;
  }

  /* Override old 60px mini-sidebar rules */
  .sidebar .nav-item,
  .sidebar .nav-label,
  .sidebar .workspace-pill span,
  .sidebar .profile-button span,
  .sidebar .plan-card,
  .sidebar .empty-channel {
    font-size: inherit !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sidebar .brand {
    font-size: 19px !important;
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 90 !important;
    height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 4px 6px env(safe-area-inset-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid #e2e8f0 !important;
    justify-content: space-around !important;
    align-items: center !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
  }

  .mobile-bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: none;
    padding: 6px 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
  }

  .mobile-bottom-item .m-nav-icon {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-bottom-item.active {
    color: #10b981 !important;
  }

  .mobile-bottom-item.active .m-nav-icon {
    transform: scale(1.1);
  }

  .mobile-bottom-fab {
    flex: 0 0 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    margin: -14px 4px 0;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.15s ease;
  }

  .mobile-bottom-fab:active {
    transform: scale(0.92);
  }

  .mobile-bottom-fab .m-fab-plus {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
  }

  .page-content {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 600px) {
  .today {
    display: none;
  }

  .topbar {
    height: 56px;
    padding: 0 14px;
  }

  .post-quota-pill {
    padding: 4px 8px;
    font-size: 10px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
    min-height: 98px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .welcome-row {
    flex-direction: column;
    align-items: stretch;
  }

  .welcome-actions {
    width: 100%;
  }

  .welcome-actions .button {
    flex: 1;
  }

  .tracker-metrics {
    gap: 14px;
  }

  .tracker-upgrade {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   7. AGENCY CLIENT BAR, CLIENT HUB & REPORTS
   ========================================================================= */
.agency-client-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 4px 10px 4px 12px;
}

.client-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.client-select {
  background: #ffffff;
  border: 1px solid #86efac;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  cursor: pointer;
  outline: none;
}

.client-select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.client-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.agency-only-nav.hidden {
  display: none !important;
}

/* =========================================================================
   8. INSTALL APP PWA BUTTON & DIALOG
   ========================================================================= */
.install-pwa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #183b28 0%, #225a3d 100%);
  color: #bdff6a;
  border: 1px solid rgba(189, 255, 106, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(24, 59, 40, 0.15);
}

.install-pwa-btn:hover {
  background: linear-gradient(135deg, #225a3d 0%, #183b28 100%);
  color: #ffffff;
  border-color: #bdff6a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(24, 59, 40, 0.25);
}

.pwa-icon {
  font-size: 14px;
  line-height: 1;
}

.install-modal-body {
  padding: 10px 0 0;
}

.install-app-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #183b28 0%, #204c35 100%);
  color: #ffffff;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.install-app-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #bdff6a;
  color: #183b28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.install-app-hero h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #ffffff;
}

.install-app-hero p {
  font-size: 12px;
  color: #a3c4b2;
  margin: 0;
  line-height: 1.4;
}

.install-guide-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-guide-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

.guide-os-tag {
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.install-guide-card ol {
  margin: 0;
  padding-left: 20px;
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}

.install-guide-card li {
  margin-bottom: 4px;
}

/* =========================================================================
   9. WORKSPACE SWITCHER MODAL REDESIGN & INTERACTIVE CARDS
   ========================================================================= */
.ws-modal-subtitle {
  font-size: 13px;
  color: #475569;
  margin: 0 0 18px;
  line-height: 1.45;
}

.ws-cards-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ws-card-option {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ws-card-option:hover {
  border-color: #214f40;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(33, 79, 64, 0.08);
}

.ws-card-option.active {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, #ffffff 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
  cursor: default;
}

.ws-card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ws-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ws-icon-wrap.personal {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}

.ws-icon-wrap.agency {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.ws-card-titles {
  flex: 1;
  min-width: 0;
}

.ws-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.ws-name-row h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ws-card-titles p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.ws-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.ws-status-badge.active-badge {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.ws-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 58px;
}

.ws-mini-pill {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.ws-card-action {
  padding-left: 58px;
  margin-top: 4px;
}

.ws-switch-btn {
  width: 100%;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ws-card-option.active .ws-switch-btn {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
  pointer-events: none;
}

.ws-switch-btn.primary {
  background: #183b28;
  color: #bdff6a;
  border-color: #183b28;
  box-shadow: 0 2px 8px rgba(24, 59, 40, 0.15);
}

.ws-switch-btn.primary:hover {
  background: #214f40;
  color: #ffffff;
}

.ws-card-option.is-switching .ws-switch-btn {
  opacity: 0.8;
  pointer-events: none;
}

@media (max-width: 640px) {
  .ws-card-pills, .ws-card-action {
    padding-left: 0;
  }
  .pwa-text {
    display: none;
  }
  .install-pwa-btn {
    padding: 6px 10px;
  }
}

/* ==========================================================================
   LINK-IN-BIO STUDIO & LIVE PREVIEW MOCKUP
   ========================================================================== */

.biolink-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 380px);
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}

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

.biolink-editor-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.biolink-preview-col {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.biolink-preview-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.biolink-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.biolink-card-header {
  margin-bottom: 16px;
}

.biolink-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.biolink-card-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Slug / URL Box */
.biolink-slug-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.biolink-slug-box:focus-within {
  border-color: #183b28;
  box-shadow: 0 0 0 3px rgba(24, 59, 40, 0.1);
  background: #ffffff;
}

.biolink-slug-prefix {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-right: 1px solid #cbd5e1;
  user-select: none;
  white-space: nowrap;
}

.biolink-slug-input {
  border: none !important;
  background: transparent !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  flex: 1;
  outline: none !important;
  box-shadow: none !important;
}

.biolink-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.biolink-form-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .biolink-form-grid.two-col {
    grid-template-columns: 1fr;
  }
}

.biolink-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.biolink-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Theme Cards Grid */
.biolink-theme-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.biolink-theme-chip {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 8px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease;
  user-select: none;
}

.biolink-theme-chip:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.biolink-theme-chip.active {
  border-color: #183b28;
  box-shadow: 0 0 0 2px rgba(24, 59, 40, 0.2);
  background: #f0fdf4;
}

.biolink-theme-swatch {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.biolink-theme-chip[data-theme="modern"] .biolink-theme-swatch {
  background: linear-gradient(145deg, #183b28 0%, #0d2217 100%);
}
.biolink-theme-chip[data-theme="glass"] .biolink-theme-swatch {
  background: linear-gradient(145deg, #312e81 0%, #1e1b4b 100%);
}
.biolink-theme-chip[data-theme="gradient"] .biolink-theme-swatch {
  background: linear-gradient(145deg, #f43f5e 0%, #fb923c 100%);
}
.biolink-theme-chip[data-theme="minimal"] .biolink-theme-swatch {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
.biolink-theme-chip[data-theme="dark"] .biolink-theme-swatch {
  background: linear-gradient(145deg, #0f172a 0%, #020617 100%);
}

.biolink-theme-name {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  text-align: center;
}

/* Link Cards List */
.bio-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-link-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  transition: all 0.15s ease;
}

.bio-link-card:focus-within {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.bio-link-badge {
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 6px;
}

.bio-link-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bio-link-title {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
}

.bio-link-url {
  width: 100%;
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  font-family: monospace;
  color: #475569;
  background: #ffffff;
}

.bio-link-remove-btn {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  margin-top: 6px;
}

.bio-link-remove-btn:hover {
  background: #fecaca;
  color: #991b1b;
  transform: scale(1.05);
}

.add-bio-link-dashed-btn {
  width: 100%;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.add-bio-link-dashed-btn:hover {
  border-color: #183b28;
  color: #183b28;
  background: #f0fdf4;
}

/* ==========================================================================
   PHONE MOCKUP PREVIEW
   ========================================================================== */

.biolink-phone-mockup {
  width: 300px;
  height: 580px;
  background: #111827;
  border-radius: 44px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 10px #1f2937, 0 0 0 12px #374151;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.biolink-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}

.biolink-phone-notch::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: #1e293b;
  border-radius: 50%;
}

.biolink-phone-screen {
  flex: 1;
  padding: 50px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.biolink-phone-screen::-webkit-scrollbar {
  display: none;
}

/* Themes for Mockup Screen */
.biolink-phone-screen.theme-modern {
  background: linear-gradient(180deg, #183b28 0%, #0d2217 100%);
  color: #ffffff;
}
.biolink-phone-screen.theme-modern .biolink-screen-avatar {
  background: #bdff6a;
  color: #183b28;
}
.biolink-phone-screen.theme-modern .biolink-mock-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.biolink-phone-screen.theme-modern .biolink-mock-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.biolink-phone-screen.theme-glass {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #ffffff;
}
.biolink-phone-screen.theme-glass .biolink-screen-avatar {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.biolink-phone-screen.theme-glass .biolink-mock-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.biolink-phone-screen.theme-gradient {
  background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  color: #ffffff;
}
.biolink-phone-screen.theme-gradient .biolink-screen-avatar {
  background: #ffffff;
  color: #f43f5e;
}
.biolink-phone-screen.theme-gradient .biolink-mock-btn {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.biolink-phone-screen.theme-minimal {
  background: #ffffff;
  color: #0f172a;
}
.biolink-phone-screen.theme-minimal .biolink-screen-avatar {
  background: #0f172a;
  color: #ffffff;
}
.biolink-phone-screen.theme-minimal .biolink-screen-bio {
  color: #64748b;
}
.biolink-phone-screen.theme-minimal .biolink-mock-btn {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  color: #0f172a;
}
.biolink-phone-screen.theme-minimal .biolink-screen-footer small {
  color: #94a3b8;
}

.biolink-phone-screen.theme-dark {
  background: #090d16;
  color: #f8fafc;
}
.biolink-phone-screen.theme-dark .biolink-screen-avatar {
  background: #22c55e;
  color: #022c22;
}
.biolink-phone-screen.theme-dark .biolink-mock-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
}

.biolink-screen-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.biolink-screen-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.biolink-screen-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.biolink-screen-bio {
  font-size: 11px;
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
  max-width: 90%;
}

.biolink-screen-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.biolink-mock-btn {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: all 0.15s ease;
  user-select: none;
}

.biolink-screen-footer {
  margin-top: 24px;
  text-align: center;
}

.biolink-screen-footer small {
  font-size: 10px;
  opacity: 0.6;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Biolink Mobile Responsive Enhancements */
@media (max-width: 960px) {
  .biolink-studio-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .biolink-preview-col {
    position: static;
    width: 100%;
    margin-top: 16px;
    align-items: center;
  }
  .biolink-phone-mockup {
    width: 100%;
    max-width: 320px;
    height: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .biolink-card {
    padding: 16px 14px;
    border-radius: 14px;
  }
  .biolink-slug-box {
    flex-direction: column;
    align-items: stretch;
  }
  .biolink-slug-prefix {
    border-right: none;
    border-bottom: 1px solid #cbd5e1;
    font-size: 11px;
    padding: 8px 12px;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .biolink-slug-input {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .utm-presets-row {
    gap: 6px;
  }
  .utm-preset-chip {
    font-size: 11px;
    padding: 6px 10px;
  }
  .bio-link-card {
    padding: 12px;
    gap: 8px;
  }
  .bio-link-badge {
    width: 20px;
    height: 20px;
    font-size: 10px;
    margin-top: 4px;
  }
  .bio-link-inputs {
    gap: 6px;
  }
  .biolink-theme-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .biolink-theme-chip {
    padding: 8px 6px;
  }
  .biolink-theme-swatch {
    height: 32px;
  }
  .biolink-phone-mockup {
    max-width: 290px;
    height: 480px;
    border-radius: 36px;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.3), 0 0 0 6px #1f2937, 0 0 0 8px #374151;
  }
  .biolink-phone-screen {
    padding: 42px 14px 18px 14px;
  }
  .biolink-screen-avatar {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
  .biolink-screen-name {
    font-size: 15px;
  }
  .biolink-screen-bio {
    font-size: 11px;
  }
  .biolink-mock-btn {
    padding: 10px 12px;
    font-size: 11px;
  }
}
/* =========================================================================
   14. MODERN SAAS CALENDAR SYSTEM (WEEK, DAY, MONTH, LIST VIEWS)
   ========================================================================= */

.calendar-view-container {
  padding: 24px 32px 48px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  animation: fadeIn 0.2s ease-in-out;
}

/* Toolbar & Controls */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle, #e2e8e0);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}

.cal-toolbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cal-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.cal-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.cal-toolbar-center {
  display: flex;
  align-items: center;
}

.cal-nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.cal-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.cal-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.cal-today-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cal-today-nav-btn:hover {
  background: #214f40;
  color: #ffffff;
  border-color: #214f40;
}

.cal-range-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 8px;
  min-width: 140px;
  text-align: center;
}

.cal-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cal-mode-pills {
  display: flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.cal-mode-pill {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cal-mode-pill:hover {
  color: #0f172a;
}

.cal-mode-pill.active {
  background: #ffffff;
  color: #214f40;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  font-weight: 700;
}

.cal-new-post-btn {
  background: #214f40;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(33, 79, 64, 0.2);
}

.cal-new-post-btn:hover {
  background: #17372d;
  transform: translateY(-1px);
}

/* =========================================================================
   WEEK VIEW (7-COLUMN RESPONSIVE GRID)
   ========================================================================= */
.cal-week-grid-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle, #e2e8e0);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 520px;
  background: #e2e8f0;
  gap: 1px;
}

.cal-week-col {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: background 0.15s ease;
}

.cal-week-col.cal-is-today {
  background: #fbfdfa;
}

.cal-col-header {
  padding: 12px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-week-col.cal-is-today .cal-col-header {
  background: #edf7ee;
  border-bottom-color: #cde7d0;
}

.cal-col-head-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cal-col-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
}

.cal-col-date-num {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}

.cal-week-col.cal-is-today .cal-col-date-num {
  color: #214f40;
}

.cal-today-badge {
  font-size: 9px;
  background: #214f40;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cal-col-quick-add {
  background: transparent;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
}

.cal-col-quick-add:hover {
  background: #214f40;
  color: #ffffff;
  border-color: #214f40;
}

.cal-col-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

/* Week Post Card */
.cal-week-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #214f40;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.15s ease;
}

.cal-week-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.cal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.cal-plat-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f1f5f9;
  color: #334155;
  white-space: nowrap;
}

.cal-card-time {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.cal-card-text {
  font-size: 12px;
  color: #1e293b;
  line-height: 1.35;
  font-weight: 500;
  word-break: break-word;
}

.cal-card-media-chip {
  font-size: 10px;
  color: #475569;
  background: #f8fafc;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
  display: inline-block;
}

.cal-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.cal-card-status-dot {
  font-size: 10px;
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cal-card-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cal-act-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 4px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.12s ease;
}

.cal-act-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cal-act-btn.cal-delete-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

.cal-week-empty-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 8px;
  color: #94a3b8;
  text-align: center;
  gap: 6px;
  border-radius: 8px;
  border: 1px dashed transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  height: 100%;
}

.cal-week-empty-slot:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.cal-empty-icon {
  font-size: 18px;
  opacity: 0.6;
}

.cal-empty-label {
  font-size: 11px;
  font-weight: 500;
}

/* Summary Bar */
.cal-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #475569;
}

.cal-sum-item strong {
  color: #0f172a;
}

/* =========================================================================
   DAY VIEW (HERO TIMELINE & SINGLE DAY DETAILED STREAM)
   ========================================================================= */
.cal-day-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cal-day-hero-banner {
  background: linear-gradient(135deg, #214f40 0%, #17372d 100%);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(33, 79, 64, 0.15);
}

.cal-day-hero-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.cal-day-hero-sub {
  font-size: 14px;
  color: #d1fae5;
  margin: 0;
  font-weight: 500;
}

.cal-day-stream {
  background: #ffffff;
  border: 1px solid var(--border-subtle, #e2e8e0);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cal-day-item {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.cal-day-time-col {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 8px;
}

.cal-day-time-badge {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.cal-day-card-col {
  flex: 1;
  min-width: 0;
}

.cal-day-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #214f40;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.15s ease;
}

.cal-day-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.cal-day-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.cal-day-card-plat {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
}

.cal-day-card-content {
  font-size: 14px;
  color: #1e293b;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.cal-day-card-media {
  margin-top: 4px;
}

.cal-day-empty-card {
  text-align: center;
  padding: 56px 20px;
  background: #fafaf9;
  border-radius: 12px;
  border: 2px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cal-day-empty-icon {
  font-size: 32px;
  opacity: 0.7;
}

.cal-day-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.cal-day-empty-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 12px 0;
}

/* =========================================================================
   MONTH VIEW (CLASSIC SAAS 35-CELL CALENDAR)
   ========================================================================= */
.cal-month-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle, #e2e8e0);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.cal-month-header-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.cal-month-head-cell {
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #e2e8f0;
  gap: 1px;
}

.cal-month-cell {
  background: #ffffff;
  min-height: 105px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cal-month-cell:hover {
  background: #fbfdfa;
}

.cal-month-cell.cal-is-other-month {
  background: #fafaf9;
  opacity: 0.6;
}

.cal-month-cell.cal-is-today {
  background: #f0fdf4;
}

.cal-month-day-num {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
}

.cal-month-cell.cal-is-today .cal-month-day-num {
  background: #214f40;
  color: #ffffff;
}

.cal-month-posts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.cal-month-post-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cal-month-post-chip:hover {
  background: #214f40;
  color: #ffffff;
}

/* =========================================================================
   LIST VIEW (CLEAN AGENDA TIMELINE)
   ========================================================================= */
.cal-list-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle, #e2e8e0);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cal-list-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cal-list-date-divider {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 4px;
}

.cal-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: #fafaf9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.cal-list-item:hover {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.cal-list-time {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  min-width: 65px;
}

.cal-list-plat {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  min-width: 90px;
  text-align: center;
}

.cal-list-body {
  flex: 1;
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-list-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .calendar-view-container {
    padding: 16px 16px 36px;
  }
  
  .cal-week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cal-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cal-toolbar-center {
    justify-content: center;
  }
  
  .cal-toolbar-right {
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .cal-week-grid {
    grid-template-columns: 1fr;
  }
  
  .cal-day-item {
    flex-direction: column;
    gap: 8px;
  }
  
  .cal-day-time-col {
    width: auto;
    align-items: flex-start;
  }
  
  .cal-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =========================================================================
   WORDPRESS CLASSIC EDITOR STYLING (AUTHENTIC TINYMCE VISUAL & TEXT TABS)
   ========================================================================= */
.wp-classic-editor-container,
.wp-classic-editor-card {
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  margin: 10px 0 14px !important;
  display: flex !important;
  flex-direction: column !important;
}

.wp-editor-topbar,
.wp-editor-tabs-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f1f5f9 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  padding: 6px 10px 0 !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.wp-topbar-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding-bottom: 6px !important;
}

.wp-add-media-btn,
.wp-smart-time-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.wp-add-media-btn:hover,
.wp-smart-time-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.wp-editor-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.wp-tab-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-bottom: none !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  border-top-left-radius: 6px !important;
  border-top-right-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin-bottom: -1px !important;
}

.wp-tab-btn:hover {
  color: #0f172a !important;
  background: #e2e8f0 !important;
}

.wp-tab-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  border-bottom: 1px solid #ffffff !important;
  font-weight: 700 !important;
}

/* Authentic WordPress TinyMCE Toolbars */
.wp-toolbar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 5px 8px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wp-toolbar-row1,
.wp-toolbar-row2 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
}

.wp-toolbar-row2.hidden {
  display: none !important;
}

.wp-format-select,
.wp-tool-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  height: 26px !important;
  cursor: pointer !important;
  max-width: 115px !important;
  outline: none !important;
}

.wp-sep,
.wp-tool-sep {
  display: inline-block !important;
  width: 1px !important;
  height: 18px !important;
  background: #cbd5e1 !important;
  margin: 0 4px !important;
  flex-shrink: 0 !important;
}

.wp-btn,
.wp-tool-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  min-width: 26px !important;
  height: 26px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  margin: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: all 0.12s ease !important;
}

.wp-btn:hover,
.wp-tool-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.wp-btn.active,
.wp-btn:active {
  background: #214f40 !important;
  color: #ffffff !important;
  border-color: #214f40 !important;
}

.wp-color-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  padding: 2px 5px !important;
  height: 26px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.wp-color-input {
  width: 16px !important;
  height: 16px !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}

/* Editor Workspace */
.wp-editor-workspace,
.wp-editor-area-wrap {
  position: relative !important;
  min-height: 170px !important;
  background: #ffffff !important;
}

.wp-visual-editor,
#wpVisualEditor {
  min-height: 170px !important;
  max-height: 380px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #1e293b !important;
  outline: none !important;
  overflow-y: auto !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

.wp-visual-editor:empty:before,
#wpVisualEditor:empty:before {
  content: "Write your post content here or click 'Write with AI' above…" !important;
  color: #94a3b8 !important;
  pointer-events: none !important;
}

.wp-text-editor,
#wpTextEditor {
  width: 100% !important;
  min-height: 170px !important;
  max-height: 380px !important;
  padding: 12px 16px !important;
  font-family: Consolas, Monaco, "Courier New", monospace !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #0f172a !important;
  background: #fdfdfd !important;
  border: none !important;
  outline: none !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}

.wp-text-editor.hidden {
  display: none !important;
}

/* Status Bar */
.wp-editor-statusbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  color: #64748b !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.wp-status-left,
.wp-status-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.platform-limit-tag {
  background: #e2e8f0 !important;
  color: #334155 !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}

/* Emoji Picker Popup */
.emoji-popup {
  position: absolute !important;
  top: 100px !important;
  left: 20px !important;
  z-index: 100 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  padding: 10px !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 6px !important;
  max-width: 200px !important;
}

.emoji-popup.hidden {
  display: none !important;
}

.emoji-item {
  font-size: 18px !important;
  padding: 4px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: transform 0.1s ease !important;
}

.emoji-item:hover {
  background: #f1f5f9 !important;
  transform: scale(1.2) !important;
}

/* =========================================================================
   MEDIA LIBRARY HUB — HERO QUOTA, DROPZONE, GRID/LIST & LIGHTBOX
   ========================================================================= */
.media-storage-hero,
.media-header-stats-panel {
  background: linear-gradient(135deg, #0b221a 0%, #153e31 60%, #1e293b 100%) !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 24px rgba(11, 34, 26, 0.25) !important;
  margin-bottom: 20px !important;
}

.media-storage-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.media-storage-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.media-storage-icon {
  font-size: 28px !important;
  line-height: 1 !important;
}

.media-storage-title {
  color: #f8fafc !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

.media-storage-sub {
  color: #94a3b8 !important;
  font-size: 12px !important;
  margin: 2px 0 0 !important;
}

.media-storage-stats-pill {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.media-storage-stats-pill b {
  color: #34d399 !important;
  font-weight: 700 !important;
}

.media-storage-bar-track,
.media-quota-bar-wrap {
  width: 100% !important;
  height: 9px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  margin: 14px 0 16px !important;
}

.media-storage-bar-fill,
.media-quota-bar-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%) !important;
  border-radius: 999px !important;
  transition: width 0.3s ease !important;
}

.media-storage-chips-row,
.media-storage-stats-chips {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.media-stat-chip {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  color: #e2e8f0 !important;
}

.media-stat-chip b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.media-stat-chip.storage-tag {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #6ee7b7 !important;
  font-weight: 600 !important;
}

/* Modern Multi-File Dropzone */
.media-dropzone-card,
.media-dropzone-modern {
  background: #f8fafc !important;
  border: 2px dashed #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 24px 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
}

.media-dropzone-card:hover,
.media-dropzone-modern:hover {
  background: #f0fdf4 !important;
  border-color: #10b981 !important;
  transform: translateY(-2px) !important;
}

.dropzone-icon,
.media-drop-icon {
  font-size: 32px !important;
}

/* Media Controls Bar */
.media-controls-bar,
.media-toolbar-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.media-filter-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.media-tab-btn,
.media-filter-tab {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.media-tab-btn:hover,
.media-filter-tab:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.media-tab-btn.active,
.media-filter-tab.active {
  background: #214f40 !important;
  color: #ffffff !important;
  border-color: #214f40 !important;
}

.media-search-sort-group,
.media-controls-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.media-search-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  min-width: 190px !important;
  outline: none !important;
}

.media-search-input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15) !important;
}

.media-sort-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  outline: none !important;
}

.media-view-toggle,
.media-view-switcher {
  display: flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 2px !important;
}

.media-view-btn {
  background: transparent !important;
  border: none !important;
  padding: 4px 8px !important;
  font-size: 13px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}

.media-view-btn.active {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Media Modern Grid Layout */
.media-modern-grid,
.media-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px !important;
}

.media-grid-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.media-grid-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}

.media-thumb-wrapper {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16/10 !important;
  background: #0f172a !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

.media-thumb-wrapper img,
.media-thumb-wrapper video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.media-thumb-wrapper:hover img,
.media-thumb-wrapper:hover video {
  transform: scale(1.04) !important;
}

.media-overlay-actions {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(2px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
}

.media-thumb-wrapper:hover .media-overlay-actions {
  opacity: 1 !important;
}

.media-act-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.media-act-btn:hover {
  background: #10b981 !important;
  color: #ffffff !important;
}

.media-act-btn.danger-act:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.media-type-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: #ffffff !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.media-card-info {
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.media-card-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
}

.media-card-sub {
  font-size: 11px !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Media List Layout */
.media-modern-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.media-list-row {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 10px 14px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  transition: all 0.15s ease !important;
}

.media-list-row:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

.media-list-thumb {
  position: relative !important;
  width: 60px !important;
  height: 44px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #0f172a !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}

.media-list-thumb img,
.media-list-thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.media-list-details {
  flex: 1 !important;
  min-width: 0 !important;
}

.media-list-name {
  font-size: 13px !important;
  color: #0f172a !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
}

.media-list-sub {
  font-size: 11px !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

.media-list-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

/* Lightbox Inspector Dialog */
.media-lightbox-layout {
  display: grid !important;
  grid-template-columns: 1.3fr 1fr !important;
  gap: 24px !important;
  align-items: start !important;
}

.media-lightbox-preview-wrap {
  background: #0f172a !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 320px !important;
  max-height: 480px !important;
}

.media-lightbox-img,
.media-lightbox-player {
  max-width: 100% !important;
  max-height: 480px !important;
  object-fit: contain !important;
}

.media-lightbox-meta-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.media-lightbox-meta-head h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 4px !important;
  word-break: break-all !important;
}

.media-lightbox-meta-table {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px !important;
}

.media-meta-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 12px !important;
}

.meta-label {
  color: #64748b !important;
  font-weight: 600 !important;
}

.meta-val {
  color: #0f172a !important;
  font-weight: 500 !important;
}

.asset-id-code {
  font-family: monospace !important;
  font-size: 11px !important;
  background: #e2e8f0 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

/* =========================================================================
   UTM CAMPAIGN BUILDER & BIO LINK SHARE MODAL
   ========================================================================= */
.biolink-studio-layout {
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  gap: 24px !important;
  align-items: start !important;
}

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

.biolink-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 20px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.biolink-card-header {
  margin-bottom: 14px !important;
}

.biolink-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.biolink-card-desc {
  font-size: 12px !important;
  color: #64748b !important;
  margin: 4px 0 0 !important;
}

.biolink-slug-box {
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.biolink-slug-prefix {
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 12px !important;
  border-right: 1px solid #cbd5e1 !important;
}

.biolink-slug-input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  outline: none !important;
}

.utm-presets-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
}

.utm-preset-chip {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.12s ease !important;
}

.utm-preset-chip:hover {
  background: #214f40 !important;
  color: #ffffff !important;
  border-color: #214f40 !important;
}

.biolink-field-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.biolink-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.utm-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  color: #0f172a !important;
  outline: none !important;
}

.utm-input:focus {
  border-color: #0284c7 !important;
}

.utm-live-output-box {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
}

.utm-live-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  font-family: monospace !important;
  font-size: 12px !important;
  color: #0f172a !important;
  outline: none !important;
}

/* Bio Link Share Modal */
.share-modal-body {
  padding: 16px 0 !important;
}

.share-url-box {
  display: flex !important;
  gap: 8px !important;
  background: #f8fafc !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  margin-bottom: 16px !important;
  align-items: center !important;
}

.share-channels-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

.share-channel-btn {
  padding: 10px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.share-channel-btn:hover {
  transform: translateY(-2px) !important;
  opacity: 0.95 !important;
}

.share-qr-section {
  background: #f8fafc !important;
  padding: 16px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  text-align: center !important;
}

.share-qr-img {
  width: 140px !important;
  height: 140px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 6px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}

/* =========================================================================
   CALENDAR MODERN RESPONSIVE STYLING
   ========================================================================= */
.cal-view-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.cal-summary-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.cal-summary-left,
.cal-summary-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.cal-active-tag {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
}

.cal-tz-note {
  font-size: 12px !important;
  color: #64748b !important;
}

.cal-tz-note b {
  color: #1e293b !important;
}

.cal-week-grid-container {
  width: 100% !important;
  overflow-x: auto !important;
}

.cal-week-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 12px !important;
  min-width: 840px !important;
}

.cal-week-col {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 480px !important;
  overflow: hidden !important;
  transition: all 0.15s ease !important;
}

.cal-week-col:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
}

.cal-week-col.is-today {
  border: 2px solid #10b981 !important;
  background: #f0fdf4 !important;
}

.cal-col-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 12px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.cal-week-col.is-today .cal-col-header {
  background: #dcfce7 !important;
  border-bottom-color: #bbf7d0 !important;
}

.cal-col-day-meta {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
}

.cal-col-weekday {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #475569 !important;
}

.cal-col-daynum {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.cal-col-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.cal-today-badge {
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
}

.cal-col-quick-add {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
}

.cal-col-quick-add:hover {
  background: #214f40 !important;
  color: #ffffff !important;
  border-color: #214f40 !important;
}

.cal-col-body {
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 !important;
}

.cal-week-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.15s ease !important;
}

.cal-week-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
  border-color: #cbd5e1 !important;
}

.cal-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
}

.cal-card-time {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

.cal-plat-tag {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.cal-card-text {
  font-size: 12px !important;
  color: #334155 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.cal-card-media-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #065f46 !important;
  background: #d1fae5 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  align-self: flex-start !important;
}

.cal-card-client {
  font-size: 10px !important;
  color: #0284c7 !important;
  font-weight: 600 !important;
}

.cal-card-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 6px !important;
  margin-top: 2px !important;
}

.cal-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.cal-act-btn {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  font-size: 11px !important;
  cursor: pointer !important;
}

.cal-act-btn:hover {
  background: #e2e8f0 !important;
}

.cal-act-btn.danger:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
}

.cal-week-empty-slot {
  border: 2px dashed #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 20px 10px !important;
  text-align: center !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  color: #94a3b8 !important;
  min-height: 120px !important;
  transition: all 0.15s ease !important;
}

.cal-week-empty-slot:hover {
  border-color: #10b981 !important;
  background: #f0fdf4 !important;
  color: #065f46 !important;
}

.slot-plus {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.slot-title {
  font-size: 11px !important;
  font-weight: 600 !important;
}

.slot-hint {
  font-size: 10px !important;
  opacity: 0.8 !important;
}

@media (max-width: 900px) {
  .cal-week-grid {
    min-width: 100% !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .cal-week-grid {
    min-width: 100% !important;
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   ORVO MODERN COMPOSER: LIVE SOCIAL PREVIEW & ATTACHED MEDIA CHIPS
   ========================================================================== */

.composer-media-preview-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f8f5;
  border: 1px solid #bbf0c8;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 10px 0 14px;
}

.media-thumb-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  max-width: 64px;
  max-height: 64px;
}

.media-thumb-preview img,
.media-thumb-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.media-thumb-meta strong {
  font-size: 12px;
  color: #1c4d34;
}

.media-thumb-name {
  font-size: 11px;
  color: #475569;
  word-break: break-all;
}

.btn-remove-media-thumb {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-remove-media-thumb:hover {
  background: #fca5a5;
  color: #7f1d1d;
}

/* LIVE SOCIAL POST FEED PREVIEW CARD */
.composer-social-preview-wrap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.composer-social-preview-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.2s ease;
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.preview-platform-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1c4d34;
  letter-spacing: 0.5px;
}

.preview-live-badge {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 999px;
}

.preview-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 8px;
}

.preview-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #214f40 0%, #10b981 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(33, 79, 64, 0.2);
}

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

.preview-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.preview-author-handle {
  font-size: 11px;
  color: #64748b;
}

.preview-network-badge {
  font-size: 16px;
  opacity: 0.85;
}

.preview-post-body {
  padding: 8px 14px 12px;
  font-size: 13px;
  color: #1e293b;
  line-height: 1.55;
  word-break: break-word;
}

.preview-post-body blockquote {
  border-left: 3px solid #214f40;
  padding-left: 10px;
  margin: 6px 0;
  color: #475569;
  font-style: italic;
}

.preview-post-body pre {
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 11px;
}

.preview-media-container {
  background: #0f172a;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-media-img,
.preview-media-vid {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.preview-first-comment-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f1f8f5;
  border-top: 1px solid #e2e8f0;
  font-size: 11px;
  color: #1c4d34;
}

.preview-first-comment-badge {
  background: #214f40;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.preview-card-footer {
  display: flex;
  justify-content: space-around;
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.preview-action-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   ORVO MODERN CALENDAR & MEDIA HUB RESPONSIVENESS
   ========================================================================== */

@media (max-width: 900px) {
  .cal-week-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .cal-week-grid {
    grid-template-columns: 1fr !important;
  }
  .cal-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cal-nav-left, .cal-nav-right {
    justify-content: space-between;
    width: 100%;
  }
  .media-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .media-search-sort-group {
    flex-wrap: wrap;
  }
  .media-hub-grid {
    grid-template-columns: 1fr !important;
  }
}



