/* ============================================================
   TURKWEL ENERGY - Modern SaaS Theme
   Clean override of Bootstrap 3 for a premium SaaS look.
   Preserves all Bootstrap JS functionality.
   Primary: #4F46E5 (Indigo)  Background: #F9FAFB  Text: #111827
   ============================================================ */

/* ---- Base & Typography ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  background-color: #F9FAFB !important;
  color: #111827;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar,
.navbar-default {
  background-color: #ffffff !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid #E5E7EB !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
  min-height: 58px;
  border-radius: 0 !important;
}

.navbar-default .navbar-brand {
  color: #4F46E5 !important;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  padding: 16px 15px;
  line-height: 26px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #4338CA !important;
  background: transparent !important;
}

.navbar-default .navbar-nav > li > a {
  color: #374151 !important;
  font-weight: 500;
  font-size: 13.5px;
  padding: 19px 13px !important;
  transition: color 0.15s ease, background 0.15s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #4F46E5 !important;
  background-color: #EEF2FF !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #4F46E5 !important;
  background-color: #EEF2FF !important;
  box-shadow: none !important;
}

/* Dropdown arrow color */
.navbar-default .navbar-nav > li > a .caret {
  border-top-color: #9CA3AF !important;
  border-bottom-color: #9CA3AF !important;
}

/* Navbar form (search) */
.navbar-form {
  margin-top: 11px;
  margin-bottom: 11px;
}

.navbar-form .form-group .form-control {
  height: 34px;
  border-radius: 20px;
  border-color: #E5E7EB;
  font-size: 13px;
  padding: 6px 14px;
  background: #F3F4F6;
  width: 180px;
  transition: width 0.25s ease, background 0.15s ease, border-color 0.15s ease;
}

.navbar-form .form-group .form-control:focus {
  background: #ffffff;
  width: 220px;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Navbar toggle (mobile) */
.navbar-default .navbar-toggle {
  border-color: #E5E7EB;
  border-radius: 8px;
  margin-top: 12px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #6B7280;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #F3F4F6;
  border-color: #D1D5DB;
}

/* ============================================================
   DROPDOWN MENUS
   ============================================================ */
.dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 6px;
  margin-top: 4px;
  min-width: 200px;
}

.dropdown-menu > li > a {
  color: #374151;
  font-size: 13.5px;
  padding: 7px 13px;
  border-radius: 8px;
  font-weight: 450;
  transition: background 0.12s ease, color 0.12s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: #EEF2FF;
  color: #4F46E5;
}

.dropdown-menu > .divider {
  background-color: #F3F4F6;
  margin: 4px 0;
  height: 1px;
  border: none;
}

/* ============================================================
   MAIN CONTENT CONTAINER
   ============================================================ */
.container {
  padding-top: 28px;
  padding-bottom: 40px;
}

/* Active shift indicator */
.container > b:first-of-type {
  display: inline-block;
  background: #EEF2FF;
  color: #4338CA;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #C7D2FE;
}

/* ============================================================
   PAGE HEADINGS
   ============================================================ */
