/* ==========================================================================
   css/components.css - Cards, Badges, Buttons, Forms, Tables, Grids, Modals
   Conforms to OES Front-End Specification v2.1
   ========================================================================== */

/* Grid and Flex Layout */
canvas {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -0.75rem;
  margin-block: 0;
}

[class*="col-"], .col {
  padding-inline: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-auto { flex: 0 0 auto; width: auto; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

@media (min-width: 768px) {
  .d-md-flex { display: flex !important; }
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline-block { display: inline-block !important; }
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline-block { display: inline-block !important; }
}

/* Spacing Helpers */
.m-0 { margin: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.me-2 { margin-inline-end: 0.5rem !important; }
.ms-2 { margin-inline-start: 0.5rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

/* Width utilities */
.w-100 { width: 100% !important; }
.w-75 { width: 75% !important; }
.w-50 { width: 50% !important; }
.w-25 { width: 25% !important; }

/* Text Utilities */
.text-start { text-align: start !important; }
.text-center { text-align: center !important; }
.text-end { text-align: end !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--brand-primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-normal { font-weight: 400 !important; }

/* Cards (Section 2.4 & Section 25) */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.card-header {
  padding: 1rem 1.5rem;
  background-color: transparent;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  background-color: transparent;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* KPI Stat Cards (Section 2.1 & 3.6) */
.kpi-card {
  padding: 1.25rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.kpi-card-tint-orange { background-color: var(--card-tint-orange); }
.kpi-card-tint-blue { background-color: var(--card-tint-blue); }
.kpi-card-tint-warning { background-color: var(--card-tint-warning); }
.kpi-card-tint-green { background-color: var(--card-tint-green); }
.kpi-card-tint-red { background-color: var(--card-tint-red); }

.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.kpi-icon-blue { background: #EAF1FF; color: #316AFF; }
.kpi-icon-orange { background: #FFF3E8; color: #FF8110; }
.kpi-icon-green { background: #E6F7EF; color: #20B078; }
.kpi-icon-sky { background: #EAF7FE; color: #02B4FA; }
.kpi-icon-yellow { background: #FDF6DC; color: #FDBB1F; }
.kpi-icon-red { background: #FDE9E5; color: #FF401C; }

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

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

.kpi-trend {
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.kpi-trend.up { color: #20B078; }
.kpi-trend.down { color: #FF401C; }

/* Status Badges (Section 2.2) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-success, .badge-active, .badge-published, .badge-passed, .badge-verified, .badge-approved, .badge-featured {
  background-color: #E6F7EF;
  color: #082038;
}

.badge-warning, .badge-pending, .badge-scheduled, .badge-needs-review, .badge-under-review {
  background-color: #FDF6DC;
  color: #082038;
}

.badge-draft {
  background-color: #E8E8F0;
  color: #3D4F6B;
}

.badge-live, .badge-in-progress, .badge-processing {
  background-color: #EAF1FF;
  color: #2452D6;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2452D6;
  animation: pulse 1.5s infinite;
}

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

.badge-danger, .badge-failed, .badge-error, .badge-rejected, .badge-declined {
  background-color: #FDE9E5;
  color: #082038;
}

.badge-absent {
  background-color: #F8F8F8;
  color: #3D4F6B;
}

.badge-locked, .badge-blocked {
  background-color: #F8F8F8;
  color: #3D4F6B;
}

.badge-expired, .badge-archived, .badge-hidden {
  background-color: #F8F8F8;
  color: #5B6B8A;
  text-decoration: line-through;
}

/* Buttons (Section 2.5) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--brand-dark);
  color: #FFFFFF;
}

.btn-secondary, .btn-outline-primary {
  background-color: #FFFFFF;
  border-color: #6B7A96;
  color: var(--text-primary);
}

.btn-secondary:hover, .btn-outline-primary:hover {
  background-color: var(--page-bg);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

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

.btn-danger:hover {
  background-color: #D93010;
  color: #FFFFFF;
}

.btn-ghost {
  background-color: transparent;
  color: var(--brand-primary);
}

.btn-ghost:hover {
  background-color: rgba(49, 106, 255, 0.08);
}

.btn-review {
  background-color: #FFFFFF;
  border-color: var(--warning);
  color: #082038;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--btn-radius);
}

.btn-sm {
  height: 32px;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
}

/* Form Controls (Section 2.4 & 3.6) */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.required-asterisk {
  color: var(--danger);
  margin-inline-start: 2px;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  height: var(--input-height);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-primary);
  background-color: #FFFFFF;
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(49, 106, 255, 0.2);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  padding: 0.75rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.75rem;
  color: #C42E12;
  margin-top: 0.25rem;
}

/* Checkbox & Switch */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

/* Tables (Section 3.6 & 13.3) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  margin-bottom: 0;
  color: var(--text-primary);
  vertical-align: middle;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.875rem;
}

.table th {
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--page-bg);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

/* Mock Notice Banner (Section 3.8) */
.mock-notice {
  background-color: var(--warning-bg);
  color: #082038;
  font-size: 0.875rem;
  border-radius: var(--btn-radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #F4DE8C;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Alerts */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-info { background: var(--info-bg); color: #082038; border: 1px solid #BFE7FC; }
.alert-success { background: var(--success-bg); color: #082038; border: 1px solid #A8ECD0; }
.alert-warning { background: var(--warning-bg); color: #082038; border: 1px solid #F4DE8C; }
.alert-danger { background: var(--danger-bg); color: #082038; border: 1px solid #FAB8AC; }

/* Empty State (Section 3.6) */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--page-bg);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 1.5rem auto;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 32, 56, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-backdrop.show {
  display: flex;
}

.modal-dialog {
  background: var(--card-bg);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  pointer-events: auto !important;
}

/* Stepper */
.stepper-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
}

.stepper-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.stepper-item.active .stepper-circle {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.stepper-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Marketing & Public Showcase Components
   ========================================================================== */

/* Hero Section */
.hero-wrapper {
  padding: 3rem 0 2.5rem 0;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(49, 106, 255, 0.08);
  border: 1px solid rgba(49, 106, 255, 0.2);
  border-radius: 20px;
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title-main {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* CBT Live Simulation Box */
.cbt-sim-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.cbt-sim-header {
  background: #1E293B;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.cbt-sim-body {
  padding: 1.5rem;
}

.cbt-sim-qmeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}

.cbt-sim-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.875rem;
}

.cbt-sim-option:hover, .cbt-sim-option.selected {
  border-color: var(--brand-primary);
  background-color: rgba(49, 106, 255, 0.05);
}

.cbt-sim-option.selected {
  font-weight: 600;
  color: var(--brand-primary);
}

/* Stat Counter Banner */
.stat-counter-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  margin-bottom: 3.5rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Role Portals Showcase */
.role-portal-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--brand-primary);
}

.role-portal-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.role-portal-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.role-portal-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* Pricing Cards */
.pricing-card-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card-box.popular-tier {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 10px 30px rgba(49, 106, 255, 0.12);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  inset-inline-end: 2rem;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 1.25rem;
}

.pricing-plan-cost {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-interval {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.pricing-feature-item .ti-check {
  color: #10B981;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Exam Directory Cards */
.exam-directory-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.exam-directory-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.exam-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.exam-title-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.exam-meta-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.exam-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  background-color: var(--page-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.exam-desc-preview {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Enterprise Solutions Grid */
.solution-feature-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.solution-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(49, 106, 255, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.solution-box-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.solution-box-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

/* Trust Badges Bar */
.trust-cert-banner {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.trust-cert-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-badge-item .ti {
  font-size: 1.4rem;
  color: var(--brand-primary);
}

/* Toast Notifications */
.oes-toast-container {
  position: fixed;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.oes-toast {
  pointer-events: auto;
  background: #1E293B;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.oes-toast.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.oes-toast-success {
  border-inline-start: 4px solid #10B981;
}

.oes-toast-danger {
  border-inline-start: 4px solid #EF4444;
}

/* Custom Accessible Modal Dialogs */
.modal-backdrop-custom {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  background: rgba(8, 32, 56, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-backdrop-custom.show {
  display: flex !important;
}

.modal-backdrop-custom .modal-card {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.modal-backdrop-custom .modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-backdrop-custom .modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.modal-backdrop-custom .modal-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--card-border);
  background: var(--page-bg);
}


