:root {
  /* Harmonious Dark Theme Color System (HSL) */
  --bg-primary: hsl(222, 20%, 9%);
  --bg-secondary: hsl(222, 20%, 6%);
  --sidebar-width: 260px;
  
  --glass-bg: rgba(17, 24, 39, 0.55);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover: rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
  
  /* Vibrant Accents */
  --accent: hsl(210, 100%, 60%);
  --accent-rgb: 0, 149, 255;
  --accent-glow: linear-gradient(135deg, hsl(210, 100%, 60%), hsl(265, 100%, 60%));
  
  --text-primary: hsl(210, 30%, 96%);
  --text-secondary: hsl(215, 16%, 70%);
  --text-muted: hsl(215, 12%, 50%);
  
  /* Status Colors */
  --success: hsl(145, 80%, 45%);
  --warning: hsl(38, 95%, 50%);
  --danger: hsl(352, 85%, 55%);
  
  /* Font Family */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 10% 20%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

/* App Layout Grid */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.25rem;
  flex-shrink: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-left: 0.5rem;
}

.brand-logo {
  background: var(--accent-glow);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 149, 255, 0.3);
}

.brand-logo i {
  color: #fff;
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-item i {
  width: 20px;
  height: 20px;
}

.nav-item:hover {
  color: #fff;
  background-color: var(--glass-hover);
}

.nav-item.active {
  color: #fff;
  background: rgba(0, 149, 255, 0.15);
  border: 1px solid rgba(0, 149, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 149, 255, 0.1);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Main Content Wrapper */
.main-content {
  flex-grow: 1;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  width: calc(100% - var(--sidebar-width));
}

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

#page-title {
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.text-secondary {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* General Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--accent-glow);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 149, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 149, 255, 0.4);
}

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

.btn-secondary {
  background-color: var(--glass-border);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background-color: var(--glass-hover);
}

.btn-danger-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.btn-danger-icon:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.btn-edit-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.btn-edit-icon:hover {
  color: var(--accent);
  background: rgba(0, 149, 255, 0.1);
}

/* Glassmorphic Panel/Card Setup */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  animation: fadeIn 0.4s ease-out;
}

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

/* Dashboard Panel Layout */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrapper i {
  width: 24px;
  height: 24px;
}

.plane-stat { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.pilots-stat { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }
.flights-stat { background: rgba(236, 72, 153, 0.15); color: #ec4899; border: 1px solid rgba(236, 72, 153, 0.2); }
.hours-stat { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }

.stat-data {
  display: flex;
  flex-direction: column;
}

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

.stat-value {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.15rem;
}

.dashboard-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .dashboard-details {
    grid-template-columns: 1fr;
  }
}

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

.section-header h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
}

.view-all-link {
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Grids & Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Aircraft Card Styling */
.aircraft-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.aircraft-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 149, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.ac-img-container {
  width: 100%;
  height: 160px;
  background-color: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.ac-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.ac-img-placeholder i {
  width: 44px;
  height: 44px;
  opacity: 0.5;
}

.ac-tail-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-glow);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.ac-actions-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 0.35rem;
}

.ac-btn-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(17, 24, 39, 0.8);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ac-btn-action:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ac-btn-action.btn-delete:hover {
  background: var(--danger);
  border-color: var(--danger);
}

.ac-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ac-title {
  display: flex;
  flex-direction: column;
}

.ac-name-main {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
}

.ac-type-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ac-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

.ac-substat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

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

.ac-substat-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.ac-dates {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.ac-date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-status {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-ok { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-warn { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-expired { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* Pilot Card Styling */
.pilot-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.pilot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
}

.pilot-avatar {
  width: 52px;
  height: 52px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #a855f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
}

.pilot-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.pilot-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
}

.pilot-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pilot-meta i {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.pilot-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Tables System */
.table-section {
  padding: 0;
  overflow: hidden;
}

.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 1.1rem 1.5rem;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}

.data-table td {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.data-table tbody tr {
  transition: var(--transition-fast);
}

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

.text-smaller td {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
}

.actions-col {
  text-align: right;
}

.actions-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
}

.loading-placeholder {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Alerts Panel */
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.alert-item i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.alert-danger { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: var(--danger); }
.alert-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); color: var(--warning); }

.alert-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.alert-title {
  font-weight: 600;
}

.alert-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  padding: 2rem 0;
  text-align: center;
}

.success-icon {
  color: var(--success);
  width: 36px;
  height: 36px;
  opacity: 0.8;
}

/* Modals Overlay styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.glass-modal {
  background: rgba(20, 27, 43, 0.95);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 2rem;
}

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

.modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Modal Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 1.25rem;
  width: 100%;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
select {
  background: rgba(10, 15, 26, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  width: 100%;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 149, 255, 0.15);
}

.card-checkbox-row {
  align-items: center;
  gap: 2rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2000;
}

.toast {
  background: rgba(20, 27, 43, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 250px;
}

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

.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--danger); }
.toast.toast-info { border-left: 4px solid var(--accent); }

/* Utilities */
.hidden {
  display: none !important;
}

/* Responsive Scaling Rules */
@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.25rem;
  }
  
  .brand {
    margin-bottom: 1rem;
  }
  
  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  
  .nav-item {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
  }
  
  .main-content {
    width: 100%;
    padding: 1.5rem;
  }
  
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .header-actions {
    width: 100%;
  }
  
  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   GOOGLE AUTHENTICATION SCREEN
   ========================================== */
.login-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  transition: var(--transition-smooth);
}

.login-card {
  width: 90%;
  max-width: 440px;
  text-align: center;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.login-logo-wrapper {
  margin-bottom: 0.5rem;
}

.login-logo-wrapper .brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.login-logo-wrapper .brand-logo i {
  width: 32px;
  height: 32px;
}

.login-card h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.btn-google {
  background-color: #fff !important;
  color: #1e293b !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding: 0.8rem 1.5rem !important;
  width: 100%;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  transition: var(--transition-fast) !important;
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
  background-color: #f8fafc !important;
}

.google-icon {
  flex-shrink: 0;
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
  line-height: 1.4;
}

/* Sidebar User Info Section */
.sidebar-user {
  margin-top: auto;
  margin-bottom: 1rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 149, 255, 0.3);
  background-color: var(--bg-primary);
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-grow: 1;
  overflow: hidden;
}

.user-name-text {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 135px;
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-logout:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.btn-logout i {
  width: 18px;
  height: 18px;
}

/* Gap Row styling */
.gap-row td {
  color: var(--danger) !important;
  font-style: italic;
}

