/* ═══════════════════════════════════════════
   LED Admin Pro — style.css
   THEME: Light / White-Yellowish (User Matched)
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Exo+2:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ── Variables ── */
:root {
  /* Admin specific */
  --bs-body-bg:        #F7F6F0;
  --bs-body-color:     #1A1710;
  --dark-card:         #FFFFFF;
  --dark-secondary:    #F0EDE4;
  --dark-border:       #E8E0C8;
  --dark-border2:      #D4C890;
  --text-muted-custom: #6B6040;
  --sidebar-width:     260px;

  /* User matched variables */
  --bg-primary:    #F7F6F0;
  --bg-card:       #FFFFFF;
  --bg-secondary:  #F0EDE4;
  --border:        #E8E0C8;
  --border2:       #D4C890;
  --accent-blue:   #B8860B;
  --accent-cyan:   #9A6F00;
  --accent-green:  #1a8a4a;
  --accent-red:    #cc2244;
  --accent-yellow: #C8900A;
  --accent-purple: #9A6F00;
  --text-primary:  #1A1710;
  --text-muted:    #6B6040;
  --text-sub:      #A09070;
  --font-display:  'Rajdhani', sans-serif;
  --font-body:     'Exo 2', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;
  --radius:        10px;
  --radius-sm:     6px;
  --radius-lg:     16px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ── Typography ── */
.font-raj { font-family: var(--font-display); }
.mono     { font-family: var(--font-mono); }

/* ════════════════════════════
   SIDEBAR
════════════════════════════ */
#sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  min-height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  transition: transform .3s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 2px 0 12px rgba(180,140,0,0.07);
}
.sidebar-header {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}
.sidebar-header img {
  max-width: 140px;
  height: auto;
  display: block;
}
.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 12px;
  flex-wrap: nowrap;
}
.sidebar-user {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  margin-top: auto;
  flex-shrink: 0;
  min-width: 0;
  width: 100%;
}
.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.sidebar-user-meta {
  flex: 1 1 auto;
  min-width: 0;
}
.sidebar-user-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-user-role {
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-logout-form {
  flex: 0 0 auto;
  margin: 0;
}
.sidebar-logout-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.sidebar-logout-btn:hover {
  background: #1A1710;
  border-color: #C8900A;
  color: #FFD700;
}
#sidebar .nav-item {
  width: 100%;
  min-width: 0;
}
#sidebar .nav-link {
  color: var(--text-muted);
  font-size: .83rem;
  padding: 9px 16px;
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}
#sidebar .nav-link:hover  { background: rgba(30,25,10,0.82); color: #fff; }
#sidebar .nav-link.active {
  background: #1A1710;
  color: #FFD700;
  border-left-color: #C8900A;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
#sidebar .nav-link i {
  width: 18px;
  flex: 0 0 18px;
  font-size: 1rem;
  text-align: center;
}
#sidebar .nav-link-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
#sidebar .nav-section {
  font-size: .6rem;
  color: #A09070;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 10px 16px 4px;
  font-weight: 600;
}
.sidebar-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  flex-shrink: 0;
}
.nav-badge {
  margin-left: auto;
  background: var(--accent-red);
  color: #fff;
  font-size: .6rem;
  border-radius: 10px;
  padding: 1px 6px;
  font-weight: 700;
  flex: 0 0 auto;
}
#sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 1040;
}

/* Mobile sidebar */
@media (max-width: 991.98px) {
  #sidebar { position: fixed; top: 0; left: 0; bottom: 0; transform: translateX(-100%); }
  #sidebar.show { transform: translateX(0); }
  #sidebar-overlay.show { display: block; }
  #main-wrapper { margin-left: 0 !important; }
}
@media (min-width: 992px) {
  #sidebar { position: fixed; top: 0; left: 0; bottom: 0; }
  #main-wrapper { margin-left: var(--sidebar-width); }
}

/* ════════════════════════════
   TOPBAR
════════════════════════════ */
.topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  height: 54px;
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 0 16px; gap: 10px;
  box-shadow: 0 2px 8px rgba(180,140,0,0.06);
}

