/* Postpilot Login Page Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #1d70f5;
  --primary-hover: #155dfc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light-gray: #94a3b8;
  --border-color: #e2e8f0;
  --input-bg: #ffffff;
  --focus-ring: rgba(29, 112, 245, 0.15);
  --check-color: #22c55e;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.user-management-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  white-space: nowrap;
}

.user-management-table tbody tr {
  border-color: #e2e8f0;
}

.user-management-table .user-avatar-circle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: .8rem;
}

/* Page Layout wrapper */
.page-container {
  min-height: 100vh;
}

/* Left Brand/Marketing Panel */
.left-panel {
  background: linear-gradient(135deg, #e0f2fe 0%, #edf6ff 45%, #f8fafc 85%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 4rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Subtle background glowing accent */
.left-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

/* Logo Badge */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 2;
}

.logo-icon-bg {
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(29, 112, 245, 0.25);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.portal-logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.profile-avatar-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  background: #1d70f5;
}

.profile-sidebar-avatar {
  object-fit: cover;
  padding: 0;
}

.branding-preview-logo {
  max-width: 220px;
  max-height: 64px;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
}

.branding-preview-favicon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
}

.social-platform-card {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #ffffff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.social-platform-card:hover,
.social-platform-card.selected {
  border-color: #1d70f5;
  box-shadow: 0 0 0 2px rgba(29, 112, 245, .12);
  transform: translateY(-1px);
}

.social-platform-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .08);
  font-size: 1.15rem;
}

