/* Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Global Root Variables */
:root {
  --primary-gold: #14B8A6;
  --secondary-gold: #0D9488;
  --gold-gradient: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
  --bg-dark: #0F172A;
  --panel-dark: #1E293B;
  --card-bg: rgba(30, 41, 59, 0.7);
  --border-color: rgba(20, 184, 166, 0.15);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-gold: #14B8A6;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Outfit', sans-serif;
  --shadow-glow: 0 0 15px rgba(20, 184, 166, 0.2);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Core Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  height: 100vh;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 4px;
}

/* Login Page Styles */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: radial-gradient(circle at center, #1b263b 0%, #080c14 100%);
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--panel-dark);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  text-align: center;
}

.login-logo {
  height: 90px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.3));
}

.login-card h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-gold);
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.login-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-gold);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-smooth);
}

select.form-input {
  background-color: #1E293B !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

select.form-input option {
  background-color: #1E293B !important;
  color: #F8FAFC !important;
  padding: 8px;
}

input[type="date"].form-input {
  background-color: #1E293B !important;
  border: 1.5px solid #14B8A6 !important;
  color: #14B8A6 !important;
  padding: 9px 16px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(330deg);
  cursor: pointer;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: var(--gold-gradient);
  color: #1E293B;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(20, 184, 166, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(20, 184, 166, 0.4), var(--shadow-glow);
}

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

.login-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 15px;
  display: none;
}

/* Dashboard Portal Layout */
.portal-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar Navigation */
.sidebar {
  width: 260px;
  background: var(--panel-dark);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-shrink: 0;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.sidebar-logo {
  height: 60px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 4px rgba(20, 184, 166, 0.2));
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-gold);
  font-weight: 600;
  text-align: center;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.menu-item a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: var(--transition-smooth);
}

.menu-item a i {
  margin-right: 12px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.menu-item a:hover, .menu-item.active a {
  color: var(--text-gold);
  background: rgba(20, 184, 166, 0.05);
  border-left-color: var(--primary-gold);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
}

.logout-btn {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  justify-content: center;
  transition: var(--transition-smooth);
}

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

.logout-btn i {
  margin-right: 8px;
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 40px;
  background: radial-gradient(circle at top right, #101625 0%, #060910 100%);
}

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

.content-header h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-gold);
}

.admin-badge {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--text-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* Portal Views (Tabs) */
.portal-view {
  display: none;
  animation: fadeIn 0.4s ease;
}

.portal-view.active {
  display: block;
}

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

/* Grid layout for Dashboard */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--text-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 20px;
}

.metric-info h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-info p {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-serif);
}

/* Dashboard Sections */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.dashboard-panel {
  background: var(--panel-dark);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
  padding-bottom: 12px;
}

.panel-header h2 {
  font-family: var(--font-serif);
  color: var(--text-gold);
  font-size: 22px;
  font-weight: 600;
}

/* Tables styling */
.table-container {
  overflow-x: auto;
  width: 100%;
}

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

.data-table th {
  padding: 14px 16px;
  border-bottom: 2px solid rgba(20, 184, 166, 0.2);
  color: var(--text-gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: #e5e7eb;
}

.data-table tr:hover td {
  background: rgba(20, 184, 166, 0.02);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.badge-pending {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--warning);
}

.badge-completed {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.badge-missed {
  background: rgba(239, 108, 108, 0.1);
  border: 1px solid rgba(239, 108, 108, 0.3);
  color: var(--danger);
}

/* Action icons */
.action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
  transition: var(--transition-smooth);
}

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

.action-btn.complete:hover {
  color: var(--success);
}

.action-btn.reschedule:hover {
  color: var(--warning);
}

/* Forms layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.proc-config-row, .deal-config-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid rgba(20, 184, 166, 0.15);
  transition: all 0.2s ease;
  margin-bottom: 5px;
}

.deal-config-row {
  grid-template-columns: 3fr 1fr;
}

.proc-config-row:hover, .deal-config-row:hover {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Checkboxes for Deals selection */
.deals-selection-container {
  border: 1px solid rgba(20, 184, 166, 0.15);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
  max-height: 200px;
  overflow-y: auto;
}

.selection-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-label input {
  margin-right: 10px;
  accent-color: var(--primary-gold);
  width: 16px;
  height: 16px;
}

/* Patient ID generation block */
.id-generator-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

/* Billing specific layouts */
.billing-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
}