/* ════════════════════════════
   CARDS
════════════════════════════ */
.card-dark {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(180,140,0,0.06);
}
.card-dark:hover { border-color: var(--border2); box-shadow: 0 4px 20px rgba(180,140,0,0.12); }
.stat-icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}

/* ════════════════════════════
   TABLES
════════════════════════════ */
.table {
  --bs-table-bg: transparent !important;
  --bs-table-color: var(--text-primary) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: rgba(180,140,0,0.05) !important;
  --bs-table-border-color: var(--border) !important;
  color: var(--text-primary) !important;
}
.table > :not(caption) > * > * {
  background-color: transparent !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}
.table thead > tr > * {
  background: var(--bg-secondary) !important;
  color: var(--text-muted) !important;
  border-color: var(--border) !important;
}
.table tbody tr:hover > * {
  background-color: rgba(180,140,0,0.05) !important;
}

.tbl thead th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-color: var(--border);
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 14px;
}
.tbl td {
  font-size: .82rem;
  color: var(--text-primary);
  border-color: var(--border);
  vertical-align: middle;
  padding: 11px 14px;
}
.tbl tbody tr:hover td { background: rgba(180,140,0,0.04); }
.tbl tbody tr { cursor: pointer; }

/* ════════════════════════════
   BADGES
════════════════════════════ */
.badge-active   { background: rgba(26,138,74,.12)  !important; color: var(--accent-green)  !important; }
.badge-inactive { background: rgba(204,34,68,.10)  !important; color: var(--accent-red)    !important; }
.badge-pending  { background: rgba(200,144,10,.12) !important; color: var(--accent-yellow) !important; }
.badge-done     { background: rgba(184,134,11,.14) !important; color: var(--accent-cyan)   !important; }
.badge-confirmed { background: rgba(33,150,243,.12) !important; color: #2196f3 !important; }
.badge-approved  { background: rgba(156,39,176,.12) !important; color: #9c27b0 !important; }
.badge-hold      { background: rgba(255,152,0,.14)  !important; color: #ff9800 !important; }
.badge-offline  { background: rgba(204,34,68,.10)  !important; color: var(--accent-red)    !important; }
.badge-overdue  { background: rgba(204,34,68,.12)  !important; color: var(--accent-red)    !important; }
.badge-paid     { background: rgba(26,138,74,.12)  !important; color: var(--accent-green)  !important; }
.badge-unpaid   { background: rgba(204,34,68,.10)  !important; color: var(--accent-red)    !important; }
.badge-expired  { background: rgba(154,111,0,.12)  !important; color: var(--accent-purple) !important; }
.badge-booked   { background: rgba(184,134,11,.12) !important; color: var(--accent-cyan)   !important; }
.badge-coming-soon { background: rgba(255,215,0,.15) !important; color: #C8900A !important; border: 1px solid rgba(255,215,0,.4) !important; }

/* ════════════════════════════
   FORM ELEMENTS
════════════════════════════ */
.form-control, .form-select {
  background: var(--bg-card) !important;
  border: 1px solid var(--border2) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  font-size: .84rem;
  border-radius: var(--radius-sm) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(180,140,0,0.14) !important;
  outline: none;
}
.form-control::placeholder { color: var(--text-sub); }
.form-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 5px;
  font-weight: 600;
}
.form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6040' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}
.form-select option { background: var(--bg-card); color: var(--text-primary); }
.form-select:disabled { opacity: .42 !important; cursor: not-allowed !important; }

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none; cursor: pointer; opacity: 0.6;
}

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent-blue), #8B6000);
  border: none; color: #fff;
  font-family: var(--font-display);
  font-weight: 600; font-size: .88rem;
  letter-spacing: .5px; padding: 9px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: all .2s;
  box-shadow: 0 4px 15px rgba(180,140,0,0.25);
}
.btn-primary-custom:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(180,140,0,0.38); }