h1, h1.header {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  margin-top: 0;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  margin-top: 0;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

h4 {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

/* ============================================================
   PANELS / CARDS (Bootstrap 3 panels)
   ============================================================ */
.panel {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.panel-default {
  border-color: #E5E7EB;
}

.panel-default > .panel-heading {
  background-color: #F9FAFB;
  background-image: none;
  border-bottom: 1px solid #E5E7EB;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 20px;
}

.panel-body {
  padding: 20px 24px;
}

.panel-footer {
  background-color: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  padding: 12px 20px;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-responsive {
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  margin-bottom: 24px;
  /* Prevent border-radius from clipping the scrollbar on some browsers */
  display: block;
  width: 100%;
}

/* When table-responsive wraps the table remove double borders */
.table-responsive > .table {
  margin-bottom: 0;
  border-radius: 0;
}

.table {
  font-size: 13.5px;
  color: #374151;
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.table > thead > tr > th {
  background-color: #F9FAFB;
  color: #6B7280;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #E5E7EB !important;
  border-top: none !important;
  padding: 11px 14px;
  white-space: nowrap;
}

.table > tbody > tr > td {
  padding: 11px 14px;
  border-top: 1px solid #F3F4F6 !important;
  vertical-align: middle;
}

.table > tbody > tr:first-child > td {
  border-top: none !important;
}

/* Remove Bootstrap's striped background — use hover instead */
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: transparent;
}

.table-hover > tbody > tr:hover {
  background-color: #F5F3FF;
}

/* Clean up bordered table — use very light row lines only */
.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: none !important;
}

.table-bordered > thead > tr > th {
  border-bottom: 1px solid #E5E7EB !important;
}

.table-bordered > tbody > tr > td {
  border-bottom: 1px solid #F3F4F6 !important;
}

/* tfoot totals row */
.table > tfoot > tr > td,
.table > tfoot > tr > th {
  padding: 11px 14px;
  border-top: 2px solid #E5E7EB !important;
  font-weight: 700;
  background-color: #F9FAFB;
}

/* ============================================================
   FORMS & INPUTS
   ============================================================ */
.form-control {
  height: 38px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  box-shadow: none !important;
  font-size: 13.5px;
  color: #111827;
  background-color: #ffffff;
  padding: 8px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.form-control:focus {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
  outline: none;
}

.form-control::placeholder {
  color: #9CA3AF;
}

.form-control[readonly],
.form-control[disabled] {
  background-color: #F9FAFB;
  color: #9CA3AF;
  cursor: not-allowed;
}

select.form-control {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 32px;
  cursor: pointer;
}

textarea.form-control {
  height: auto;
  min-height: 80px;
  resize: vertical;
}

label {
  font-weight: 500;
  font-size: 13px;
  color: #374151;
  margin-bottom: 5px;
  display: inline-block;
}

.form-group {
  margin-bottom: 14px;
}

.help-block {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* Input groups */
.input-group-addon {
  background-color: #F9FAFB;
  border: 1px solid #D1D5DB;
  color: #6B7280;
  font-size: 13.5px;
  border-radius: 8px;
  padding: 6px 12px;
}

.input-group .form-control:first-child,
.input-group-addon:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control:last-child,
.input-group-addon:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-btn:first-child > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-btn:last-child > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
              box-shadow 0.15s ease, color 0.15s ease;
  font-family: inherit;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
}

/* Primary */
.btn-primary {
  background-color: #4F46E5 !important;
  border-color: #4F46E5 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.open > .btn-primary.dropdown-toggle {
  background-color: #4338CA !important;
  border-color: #4338CA !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3) !important;
}

/* Default / Secondary */
.btn-default {
  background-color: #ffffff !important;
  border-color: #D1D5DB !important;
  color: #374151 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.open > .btn-default.dropdown-toggle {
  background-color: #F9FAFB !important;
  border-color: #9CA3AF !important;
  color: #111827 !important;
}

/* Danger */
.btn-danger {
  background-color: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #ffffff !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #ffffff !important;
}

/* Success */
.btn-success {
  background-color: #10B981 !important;
  border-color: #10B981 !important;
  color: #ffffff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #059669 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}

/* Warning */
.btn-warning {
  background-color: #F59E0B !important;
  border-color: #F59E0B !important;
  color: #ffffff !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background-color: #D97706 !important;
  border-color: #D97706 !important;
  color: #ffffff !important;
}

/* Info */
.btn-info {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
  color: #ffffff !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  background-color: #2563EB !important;
  border-color: #2563EB !important;
  color: #ffffff !important;
}

/* Sizes */
.btn-sm {
  padding: 5px 11px;
  font-size: 12.5px;
  border-radius: 6px;
}

.btn-lg {
  padding: 11px 22px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-xs {
  padding: 3px 8px;
  font-size: 11.5px;
  border-radius: 5px;
}

/* Focus ring for accessibility */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2) !important;
}

/* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */
.alert {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}

.alert-success {
  background-color: #ECFDF5;
  color: #065F46;
  border-left: 4px solid #10B981;
}

.alert-danger,
.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border-left: 4px solid #EF4444;
}

.alert-warning {
  background-color: #FFFBEB;
  color: #92400E;
  border-left: 4px solid #F59E0B;
}

.alert-info {
  background-color: #EFF6FF;
  color: #1E40AF;
  border-left: 4px solid #3B82F6;
}

.alert .close {
  position: absolute;
  right: 12px;
  top: 10px;
  opacity: 0.5;
  color: inherit;
}

.alert .close:hover {
  opacity: 0.8;
}

/* ============================================================
   BADGES & LABELS (status pills)
   ============================================================ */
.badge,
.label {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  display: inline-block;
  line-height: 1.5;
}

.label-default {
  background-color: #F3F4F6;
  color: #6B7280;
}

.label-primary {
  background-color: #EEF2FF;
  color: #4338CA;
}

.label-success,
.badge-success {
  background-color: #ECFDF5;
  color: #065F46;
}

.label-warning,
.badge-warning {
  background-color: #FFFBEB;
  color: #92400E;
}

.label-danger,
.badge-danger {
  background-color: #FEF2F2;
  color: #991B1B;
}

.label-info,
.badge-info {
  background-color: #EFF6FF;
  color: #1E40AF;
}

/* Bootstrap's .badge inside nav links */
.nav .badge,
.navbar-nav .badge {
  background-color: #4F46E5;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  margin: 16px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pagination > li > a,
.pagination > li > span {
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #E5E7EB;
  border-radius: 8px !important;
  margin: 0;
  padding: 6px 12px;
  background: #ffffff;
  transition: all 0.15s ease;
  display: inline-block;
  line-height: 1.4;
}

.pagination > li > a:hover {
  background-color: #F9FAFB;
  border-color: #D1D5DB;
  color: #111827;
  text-decoration: none;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #4F46E5 !important;
  border-color: #4F46E5 !important;
  color: #ffffff !important;
}

.pagination > .disabled > a,
.pagination > .disabled > span {
  color: #D1D5DB;
  background-color: #F9FAFB;
  border-color: #E5E7EB;
  cursor: not-allowed;
}

/* ============================================================
   WELLS
   ============================================================ */
.well {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: none;
  padding: 16px 20px;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.modal-header {
  background-color: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  padding: 18px 24px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  background-color: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  padding: 14px 24px;
}

/* ============================================================
   HORIZONTAL RULE
   ============================================================ */
hr {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 24px 0;
}

/* ============================================================
   LINKS
   ============================================================ */
a {
  color: #4F46E5;
  transition: color 0.15s ease;
}

a:hover {
  color: #4338CA;
  text-decoration: none;
}

a.delete,
.delete {
  color: #EF4444 !important;
  font-weight: 500;
}

a.delete:hover,
.delete:hover {
  color: #DC2626 !important;
}

/* ============================================================
   TEXT UTILITIES
   ============================================================ */
.text-muted {
  color: #6B7280 !important;
}

.text-primary {
  color: #4F46E5 !important;
}

.text-success {
  color: #059669 !important;
}

.text-danger {
  color: #DC2626 !important;
}

.text-warning {
  color: #D97706 !important;
}

.text-info {
  color: #2563EB !important;
}

/* ============================================================
   INLINE FORM SECTION (hidden form panels)
   ============================================================ */
.form_in_page {
  display: none;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0 20px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   BALANCE / SUMMARY ITEMS
   ============================================================ */
.balance_item_label {
  transition: background 0.15s ease, color 0.15s ease;
  border-radius: 6px;
  padding: 2px 6px;
}

.balance_item_label:hover {
  background-color: #EEF2FF;
  color: #4F46E5;
  font-style: normal;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
  font-size: 13px;
}

.breadcrumb > li + li::before {
  color: #9CA3AF;
}

.breadcrumb > .active {
  color: #6B7280;
}

/* ============================================================
   TABS
   ============================================================ */
.nav-tabs {
  border-bottom: 1px solid #E5E7EB;
}

.nav-tabs > li > a {
  color: #6B7280;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 16px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-tabs > li > a:hover {
  background-color: #F3F4F6;
  border-color: transparent;
  color: #111827;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #4F46E5;
  border: 1px solid #E5E7EB;
  border-bottom-color: #ffffff;
  background-color: #ffffff;
  font-weight: 600;
}

.tab-content {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 20px 24px;
}

/* ============================================================
   LOADER (override background & spinner colors to match indigo theme)
   ============================================================ */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(249, 250, 251, 0.9) !important;
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

/* Swap spinner gradient to indigo */
.spinner {
  background: conic-gradient(#4F46E5 0%, #818CF8 40%, rgba(79, 70, 229, 0.12) 70%, #4F46E5 100%) !important;
}

.spinner-ring {
  border-color: rgba(79, 70, 229, 0.22) !important;
}

.spinner-ring2 {
  border-color: rgba(79, 70, 229, 0.1) !important;
}

.loading-text {
  color: #4F46E5 !important;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

/* ============================================================
   HIDE NATIVE BROWSER CALENDAR ICON ON DATE INPUTS
   The app uses its own date picker — the native browser
   calendar-picker icon is redundant and confusing.
   ============================================================ */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  display: none !important;
  -webkit-appearance: none;
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  .navbar-default .navbar-nav > li > a {
    padding: 12px 15px !important;
  }

  .dropdown-menu {
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }

  .table-responsive {
    border-radius: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .container {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  h1, h1.header {
    font-size: 18px;
  }
}

/* ============================================================
   MISC OVERRIDES
   ============================================================ */

/* Remove Bootstrap's default focus outline in favour of indigo ring */
*:focus {
  outline: none;
}

/* Bootstrap's .form-horizontal label alignment */
.form-horizontal .control-label {
  padding-top: 9px;
  font-weight: 500;
  color: #374151;
}

/* Checkbox & radio */
.checkbox label,
.radio label {
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}

/* Inline errors from WTForms */
.has-error .form-control {
  border-color: #EF4444 !important;
}

.has-error .form-control:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.has-error .help-block,
.has-error .control-label {
  color: #DC2626;
}

.has-success .form-control {
  border-color: #10B981 !important;
}

/* Table inside a plain div (not .table-responsive) */
div > .table:not(.table-responsive > .table) {
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
}

/* Remove nav pills default colors and style them cleanly */
.nav-pills > li > a {
  border-radius: 8px;
  color: #6B7280;
  font-weight: 500;
  font-size: 13.5px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #4F46E5;
  color: #ffffff;
}

.nav-pills > li > a:hover {
  background-color: #EEF2FF;
  color: #4F46E5;
}

/* Progress bars */
.progress {
  border-radius: 999px;
  background-color: #E5E7EB;
  box-shadow: none;
  height: 8px;
}

.progress-bar {
  background-color: #4F46E5;
  border-radius: 999px;
  box-shadow: none;
}

.progress-bar-success {
  background-color: #10B981;
}

.progress-bar-warning {
  background-color: #F59E0B;
}

.progress-bar-danger {
  background-color: #EF4444;
}

/* Close buttons */
.close {
  opacity: 0.5;
  font-size: 18px;
  line-height: 1;
}

.close:hover {
  opacity: 0.75;
  color: #111827;
}

/* Jumbotron */
.jumbotron {
  background-color: #EEF2FF;
  border-radius: 16px;
  padding: 36px 40px;
}

/* List group */
.list-group-item {
  border: 1px solid #E5E7EB;
  color: #374151;
  padding: 10px 16px;
  font-size: 13.5px;
  transition: background 0.12s ease;
}

.list-group-item:first-child {
  border-radius: 12px 12px 0 0;
}

.list-group-item:last-child {
  border-radius: 0 0 12px 12px;
}

.list-group-item:hover {
  background-color: #F9FAFB;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  background-color: #4F46E5;
  border-color: #4F46E5;
  color: #ffffff;
}