.social-platform-copy { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.social-platform-copy strong { color: #292524; font-size: .9rem; white-space: nowrap; }
.social-platform-copy small { color: #78716c; font-size: .75rem; white-space: nowrap; }
.social-platform-add { margin-left: auto; color: #78716c; }

/* Hero Content Area */
.hero-content {
  max-width: 480px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
  z-index: 2;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 2.25rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding-left: 0;
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.02rem;
  color: #475569;
  font-weight: 500;
}

.feature-icon {
  color: var(--check-color);
  font-size: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Left Footer Note */
.left-footer {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  font-weight: 500;
  margin-top: 2rem;
  z-index: 2;
}

/* Right Sign In Form Panel */
.right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 3rem;
  background-color: #ffffff;
  min-height: 100vh;
}

.form-wrapper {
  width: 100%;
  max-width: 410px;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Form Controls Styling */
.form-label-custom {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
  display: block;
}

.input-group-custom {
  position: relative;
}

.form-control-custom {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--input-bg);
  transition: all 0.2s ease-in-out;
  font-family: inherit;
}

.form-control-custom::placeholder {
  color: #cbd5e1;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: none;
}

/* Password Toggle Icon */
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: var(--text-dark);
}

/* Checkbox & Links */
.remember-forgot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

.form-check-input-custom {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  margin-top: 0;
  accent-color: var(--primary-color);
}

.form-check-input-custom:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label-custom {
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  margin-left: 0.35rem;
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.forgot-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Primary Button */
.btn-primary-custom {
  width: 100%;
  height: 50px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 14px rgba(29, 112, 245, 0.25);
  cursor: pointer;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(29, 112, 245, 0.35);
  transform: translateY(-1px);
}

.btn-primary-custom:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(29, 112, 245, 0.2);
}

/* Terms Disclaimer */
.terms-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

.disclaimer-link {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color 0.2s;
}

.disclaimer-link:hover {
  color: var(--text-dark);
}

/* Footer Section */
.form-footer-divider {
  border-top: 1px solid #f1f5f9;
  margin-top: 2rem;
  margin-bottom: 1.75rem;
}

.signup-prompt {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.signup-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.25rem;
}

.signup-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .left-panel {
    padding: 2.5rem 2rem;
    min-height: auto;
  }
  
  .right-panel {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .left-panel {
    padding: 2rem 1.25rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .feature-item {
    font-size: 0.93rem;
  }
  
  .right-panel {
    padding: 2.5rem 1.25rem;
  }
  
  .form-title {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   DASHBOARD & SIDEBAR LAYOUT STYLES
   ========================================================================== */

.dashboard-body {
  background-color: #fafbfc;
  min-height: 100vh;
}

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar Styles */
.sidebar {
  width: 225px;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1040;
  padding: 0.5rem 0.5rem;
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.sidebar-header {
  margin-bottom: 1.1rem;
  padding-left: 0.35rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.logo-icon-bg {
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.sidebar-scroll-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #71717a;
  font-size: 0.65rem;
  padding-right: 0.15rem;
  user-select: none;
  cursor: pointer;
  z-index: 2;
}

.scroll-arrow-up {
  margin-bottom: 0.2rem;
}

.scroll-arrow-down {
  margin-top: 0.2rem;
}

.sidebar-content {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.sidebar-content::-webkit-scrollbar {
  width: 4px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 10px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

.nav-section-title {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #64748b;
  margin: 0.65rem 0 0.35rem 0.4rem;
}

.sidebar-nav .nav-link {
  font-size: 0.84rem;
  font-weight: 400;
  color: #0f172a;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  transition: all 0.15s ease-in-out;
}

.sidebar-nav .nav-link i {
  font-size: 0.95rem;
  color: #0f172a;
  margin-right: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.sidebar-nav .nav-link:hover {
  color: #0f172a;
  background-color: #f8fafc;
}

.sidebar-nav .nav-link.active {
  color: #0f172a;
  background-color: #f1f5f9;
  font-weight: 500;
}

.sidebar-nav .nav-link.active i {
  color: #0f172a;
}

.sidebar-nav .user-management-toggle {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.sidebar-nav .user-management-toggle.active,
.sidebar-nav .user-management-toggle:hover {
  color: #00a878;
  background-color: #e8f8f2;
}

.sidebar-nav .user-management-toggle.active i {
  color: #00a878;
}

.sidebar-submenu-items {
  display: none;
  margin-left: 0.75rem;
  padding-left: 0.45rem;
  border-left: 1px solid #e2e8f0;
}

.sidebar-submenu-items.is-open {
  display: block;
}

.sidebar-nav .sidebar-submenu {
  padding-left: 0.8rem;
  margin-bottom: 0.05rem;
}

/* In collapsed mode the User Management children open as a floating menu,
   instead of being squeezed into the icon-only sidebar. */
.sidebar.collapsed .user-management-nav {
  position: relative;
}

.sidebar.collapsed {
  z-index: 1050;
}

.sidebar.collapsed .sidebar-scroll-wrapper,
.sidebar.collapsed .sidebar-content {
  overflow: visible;
}

.sidebar.collapsed .user-management-nav .sidebar-submenu-items.is-open {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  width: 240px;
  padding: 0.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  z-index: 20;
}

.sidebar.collapsed .user-management-nav .sidebar-submenu-items .nav-link {
  width: 100%;
  height: auto;
  min-height: 40px;
  margin: 0;
  padding: 0.55rem 0.8rem;
  justify-content: flex-start;
  border-radius: 0.35rem;
}

.sidebar.collapsed .user-management-nav .sidebar-submenu-items .nav-link i {
  display: none;
}

.sidebar.collapsed .user-management-nav .sidebar-submenu-items .nav-text {
  display: inline !important;
}

.sidebar.collapsed .user-management-toggle {
  justify-content: center;
}

.sidebar.collapsed .user-management-toggle .submenu-chevron {
  display: none !important;
}

/* ==========================================
   COLLAPSED SIDEBAR STATE (Desktop)
   ========================================== */
.sidebar.collapsed {
  width: 72px;
  padding: 1.1rem 0.5rem;
}

.sidebar.collapsed .brand-name,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .user-info,
.sidebar.collapsed .scroll-arrow {
  display: none !important;
}

.sidebar.collapsed .sidebar-header {
  padding-left: 0;
  display: flex;
  justify-content: center;
}

.sidebar.collapsed .brand-logo {
  justify-content: center;
}

.sidebar.collapsed .sidebar-nav .nav-link {
  justify-content: center;
  padding: 0.55rem 0;
  width: 42px;
  height: 42px;
  margin: 0 auto 4px auto;
  border-radius: 10px;
}

.sidebar.collapsed .sidebar-nav .nav-link i {
  margin-right: 0;
  font-size: 1.1rem;
}

.sidebar.collapsed .user-profile-card {
  padding: 0.35rem;
  justify-content: center;
  background-color: #f1f5f9;
  border: none;
  border-radius: 14px;
  width: 42px;
  height: 42px;
  margin: 0 auto;
}

/* User Profile Footer in Sidebar */
.sidebar-footer {
  padding-top: 0.5rem;
  border-top: none;
  margin-top: 0.35rem;
}

.user-profile-card {
  background-color: #f1f5f9;
  border: none;
  border-radius: 14px;
  padding: 0.5rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0088ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-info {
  overflow: hidden;
}

.user-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.25;
}

.user-agency {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.2;
}


/* Main Dashboard Content */
.main-content {
  flex-grow: 1;
  padding: 1rem 1rem;
  overflow-y: auto;
  max-width: 100%;
}

/* Top Dashboard Header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.sidebar-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s;
}

.sidebar-toggle:hover {
  background-color: #f8fafc;
  color: var(--text-dark);
}

.btn-sm-custom {
  height: 40px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Dashboard Titles */
.dashboard-title-section {
  margin-bottom: 2rem;
}

.dashboard-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin-bottom: 0.2rem;
}

.dashboard-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Metric Cards */
.metric-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  padding: 1.25rem 1.35rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.015);
}

.metric-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.metric-icon-bg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.05rem;
}

.badge-growth {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
}

.badge-growth.positive {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Dashboard Cards (Chart & Channels) */
.dashboard-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.015);
}

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

.card-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.btn-light-custom {
  background-color: #f1f5f9;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  padding: 0.35rem 0.95rem;
  transition: background-color 0.2s;
}

.btn-light-custom:hover {
  background-color: #e2e8f0;
  color: var(--text-dark);
}

/* Channel Items */
.channel-item {
  width: 100%;
}

.channel-name-wrap {
  display: flex;
  align-items: center;
}

.channel-icon {
  font-size: 1.1rem;
  margin-right: 0.6rem;
  display: flex;
  align-items: center;
}

.channel-icon.instagram { color: #e1306c; }
.channel-icon.x-twitter { color: #0f172a; }
.channel-icon.linkedin { color: #0a66c2; }
.channel-icon.facebook { color: #1877f2; }
.channel-icon.youtube { color: #ff0000; }
.channel-icon.tiktok { color: #000000; }

.channel-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

.channel-percentage {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-custom {
  height: 8px;
  border-radius: 10px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.progress-bar-custom {
  background-color: var(--primary-color);
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* Sidebar Responsive Backdrop overlay */
.sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1035;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.show {
  display: block;
  opacity: 1;
}

/* Responsive Dashboard Media Queries */
@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    transform: translateX(-100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .main-content {
    padding: 1.5rem 1.25rem;
  }
  
  .dashboard-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   COMPOSE PAGE STYLES
   ========================================================================== */

.compose-textarea {
  height: 160px;
  resize: vertical;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.compose-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.btn-ai-rewrite {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  padding: 0.35rem 0.95rem;
  transition: all 0.2s ease-in-out;
}

.btn-ai-rewrite:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--text-dark);
}

/* Channel Select Grid Cards */
.channel-select-card {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  user-select: none;
  position: relative;
}

.channel-select-card:hover {
  border-color: #cbd5e1;
  background-color: #ffffff;
  transform: translateY(-1px);
}

.channel-select-card.selected {
  background-color: #f0f7ff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.channel-card-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #0088ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 136, 255, 0.2);
}

.channel-card-icon-circle.instagram { background-color: #0088ff; }
.channel-card-icon-circle.x-twitter { background-color: #0088ff; }
.channel-card-icon-circle.linkedin { background-color: #0088ff; }
.channel-card-icon-circle.facebook { background-color: #0088ff; }
.channel-card-icon-circle.youtube { background-color: #0088ff; }
.channel-card-icon-circle.tiktok { background-color: #0088ff; }

.channel-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.channel-card-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.channel-check-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 800;
  display: none;
}

.channel-select-card.selected .channel-check-icon {
  display: block;
}

/* Live Preview Sticky Sidebar & Tab Bar */
.live-preview-sticky {
  position: sticky;
  top: 1.75rem;
}

.preview-tabs-container {
  background-color: #f1f5f9;
  border-radius: 20px;
  padding: 6px;
  width: 100%;
}

.preview-tabs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.preview-tab-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.35rem 0.7rem;
  border-radius: 16px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}


.preview-tab-item:hover {
  color: #0f172a;
}

.preview-tab-item.active {
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-box {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  background-color: #ffffff;
  padding: 1.15rem;
}

.preview-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.preview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #0088ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.preview-author-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-media-box {
  height: 220px;
  background-color: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  overflow: hidden;
  border: 1px dashed #cbd5e1;
  position: relative;
}

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

.preview-media-placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
}

.preview-actions {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  display: flex;
}

.preview-caption {
  font-size: 0.86rem;
  color: #64748b;
  word-break: break-word;
  line-height: 1.45;
  min-height: 40px;
}

/* Custom Pill Action Buttons (Publish Options) */
.btn-pill-primary {
  background-color: #0070f3;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.22);
  cursor: pointer;
}

.btn-pill-primary:hover {
  background-color: #0060d0;
  box-shadow: 0 6px 16px rgba(0, 112, 243, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-pill-secondary {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-pill-secondary:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Draft Pill Button */
.btn-pill-draft {
  background-color: #f0f5fa;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.6rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-pill-draft:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

/* ==========================================================================
   ALL POSTS PAGE STYLES
   ========================================================================== */

/* Filter Pills */
.btn-filter-pill {
  background-color: #f1f5f9;
  border: 1.5px solid transparent;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  padding: 0.4rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease-in-out;
}

.btn-filter-pill:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.btn-filter-pill .pill-count {
  background-color: rgba(255, 255, 255, 0.8);
  color: #475569;
  border-radius: 12px;
  padding: 0.1rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 0.2rem;
}

.btn-filter-pill.active {
  background-color: #0070f3;
  color: #ffffff;
  border-color: #0070f3;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.22);
}

.btn-filter-pill.active i {
  color: #ffffff !important;
}

.btn-filter-pill.active .pill-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Search input positioning */
.search-icon-input {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}

/* Published Post Cards */
.published-post-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
}

.published-post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.post-card-header {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f8fafc;
}

.post-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.post-author-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-platform-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #334155;
  flex-shrink: 0;
}

.post-card-media {
  height: 240px;
  overflow: hidden;
  background-color: #f8fafc;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.published-post-card:hover .post-card-media img {
  transform: scale(1.02);
}

.post-card-body {
  padding: 1.15rem 1.25rem;
  flex-grow: 1;
}

.post-caption-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
}

.post-metrics-row {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f8fafc;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.post-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.post-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.post-author-by {
  font-weight: 500;
}

/* ==========================================================================
   CALENDAR PAGE STYLES
   ========================================================================== */

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-cell {
  height: 95px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.5rem;
  position: relative;
  transition: all 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calendar-cell:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.calendar-cell.other-month {
  background-color: #fafbfc;
  opacity: 0.45;
}

.calendar-cell.today-cell {
  background-color: #f0f7ff;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.day-num {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.today-cell .day-num {
  color: var(--primary-color);
  font-weight: 700;
}

.event-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: auto;
}

.chip-gray {
  background-color: #e2e8f0;
  color: #475569;
}

.chip-blue {
  background-color: #dbeafe;
  color: #1d4ed8;
}

/* Upcoming Queue Sidebar */
.upcoming-queue-sticky {
  position: sticky;
  top: 1.75rem;
}

.queue-item-card {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  transition: all 0.2s ease-in-out;
}

.queue-item-card:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.badge-scheduled {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 14px;
}

.badge-draft {
  background-color: #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 14px;
}

.queue-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.queue-post-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.btn-link-action {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.btn-link-action:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   MEDIA GALLERY PAGE STYLES
   ========================================================================== */

/* Drag & Drop Upload Zone */
.upload-dropzone {
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  background-color: #f8fafc;
  padding: 2.2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.upload-dropzone:hover {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
}

.upload-icon-bg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #475569;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.upload-primary-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.upload-sub-text {
  font-size: 0.8rem;
  color: var(--text-light-gray);
}

/* Media Asset Cards */
.media-asset-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
}

.media-asset-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.media-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
}

.media-card-thumb {
  height: 200px;
  overflow: hidden;
  background-color: #f8fafc;
  position: relative;
}

.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-asset-card:hover .media-card-thumb img {
  transform: scale(1.03);
}

.doc-thumb-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.media-card-body {
  padding: 1.1rem 1.15rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.media-filename {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}

.media-meta-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.media-tags-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.media-tag {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 12px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.media-actions-bar {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #f8fafc;
}

.media-action-btn {
  cursor: pointer;
  transition: color 0.15s ease;
}

.media-action-btn:hover {
  color: var(--text-dark);
}

.media-action-btn.text-hover-danger:hover {
  color: #ef4444 !important;
}

/* ==========================================================================
   CONTENT PIPELINE STYLES
   ========================================================================== */

.pipeline-legend-bar {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-gray {
  background-color: #cbd5e1;
}

.dot-blue {
  background-color: var(--primary-color);
}

.pipeline-board-container {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  min-height: 580px;
}

.pipeline-board-container::-webkit-scrollbar {
  height: 8px;
}

.pipeline-board-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.pipeline-board-container::-webkit-scrollbar-thumb {
  background-color: #94a3b8;
  border-radius: 10px;
}

.pipeline-column {
  width: 320px;
  flex-shrink: 0;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
}

.column-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.column-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.column-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.column-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.column-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.column-badge {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.15rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.pipeline-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  transition: all 0.2s ease-in-out;
}

.pipeline-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.card-item-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.card-type-tag {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 12px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.card-item-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.card-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.time-schedule-pill {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 12px;
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.user-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #0088ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.btn-like-count {
  background-color: #f1f5f9;
  border: none;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  padding: 0.25rem 0.6rem;
  transition: background 0.2s;
}

.btn-like-count:hover {
  background-color: #e2e8f0;
}

.btn-move-action {
  background-color: #f1f5f9;
  border: none;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  padding: 0.25rem 0.6rem;
  transition: background 0.2s;
}

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

.btn-trash-action {
  background: none;
  border: none;
  padding: 0.2rem 0.4rem;
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.btn-trash-action:hover {
  color: #ef4444;
}

/* ==========================================================================
   REPORTS ANALYTICS PAGE STYLES
   ========================================================================== */

.metric-growth-badge {
  background-color: #ecfdf5;
  color: #10b981;
  border-radius: 12px;
  padding: 0.2rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.report-posts-table {
  font-size: 0.88rem;
}

.report-posts-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 0.75rem;
}

.report-posts-table td {
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid #f8fafc;
}

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

/* ==========================================================================
   COMPETITOR & LISTENING PAGE STYLES
   ========================================================================== */

.metric-icon-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.metric-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.focus-blue {
  border-color: #0070f3 !important;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.15) !important;
}

/* Benchmarks Table */
.benchmarks-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 0.75rem;
}

.benchmarks-table td {
  padding: 1.1rem 0.6rem;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.88rem;
}

.form-check-input.switch-primary {
  width: 2.3em;
  height: 1.25em;
  cursor: pointer;
}

.form-check-input.switch-primary:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Mentions Cards */
.mention-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  transition: all 0.2s ease-in-out;
}

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

.badge-platform {
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.74rem;
  border-radius: 12px;
  padding: 0.25rem 0.6rem;
}

.badge-sentiment-pos {
  background-color: #ecfdf5;
  color: #10b981;
  font-weight: 600;
  font-size: 0.74rem;
  border-radius: 12px;
  padding: 0.25rem 0.6rem;
}

.badge-sentiment-neg {
  background-color: #fef2f2;
  color: #ef4444;
  font-weight: 600;
  font-size: 0.74rem;
  border-radius: 12px;
  padding: 0.25rem 0.6rem;
}

.mention-body-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

.btn-reply-pill {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  padding: 0.3rem 0.85rem;
  transition: all 0.2s;
}

.btn-reply-pill:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.btn-star-pill {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  padding: 0.3rem 0.85rem;
  transition: all 0.2s;
}

.btn-star-pill:hover {
  background-color: #f8fafc;
  color: #0f172a;
}

/* Hashtags Cards */
.hashtag-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  transition: all 0.2s ease-in-out;
}

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

.hashtag-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-dark);
}

.badge-in-set {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 14px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.btn-add-tag-pill {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.25rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
}

.btn-add-tag-pill:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ==========================================================================
   AUTOMATION & SMART RULES STYLES
   ========================================================================== */

.automation-rule-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.35rem 1.6rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
}

.automation-rule-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.rule-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.badge-live {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 14px;
}

.badge-paused {
  background-color: #e2e8f0;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 14px;
}

.rule-condition-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.auto-reply-bubble {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 1.15rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

.badge-channel-pill {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 500;
  font-size: 0.78rem;
  border-radius: 14px;
  padding: 0.3rem 0.75rem;
}

/* Saved Replies Cards */
.saved-reply-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.35rem 1.6rem;
  transition: all 0.2s ease-in-out;
}

.saved-reply-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.reply-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

.reply-shortcut {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  display: block;
}

.reply-body-text {
  font-size: 0.9rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
}

.btn-copy-pill {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.25rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
}

.btn-copy-pill:hover {
  background-color: #f1f5f9;
}

/* Evergreen Queue */
.evergreen-banner-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
}

.evergreen-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.35rem 1.6rem;
  transition: all 0.2s ease-in-out;
}

.evergreen-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.evergreen-item-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Bulk Scheduling Table */
.csv-preview-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 0.75rem;
}

.csv-preview-table td {
  padding: 1.1rem 0.6rem;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.88rem;
}

/* SLA Alerts */
.sla-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.35rem 1.6rem;
  transition: all 0.2s ease-in-out;
}

.sla-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.sla-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

.custom-range {
  height: 6px;
}

.custom-range::-webkit-slider-thumb {
  background-color: var(--primary-color);
}

/* ==========================================================================
   OMNI CHAT STYLES
   ========================================================================== */

.omni-chat-shell {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  height: calc(100vh - 170px);
  min-height: 620px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.omni-sidebar-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
}

.omni-panel-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

.badge-live-dot {
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.2rem 0.55rem;
}

.omni-list-scroll {
  flex: 1;
  overflow-y: auto;
}

.omni-item-card {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
}

.omni-item-card:hover {
  background-color: #f8fafc;
}

.omni-item-card.active {
  background-color: #edf6ff;
  border-left: 3px solid var(--primary-color);
}

.user-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.user-avatar-circle.bg-teal { background-color: #ccfbf1; color: #0d9488; }
.user-avatar-circle.bg-indigo { background-color: #e0e7ff; color: #4338ca; }
.user-avatar-circle.bg-purple { background-color: #f3e8ff; color: #9333ea; }
.user-avatar-circle.bg-cyan { background-color: #cffafe; color: #0891b2; }
.user-avatar-circle.bg-gradient-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #ffffff; }
.user-avatar-circle.bg-light-blue { background-color: #f1f5f9; color: #334155; }

.channel-badge-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  border: 1.5px solid #ffffff;
}

.badge-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.badge-whatsapp { background-color: #25d366; }
.badge-email { background-color: #0284c7; }
.badge-sms { background-color: #a855f7; }

.convo-user-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.convo-time {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.convo-preview-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82%;
  display: block;
}

.convo-sub-timer {
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.omni-thread-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-messages-container {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  background-color: #fafafa;
}


.chat-bubble-wrapper.incoming {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-bubble-wrapper.outgoing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-bubble-wrapper.incoming .chat-bubble {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  border-radius: 18px 18px 18px 4px;
  padding: 0.85rem 1.15rem;
  max-width: 75%;
  font-size: 0.92rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.chat-bubble-wrapper.outgoing .chat-bubble {
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  padding: 0.85rem 1.15rem;
  max-width: 75%;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.2);
}

.omni-chat-input {
  border-radius: 30px;
  border: 1.5px solid #0070f3;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all 0.2s ease-in-out;
}

.omni-chat-input:focus {
  border-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.12);
  outline: none;
}

.chat-input-bar {
  background-color: #ffffff;
  padding: 0.9rem 1.25rem;
  border-top: 1.5px solid #e2e8f0;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.btn-send-pill {
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 30px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.22);
  transition: all 0.2s ease;
}

.btn-send-pill:hover {
  background-color: #005bb5;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.35);
}


.user-avatar-xs {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #64748b;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Comment Section Cards Polish */
.comment-item-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
}

.comment-item-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.comment-body-text {
  font-size: 0.93rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

.comment-reply-box {
  background-color: #f8fafc;
  border-left: 3.5px solid var(--primary-color) !important;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.btn-comment-action {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-comment-action:hover {
  color: var(--primary-color);
  background-color: #f1f5f9;
}

.btn-comment-action.liked {
  color: #ef4444;
}

.btn-comment-action.hidden-comment {
  color: #94a3b8;
  text-decoration: line-through;
}

.comment-item-card.is-hidden {
  opacity: 0.55;
  background-color: #f8fafc;
}

.user-avatar-circle {
  flex-shrink: 0 !important;
}

/* ==========================================================================
   EMAIL PAGE STYLES
   ========================================================================== */

.email-nav-panel {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.25rem;
  min-height: 540px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.email-folder-link {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  transition: all 0.15s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.email-folder-link:hover {
  background-color: #f8fafc;
  color: var(--primary-color);
}

.email-folder-link.active {
  background-color: #edf6ff;
  color: var(--primary-color);
  font-weight: 700;
}

.label-link {
  color: #475569;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.label-link:hover {
  background-color: #f8fafc;
  color: var(--primary-color);
}

.email-list-panel {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.25rem;
  min-height: 540px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.email-item-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 0.65rem;
}

.email-item-card:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.email-item-card.active {
  background-color: #edf6ff;
  border-color: #bfdbfe;
}

.email-item-subject {
  font-size: 0.88rem;
  line-height: 1.35;
}

.email-item-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.badge-label-pill {
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
}

.email-reader-pane {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.6rem 2rem;
  min-height: 540px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.email-subject-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
}

.email-body-container {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
}

.email-reply-textarea {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.email-reply-textarea:focus {
  border-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.12);
  outline: none;
}

/* ==========================================================================
   TEAM CHAT STYLES
   ========================================================================== */

.chat-nav-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.chat-section-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

.channel-nav-link {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.channel-nav-link:hover {
  background-color: #f8fafc;
  color: var(--primary-color);
}

.channel-nav-link.active {
  background-color: #edf6ff;
  color: var(--primary-color);
  font-weight: 700;
}

.online-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
}

.chat-main-pane {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  min-height: 580px;
  height: calc(100vh - 170px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.channel-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.chat-bubble-incoming-gray {
  background-color: #f1f5f9;
  color: var(--text-dark);
  border-radius: 16px 16px 16px 4px;
  padding: 0.8rem 1.15rem;
  font-size: 0.92rem;
  display: inline-block;
  font-weight: 500;
}

.chat-bubble-outgoing-blue {
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 16px 16px 4px 16px;
  padding: 0.8rem 1.15rem;
  font-size: 0.92rem;
  display: inline-block;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.22);
}

.chat-attachment {
  max-width: 280px;
  padding: 0.55rem 0.75rem;
  color: #1d70f5;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.65rem;
  text-decoration: none;
}

.chat-image-attachment img {
  display: block;
  max-width: 280px;
  max-height: 220px;
  border-radius: 0.7rem;
  object-fit: cover;
}

.chat-file-attachment {
  max-width: 300px;
  padding: 0.65rem 0.8rem;
  color: #1d70f5;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.65rem;
  text-decoration: none;
}

.chat-download-link {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #1d70f5;
  font-size: 0.8rem;
  text-decoration: none;
}

/* ==========================================================================
   BILLING PAGE STYLES
   ========================================================================== */

.billing-metric-box {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.payment-card-display {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.25rem;
}

.letter-spacing-1 {
  letter-spacing: 0.08em;
}

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

.settings-channel-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.2s ease-in-out;
}

.settings-channel-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.next-up-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.next-up-item:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Dual Month Date Range Popover */
.date-range-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1050;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #e2e8f0;
  padding: 1.25rem 1.5rem;
  width: max-content;
}

.month-calendar-grid {
  width: 210px;
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.calendar-days-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.day-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.day-cell:hover {
  background-color: #f1f5f9;
  color: var(--primary-color);
}

.day-cell.muted {
  color: #cbd5e1;
}

.day-cell.selected {
  background-color: #edf6ff;
  color: #0070f3;
  font-weight: 700;
}

/* Report Timeframe Box & Export Pill */
.report-timeframe-box {
  background-color: #f1f5f9;
  border-radius: 18px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timeframe-btn {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.35rem 0.85rem;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.timeframe-btn.active {
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   LANDING PAGE STYLES & ANIMATIONS
   ========================================== */

.landing-body {
  background-color: #fafbfc;
  color: #0f172a;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Floating Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.4) 0%, rgba(0, 112, 243, 0) 70%);
  top: -100px;
  left: 10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, rgba(147, 51, 234, 0) 70%);
  top: 200px;
  right: 5%;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
  100% { transform: translateY(20px) scale(0.95); }
}

/* Glass Navbar */
.landing-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  z-index: 1000;
}

.logo-icon-bg {
  width: 34px;
  height: 34px;
  background-color: #0070f3;
  color: #ffffff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.25);
}

.hero-section {
  z-index: 1;
}

.hero-badge-pill {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 5px 16px 5px 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.hero-main-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 850px;
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.2rem;
  }
}

.hero-sub-text {
  max-width: 680px;
  line-height: 1.6;
}

.hero-preview-wrapper {
  max-width: 980px;
  perspective: 1000px;
}

.hero-preview-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 112, 243, 0.12) !important;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mock-dot.red { background-color: #ef4444; }
.mock-dot.yellow { background-color: #f59e0b; }
.mock-dot.green { background-color: #10b981; }

.section-heading {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.25;
}

.feature-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #edf6ff;
  color: #0070f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.popular {
  box-shadow: 0 12px 30px rgba(0, 112, 243, 0.15) !important;
}

.cta-banner-card {
  background: linear-gradient(135deg, #0070f3 0%, #0051b3 100%);
}

.max-w-600 {
  max-width: 600px;
}

/* Bootstrap-style inline validation for the custom Postpilot fields. */
.needs-validation .invalid-feedback {
  display: none;
  margin-top: 0.35rem;
  color: #dc3545;
  font-size: 0.8rem;
}

.needs-validation.was-validated .input-group-custom:has(.form-control-custom:invalid) + .invalid-feedback,
.needs-validation.was-validated .form-control-custom.is-invalid ~ .invalid-feedback,
.needs-validation.was-validated .form-control-custom:invalid + .invalid-feedback {
  display: block;
}

.needs-validation.was-validated .form-control-custom:invalid,
.needs-validation .form-control-custom.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12);
}

.needs-validation.was-validated .form-control-custom:valid {
  border-color: #198754;
}