.btn-outline-custom {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text-muted);
  font-size: .82rem; padding: 7px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: all .2s;
}
.btn-outline-custom:hover { border-color: var(--accent-blue); color: var(--text-primary); }

.btn-primary {
  background: linear-gradient(135deg, #FFD700, #cc8800) !important;
  border-color: #FFD700 !important;
  color: #000 !important;
  font-weight: 700 !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, #ffe033, #e69900) !important;
  border-color: #ffe033 !important;
  color: #000 !important;
  box-shadow: 0 4px 15px rgba(255,215,0,.35) !important;
}

.btn-view-order {
  background: rgba(200,144,10,.10);
  border: 1px solid rgba(200,144,10,.25);
  color: var(--accent-cyan);
  font-size: .72rem;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}
.btn-view-order:hover { background: rgba(200,144,10,.20); color: var(--accent-cyan); }

.btn-edit-row {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: .72rem;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}
.btn-edit-row:hover { background: rgba(180,140,0,.15); border-color: var(--accent-blue); }

.btn-del-row {
  background: rgba(204,34,68,.08);
  border: 1px solid rgba(204,34,68,.2);
  color: var(--accent-red);
  font-size: .72rem;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}
.btn-del-row:hover { background: rgba(204,34,68,.18); color: var(--accent-red); }

/* ════════════════════════════
   FILTER BAR
════════════════════════════ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-bar .form-select,
.filter-bar .form-control { font-size: .76rem; padding: 5px 10px; height: 34px; min-width: 128px; max-width: 180px; }
.filter-bar .form-control { max-width: 160px; }

/* ════════════════════════════
   PAGINATION
════════════════════════════ */
.page-link {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: var(--text-primary) !important;
  font-size: .78rem;
}
.page-item.active .page-link {
  background: var(--accent-blue) !important;
  border-color: var(--accent-blue) !important;
  color: #fff !important;
}

/* ════════════════════════════
   PAGE HERO
════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #F5F0DC 0%, #FAF6E8 50%, #F7F6F0 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,144,10,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ════════════════════════════
   STAT ICON
════════════════════════════ */
.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

/* ════════════════════════════
   PROGRESS BAR
════════════════════════════ */
.prog-bar { height: 6px; background: var(--border); border-radius: 4px; overflow: hidden; }
.prog-fill { height: 100%; border-radius: 4px; transition: width .8s ease; }

/* ════════════════════════════
   MAP (Leaflet)
════════════════════════════ */
.leaflet-container { background: #aad3df !important; font-family: var(--font-body); }
.leaflet-tile-pane { filter: brightness(1) saturate(.85); }
.leaflet-popup-content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  color: var(--text-primary);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.leaflet-popup-tip { background: var(--bg-card); }
.leaflet-popup-content { font-size: .76rem; margin: 8px 12px; }
.leaflet-popup-content b { color: var(--accent-cyan); }
.leaflet-control-zoom a { background: var(--bg-card) !important; color: var(--text-primary) !important; border-color: var(--border2) !important; }
.leaflet-control-zoom a:hover { background: var(--bg-secondary) !important; }
.leaflet-control-attribution { background: rgba(240,237,228,.9) !important; color: var(--text-muted) !important; font-size: .55rem !important; }

/* ════════════════════════════
   MAP MOCK
════════════════════════════ */
.map-mock {
  background: linear-gradient(135deg, #EEE8D0, #E8E0C0);
  border: 1px solid var(--border);
  border-radius: 8px; position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(180,140,0,.08) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(180,140,0,.08) 1px,transparent 1px);
  background-size: 40px 40px;
}
.map-road-h { position: absolute; height: 2px; background: rgba(200,144,10,.2); left:0; right:0; }
.map-road-v { position: absolute; width: 2px;  background: rgba(200,144,10,.2); top:0; bottom:0; }
.map-pin    { position: absolute; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 8px currentColor; }
.pin-green  { background: var(--accent-green);  color: var(--accent-green); }
.pin-yellow { background: var(--accent-yellow); color: var(--accent-yellow); }
.pin-red    { background: var(--accent-red);    color: var(--accent-red); }

/* ════════════════════════════
   BAR CHART
════════════════════════════ */
.bar-chart { display: flex; align-items: flex-end; gap: 6px; }
.bar-item  { flex: 1; border-radius: 4px 4px 0 0; min-width: 14px; cursor: pointer; transition: opacity .2s; }
.bar-item:hover { opacity: .7; }
.bar-blue   { background: linear-gradient(180deg, var(--accent-blue)   0%, #8B6000 100%); }
.bar-green  { background: linear-gradient(180deg, var(--accent-green)  0%, #0a4020 100%); }
.bar-red    { background: linear-gradient(180deg, var(--accent-red)    0%, #7a1030 100%); }
.bar-yellow { background: linear-gradient(180deg, var(--accent-yellow) 0%, #7a4500 100%); }

/* ════════════════════════════
   LED PREVIEW
════════════════════════════ */
.led-preview {
  background: #1A1710;
  border: 2px solid var(--border2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.led-text { font-family: var(--font-mono); color: var(--accent-yellow); font-size: 1rem; text-shadow: 0 0 10px rgba(200,144,10,.6); }
.led-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 1px,transparent 1px,transparent 3px); pointer-events: none; }

/* ════════════════════════════
   UPLOAD BOX
════════════════════════════ */
.upload-box {
  border: 2px dashed var(--border2);
  border-radius: 8px;
  padding: 24px; text-align: center;
  cursor: pointer; transition: border-color .2s;
}
.upload-box:hover { border-color: var(--accent-blue); }

/* ════════════════════════════
   ANIMATIONS
════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .4s ease both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

/* ════════════════════════════
   MODAL
════════════════════════════ */
.modal-content {
  background: var(--bg-card) !important;
  border: 1px solid var(--border2) !important;
  color: var(--text-primary) !important;
}
.modal-header, .modal-footer { border-color: var(--border) !important; }

/* ════════════════════════════
   TOAST
════════════════════════════ */
.toast-custom {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 20px; font-size: .82rem;
  box-shadow: 0 8px 30px rgba(180,140,0,0.15);
  display: flex; align-items: center; gap: 10px;
  animation: fadeUp .3s ease; max-width: 320px;
  color: var(--text-primary);
}

/* ════════════════════════════
   DETAIL PANEL
════════════════════════════ */
.detail-panel {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  background: var(--bg-card);
  border-left: 1px solid var(--border2);
  z-index: 2000;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
  transition: transform .3s ease;
}
.detail-panel.open { display: block; }
.detail-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.2);
  z-index: 1999;
}
.detail-overlay.open { display: block; }

/* ════════════════════════════
   MANUAL PAYMENT APPROVAL
════════════════════════════ */
.approval-card {
  border: 1px solid rgba(200,144,10,.25);
  background: rgba(200,144,10,.04);
  border-radius: 8px;
}

/* ════════════════════════════
   FORM VALIDATION
════════════════════════════ */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--accent-red) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cc2244' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px 16px !important;
  padding-right: 40px !important;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: var(--accent-green) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231a8a4a' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px 16px !important;
  padding-right: 40px !important;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 3px rgba(204,34,68,0.15) !important;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
  border-color: var(--accent-green) !important;
  box-shadow: 0 0 0 3px rgba(26,138,74,0.15) !important;
}

.invalid-feedback {
  display: none;
  color: var(--accent-red);
  font-size: .75rem;
  margin-top: 4px;
  font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.valid-feedback {
  display: none;
  color: var(--accent-green);
  font-size: .75rem;
  margin-top: 4px;
  font-weight: 500;
}

.form-control.is-valid ~ .valid-feedback,
.form-select.is-valid ~ .valid-feedback {
  display: block;
}

/* Alert styles */
.alert {
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: .85rem;
}

.alert-danger {
  background: rgba(204,34,68,0.08) !important;
  border-color: rgba(204,34,68,0.25) !important;
  color: var(--accent-red) !important;
}

.alert-danger ul {
  padding-left: 20px;
}

.alert-danger li {
  margin-bottom: 4px;
}
