/* ================================================
   GLOBAL STYLES & BASE ELEMENTS
   ================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #ffffff;
  background: #0f1419;
  overflow: auto;
}

/* ================================================
   APP LAYOUT - Main Flex Container
   ================================================ */

.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ================================================
   SIDEBAR - Navigation Menu
   ================================================ */

.sidebar {
  width: 256px;
  background: #1a1f2e;
  border-right: 1px solid #374151;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: #14b8a6;
  stroke-width: 2;
}

.sidebar-header h1 {
  font-size: 18px;
  font-weight: 600;
}

.sidebar-nav {
  flex: 1;
  padding: 0 12px;
  overflow-y: auto;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 4px;
  text-decoration: none;
  font-family: inherit;
}

.nav-item:hover {
  background: rgba(55, 65, 81, 0.5);
}

.nav-item.active {
  background: #1f2937;
  color: #14b8a6;
  border-left: 2px solid #14b8a6;
}

.nav-item .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.nav-item span {
  flex: 1;
  text-align: left;
}

.nav-item .chevron {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.nav-subitem {
  padding: 8px 0 8px 48px;
  font-size: 14px;
  color: #9ca3af;
}

/* ================================================
   MAIN CONTENT - Primary Container
   ================================================ */

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ================================================
   TOP NAVIGATION & TABS - Header Navigation
   ================================================ */

.top-nav {
  position: sticky;
  top: 0;
  background: #1a1f2e;
  border-bottom: 1px solid #374151;
  z-index: 100;
}

.top-nav > div {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #374151 transparent;
  flex: 1;
  min-width: 0;
}

.tabs::-webkit-scrollbar {
  height: 4px;
}

.tabs::-webkit-scrollbar-track {
  background: transparent;
}

.tabs::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

.tabs::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

.tab {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab:hover {
  color: #d1d5db;
}

.tab.active {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  border-color: #14b8a6;
}

.tab .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================
   HEADER ACTIONS - Settings & User Avatar
   ================================================ */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.settings-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.settings-btn:hover {
  background: #1f2937;
}

.settings-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}



/* ================================================
   RIGHT PANEL - Status & Information Panel
   ================================================ */

.right-panel {
  width: 320px;
  background: #1a1f2e;
  border-left: 1px solid #374151;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-card {
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 16px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title .icon {
  width: 20px;
  height: 20px;
  color: #14b8a6;
  stroke-width: 2;
}

.card-title h3 {
  font-size: 16px;
  font-weight: 600;
}

.n8n-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red {
  background: #f87171;
}

.dot.teal {
  background: #14b8a6;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background: #10b981;
}

.expand-btn {
  padding: 4px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.expand-btn:hover {
  background: #1f2937;
}

.expand-btn .icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  stroke-width: 2;
}

.card-content {
  font-size: 14px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #9ca3af;
}

.status-value {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #10b981;
}

/* ================================================
   SIGN-IN FORM - Authentication Form
   ================================================ */

.signin-title {
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 12px;
  color: #9ca3af;
}

.form-group input {
  padding: 8px 12px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 4px;
  color: #d1d5db;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: #14b8a6;
}

.password-input {
  position: relative;
}

.password-input input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-password:hover {
  background: #374151;
}

.toggle-password .icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  stroke-width: 2;
}

.signin-btn {
  width: 100%;
  padding: 8px;
  background: #ef4444;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.signin-btn:hover {
  background: #dc2626;
}

.forgot-btn {
  background: transparent;
  border: none;
  color: #f87171;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.forgot-btn:hover {
  color: #fca5a5;
}

/* ================================================
   SCROLLBAR - Custom Scrollbar Styling
   ================================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1f2e;
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* ================================================
   CONTACTS MANAGEMENT - Contact List & Directory
   ================================================ */

.contacts-management {
  margin-top: 32px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.contacts-card {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  overflow: hidden;
}

.contacts-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #1f2937;
  border-bottom: 1px solid #374151;
}

.contacts-card .card-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.contacts-card .card-content {
  padding: 24px;
}

/* ================================================
   FILE UPLOAD ZONE - Upload & Import Controls
   ================================================ */

.upload-zone {
  border: 2px dashed #374151;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  margin-bottom: 20px;
}

.upload-zone:hover {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.upload-zone.dragover {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #9ca3af;
  margin: 0 auto 16px;
  stroke-width: 1.5;
}

.upload-text {
  font-size: 16px;
  color: #d1d5db;
  margin-bottom: 8px;
}

.upload-subtext {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.upload-info {
  background: #1f2937;
  padding: 16px;
  border-radius: 8px;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 16px;
}

.upload-info p {
  margin-bottom: 8px;
}

.upload-info strong {
  color: #d1d5db;
}

.info-text {
  font-size: 12px;
  color: #6b7280;
}

.upload-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.upload-status.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid #10b981;
}

.upload-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* ================================================
   CONTACT LIST DISPLAY - Contact Item Listing
   ================================================ */

.contacts-list-section {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.contacts-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.contacts-list-header h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.count-badge {
  background: #14b8a6;
  color: #0f1419;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.contact-item:hover {
  border-color: #14b8a6;
}

.contact-info {
  flex: 1;
}

.contact-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-phone {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.contact-email {
  font-size: 13px;
  color: #6b7280;
}

.contact-tags {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.contact-tag {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
}

.contact-actions {
  display: flex;
  gap: 8px;
}

.contact-action-btn {
  background: transparent;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: #9ca3af;
}

.contact-action-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
}

.contact-action-btn.delete:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.contact-action-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.empty-state {
  text-align: center;
  color: #6b7280;
  padding: 40px;
  font-size: 14px;
}

/* ================================================
   RESPONSIVE DESIGN - Mobile & Tablet Breakpoints
   ================================================ */

/* 1024px Breakpoint - Tablet & Large Mobile */
@media (max-width: 1024px) {
  .right-panel {
    width: 280px;
  }

  .composer-panel {
    width: 380px;
  }
}

/* 1200px Breakpoint - Medium Screens */
@media (max-width: 1200px) {
  body {
    overflow: auto;
  }

  .app {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -256px;
    width: 256px;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: none;
  }

  .sidebar.mobile-open {
    left: 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8);
  }

  .main-content {
    width: 100%;
  }

  .top-nav > div {
    padding: 12px 16px;
    padding-left: 56px;
    flex-wrap: nowrap;
  }

  .tabs {
    width: 100%;
    order: 2;
    margin-top: 12px;
  }

  .header-actions {
    order: 1;
  }


  .right-panel {
    display: none;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts-management {
    margin-top: 16px;
  }

  .upload-zone {
    padding: 24px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 480px Breakpoint - Small Mobile Devices */
@media (max-width: 480px) {
  .sidebar-header {
    padding: 16px;
  }

  .sidebar-header h1 {
    font-size: 16px;
  }

  .nav-item {
    padding: 10px 12px;
    font-size: 13px;
  }

  .top-nav > div {
    padding: 10px 12px;
    padding-left: 52px;
  }

  .tab {
    padding: 6px 12px;
    font-size: 13px;
  }

  .panel-card {
    padding: 12px;
  }

  .card-title h3 {
    font-size: 14px;
  }

  .upload-zone {
    padding: 20px;
  }

  .upload-icon {
    width: 36px;
    height: 36px;
  }

  .upload-text {
    font-size: 14px;
  }

  .contact-item {
    padding: 12px;
  }

  .contact-name {
    font-size: 14px;
  }

  .contact-phone,
  .contact-email {
    font-size: 12px;
  }

  .contact-tags {
    flex-wrap: wrap;
  }
}

/* ================================================
   SETTINGS - Settings Page & Configuration
   ================================================ */

.settings-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #0a0a0a;
}



.settings-container h1 {
  color: #f3f4f6;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
}

.settings-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 24px;
}

/* 768px Breakpoint - Tablets & Medium Mobile */
@media (max-width: 768px) {
  .settings-cards {
    grid-template-columns: 1fr;
  }
}
.main-content {
    padding: 0;
}

/* ================================================
   PACKAGES PAGE - Pricing & Package Cards
   ================================================ */

.packages-header {
    text-align: center;
    margin-bottom: 60px;
}

.packages-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.2;
}

.subtitle {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.5;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: #0f172a;
}

.save-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 28px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.package-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.package-card.featured {
    border-color: #3b82f6;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15), 0 2px 6px rgba(59, 130, 246, 0.1);
}

.package-card.featured:hover {
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.2), 0 6px 12px rgba(59, 130, 246, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.package-header {
    margin-bottom: 24px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.package-name {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.package-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.package-pricing {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid #f1f5f9;
    min-height: 80px;
}

.currency {
    font-size: 28px;
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
    align-self: flex-start;
    padding-top: 8px;
}

.price {
    font-size: 56px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.02em;
}

.period {
    font-size: 16px;
    color: #64748b;
    margin-left: 4px;
    font-weight: 500;
}

.package-button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 32px;
    flex-shrink: 0;
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.package-button:active {
    transform: translateY(0);
}

.package-card.featured .package-button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.package-features {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-features h4 {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

.package-features li:last-child {
    margin-bottom: 0;
}

.check-icon {
    flex-shrink: 0;
    color: #10b981;
    margin-top: 3px;
    stroke-width: 2.5;
}

/* ================================================
   FEATURES COMPARISON TABLE - Pricing Comparison
   ================================================ */


.features-comparison h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.comparison-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table th:first-child {
    border-top-left-radius: 16px;
}

.comparison-table th:last-child {
    border-top-right-radius: 16px;
}

.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f8fafc;
}

.comparison-table td {
    padding: 18px 24px;
    font-size: 15px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table td.feature-name {
    font-weight: 600;
    color: #1e293b;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ================================================
   FAQ SECTION - Frequently Asked Questions
   ================================================ */

}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 48px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
    }

    .package-header {
        min-height: auto;
    }
}

/* 768px Breakpoint - Packages Page */
@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem;
    }

    .packages-header {
        margin-bottom: 40px;
    }

    .packages-header h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .packages-grid {
        gap: 24px;
    }

    .package-card {
        padding: 32px 24px;
    }

    .package-header {
        margin-bottom: 20px;
    }

    .price {
        font-size: 48px;
    }

    .currency {
        font-size: 24px;
        padding-top: 6px;
    }

    .features-comparison h2,
    .faq-section h2 {
        font-size: 28px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 14px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   SOCIAL MEDIA PAGE - Post Management & Social Feed
   ================================================ */

.social-content { 
  flex: 1;
  display: flex;
  overflow: hidden;
  background: #0f1419;
}

.posted-content-list {
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  width: 100%;
}

.posted-content-item {
  width: 100%;
}

.post-card {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
}

.post-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.post-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.post-platforms-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-badge.twitter {
  background: rgba(29, 161, 242, 0.1);
  color: #1da1f2;
}

.platform-badge.linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.platform-badge.facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

.platform-badge.instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
}

.post-date {
  font-size: 14px;
  color: #9ca3af;
}

.post-text {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-image-preview {
  margin-bottom: 16px;
}

.post-placeholder-img {
  width: 100%;
  height: 200px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-placeholder-img .icon {
  width: 48px;
  height: 48px;
  color: #6b7280;
  stroke-width: 1.5;
}

.post-stats {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #374151;
  border-bottom: 1px solid #374151;
  margin-bottom: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
}

.stat-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.post-actions {
  display: flex;
  gap: 12px;
}

.post-action-btn {
  flex: 1;
  padding: 10px 16px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.post-action-btn:hover {
  background: #1a1f2e;
  border-color: #14b8a6;
  color: #14b8a6;
}

.post-action-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.calendar-section {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-nav-btn {
  padding: 8px;
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-nav-btn:hover {
  background: #1f2937;
  border-color: #14b8a6;
}

.calendar-nav-btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.calendar-title {
  font-size: 24px;
  font-weight: 600;
  color: white;
}

.view-toggle {
  display: flex;
  gap: 8px;
  background: #1a1f2e;
  border-radius: 8px;
  padding: 4px;
}

.view-btn {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover {
  color: #d1d5db;
}

.view-btn.active {
  background: #14b8a6;
  color: white;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.calendar-day-header {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-day {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 16px;
  min-height: 120px;
  transition: all 0.2s;
  cursor: pointer;
}

.calendar-day:hover {
  border-color: #14b8a6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.calendar-day.today {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.day-number {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.day-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-pill {
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  transition: all 0.2s;
}

.post-pill:hover {
  transform: translateX(4px);
}

.post-pill.scheduled {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.post-pill.publishing {
  background: rgba(251, 146, 60, 0.2);
  border: 1px solid rgba(251, 146, 60, 0.3);
  animation: pulse 2s infinite;
}

.post-pill.published {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.post-platforms {
  display: flex;
  gap: 4px;
}

.platform-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}

.platform-icon.twitter {
  background: #1da1f2;
}

.platform-icon.linkedin {
  background: #0077b5;
}

.platform-icon.facebook {
  background: #1877f2;
}

.platform-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.platform-icon.threads {
  background: #000000;
}

.post-time {
  color: #d1d5db;
  font-weight: 500;
}

.composer-panel {
  width: 420px;
  background: #1a1f2e;
  border-left: 1px solid #374151;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.composer-header {
  padding: 24px;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.composer-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.close-btn {
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #1f2937;
  color: white;
}

.close-btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.connected-accounts {
  padding: 24px;
  border-bottom: 1px solid #374151;
}

.connected-accounts h4 {
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 12px;
}

.account-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.account-chip.twitter {
  background: rgba(29, 161, 242, 0.2);
  border-color: #1da1f2;
  color: #1da1f2;
}

.account-chip.linkedin {
  background: rgba(0, 119, 181, 0.2);
  border-color: #0077b5;
  color: #0077b5;
}

.account-chip.facebook {
  background: rgba(24, 119, 242, 0.2);
  border-color: #1877f2;
  color: #1877f2;
}

.account-chip.instagram {
  background: rgba(225, 48, 108, 0.2);
  border-color: #e1306c;
  color: #e1306c;
}

.account-chip.threads {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

.account-chip.inactive {
  opacity: 0.4;
  border-style: dashed;
}

.account-chip.selected {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.account-chip:hover:not(.inactive) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.account-chip.selected:hover:not(.inactive) {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.account-chip .icon {
  width: 16px;
  height: 16px;
}

.add-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 2px dashed #374151;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.add-account-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.add-account-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.composer-textarea-wrapper {
  padding: 24px;
  border-bottom: 1px solid #374151;
  position: relative;
}

.composer-textarea {
  width: 100%;
  padding: 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
}

.composer-textarea:focus {
  outline: none;
  border-color: #14b8a6;
}

.composer-textarea::placeholder {
  color: #6b7280;
}

.char-counter {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 12px;
  color: #6b7280;
  background: #1a1f2e;
  padding: 4px 8px;
  border-radius: 4px;
}

.char-counter .current {
  color: #14b8a6;
  font-weight: 600;
}

.ai-suggestions {
  padding: 16px 24px;
  border-bottom: 1px solid #374151;
  display: flex;
  gap: 8px;
}

.ai-generate-btn,
.ai-improve-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-generate-btn {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #a855f7;
}

.ai-generate-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.ai-improve-btn {
  background: rgba(20, 184, 166, 0.2);
  border-color: #14b8a6;
  color: #14b8a6;
}

.ai-improve-btn:hover {
  background: rgba(20, 184, 166, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.ai-generate-btn .icon,
.ai-improve-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.media-attachments {
  padding: 16px 24px;
  border-bottom: 1px solid #374151;
}

.media-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.media-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.media-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.schedule-controls {
  padding: 24px;
  border-bottom: 1px solid #374151;
}

.schedule-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-input-group label {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
}

.schedule-input {
  padding: 10px 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  cursor: pointer;
}

.schedule-input:focus {
  outline: none;
  border-color: #14b8a6;
}

.composer-actions {
  padding: 24px;
  display: flex;
  gap: 12px;
}

.composer-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.composer-btn.secondary {
  background: #1f2937;
  color: #d1d5db;
}

.composer-btn.secondary:hover {
  background: #374151;
}

.composer-btn.primary {
  background: #14b8a6;
  color: white;
}

.composer-btn.primary:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.create-post-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #14b8a6;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.create-post-btn:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.create-post-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* ================================================
   MODAL DIALOGS - Popup & Modal Components
   ================================================ */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.close-modal-btn {
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: #1f2937;
  color: white;
}

.close-modal-btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 8px;
}

.ai-prompt-input {
  width: 100%;
  padding: 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
}

.ai-prompt-input:focus {
  outline: none;
  border-color: #14b8a6;
}

.tone-select,
.length-select {
  width: 100%;
  padding: 10px 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  cursor: pointer;
}

.tone-select:focus,
.length-select:focus {
  outline: none;
  border-color: #14b8a6;
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid #374151;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn.secondary {
  background: #1f2937;
  color: #d1d5db;
}

.modal-btn.secondary:hover {
  background: #374151;
}

.modal-btn.primary {
  background: #14b8a6;
  color: white;
}

.modal-btn.primary:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.connect-platform-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connect-platform-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.connect-platform-btn:hover {
  border-color: #14b8a6;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.connect-platform-btn .icon {
  width: 24px;
  height: 24px;
}

.connect-platform-btn.twitter .icon {
  color: #1da1f2;
}

.connect-platform-btn.linkedin .icon {
  color: #0077b5;
}

.connect-platform-btn.facebook .icon {
  color: #1877f2;
}

.connect-platform-btn.instagram .icon {
  color: #e1306c;
}

.connect-platform-btn.threads .icon {
  color: #ffffff;
}

.connect-platform-btn span {
  flex: 1;
}

.connect-platform-btn .arrow-icon {
  width: 20px;
  height: 20px;
  color: #6b7280;
  stroke-width: 2;
}

.comments-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #374151;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.comments-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.close-comments-btn {
  padding: 8px;
  background: transparent;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
}

.close-comments-btn:hover {
  background: #1a1f2e;
  border-color: #14b8a6;
  color: #14b8a6;
}

.close-comments-btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 12px;
  transition: all 0.2s;
}

.comment-item:hover {
  border-color: #4b5563;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  color: white;
  font-size: 14px;
}

.comment-time {
  font-size: 13px;
  color: #6b7280;
}

.comment-text {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.comment-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.comment-action-btn {
  padding: 6px 12px;
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-action-btn:hover {
  background: #374151;
  color: white;
}

.comment-action-btn.ai-reply-btn:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.comment-action-btn.manual-reply-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
}

.comment-action-btn .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.reply-box {
  margin-top: 12px;
  animation: slideDown 0.2s ease-out;
}

.reply-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s;
}

.reply-textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.reply-textarea::placeholder {
  color: #6b7280;
}

.reply-box-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}

.cancel-reply-btn,
.send-reply-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-reply-btn {
  background: transparent;
  border: 1px solid #374151;
  color: #9ca3af;
}

.cancel-reply-btn:hover {
  background: #1a1f2e;
  color: white;
}

.send-reply-btn {
  background: #14b8a6;
  border: 1px solid #14b8a6;
  color: white;
}

.send-reply-btn:hover {
  background: #0d9488;
  border-color: #0d9488;
}

.send-reply-btn:disabled {
  background: #374151;
  border-color: #374151;
  color: #6b7280;
  cursor: not-allowed;
}

.comment-reply {
  margin-top: 12px;
}

.reply-item {
  padding: 12px;
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 8px;
  border-left: 3px solid #14b8a6;
}

.reply-item.ai-generated {
  border-left-color: #8b5cf6;
}

.reply-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 4px;
  color: #8b5cf6;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.reply-item p {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   BLOG AUTOMATION PAGE - Blog Editor & Management
   ================================================ */

.blog-content {
  padding: 24px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-sidebar-section {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 20px;
}

.blog-sidebar-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.business-profiles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.business-profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.business-profile-item:hover {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.business-profile-item.active {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
}

.business-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.business-info {
  flex: 1;
  min-width: 0;
}

.business-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.business-platforms {
  font-size: 11px;
  color: #6b7280;
}

.add-business-btn,
.add-platform-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px dashed #374151;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-business-btn:hover,
.add-platform-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.add-business-btn .icon,
.add-platform-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.platform-connections-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.platform-connection-item {
  padding: 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  transition: all 0.2s;
}

.platform-connection-item:hover {
  border-color: #4b5563;
}

.platform-connection-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-badge {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.platform-badge.wordpress {
  background: #21759b;
}

.platform-badge.medium {
  background: #000000;
}

.platform-badge.devto {
  background: #0a0a0a;
}

.platform-badge.hashnode {
  background: #2962ff;
}

.platform-connection-info {
  flex: 1;
  min-width: 0;
}

.platform-connection-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.platform-connection-url {
  font-size: 11px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
  flex-shrink: 0;
}

.connection-status.active {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.recent-blogs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recent-blog-item {
  padding: 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.recent-blog-item:hover {
  border-color: #4b5563;
}

.recent-blog-title {
  font-size: 13px;
  font-weight: 500;
  color: white;
  margin-bottom: 6px;
}

.recent-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.recent-blog-status {
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.recent-blog-status.published {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.recent-blog-status.draft {
  background: rgba(107, 114, 128, 0.1);
  color: #9ca3af;
}

.recent-blog-status.scheduled {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.recent-blog-platforms {
  color: #6b7280;
}

.blog-main-area {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 24px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #374151;
}

.blog-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.blog-header-actions {
  display: flex;
  gap: 8px;
}

.blog-method-btn {
  padding: 10px 16px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-method-btn:hover {
  background: #374151;
  color: white;
}

.blog-method-btn.active {
  background: #14b8a6;
  border-color: #14b8a6;
  color: white;
}

.blog-method-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.blog-ai-section {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
}

.ai-prompt-section label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-blog-prompt {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.ai-blog-prompt:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ai-options {
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-tone-select,
.blog-length-select {
  padding: 10px 12px;
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-tone-select:focus,
.blog-length-select:focus {
  outline: none;
  border-color: #8b5cf6;
}

.generate-blog-btn {
  padding: 10px 20px;
  background: #8b5cf6;
  border: 1px solid #8b5cf6;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.generate-blog-btn:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.generate-blog-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.blog-editor-section {
  margin-bottom: 24px;
}

.blog-title-input {
  width: 100%;
  padding: 16px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.blog-title-input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.blog-meta-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-excerpt-input,
.blog-tags-input,
.blog-categories-input,
.blog-image-input {
  padding: 12px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  transition: all 0.2s;
}

.blog-excerpt-input {
  grid-column: 1 / -1;
}

.blog-excerpt-input:focus,
.blog-tags-input:focus,
.blog-categories-input:focus,
.blog-image-input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.blog-content-editor {
  width: 100%;
  min-height: 400px;
  padding: 16px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  line-height: 1.7;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.blog-content-editor:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.blog-preview-section {
  display: flex;
  justify-content: flex-end;
}

.blog-preview-btn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-preview-btn:hover {
  background: #374151;
  color: white;
}

.blog-preview-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.blog-publish-section {
  padding-top: 24px;
  border-top: 1px solid #374151;
}

.blog-publish-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0 0 16px 0;
}

.publish-platforms-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.platform-checkbox-item {
  flex: 1;
  min-width: 180px;
}

.platform-checkbox-item input[type="checkbox"] {
  display: none;
}

.platform-checkbox-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0f1419;
  border: 2px solid #374151;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
}

.platform-checkbox-item input[type="checkbox"]:checked + label {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
  color: white;
}

.platform-checkbox-item label:hover {
  border-color: #4b5563;
}

.publish-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.save-draft-btn {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.save-draft-btn:hover {
  background: #374151;
  color: white;
}

.publish-main-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.schedule-datetime-input {
  padding: 12px 16px;
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.schedule-datetime-input:focus {
  outline: none;
  border-color: #14b8a6;
}

.schedule-publish-btn {
  padding: 12px 24px;
  background: #0ea5e9;
  border: 1px solid #0ea5e9;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.schedule-publish-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.publish-now-btn {
  padding: 12px 24px;
  background: #14b8a6;
  border: 1px solid #14b8a6;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.publish-now-btn:hover {
  background: #0d9488;
  border-color: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.publish-now-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* 1024px Breakpoint - Blog Page */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
  }

  .blog-main-area {
    order: 1;
  }
}

/* ================================================
   EMAIL MARKETING PAGE - Email Campaigns & Management
   ================================================ */

.email-content {
  padding: 24px;
  min-height: 100vh;
}

.email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.email-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #f9fafb;
}

.create-campaign-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.create-campaign-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.create-campaign-btn .icon {
  width: 20px;
  height: 20px;
}

.email-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 24px;
}

.email-section {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.email-section:hover {
  border-color: #14b8a6;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #374151;
}

.section-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon .icon {
  width: 24px;
  height: 24px;
  color: white;
}

.section-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 4px;
}

.section-title p {
  font-size: 14px;
  color: #9ca3af;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.email-goal-select,
.email-tone-select,
.email-length-select {
  padding: 12px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #f9fafb;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-goal-select:hover,
.email-tone-select:hover,
.email-length-select:hover {
  border-color: #14b8a6;
}

.email-goal-select:focus,
.email-tone-select:focus,
.email-length-select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.email-prompt {
  padding: 12px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #f9fafb;
  font-size: 14px;
  font-family: inherit;
  min-height: 100px;
  resize: vertical;
  transition: all 0.3s ease;
}

.email-prompt:hover {
  border-color: #14b8a6;
}

.email-prompt:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.generate-email-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.generate-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.generate-email-btn .icon {
  width: 20px;
  height: 20px;
}

.subject-line-generator {
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 20px;
}

.subject-line-generator h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 12px;
}

.generate-subjects-btn {
  padding: 10px 16px;
  background: #1f2937;
  color: #14b8a6;
  border: 1px solid #14b8a6;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.generate-subjects-btn:hover {
  background: #14b8a6;
  color: white;
}

.subject-variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subject-variant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.subject-variant:hover {
  border-color: #14b8a6;
}

.subject-variant input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.subject-variant label {
  flex: 1;
  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;
}

.campaign-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.campaign-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.campaign-type-card:hover {
  border-color: #14b8a6;
  background: #1f2937;
  transform: translateY(-2px);
}

.campaign-type-card .icon {
  width: 32px;
  height: 32px;
  color: #14b8a6;
}

.campaign-type-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.campaign-type-card p {
  font-size: 12px;
  color: #9ca3af;
}

.active-campaigns h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 16px;
}

.campaign-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaign-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.campaign-item:hover {
  border-color: #14b8a6;
}

.campaign-info {
  flex: 1;
}

.campaign-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.campaign-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.campaign-status.paused {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.campaign-info h5 {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 4px;
}

.campaign-info p {
  font-size: 12px;
  color: #9ca3af;
}

.campaign-stats {
  display: flex;
  gap: 16px;
  align-items: center;
}

.campaign-stats .stat {
  font-size: 12px;
  color: #9ca3af;
}

.campaign-stats .stat strong {
  color: #14b8a6;
  font-size: 14px;
}

.audience-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 20px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.stat-change {
  font-size: 12px;
  font-weight: 600;
}

.stat-change.positive {
  color: #10b981;
}

.stat-change.negative {
  color: #ef4444;
}

.segment-builder h4,
.list-management h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 16px;
}

.segment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.segment-item {
  padding: 16px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.segment-item:hover {
  border-color: #14b8a6;
}

.segment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.segment-header input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.segment-header label {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.segment-header strong {
  color: #f9fafb;
  font-size: 14px;
}

.segment-count {
  color: #9ca3af;
  font-size: 12px;
}

.segment-item p {
  font-size: 12px;
  color: #9ca3af;
  margin-left: 30px;
}

.create-segment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1f2937;
  color: #14b8a6;
  border: 1px solid #14b8a6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.create-segment-btn:hover {
  background: #14b8a6;
  color: white;
}

.create-segment-btn .icon {
  width: 20px;
  height: 20px;
}

.list-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.list-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.list-action-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: #1f2937;
}

.list-action-btn .icon {
  width: 24px;
  height: 24px;
}

.performance-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-card {
  padding: 20px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 14px;
  color: #9ca3af;
}

.metric-trend {
  font-size: 12px;
  font-weight: 600;
}

.metric-trend.positive {
  color: #10b981;
}

.metric-trend.negative {
  color: #ef4444;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 12px;
}

.metric-bar {
  width: 100%;
  height: 6px;
  background: #1f2937;
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, #14b8a6 0%, #10b981 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.metric-fill.warning {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.ab-testing h4,
.ai-recommendations h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 16px;
}

.test-results {
  margin-bottom: 16px;
}

.test-item {
  padding: 20px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
}

.test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.test-header h5 {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.test-status {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.test-status.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.test-variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.variant {
  padding: 16px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
}

.variant.winner {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.05);
}

.variant-label {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 8px;
}

.variant.winner .variant-label {
  color: #14b8a6;
}

.variant-subject {
  font-size: 14px;
  color: #f9fafb;
  margin-bottom: 12px;
}

.variant-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
}

.variant-stats strong {
  color: #14b8a6;
}

.create-test-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1f2937;
  color: #14b8a6;
  border: 1px solid #14b8a6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.create-test-btn:hover {
  background: #14b8a6;
  color: white;
}

.create-test-btn .icon {
  width: 20px;
  height: 20px;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommendation-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.recommendation-item:hover {
  border-color: #14b8a6;
}

.recommendation-item .icon {
  width: 24px;
  height: 24px;
  color: #14b8a6;
  flex-shrink: 0;
}

.recommendation-content strong {
  display: block;
  font-size: 14px;
  color: #f9fafb;
  margin-bottom: 4px;
}

.recommendation-content p {
  font-size: 12px;
  color: #9ca3af;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.integration-card:hover {
  border-color: #14b8a6;
}

.integration-card.connected {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.integration-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.integration-icon.sendgrid {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.integration-icon.mailchimp {
  background: linear-gradient(135deg, #ffe01b 0%, #f9c80e 100%);
  color: #333;
}

.integration-icon.aws {
  background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
}

.integration-icon.resend {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.integration-icon.hubspot {
  background: linear-gradient(135deg, #ff7a59 0%, #ff5c35 100%);
}

.integration-icon.salesforce {
  background: linear-gradient(135deg, #00a1e0 0%, #0070d2 100%);
}

.integration-info h5 {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.integration-status {
  font-size: 12px;
  color: #9ca3af;
}

.integration-btn {
  padding: 8px 16px;
  background: #1f2937;
  color: #14b8a6;
  border: 1px solid #14b8a6;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.integration-btn:hover {
  background: #14b8a6;
  color: white;
}

.integration-card.connected .integration-btn {
  color: #10b981;
  border-color: #10b981;
}

.integration-card.connected .integration-btn:hover {
  background: #10b981;
  color: white;
}

.import-contacts h4,
.cross-channel h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 12px;
}

.import-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.import-method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.import-method-btn:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: #1f2937;
}

.import-method-btn .icon {
  width: 24px;
  height: 24px;
}

.cross-channel p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.channel-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.channel-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.channel-option:hover {
  border-color: #14b8a6;
}

.channel-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.channel-option span {
  font-size: 14px;
  color: #e5e7eb;
}

/* 1200px Breakpoint - Email Page */
@media (max-width: 1200px) {
  .email-grid {
    grid-template-columns: 1fr;
  }

  .campaign-types,
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px Breakpoint - Email Page */
@media (max-width: 768px) {
  .email-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .campaign-types,
  .integration-grid,
  .list-actions,
  .import-methods {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .performance-overview,
  .audience-stats,
  .test-variants {
    grid-template-columns: 1fr;
  }

  .campaign-item {
    flex-direction: column;
    gap: 12px;
  }

  .campaign-stats {
    align-self: flex-start;
  }
}

/* ================================================
   SMS & VOIP PAGE - SMS/VoIP Communication
   ================================================ */

.sms-voip-content {
  padding: 24px;
  background: #0f1419;
  overflow-y: auto;
  height: 100%;
}

.sms-voip-container h1 {
  font-size: 32px;
  font-weight: 700;
  color: #e7e9ea;
  margin-bottom: 32px;
}

.sms-voip-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid #2f3336;
  overflow-x: auto;
}

.sms-voip-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #71767b;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sms-voip-tab:hover {
  color: #e7e9ea;
  background: rgba(29, 155, 240, 0.1);
}

.sms-voip-tab.active {
  color: #1d9bf0;
  border-bottom-color: #1d9bf0;
}

.sms-voip-tab .icon {
  width: 20px;
  height: 20px;
}

.sms-tab-content {
  display: none;
}

.sms-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sms-voip-container h2 {
  font-size: 24px;
  font-weight: 700;
  color: #e7e9ea;
  margin-bottom: 24px;
  margin-top: 48px;
}

.communication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.comm-card {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 24px;
}

.comm-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comm-card .card-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #e7e9ea;
}

.comm-card .card-header .icon {
  width: 24px;
  height: 24px;
  color: #3ea6ff;
}

.call-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e7e9ea;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.communication-history {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 24px;
}

.history-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #2f3336;
  padding-bottom: 12px;
}

.history-tab {
  background: transparent;
  border: none;
  color: #71767b;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}

.history-tab:hover {
  background: #1e2226;
  color: #e7e9ea;
}

.history-tab.active {
  background: #3ea6ff;
  color: #fff;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #1e2226;
  transition: all 0.2s;
}

.history-item:hover {
  background: #272a2e;
}

.history-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(62, 166, 255, 0.1);
}

.history-icon svg {
  width: 24px;
  height: 24px;
  color: #3ea6ff;
}

.history-content {
  flex: 1;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.history-number {
  color: #e7e9ea;
  font-size: 15px;
  font-weight: 600;
}

.history-time {
  color: #71767b;
  font-size: 13px;
}

.history-message {
  color: #71767b;
  font-size: 14px;
  margin-bottom: 8px;
}

.history-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.history-status.delivered {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.history-status.completed {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.bulk-messaging {
  margin-top: 32px;
}

.bulk-card {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 24px;
}

.bulk-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #2f3336;
  color: #e7e9ea;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #1e2226;
  border-color: #71767b;
}

.btn-primary {
  background: #3ea6ff;
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.btn-primary:hover {
  background: #2d8fe0;
}

.btn-primary .icon {
  width: 20px;
  height: 20px;
}

/* Additional Mobile Responsive Styles */
/* 1024px Breakpoint - Social & Blog Pages */
@media (max-width: 1024px) {
  .social-content {
    flex-direction: column;
  }

  .composer-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid #374151;
    max-height: 50vh;
  }

  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .blog-meta-inputs {
    grid-template-columns: 1fr;
  }
}

/* 768px Breakpoint - Social & Blog Pages */
@media (max-width: 768px) {
  .posted-content-list {
    padding: 16px;
    gap: 12px;
  }

  .post-card {
    padding: 16px;
  }

  .post-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .post-stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  .post-actions {
    flex-direction: column;
  }

  .calendar-section {
    padding: 16px;
  }

  .calendar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .calendar-controls {
    width: 100%;
    justify-content: space-between;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .calendar-day {
    min-height: 100px;
    padding: 12px;
  }

  .day-number {
    font-size: 16px;
  }

  .post-pill {
    font-size: 11px;
    padding: 6px 10px;
  }

  .composer-panel {
    max-height: 60vh;
  }

  .composer-header,
  .connected-accounts,
  .composer-textarea-wrapper,
  .ai-suggestions,
  .media-attachments,
  .schedule-controls,
  .composer-actions {
    padding: 16px;
  }

  .account-selector {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .account-chip {
    white-space: nowrap;
  }

  .ai-suggestions {
    flex-direction: column;
  }

  .composer-actions {
    flex-direction: column;
  }

  .composer-btn {
    width: 100%;
  }

  .modal {
    padding: 16px;
  }

  .modal-content {
    max-width: 100%;
  }

  .connect-platform-list {
    gap: 8px;
  }

  .connect-platform-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .comments-section {
    margin-top: 16px;
    padding-top: 16px;
  }

  .comment-item {
    padding: 12px;
  }

  .comment-avatar {
    width: 36px;
    height: 36px;
  }

  .comment-actions {
    flex-wrap: wrap;
  }

  .blog-content {
    padding: 16px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
  }

  .blog-sidebar-section {
    min-width: 250px;
  }

  .blog-main-area {
    order: 1;
    padding: 16px;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .blog-header-actions {
    width: 100%;
  }

  .blog-method-btn {
    flex: 1;
    justify-content: center;
  }

  .ai-options {
    flex-direction: column;
  }

  .blog-tone-select,
  .blog-length-select {
    width: 100%;
  }

  .generate-blog-btn {
    width: 100%;
    margin-left: 0;
  }

  .blog-title-input {
    font-size: 20px;
    padding: 12px;
  }

  .blog-content-editor {
    min-height: 300px;
    padding: 12px;
    font-size: 14px;
  }

  .publish-platforms-selector {
    gap: 8px;
  }

  .platform-checkbox-item {
    min-width: 140px;
  }

  .publish-actions {
    flex-direction: column;
  }

  .save-draft-btn,
  .schedule-publish-btn,
  .publish-now-btn {
    width: 100%;
  }

  .publish-main-actions {
    width: 100%;
    flex-direction: column;
  }

  .schedule-datetime-input {
    width: 100%;
  }

  .email-content {
    padding: 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-icon {
    width: 40px;
    height: 40px;
  }

  .campaign-types {
    grid-template-columns: 1fr;
  }

  .sms-voip-content {
    padding: 16px;
  }

  .sms-voip-container h1 {
    font-size: 24px;
  }

  .sms-voip-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .communication-grid {
    grid-template-columns: 1fr;
  }

  .comm-card {
    padding: 16px;
  }

  .bulk-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* 480px Breakpoint - Social & Blog Pages Small Devices */
@media (max-width: 480px) {
  .post-card {
    padding: 12px;
  }

  .post-text {
    font-size: 14px;
  }

  .post-placeholder-img {
    height: 150px;
  }

  .calendar-title {
    font-size: 20px;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 80px;
    padding: 10px;
  }

  .day-number {
    font-size: 14px;
  }

  .composer-header h3 {
    font-size: 16px;
  }

  .composer-textarea {
    font-size: 13px;
  }

  .char-counter {
    font-size: 11px;
  }

  .account-chip {
    font-size: 12px;
    padding: 6px 10px;
  }

  .modal-header h3 {
    font-size: 18px;
  }

  .blog-header h2 {
    font-size: 20px;
  }

  .blog-ai-section {
    padding: 16px;
  }

  .ai-blog-prompt {
    min-height: 80px;
  }

  .blog-title-input {
    font-size: 18px;
  }

  .blog-content-editor {
    min-height: 250px;
    font-size: 13px;
  }

  .platform-checkbox-item {
    min-width: 100%;
  }

  .email-header h2 {
    font-size: 24px;
  }

  .create-campaign-btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    padding-bottom: 12px;
  }

  .section-title h3 {
    font-size: 18px;
  }

  .sms-voip-container h1 {
    font-size: 20px;
  }

  .sms-voip-container h2 {
    font-size: 20px;
    margin-top: 32px;
  }

  .sms-voip-tab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .comm-card .card-header h3 {
    font-size: 18px;
  }

  .history-item {
    padding: 12px;
  }

  .history-icon {
    width: 40px;
    height: 40px;
  }

  .history-number {
    font-size: 14px;
  }
}


.clients-container {
      padding: 2rem;
    }

    .clients-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
    }

    .clients-header h2 {
      margin: 0;
      font-size: 1.75rem;
      color: #f8fafc;
    }

    .tabs-container {
      display: flex;
      gap: 1rem;
      margin-bottom: 2rem;
      border-bottom: 2px solid #334155;
    }

    .client-tab {
      padding: 0.75rem 1.5rem;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      font-size: 1rem;
      color: #94a3b8;
      transition: all 0.2s;
    }

    .client-tab.active {
      color: #3b82f6;
      border-bottom-color: #3b82f6;
    }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
    }

    .upload-zone {
      border: 2px dashed #475569;
      border-radius: 8px;
      padding: 2rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s;
      margin-bottom: 1rem;
      background: #1e293b;
    }

    .upload-zone:hover,
    .upload-zone.dragover {
      border-color: #3b82f6;
      background: #1e3a5f;
    }

    .upload-icon {
      width: 48px;
      height: 48px;
      margin: 0 auto 1rem;
      color: #64748b;
    }

    .clients-table {
      width: 100%;
      background: #1e293b;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
      border: 1px solid #334155;
    }

    .clients-table table {
      width: 100%;
      border-collapse: collapse;
    }

    .clients-table th {
      background: #0f172a;
      padding: 1rem;
      text-align: left;
      font-weight: 600;
      color: #cbd5e1;
      border-bottom: 1px solid #334155;
    }

    .clients-table td {
      padding: 1rem;
      border-bottom: 1px solid #334155;
      color: #cbd5e1;
    }

    .clients-table tr:hover {
      background: #334155;
    }

    .client-actions {
      display: flex;
      gap: 0.5rem;
    }

    .action-btn {
      padding: 0.5rem;
      background: none;
      border: none;
      cursor: pointer;
      color: #94a3b8;
      transition: color 0.2s;
    }

    .action-btn:hover {
      color: #3b82f6;
    }

    .action-btn.delete:hover {
      color: #ef4444;
    }

    .action-btn svg {
      width: 18px;
      height: 18px;
    }

    .status-badge {
      display: inline-block;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 500;
    }

    .status-badge.active {
      background: rgba(34, 197, 94, 0.2);
      color: #4ade80;
    }

    .status-badge.inactive {
      background: rgba(239, 68, 68, 0.2);
      color: #f87171;
    }

    .status-badge.prospect {
      background: rgba(59, 130, 246, 0.2);
      color: #60a5fa;
    }

    .client-tag {
      display: inline-block;
      padding: 0.25rem 0.5rem;
      background: #334155;
      border-radius: 4px;
      font-size: 0.75rem;
      color: #94a3b8;
      margin-right: 0.25rem;
    }

    .upload-status {
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1rem;
      display: none;
    }

    .upload-status.success {
      background: rgba(34, 197, 94, 0.2);
      color: #4ade80;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .upload-status.error {
      background: rgba(239, 68, 68, 0.2);
      color: #f87171;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .empty-state {
      text-align: center;
      padding: 3rem;
      color: #64748b;
    }

    .stats-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .stat-box {
      background: #1e293b;
      padding: 1.5rem;
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
      border: 1px solid #334155;
    }

    .stat-box h4 {
      margin: 0 0 0.5rem 0;
      font-size: 0.875rem;
      color: #94a3b8;
      text-transform: uppercase;
      font-weight: 600;
    }

    .stat-box .stat-value {
      font-size: 2rem;
      font-weight: 700;
      color: #f8fafc;
    }

    .search-filter-row {
      display: flex;
      gap: 1rem;
      margin-bottom: 1.5rem;
      align-items: center;
    }

    .search-input {
      flex: 1;
      padding: 0.75rem 1rem;
      border: 1px solid #475569;
      border-radius: 8px;
      font-size: 1rem;
      background: #1e293b;
      color: #f8fafc;
    }

    .search-input::placeholder {
      color: #64748b;
    }

    .filter-select {
      padding: 0.75rem 1rem;
      border: 1px solid #475569;
      border-radius: 8px;
      font-size: 1rem;
      background: #1e293b;
      color: #f8fafc;
    }

    .card {
      background: #1e293b;
      padding: 2rem;
      border-radius: 8px;
      border: 1px solid #334155;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    .card h3 {
      margin: 0 0 1.5rem 0;
      color: #f8fafc;
    }

    .card p {
      color: #94a3b8;
    }

    .card pre {
      background: #0f172a !important;
      color: #cbd5e1;
      border: 1px solid #334155;
    }

    .card h4 {
      color: #cbd5e1;
    }

    .form-group {
      margin-bottom: 1rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      color: #cbd5e1;
      font-weight: 500;
    }

    .form-control {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid #475569;
      border-radius: 8px;
      font-size: 1rem;
      background: #0f172a;
      color: #f8fafc;
      transition: border-color 0.2s;
    }

    .form-control::placeholder {
      color: #64748b;
    }

    .form-control:focus {
      outline: none;
      border-color: #3b82f6;
    }

    .btn-primary {
      background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: opacity 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-primary:hover {
      opacity: 0.9;
    }

    .btn-secondary {
      background: #334155;
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: background 0.2s;
    }

    .btn-secondary:hover {
      background: #475569;
    }



/**************************************************  
Mobile Menu CSS
**************************************************/
@media(min-width: 1200px) {
  .mobile-menu-toggle {
    display: none;
  }
}
@media(max-width: 1199.98px) {
  .mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  padding: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  color: #14b8a6;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 
              0 2px 4px -1px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.mobile-menu-toggle.active {
  left: 184px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

.mobile-menu-toggle .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.5;
  transition: all 0.3s ease;
  position: absolute;
}


.mobile-menu-toggle .hamburger-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.mobile-menu-toggle .close-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}


.mobile-menu-toggle.active .hamburger-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.mobile-menu-toggle.active .close-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.2), 
              0 4px 6px -2px rgba(20, 184, 166, 0.1),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}


.mobile-menu-toggle:hover .icon {
  color: #10b981;
}

.mobile-menu-toggle:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.3),
              inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
}

