:root {
  /* Akku Brand Colors */
  --lavender: #F2E7FF;
  --violet: #8D58FE;
  --ultramarine: #2F1298;
  --ink: #02001A;
  --coral: #FF7F50;
  --sea: #0ABAB5;

  /* Dark Theme */
  --bg-primary: #0A0820;
  --bg-secondary: #120E2E;
  --bg-tertiary: #1A1540;
  --surface: rgba(242, 231, 255, 0.06);
  --surface-hover: rgba(242, 231, 255, 0.12);
  --border: rgba(242, 231, 255, 0.14);
  --text-primary: #F7F2FF;
  --text-secondary: rgba(247, 242, 255, 0.75);
  --text-muted: rgba(247, 242, 255, 0.55);

  /* Glassmorphism */
  --glass-bg: rgba(18, 14, 46, 0.75);
  --glass-border: rgba(242, 231, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  --glass-blur: blur(12px);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.45);

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Georama', 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 15% 20%, rgba(141, 88, 254, 0.15), transparent 50%),
    radial-gradient(circle at 85% 10%, rgba(242, 231, 255, 0.08), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(10, 186, 181, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(242, 231, 255, 0.28);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

/* ===== LOGIN PAGE ===== */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.login-box {
  width: 100%;
  max-width: 480px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.login-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(141, 88, 254, 0.08), transparent 70%);
  pointer-events: none;
}

.login-logo {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.login-logo img {
  height: 56px;
  margin-bottom: 16px;
}

.login-logo h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary), rgba(141, 88, 254, 0.95));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-logo p {
  color: var(--text-muted);
  font-size: 14px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
}

.tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab.active {
  background: linear-gradient(135deg, rgba(141, 88, 254, 0.35), rgba(47, 18, 152, 0.25));
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(141, 88, 254, 0.25);
}

.tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(141, 88, 254, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

select.form-input {
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--surface-hover);
  border-color: rgba(242, 231, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--ultramarine));
  border-color: rgba(242, 231, 255, 0.25);
  box-shadow: 0 8px 24px rgba(141, 88, 254, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(141, 88, 254, 0.45);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, var(--sea), #088884);
  border-color: rgba(10, 186, 181, 0.35);
  box-shadow: 0 8px 24px rgba(10, 186, 181, 0.25);
}

.btn-success:hover {
  box-shadow: 0 12px 32px rgba(10, 186, 181, 0.35);
}

.btn-danger {
  background: linear-gradient(135deg, var(--coral), #E65F35);
  border-color: rgba(255, 127, 80, 0.35);
  box-shadow: 0 8px 24px rgba(255, 127, 80, 0.25);
}

.btn-danger:hover {
  box-shadow: 0 12px 32px rgba(255, 127, 80, 0.35);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== HEADER/NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand img {
  height: 42px;
}

.navbar-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

.navbar-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

/* ===== DASHBOARD LAYOUT ===== */
.dashboard {
  padding: 32px 0 64px;
}

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dashboard-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--sea));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(242, 231, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: rgba(141, 88, 254, 0.15);
  border: 1px solid rgba(141, 88, 254, 0.25);
}

.stat-icon.teal {
  background: rgba(10, 186, 181, 0.15);
  border-color: rgba(10, 186, 181, 0.25);
}

.stat-icon.coral {
  background: rgba(255, 127, 80, 0.15);
  border-color: rgba(255, 127, 80, 0.25);
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary), rgba(141, 88, 254, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== ACCOUNT CARDS ===== */
.accounts-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.account-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.account-card:hover {
  border-color: rgba(10, 186, 181, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.account-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.tier-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tier-a {
  background: rgba(10, 186, 181, 0.2);
  border: 1px solid rgba(10, 186, 181, 0.35);
  color: #0ABAB5;
}

.tier-b {
  background: rgba(141, 88, 254, 0.2);
  border: 1px solid rgba(141, 88, 254, 0.35);
  color: #8D58FE;
}

.tier-c {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-secondary);
}

.account-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.account-field-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.account-field-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.account-notes {
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--surface-hover);
  transform: rotate(90deg);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  margin: 20px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.progress-bar {
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--sea));
  border-radius: 999px;
  transition: width var(--transition-slow);
  box-shadow: 0 0 12px rgba(141, 88, 254, 0.5);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  min-width: 300px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast.success {
  border-left: 4px solid var(--sea);
}

.toast.error {
  border-left: 4px solid var(--coral);
}

.toast.info {
  border-left: 4px solid var(--violet);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .login-box {
    padding: 32px 24px;
  }

  .dashboard {
    padding: 24px 0 48px;
  }

  .dashboard-header h1 {
    font-size: 24px;
  }

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

  .navbar-title {
    font-size: 16px;
  }

  .navbar-subtitle {
    display: none;
  }

  .modal {
    padding: 24px;
  }

  .account-details {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== TABLE ===== */
.table-container {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

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

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

.badge-success {
  background: rgba(10, 186, 181, 0.15);
  border-color: rgba(10, 186, 181, 0.35);
  color: var(--sea);
}

.badge-warning {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.35);
  color: #FFC107;
}

.badge-danger {
  background: rgba(255, 127, 80, 0.15);
  border-color: rgba(255, 127, 80, 0.35);
  color: var(--coral);
}

.badge-info {
  background: rgba(141, 88, 254, 0.15);
  border-color: rgba(141, 88, 254, 0.35);
  color: var(--violet);
}

/* Status Badge Colors */
.badge-active {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.35);
  color: #4CAF50;
  font-weight: 600;
}

.badge-inactive {
  background: rgba(158, 158, 158, 0.15);
  border-color: rgba(158, 158, 158, 0.35);
  color: #9E9E9E;
  font-weight: 600;
}

.badge-suspended {
  background: rgba(244, 67, 54, 0.15);
  border-color: rgba(244, 67, 54, 0.35);
  color: #F44336;
  font-weight: 600;
}

.badge-contacted {
  background: rgba(33, 150, 243, 0.15);
  border-color: rgba(33, 150, 243, 0.35);
  color: #2196F3;
  font-weight: 600;
}

.badge-demo_scheduled {
  background: rgba(255, 152, 0, 0.15);
  border-color: rgba(255, 152, 0, 0.35);
  color: #FF9800;
  font-weight: 600;
}

.badge-deal_closed {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.35);
  color: #4CAF50;
  font-weight: 600;
}

.badge-lost {
  background: rgba(244, 67, 54, 0.15);
  border-color: rgba(244, 67, 54, 0.35);
  color: #F44336;
  font-weight: 600;
}

.badge-archived {
  background: rgba(96, 125, 139, 0.15);
  border-color: rgba(96, 125, 139, 0.35);
  color: #607D8B;
  font-weight: 600;
}

/* ===== PLAYBOOK VIEWER ===== */
.playbook-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}

.playbook-sidebar {
  position: sticky;
  top: 92px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.playbook-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.playbook-sidebar-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.playbook-nav {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}

.playbook-nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition-base);
}