.invoice-preview-panel {
  background: #0e1420;
  border: 1px dashed var(--primary-gold);
  border-radius: 12px;
  padding: 24px;
}

.invoice-header {
  text-align: center;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.invoice-header img {
  height: 50px;
  margin-bottom: 8px;
}

.invoice-header h3 {
  font-family: var(--font-serif);
  color: var(--text-gold);
}

.invoice-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.invoice-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  min-height: 80px;
}

.invoice-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.invoice-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.invoice-summary-row {
  display: flex;
  justify-content: space-between;
}

.invoice-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-gold);
  border-top: 1px solid rgba(20, 184, 166, 0.3);
  padding-top: 8px;
  margin-top: 8px;
}

/* Feedbacks layout */
.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
}

.feedback-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.feedback-patient-info h4 {
  color: var(--text-gold);
  font-size: 16px;
}

.feedback-patient-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.feedback-category {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.fb-appreciation {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.fb-suggestion {
  background: rgba(20, 184, 166, 0.1);
  color: var(--warning);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.stars-container {
  color: #fbbf24;
  font-size: 14px;
  margin-bottom: 8px;
}

.feedback-comment {
  font-size: 14px;
  color: #F8FAFC;
  font-style: italic;
}

/* Deals Management Grid */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.deal-card {
  background: var(--panel-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.deal-card-title {
  font-family: var(--font-serif);
  color: var(--text-gold);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.deal-card-price {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.deal-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.deal-card-procs {
  margin-bottom: 20px;
}

.deal-card-procs span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.deal-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.deal-card-actions button {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--text-gold);
  cursor: pointer;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(20, 184, 166, 0.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  cursor: pointer;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

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

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--panel-dark);
  border: 1px solid var(--primary-gold);
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-family: var(--font-serif);
  color: var(--text-gold);
  font-size: 22px;
  margin-bottom: 20px;
}

/* Notifications toast */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1E293B;
  border-left: 4px solid var(--primary-gold);
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.feedback-filter-btn {
  width: auto !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
}

/* Rescheduling Notifications Styles */
.notification-bell-container {
  position: relative;
  display: inline-block;
}

.notif-bell-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-bell-btn:hover {
  color: var(--text-gold);
  background: rgba(20, 184, 166, 0.05);
}

.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: #fff;
  border-radius: 50%;
  padding: 2px 5px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.notif-dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  width: 320px;
  background: #111622;
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 1000;
  overflow: hidden;
  animation: slideDownFade 0.25s ease-out;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(20, 184, 166, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-dropdown-header h4 {
  margin: 0;
  font-size: 13px;
  color: var(--text-gold);
  font-weight: 600;
}

.btn-clear-all-notifs {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-clear-all-notifs:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

.notif-dropdown-list {
  max-height: 280px;
  overflow-y: auto;
}

.notif-empty-state {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

.notif-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
  position: relative;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.notif-item.unread {
  background: rgba(20, 184, 166, 0.02);
}

.notif-item-message {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.4;
  padding-right: 24px;
}

.notif-item-time {
  font-size: 10px;
  color: var(--text-muted);
}

.btn-dismiss-notif {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: all 0.15s;
}

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

/* Reschedule request glow animation for session rows */
@keyframes reschedGlow {
  from { box-shadow: inset 0 0 0 1px rgba(20,184,166,0.2); }
  to   { box-shadow: inset 0 0 0 1px rgba(20,184,166,0.7), 0 0 12px rgba(20,184,166,0.25); }
}

/* Custom Autocomplete Select Dropdown */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.custom-select-trigger:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--panel-dark);
  border: 1px solid var(--primary-gold);
  border-radius: 8px;
  margin-top: 5px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  max-height: 300px;
  display: flex;
  flex-direction: column;
}

.custom-select-options {
  overflow-y: auto;
  flex-grow: 1;
}

.custom-select-option {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.custom-select-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-gold);
}

.custom-select-option.selected {
  background: rgba(20, 184, 166, 0.15);
  color: var(--text-gold);
  font-weight: 700;
}


