body,
p,
span,
div,
li,
label,
input,
select,
textarea,
.text-muted {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #8aa0c4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

.text-muted {
  color: #8aa0c4 !important; }

a {
  color: #26ceff;
  text-decoration: none;
  transition: color 0.2s ease-in-out; }
  a:hover {
    color: #4ddbff; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: #00c2ff;
  line-height: 1.2;
  margin-bottom: 1rem; }

h1 {
  font-size: 2rem;
  border-bottom: 2px solid rgba(0, 194, 255, 0.2);
  padding-bottom: 0.75rem;
  margin-top: 2.5rem; }

h2 {
  font-size: 1.5rem;
  margin-top: 2rem; }

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem; }

pre {
  background-color: rgba(15, 23, 42, 0.6);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 194, 255, 0.15);
  overflow-x: auto;
  margin-bottom: 1.5rem; }

code {
  color: #26ceff;
  background-color: rgba(0, 194, 255, 0.1);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

h4 {
  font-size: 1.125rem;
  margin-top: 1.5rem; }

.text-sm {
  font-size: 0.875rem; }

.text-lg {
  font-size: 1.125rem; }

.text-xl {
  font-size: 1.25rem; }

.fw-light {
  font-weight: 300; }

.fw-normal {
  font-weight: 400; }

.fw-medium {
  font-weight: 500; }

.fw-semibold {
  font-weight: 600; }

.fw-bold {
  font-weight: 700; }

.text-color-muted {
  color: #64748b; }

.text-primary {
  color: #26ceff; }

.text-cyan {
  color: #00c2ff; }

.text-standard {
  color: #8aa0c4; }

.text-neon-cyan {
  color: #00c2ff;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.3); }

.text-emphasis {
  color: #f1f5f9; }

.text-success {
  color: #4ade80 !important; }

.bg-success {
  background-color: #198754 !important; }

.btn, .btn-neon, .btn-outline-neon, .btn-outline-primary-thin, .btn-outline-success, .btn-warning, .btn-danger, .btn-success, .btn-ghost, .btn-secondary, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent; }
  .btn:focus-visible, .btn-neon:focus-visible, .btn-outline-neon:focus-visible, .btn-outline-primary-thin:focus-visible, .btn-outline-success:focus-visible, .btn-warning:focus-visible, .btn-danger:focus-visible, .btn-success:focus-visible, .btn-ghost:focus-visible, .btn-secondary:focus-visible, .btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.4); }
  .btn:disabled, .btn-neon:disabled, .btn-outline-neon:disabled, .btn-outline-primary-thin:disabled, .btn-outline-success:disabled, .btn-warning:disabled, .btn-danger:disabled, .btn-success:disabled, .btn-ghost:disabled, .btn-secondary:disabled, .btn-primary:disabled, .btn.disabled, .disabled.btn-neon, .disabled.btn-outline-neon, .disabled.btn-outline-primary-thin, .disabled.btn-outline-success, .disabled.btn-warning, .disabled.btn-danger, .disabled.btn-success, .disabled.btn-ghost, .disabled.btn-secondary, .disabled.btn-primary {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important; }

.btn-primary {
  background-color: #00a8e6;
  color: #f8fafc;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
  .btn-primary:hover:not(:disabled) {
    background-color: #00c2ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }

.btn-secondary {
  background-color: #334155;
  color: #f1f5f9;
  border-color: #334155; }
  .btn-secondary:hover:not(:disabled) {
    background-color: #475569;
    border-color: #475569; }

.btn-ghost {
  background-color: transparent;
  color: #64748b; }
  .btn-ghost:hover:not(:disabled) {
    background-color: rgba(0, 194, 255, 0.1);
    color: #4ddbff; }

.btn-success {
  background-color: #198754;
  color: #fff; }
  .btn-success:hover:not(:disabled) {
    background-color: #157147; }

.btn-danger {
  background-color: #ef4444;
  color: #fff; }
  .btn-danger:hover:not(:disabled) {
    background-color: #ed2d2d; }

.btn-warning {
  background-color: #f59e0b;
  color: #fff; }
  .btn-warning:hover:not(:disabled) {
    background-color: #dd8e09; }

.btn-outline {
  background-color: transparent;
  border-width: 2px; }
  .btn-outline.btn-primary {
    border-color: #00c2ff;
    color: #26ceff; }
    .btn-outline.btn-primary:hover:not(:disabled) {
      background-color: rgba(0, 194, 255, 0.1);
      color: #4ddbff; }
  .btn-outline.btn-secondary {
    border-color: #334155;
    color: #8aa0c4; }
    .btn-outline.btn-secondary:hover:not(:disabled) {
      background-color: #1e293b;
      border-color: #475569; }
  .btn-outline.btn-danger {
    border-color: #ef4444;
    color: #ef4444; }
    .btn-outline.btn-danger:hover:not(:disabled) {
      background-color: rgba(239, 68, 68, 0.1); }
  .btn-outline.btn-warning {
    border-color: #f59e0b;
    color: #f59e0b; }
    .btn-outline.btn-warning:hover:not(:disabled) {
      background-color: rgba(245, 158, 11, 0.1); }

.btn-outline-success {
  background-color: transparent;
  border: 1px solid #4ade80;
  color: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.3); }
  .btn-outline-success:hover:not(:disabled) {
    background-color: rgba(74, 222, 128, 0.1);
    color: #75e69e;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.5); }

.btn-outline-primary-thin {
  background-color: transparent;
  border: 1px solid #00c2ff;
  color: #26ceff; }
  .btn-outline-primary-thin:hover:not(:disabled) {
    background-color: rgba(0, 194, 255, 0.1);
    color: #4ddbff; }

.btn-pill {
  border-radius: 9999px; }

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem; }

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem; }

.btn-neon, .btn-outline-neon {
  background: rgba(0, 194, 255, 0.15);
  /* Solid translucent fill for visibility on dark glass */
  border: 2px solid #00c2ff;
  color: #4dd4ff;
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.4), inset 0 0 5px rgba(0, 194, 255, 0.2);
  letter-spacing: 0.02em;
  font-weight: 700; }
  .btn-neon:hover:not(:disabled), .btn-outline-neon:hover:not(:disabled), .btn-neon:focus:not(:disabled), .btn-outline-neon:focus:not(:disabled) {
    background: rgba(0, 194, 255, 0.25);
    border-color: #4dd4ff;
    color: #80e1ff;
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.6), inset 0 0 10px rgba(0, 194, 255, 0.3);
    transform: translateY(-2px); }

/*
 * Base Theme CSS - Shared across all pages
 * This file defines the styles for major layout components like the navbar,
 * dropdowns, and global scrollbars, using the semantic variables from _colors.scss.
 */
.navbar-themed {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 194, 255, 0.25) !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important; }
  .navbar-themed .navbar-brand {
    color: #26ceff !important;
    text-shadow: 0 0 10px rgba(38, 206, 255, 0.5);
    font-weight: 400;
    font-size: 1rem; }
  .navbar-themed .nav-link {
    color: #8aa0c4 !important;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.875rem; }
    .navbar-themed .nav-link:hover {
      color: #4ddbff !important;
      text-shadow: 0 0 8px rgba(77, 219, 255, 0.4); }
  .navbar-themed .navbar-toggler {
    border-color: rgba(0, 194, 255, 0.25); }
    .navbar-themed .navbar-toggler .bi-list {
      color: #26ceff;
      font-size: 1.5rem; }

.dropdown-menu {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(0, 194, 255, 0.25) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  max-height: 70vh;
  min-width: 260px;
  overflow-y: auto;
  overflow-x: hidden; }

.dropdown-header {
  color: #26ceff !important;
  opacity: 0.95;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem; }

.dropdown-item {
  color: #8aa0c4 !important;
  transition: all 0.3s ease;
  font-size: 0.875rem; }
  .dropdown-item:hover, .dropdown-item:focus {
    background: rgba(0, 194, 255, 0.12) !important;
    color: #4ddbff !important; }
  .dropdown-item.active, .dropdown-item:active {
    background: rgba(0, 194, 255, 0.18) !important;
    color: #4ddbff !important; }

.dropdown-divider {
  border-color: rgba(0, 194, 255, 0.25) !important; }

.dropdown-toggle::after {
  border-top-color: #64748b; }

* {
  scrollbar-color: rgba(0, 194, 255, 0.4) rgba(15, 23, 42, 0.2); }

::-webkit-scrollbar {
  width: 8px;
  height: 8px; }

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 8px; }

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.6), rgba(0, 137, 184, 0.4));
  border-radius: 8px;
  border: 1px solid rgba(0, 194, 255, 0.1); }
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00c2ff, #0089b8); }

body {
  background-color: #0f172a;
  color: #8aa0c4;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

.container-xxl {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

.container-xl {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

.container-lg {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

.container-md {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

.container-sm {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

.card {
  background-color: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative; }
  .card:hover {
    border-color: rgba(0, 194, 255, 0.4);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px); }

.card-header {
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.08) 0%, rgba(0, 194, 255, 0.02) 100%);
  padding: 1.5rem 2rem 1.25rem;
  border-bottom: 2px solid rgba(0, 194, 255, 0.4);
  border-radius: 12px 12px 0 0;
  color: #00c2ff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem; }
  .card-header .card-title {
    color: #00c2ff;
    margin-top: 0;
    margin-bottom: 0;
    flex: 1 1 auto; }
  .card-header .card-subtitle {
    color: #8aa0c4;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-basis: 100%; }

.card-body {
  padding: 1.5rem; }

.card-footer {
  background-color: rgba(0, 194, 255, 0.1);
  padding: 1rem 1.5rem;
  border-top: 1px solid #334155; }

.card-glass, .audit-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(0, 194, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
  height: 100%; }
  .card-glass h1, .audit-card h1,
  .card-glass h2,
  .audit-card h2,
  .card-glass h3,
  .audit-card h3,
  .card-glass h4,
  .audit-card h4,
  .card-glass h5,
  .audit-card h5,
  .card-glass h6,
  .audit-card h6 {
    color: #00c2ff; }
  .card-glass:hover, .audit-card:hover {
    border-color: rgba(0, 194, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.25);
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%); }

.card-feature {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%; }
  .card-feature .icon-circle {
    border-color: rgba(167, 139, 250, 0.5);
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1); }
  .card-feature .feature-title {
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.1rem; }
  .card-feature:hover {
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 0 24px rgba(167, 139, 250, 0.3);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%); }
    .card-feature:hover .icon-circle {
      transform: scale(1.1) rotate(5deg); }
  .card-feature.feature-green {
    border-color: rgba(74, 222, 128, 0.25); }
    .card-feature.feature-green .icon-circle {
      border-color: rgba(74, 222, 128, 0.5);
      color: #4ade80;
      background: rgba(74, 222, 128, 0.1); }
    .card-feature.feature-green .feature-title {
      color: #4ade80; }
    .card-feature.feature-green:hover {
      border-color: rgba(74, 222, 128, 0.5);
      box-shadow: 0 0 24px rgba(74, 222, 128, 0.3);
      background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%); }
  .card-feature.feature-orange {
    border-color: rgba(251, 146, 60, 0.25); }
    .card-feature.feature-orange .icon-circle {
      border-color: rgba(251, 146, 60, 0.5);
      color: #fb923c;
      background: rgba(251, 146, 60, 0.1); }
    .card-feature.feature-orange .feature-title {
      color: #fb923c; }
    .card-feature.feature-orange:hover {
      border-color: rgba(251, 146, 60, 0.5);
      box-shadow: 0 0 24px rgba(251, 146, 60, 0.3);
      background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%); }
  .card-feature.feature-pink {
    border-color: rgba(236, 72, 153, 0.25); }
    .card-feature.feature-pink .icon-circle {
      border-color: rgba(236, 72, 153, 0.5);
      color: #ec4899;
      background: rgba(236, 72, 153, 0.1); }
    .card-feature.feature-pink .feature-title {
      color: #ec4899; }
    .card-feature.feature-pink:hover {
      border-color: rgba(236, 72, 153, 0.5);
      box-shadow: 0 0 24px rgba(236, 72, 153, 0.3);
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%); }

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 2.5rem; }

.border-glass, .cfr-status-card {
  border: 1px solid rgba(0, 194, 255, 0.25) !important; }

.bg-glass-dark, .cfr-status-card {
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(8px); }

.transition-all, .cfr-status-card {
  transition: all 0.3s ease-in-out; }

.hover-translate-y:hover, .cfr-status-card:hover {
  transform: translateY(-4px); }

.badge {
  display: inline-block;
  padding: 0.35em 0.85em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.02em; }

.badge-success {
  background-color: #198754; }

.badge-danger {
  background-color: #ef4444; }

.badge-warning {
  background-color: #f59e0b; }

.badge-info {
  background-color: #3b82f6;
  color: #0f172a; }

.badge.bg-info {
  color: #0f172a !important; }

.badge-primary {
  background-color: #00c2ff; }

.badge-secondary {
  background-color: #475569;
  color: #f1f5f9; }

.first-in-class {
  background: linear-gradient(135deg, #00c2ff 0%, #0089b8 100%);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important; }

.best-in-class {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important; }

.modal-content {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #8aa0c4; }

.modal-header {
  background: rgba(0, 194, 255, 0.1);
  border-bottom: 1px solid #334155;
  padding: 1rem 1.5rem; }
  .modal-header .modal-title {
    color: #00c2ff;
    font-weight: 600; }
  .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); }

.modal-body {
  padding: 1.5rem; }

.modal-footer {
  background-color: rgba(0, 194, 255, 0.1);
  border-top: 1px solid #334155;
  padding: 1rem 1.5rem; }

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #8aa0c4;
  vertical-align: top;
  border-color: #334155;
  background-color: #1e293b; }
  .table th, .table td {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #334155; }
  .table thead {
    vertical-align: bottom; }
  .table th {
    font-weight: 600;
    color: #00c2ff;
    background-color: #0f172a; }

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(15, 23, 42, 0.2); }

.table-hover tbody tr {
  transition: background-color 0.2s ease-in-out; }
  .table-hover tbody tr:hover {
    background-color: rgba(0, 194, 255, 0.05); }

.table-bordered th, .table-bordered td {
  border: 1px solid #334155; }

.table-sm th, .table-sm td {
  padding: 0.5rem; }

.table-detail th {
  background-color: rgba(0, 106, 138, 0.3);
  color: #80e5ff;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-color: rgba(0, 194, 255, 0.25); }

.table-detail td {
  background-color: rgba(0, 194, 255, 0.1);
  color: #8aa0c4;
  border-color: rgba(0, 194, 255, 0.2); }

table.bg-transparent {
  --bs-table-bg: transparent;
  --bs-table-color: #8aa0c4;
  --bs-table-border-color: rgba(76, 201, 255, 0.15);
  --bs-table-hover-bg: rgba(76, 201, 255, 0.05);
  border-color: var(--bs-table-border-color); }
  table.bg-transparent th {
    background-color: transparent !important;
    color: #4cc9ff !important;
    border-bottom-width: 1px; }
  table.bg-transparent td {
    background-color: transparent !important; }

.form-group {
  margin-bottom: 1.5rem; }

.form-label {
  color: #00c2ff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem; }
  .form-label:has(+ .form-control[required], + .form-select[required])::after {
    content: "*";
    color: #ef4444;
    font-weight: bold; }

.form-control,
.form-select,
.flatpickr-input {
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px solid #334155;
  color: #8aa0c4;
  border-radius: 8px;
  padding: 0.75rem;
  transition: all 0.2s ease-in-out;
  width: 100%; }
  .form-control::placeholder,
  .form-select::placeholder,
  .flatpickr-input::placeholder {
    color: #64748b; }
  .form-control:focus,
  .form-select:focus,
  .flatpickr-input:focus {
    background-color: rgba(15, 23, 42, 0.5);
    border-color: #00c2ff;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.25);
    outline: none;
    color: #8aa0c4; }
  .form-control:valid:not(.is-invalid),
  .form-select:valid:not(.is-invalid) {
    border-left: 3px solid #4ade80; }
  .form-control.is-invalid, .form-control:invalid:not(:focus):not(:placeholder-shown),
  .form-select.is-invalid,
  .form-select:invalid:not(:focus):not(:placeholder-shown) {
    border-left: 3px solid #ef4444; }
    .form-control.is-invalid:focus, .form-control:invalid:not(:focus):not(:placeholder-shown):focus,
    .form-select.is-invalid:focus,
    .form-select:invalid:not(:focus):not(:placeholder-shown):focus {
      border-color: #ef4444;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); }

select option {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
  padding: 8px; }

.form-select option,
.form-control option {
  background-color: #1e293b !important;
  color: #f1f5f9 !important; }

.form-check-input:checked {
  background-color: #00c2ff;
  border-color: #00c2ff; }

.form-check-input:checked[type=radio] {
  --bs-form-check-bg-image: none; }

.form-switch .form-check-input {
  width: 36px;
  height: 18px; }

.view-container {
  border-top: 1px solid #334155;
  width: 95%;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  position: relative; }
  .view-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00c2ff 0%, #0089b8 100%);
    border-radius: 12px 12px 0 0; }
  .view-container h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00c2ff;
    margin-bottom: 1rem; }
  .view-container .view-h2 {
    margin-bottom: 1.5rem; }
    .view-container .view-h2 h2 {
      font-size: 1.125rem;
      font-weight: 600;
      color: #00c2ff;
      margin-bottom: 0; }
  .view-container .table-header {
    background: linear-gradient(135deg, #00c2ff 0%, #0089b8 100%);
    color: #f8fafc;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

.record-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 194, 255, 0.1);
  color: #00c2ff;
  border: 1px solid rgba(0, 194, 255, 0.2); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; }

.detail-item {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05); }
  .detail-item.item-full {
    grid-column: 1 / -1; }

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  opacity: 0.6;
  font-weight: 700; }

.detail-value {
  font-weight: 600;
  color: #f1f5f9; }

.navbar-toggler {
  border-color: #00c2ff !important;
  box-shadow: 0 0 5px rgba(0, 194, 255, 0.5); }
  .navbar-toggler .bi-list {
    color: #00c2ff !important;
    text-shadow: 0 0 5px rgba(0, 194, 255, 0.5); }
  .navbar-toggler:focus {
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.7) !important;
    outline: none; }

.section_header, .section-header {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: #00c2ff;
  letter-spacing: -0.02em; }

.banner-section {
  position: relative;
  z-index: 99;
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.2) 0%, rgba(0, 194, 255, 0.1) 60%);
  padding: 4rem 0;
  border-bottom: 1px solid #334155; }

.banner_content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto; }
  .banner_content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00c2ff;
    margin-bottom: 1.5rem;
    line-height: 1.1; }
    @media (max-width: 768px) {
      .banner_content h1 {
        font-size: 2.5rem; } }
  .banner_content p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6; }

.feature-section {
  padding: 4rem 0;
  background-color: #0f172a; }

.login-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem; }

.login-form {
  width: 100%;
  max-width: 400px;
  background-color: #1e293b;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #334155;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
  .login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #00c2ff; }

.text-highlight {
  color: #00c2ff;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 194, 255, 0.4); }

.lead-text {
  font-size: 1rem;
  color: #8aa0c4;
  line-height: 1.6;
  font-weight: 400; }

.cfr-footer {
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  border-top: 1px solid #334155;
  background-color: rgba(30, 41, 59, 0.5);
  border-radius: 0 0 12px 12px; }
  .cfr-footer .btn, .cfr-footer .btn-primary, .cfr-footer .btn-secondary, .cfr-footer .btn-ghost, .cfr-footer .btn-success, .cfr-footer .btn-danger, .cfr-footer .btn-warning, .cfr-footer .btn-outline-success, .cfr-footer .btn-outline-primary-thin, .cfr-footer .btn-neon, .cfr-footer .btn-outline-neon {
    min-width: 150px; }
  .cfr-footer i {
    padding-right: 5px; }
  .cfr-footer .mobile-dropdown-wrapper {
    width: 100%; }
    .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content {
      justify-content: flex-end;
      width: 100%;
      gap: 1rem; }
    @media (max-width: 768px) {
      .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-toggle {
        width: 100%;
        justify-content: center;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.05em; }
      .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content {
        width: 100% !important; }
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-primary, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-secondary, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-ghost, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-success, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-danger, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-warning, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-outline-success, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-outline-primary-thin, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-neon, .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content a.btn-outline-neon,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-primary,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-secondary,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-ghost,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-success,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-danger,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-warning,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-outline-success,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-outline-primary-thin,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-neon,
        .cfr-footer .mobile-dropdown-wrapper .mobile-dropdown-content button.btn-outline-neon {
          width: 100% !important;
          justify-content: flex-start; } }
.cfr-status-card {
  padding: 1rem !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important; }
  .cfr-status-card .cfr-icon {
    font-size: 2rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center; }
  .cfr-status-card .cfr-content {
    flex-grow: 1; }
    .cfr-status-card .cfr-content .cfr-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      opacity: 0.5;
      font-weight: 700;
      letter-spacing: 0.05em;
      line-height: 1;
      margin-bottom: 2px; }
    .cfr-status-card .cfr-content .cfr-value {
      font-weight: 700;
      line-height: 1.2; }
    .cfr-status-card .cfr-content .cfr-meta {
      font-size: 0.75rem;
      opacity: 0.75;
      margin-top: 2px; }

.timeline-container {
  position: relative;
  padding: 1rem 0; }
  .timeline-container::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 194, 255, 0.3) 0%, rgba(0, 194, 255, 0.1) 100%); }

.timeline-event {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2.5rem; }
  .timeline-event::before {
    content: '';
    position: absolute;
    left: 0.85rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid #00c2ff;
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.4);
    z-index: 2; }
  .timeline-event.event-create::before {
    border-color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4); }
  .timeline-event.event-delete::before {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }

.audit-card {
  margin-bottom: 0;
  padding: 0; }
  .audit-card .card-header {
    background: rgba(0, 194, 255, 0.05);
    border-bottom: 1px solid rgba(0, 194, 255, 0.15);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  .audit-card .card-body {
    padding: 0; }

.audit-grid {
  display: grid;
  grid-template-columns: 240px 1fr; }
  @media (max-width: 992px) {
    .audit-grid {
      grid-template-columns: 1fr; } }
.audit-sidebar {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(0, 194, 255, 0.1); }
  .audit-sidebar .meta-item {
    margin-bottom: 1rem; }
    .audit-sidebar .meta-item label {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      opacity: 0.5;
      font-weight: 700;
      margin-bottom: 0.25rem;
      display: block; }
    .audit-sidebar .meta-item span {
      display: block;
      font-size: 0.9rem;
      color: #f1f5f9; }

.audit-content {
  padding: 0;
  overflow-x: auto; }

.change-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.875rem; }
  .change-table th {
    text-align: left;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 194, 255, 0.1);
    color: #00c2ff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 194, 255, 0.15); }
  .change-table td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top; }
    .change-table td.field-name {
      width: 30%;
      color: #4ddbff;
      font-weight: 500;
      background: rgba(255, 255, 255, 0.01); }
    .change-table td.field-value {
      font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
      .change-table td.field-value.is-changed {
        color: #f8fafc;
        font-weight: 600; }
      .change-table td.field-value code {
        font-family: 'Cascadia Code', 'Fira Code', monospace;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.1rem 0.3rem;
        border-radius: 4px;
        font-size: 0.8rem;
        color: #b3efff; }
  .change-table tr.row-changed {
    background: rgba(0, 194, 255, 0.03); }
    .change-table tr.row-changed td.field-name {
      color: #00c2ff; }

.audit-footer {
  padding: 0.75rem 1.25rem;
  background: rgba(0, 194, 255, 0.02);
  border-top: 1px solid rgba(0, 194, 255, 0.1);
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8; }

.badge-compromised {
  background-color: #ffc107 !important;
  color: #842029 !important;
  font-weight: 800;
  border: 2px solid #dc3545;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem; }
  .badge-compromised i {
    font-size: 0.9rem; }

.hash-mismatch-banner {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-left: 5px solid #dc3545;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start; }
  .hash-mismatch-banner .banner-icon {
    color: #dc3545;
    font-size: 1.5rem; }
  .hash-mismatch-banner .banner-text h5 {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase; }
  .hash-mismatch-banner .banner-text p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4; }

.change-table tr.row-changed {
  background: rgba(0, 194, 255, 0.08) !important; }
  .change-table tr.row-changed td.field-name {
    background: rgba(0, 194, 255, 0.12) !important;
    border-left: 3px solid #00c2ff; }
  .change-table tr.row-changed td.field-value.is-changed {
    background: rgba(0, 194, 255, 0.05);
    color: #b3efff;
    font-weight: 600; }
    .change-table tr.row-changed td.field-value.is-changed::selection {
      background: #00c2ff;
      color: white; }

/* 
 * ABSOLUTE UI ENFORCEMENT 
 * These rules override ALL Bootstrap and legacy styles to ensure Glassmorphism consistency.
 */
.card, .modal-content {
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 194, 255, 0.25) !important;
}

.table, .table-dark, .table-light, .bg-white, .bg-light, .bg-dark {
    background-color: transparent !important;
    --bs-table-bg: transparent !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
    background-image: none !important;
}

.table th {
    background-color: rgba(0, 194, 255, 0.05) !important;
    color: #00c2ff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.75rem !important;
    border-bottom: 2px solid rgba(0, 194, 255, 0.3) !important;
}

.table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #8aa0c4 !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 194, 255, 0.1) !important;
    transition: background-color 0.2s ease !important;
}

.listing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(0, 194, 255, 0.25) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.border-glass {
  border: 1px solid rgba(0, 194, 255, 0.25) !important;
}

.shadow-premium {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 194, 255, 0.1) !important;
}

.req-risk-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.req-risk-critical { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.4); }
.req-risk-high { background: rgba(251, 146, 60, 0.2); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.4); }
.req-risk-medium { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.req-risk-low { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4); }

.req-test-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.req-pill-auto { background: rgba(0, 194, 255, 0.15); color: #00c2ff; border-color: rgba(0, 194, 255, 0.3); }
.req-pill-manual { background: rgba(167, 139, 250, 0.15); color: #a78bfa; border-color: rgba(167, 139, 250, 0.3); }
.req-pill-sop { background: rgba(236, 72, 153, 0.15); color: #ec4899; border-color: rgba(236, 72, 153, 0.3); }
.req-pill-doc { background: rgba(74, 222, 128, 0.15); color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }
.req-pill-train { background: rgba(251, 146, 60, 0.15); color: #fb923c; border-color: rgba(251, 146, 60, 0.3); }
.req-pill-infra { background: rgba(241, 245, 249, 0.1); color: #f1f5f9; border-color: rgba(241, 245, 249, 0.2); }

.opacity-40 { opacity: 0.4 !important; }

.footer {
  flex-shrink: 0;
  background-color: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(0, 194, 255, 0.2);
  padding: 2rem 0;
  margin-top: auto; }
  .footer .footer-text {
    color: #64748b;
    font-size: 0.875rem; }
  .footer .footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out; }
    .footer .footer-link:hover {
      color: #4ddbff;
      text-shadow: 0 0 8px rgba(0, 194, 255, 0.4); }

html, body {
  height: 100%; }

body {
  display: flex;
  flex-direction: column; }

.base-container {
  flex: 1 0 auto; }

.mobile-dropdown-wrapper {
  position: relative; }
  .mobile-dropdown-wrapper .mobile-dropdown-toggle {
    display: none; }
  .mobile-dropdown-wrapper .mobile-dropdown-content {
    display: flex;
    align-items: center;
    gap: 0.5rem; }
  @media (max-width: 768px) {
    .mobile-dropdown-wrapper .mobile-dropdown-toggle {
      display: inline-flex;
      font-size: 1.5rem;
      color: #26ceff;
      cursor: pointer;
      padding: 0.25rem 0.5rem;
      border: 1px solid rgba(0, 194, 255, 0.2);
      border-radius: 6px;
      background: rgba(0, 194, 255, 0.1);
      line-height: 1;
      transition: all 0.2s ease;
      user-select: none; }
      .mobile-dropdown-wrapper .mobile-dropdown-toggle:hover {
        background: rgba(0, 194, 255, 0.2); }
    .mobile-dropdown-wrapper .mobile-dropdown-content {
      display: none !important;
      position: absolute;
      top: calc(100% + 0.5rem);
      right: 0;
      min-width: 180px;
      padding: 0;
      z-index: 1050;
      flex-direction: column;
      gap: 0 !important;
      background: linear-gradient(180deg, rgba(0, 194, 255, 0.2) 0%, rgba(0, 194, 255, 0.1) 60%);
      border: 1px solid rgba(0, 194, 255, 0.25);
      border-radius: 8px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(8px); }
      .mobile-dropdown-wrapper .mobile-dropdown-content a.btn,
      .mobile-dropdown-wrapper .mobile-dropdown-content a {
        display: flex !important;
        align-items: center;
        width: 100%;
        background: transparent;
        border: none;
        padding: 0.75rem 1rem !important;
        text-align: left;
        transition: background 0.2s ease;
        margin: 0 !important;
        gap: 0.5rem !important;
        color: #8aa0c4;
        border-radius: 0;
        box-shadow: none;
        transform: none !important; }
        .mobile-dropdown-wrapper .mobile-dropdown-content a.btn:hover,
        .mobile-dropdown-wrapper .mobile-dropdown-content a:hover {
          background: rgba(0, 194, 255, 0.15);
          color: #4ddbff; }
        .mobile-dropdown-wrapper .mobile-dropdown-content a.btn:not(:last-child),
        .mobile-dropdown-wrapper .mobile-dropdown-content a:not(:last-child) {
          border-bottom: 1px solid rgba(0, 194, 255, 0.25); }
    .mobile-dropdown-wrapper.active .mobile-dropdown-content {
      display: flex !important; } }
.component-preview {
  background-color: #0f172a;
  padding: 1.5rem;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-bottom: 1rem; }

.code-snippet {
  position: relative;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px; }
  .code-snippet pre {
    margin: 0;
    padding: 1rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    white-space: pre-wrap; }
  .code-snippet .btn-copy {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #334155;
    color: #f1f5f9;
    border: 1px solid #475569;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease; }
    .code-snippet .btn-copy:hover {
      background-color: #475569; }
