@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* =========================================================================
   INSIGHT COACHING LATAM — ENTERPRISE EXECUTIVE DESIGN SYSTEM
   Modern, corporate, non-AI aesthetic with authentic luxury polish.
   ========================================================================= */

:root {
  /* Brand Luxury Metals */
  --gold-50: #fbf8f0;
  --gold-100: #f5eedb;
  --gold-200: #e8d9af;
  --gold-300: #dcc282;
  --gold-400: #d4af37;
  --gold-500: #c59b5f;
  --gold-600: #aa8144;
  --gold-700: #8c6a38;
  --gold-800: #6a4f27;
  --gold-glow: rgba(212, 175, 55, 0.22);
  --gold-border: rgba(197, 155, 95, 0.28);
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #c59b5f 50%, #9a783e 100%);
  --gold-gradient-hover: linear-gradient(135deg, #e5c35b 0%, #d4a96a 50%, #ad8646 100%);

  /* Deep Corporate Slate & Obsidian */
  --bg-darkest: #060911;
  --bg-main: #0a0e1a;
  --bg-surface: #0f1626;
  --bg-surface-elevated: #151e33;
  --bg-surface-hover: #1b2640;
  --bg-glass: rgba(15, 22, 38, 0.88);

  /* Borders & Dividers */
  --border-color: #212c45;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(212, 175, 55, 0.35);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #e2c174;

  /* Executive Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.28);
  --primary-subtle: rgba(37, 99, 235, 0.12);

  --accent: #3b82f6;
  --success: #10b981;
  --success-subtle: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-subtle: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-subtle: rgba(239, 68, 68, 0.12);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Shapes & Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.5), 0 2px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.6), 0 6px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 6px 20px -2px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px -4px rgba(0,0,0,0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   Base & Resets
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(197, 155, 95, 0.05) 0%, transparent 45%);
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-200);
}

img, svg {
  vertical-align: middle;
}

/* =========================================================================
   Custom Scrollbar
   ========================================================================= */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #253350;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #394b72;
}

/* =========================================================================
   App Shell & Layout
   ========================================================================= */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* -------------------------------------------------------------------------
   Sidebar Navigation
   ------------------------------------------------------------------------- */
.sidebar {
  width: 275px;
  min-width: 275px;
  background-color: var(--bg-main);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  transition: transform var(--transition-smooth), width var(--transition-smooth);
}

.sidebar-header {
  padding: 1.35rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-emblem {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #182236 0%, #0d1322 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(212, 175, 55, 0.3);
  transition: transform var(--transition-normal);
}

.brand-emblem svg {
  width: 22px;
  height: 22px;
  color: var(--gold-400);
}

.logo-link:hover .brand-emblem {
  transform: scale(1.04);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-text h1 span {
  color: var(--gold-400);
}

.logo-text .badge-latam {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.sidebar-nav {
  padding: 1.25rem 0.85rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-heading {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  padding: 0.75rem 0.65rem 0.35rem;
  margin-top: 0.6rem;
}

.nav-heading:first-child {
  margin-top: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.nav-link svg, .nav-link i {
  width: 18px;
  height: 18px;
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover {
  background-color: var(--bg-surface-elevated);
  color: #ffffff;
}

.nav-link:hover svg, .nav-link:hover i {
  color: var(--gold-400);
}

.nav-link.active {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
  color: #ffffff;
  font-weight: 600;
  border-left: 3px solid var(--gold-400);
  padding-left: calc(0.85rem - 3px);
}

.nav-link.active svg, .nav-link.active i {
  color: var(--gold-400);
}

.nav-link-badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-300);
  font-weight: 600;
}

.sidebar-footer {
  padding: 1rem 0.85rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid var(--gold-border);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.user-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background-color: var(--success);
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.user-logout-btn {
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-logout-btn:hover {
  color: var(--danger);
  background: var(--danger-subtle);
}

/* -------------------------------------------------------------------------
   Main Wrapper & Top Navbar
   ------------------------------------------------------------------------- */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--bg-darkest);
}

.top-navbar {
  height: 64px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidebar-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sidebar-toggle-btn:hover {
  color: #fff;
  border-color: var(--gold-border);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
}

.breadcrumb-item {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-item:hover {
  color: #fff;
}

.breadcrumb-separator {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

.navbar-search {
  position: relative;
  width: 320px;
}

.navbar-search-input {
  width: 100%;
  padding: 0.48rem 0.85rem 0.48rem 2.2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.navbar-search-input:focus {
  outline: none;
  border-color: var(--gold-400);
  background-color: var(--bg-surface-elevated);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.navbar-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.latam-time-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.latam-time-pill .dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold-400);
}

.content-body {
  padding: 1.75rem;
  flex: 1;
}

/* =========================================================================
   Typography & Headers
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* =========================================================================
   Executive Cards
   ========================================================================= */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.card-gold-accent {
  position: relative;
}

.card-gold-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.card-header {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.card-body {
  padding: 1.4rem;
}

.card-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================================
   Stat Metric KPI Cards
   ========================================================================= */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.06), transparent 70%);
  pointer-events: none;
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--gold-400);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.72rem;
}

.stat-badge-success {
  background: var(--success-subtle);
  color: var(--success);
}

.stat-badge-info {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.stat-badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-300);
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.58rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.25;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b0f19;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(197, 155, 95, 0.35);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  color: #000;
  box-shadow: 0 4px 14px rgba(197, 155, 95, 0.5);
}

.btn-sapphire {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.btn-sapphire:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-400);
  color: #ffffff;
}

.btn-danger {
  background: var(--danger-subtle);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: #ffffff;
}

.btn-sm {
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* =========================================================================
   Form Controls
   ========================================================================= */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  letter-spacing: 0.2px;
}

.form-label .req {
  color: var(--gold-400);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.95rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  background-color: #1a253d;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form-control::placeholder {
  color: var(--text-dim);
}

textarea.form-control {
  min-height: 85px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
  padding-right: 2.2rem;
}

.form-hint {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  display: block;
}

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-group-append .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: none;
}

/* =========================================================================
   Data Tables
   ========================================================================= */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.custom-table th {
  padding: 0.85rem 1.15rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.custom-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  color: var(--text-secondary);
  vertical-align: middle;
}

.custom-table tbody tr {
  transition: background-color var(--transition-fast);
}

.custom-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

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

/* =========================================================================
   Badges & Status
   ========================================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-success {
  background: var(--success-subtle);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.badge-success .badge-dot { background-color: #10b981; }

.badge-danger {
  background: var(--danger-subtle);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.badge-danger .badge-dot { background-color: #ef4444; }

.badge-warning {
  background: var(--warning-subtle);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.badge-warning .badge-dot { background-color: #f59e0b; }

.badge-gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-300);
  border: 1px solid var(--gold-border);
}
.badge-gold .badge-dot { background-color: var(--gold-400); }

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* =========================================================================
   Alerts & Notifications
   ========================================================================= */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* =========================================================================
   Modals
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  animation: modalScaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* =========================================================================
   Executive Directory Grid View (Cards Showcase)
   ========================================================================= */
.cards-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.35rem;
}

.exec-card-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.exec-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.exec-card-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.exec-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.exec-card-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--gold-border);
  background-color: var(--bg-surface-elevated);
  flex-shrink: 0;
}