.playbook-nav-item:hover {
  background: rgba(141, 88, 254, 0.15);
  border-color: rgba(242, 231, 255, 0.3);
  transform: translateX(4px);
}

.playbook-nav-item.active {
  background: linear-gradient(135deg, rgba(141, 88, 254, 0.35), rgba(47, 18, 152, 0.25));
  border-color: rgba(242, 231, 255, 0.4);
  box-shadow: 0 4px 12px rgba(141, 88, 254, 0.25);
}

.playbook-nav-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(141, 88, 254, 0.2);
  border: 1px solid rgba(141, 88, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.playbook-nav-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.playbook-content {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.playbook-section {
  padding: 32px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.playbook-section:last-child {
  border-bottom: none;
}

.playbook-section-header {
  margin-bottom: 24px;
}

.playbook-section-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(141, 88, 254, 0.15);
  border: 1px solid rgba(141, 88, 254, 0.3);
  color: var(--violet);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.playbook-section-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.playbook-section-body {
  color: var(--text-secondary);
  line-height: 1.7;
}

.playbook-section-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text-primary);
}

.playbook-section-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--text-primary);
}

.playbook-section-body p {
  margin: 12px 0;
}

.playbook-section-body ul,
.playbook-section-body ol {
  margin: 12px 0;
  padding-left: 24px;
}

.playbook-section-body li {
  margin: 8px 0;
}

.playbook-section-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.playbook-section-body em {
  color: var(--text-muted);
  font-style: italic;
}

.playbook-section-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}

.playbook-navigation-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgba(141, 88, 254, 0.2);
}

.playbook-navigation-controls .btn {
  flex: 1;
  max-width: 220px;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .playbook-container {
    grid-template-columns: 1fr;
  }

  .playbook-sidebar {
    position: relative;
    top: 0;
    max-height: none;
  }

  .playbook-section {
    padding: 20px;
  }
}

/* Account Cards */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.account-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.account-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--violet);
  transform: translateY(-2px);
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.account-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.account-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.account-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-field {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.account-field-label {
  color: var(--text-muted);
  font-weight: 500;
}

.tier-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-a, .tier-badge.tier-a {
  background: rgba(10, 186, 181, 0.2);
  border: 1px solid rgba(10, 186, 181, 0.35);
  color: #0ABAB5;
}

.tier-b, .tier-badge.tier-b {
  background: rgba(141, 88, 254, 0.2);
  border: 1px solid rgba(141, 88, 254, 0.35);
  color: #8D58FE;
}

.tier-c, .tier-badge.tier-c {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-secondary);
}

/* List Items */
.list-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--violet);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: -16px;
  padding: 16px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table thead {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 2px solid var(--border);
}

.table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.table tbody tr {
  transition: all var(--transition-base);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

/* Badge Variants */
.badge-strong {
  background: rgba(10, 186, 181, 0.2);
  color: #0ABAB5;
}

.badge-medium {
  background: rgba(255, 193, 7, 0.2);
  color: #FFC107;
}

.badge-weak {
  background: rgba(255, 82, 82, 0.2);
  color: #FF5252;
}

.badge-contacted {
  background: rgba(3, 169, 244, 0.2);
  color: #03A9F4;
}

.badge-demo_scheduled {
  background: rgba(156, 39, 176, 0.2);
  color: #9C27B0;
}

.badge-deal_closed {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.badge-lost {
  background: rgba(158, 158, 158, 0.2);
  color: #9E9E9E;
}

.badge-archived {
  background: rgba(96, 96, 96, 0.2);
  color: #606060;
}