.exec-card-avatar-placeholder {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #182236 0%, #0d1322 100%);
  border: 2px solid var(--gold-border);
  color: var(--gold-300);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exec-card-info {
  flex: 1;
  min-width: 0;
}

.exec-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.exec-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.exec-card-dept {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.exec-card-slug {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.4rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.exec-card-slug code {
  color: #93c5fd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exec-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

/* =========================================================================
   Live Mobile Mockup Simulator (In Form Editor)
   ========================================================================= */
.form-split-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.75rem;
  align-items: flex-start;
}

.phone-mockup-wrapper {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background-color: #030405;
  border: 10px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background-color: #1e293b;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1rem 1rem;
  color: #fff;
  font-family: var(--font-sans);
  background-color: #07090b;
}

.phone-screen::-webkit-scrollbar {
  width: 3px;
}

/* =========================================================================
   Interactive Builders (Services & Socials)
   ========================================================================= */
.builder-box {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.builder-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.5rem;
}

.builder-item .form-control {
  background-color: var(--bg-surface-elevated);
  padding: 0.4rem 0.6rem;
  font-size: 0.82rem;
}

.builder-item-remove {
  color: var(--danger);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 1rem;
}

.builder-item-remove:hover {
  background: var(--danger-subtle);
}

/* =========================================================================
   Toast Notifications
   ========================================================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast-item {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* =========================================================================
   Responsive Breakpoints
   ========================================================================= */
@media (max-width: 1080px) {
  .form-split-grid {
    grid-template-columns: 1fr;
  }
  .phone-mockup-wrapper {
    display: none;
  }
}

@media (max-width: 860px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.7);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99;
    display: none;
  }
  .sidebar-backdrop.active {
    display: block;
  }
  .sidebar-toggle-btn {
    display: flex;
  }
  .navbar-search {
    display: none;
  }
  .content-body {
    padding: 1.15rem;
  }
}
