/* ===================================================
   ARKAAN CREDENTIALS SYSTEM - CORE STYLESHEET
   Design Language: Prestige Academic & Executive Professional
   Brand Palette: Royal Navy (#0B2046) & Warm Gold (#C5A059)
   =================================================== */

:root {
  --cred-navy: #0B2046;
  --cred-navy-light: #142B58;
  --cred-navy-dark: #071530;
  --cred-gold: #C5A059;
  --cred-gold-light: #DFC07B;
  --cred-gold-subtle: rgba(197, 160, 89, 0.12);
  --cred-bg: #F8FAFC;
  --cred-card-bg: #FFFFFF;
  --cred-text-main: #0F172A;
  --cred-text-muted: #64748B;
  --cred-border: #E2E8F0;
  --cred-border-hover: #CBD5E1;
  --cred-success: #10B981;
  --cred-danger: #EF4444;
  --cred-radius: 12px;
  --cred-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --cred-shadow: 0 4px 14px rgba(11, 32, 70, 0.08);
  --cred-shadow-lg: 0 10px 28px rgba(11, 32, 70, 0.14);
}

/* Global Container & Typography */
.cred-body-wrap {
  background-color: var(--cred-bg);
  min-height: 85vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--cred-text-main);
  padding-bottom: 60px;
}

/* Experience Switcher Bar */
.cred-header-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--cred-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.cred-brand-badge {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cred-gold);
  font-weight: 700;
}
.cred-switcher-toggle {
  background: rgba(11, 32, 70, 0.06);
  border: 1px solid rgba(11, 32, 70, 0.12);
  border-radius: 30px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
}
.cred-switcher-item {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.cred-switcher-item.active {
  background: var(--cred-navy);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(11, 32, 70, 0.25);
}
.cred-switcher-item.inactive {
  color: var(--cred-navy);
}
.cred-switcher-item.inactive:hover {
  background: rgba(11, 32, 70, 0.08);
}

/* Sub-Navigation Tabs */
.cred-nav-tabs {
  border-bottom: 1px solid var(--cred-border);
  background: #ffffff;
}
.cred-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: var(--cred-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.cred-tab-link:hover {
  color: var(--cred-navy);
}
.cred-tab-link.active {
  color: var(--cred-navy);
  border-bottom-color: var(--cred-gold);
}

/* Cards */
.cred-card {
  background: #ffffff;
  border: 1px solid var(--cred-border);
  border-radius: var(--cred-radius);
  box-shadow: var(--cred-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.cred-card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--cred-shadow);
  border-color: var(--cred-border-hover);
}
.cred-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--cred-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Certificate wallet */
.cred-wallet-page {
  position: relative;
  padding: 8px 0 24px;
}
.cred-wallet-page > .row {
  position: relative;
  z-index: 1;
}
.cred-wallet-hero {
  padding: 18px 20px;
  border: 1px solid rgba(57, 192, 243, 0.16);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(57, 192, 243, 0.1), rgba(255, 255, 255, 0.72));
}
.cred-wallet-eyebrow {
  color: #087FA8;
  background: rgba(57, 192, 243, 0.14);
  border: 1px solid rgba(57, 192, 243, 0.32);
  letter-spacing: 1px;
  font-size: 11px;
}
.cred-wallet-page .text-arkaan {
  color: #39C0F3 !important;
}
.cred-wallet-page .btn-cred-outline {
  color: #087FA8;
  border-color: #39C0F3;
}
.cred-wallet-page .btn-cred-outline:hover {
  color: #073B55;
  background: #39C0F3;
}
.cred-wallet-card {
  border-color: rgba(57, 192, 243, 0.18) !important;
  box-shadow: 0 10px 26px rgba(11, 32, 70, 0.07) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cred-wallet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 32, 70, 0.12) !important;
}
.cred-wallet-preview {
  background: #EEF9FC !important;
  border: 1px solid rgba(57, 192, 243, 0.26) !important;
  box-shadow: inset 0 1px 3px rgba(11, 32, 70, 0.04);
}
.cred-wallet-mini-certificate {
  min-height: 154px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #39C0F3;
  border-radius: 6px;
  box-shadow: 0 5px 14px rgba(11, 32, 70, 0.06);
}
.cred-mini-brand {
  color: #087FA8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.cred-mini-title {
  color: #0B6F98;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cred-mini-recipient {
  color: #073B55;
  font-size: 14px;
  font-style: italic;
  font-weight: 800;
  margin: 6px 0;
}
.cred-mini-program {
  color: #334155;
  font-size: 11px;
}
.cred-mini-meta {
  color: #64748B !important;
  font-size: 9.5px;
}
.cred-wallet-card .btn[style*="0B2046"] {
  background: #0B8FBE !important;
  border-color: #0B8FBE !important;
}

/* Assessment centre and history */
.cred-assessments-page,
.cred-history-page {
  position: relative;
  padding: 8px 0 24px;
}
.cred-assessments-hero,
.cred-history-hero {
  padding: 18px 20px;
  border: 1px solid rgba(57, 192, 243, 0.16);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(57, 192, 243, 0.1), rgba(255, 255, 255, 0.72));
}
.cred-assessment-eyebrow {
  color: #087FA8;
  background: rgba(57, 192, 243, 0.14);
  border: 1px solid rgba(57, 192, 243, 0.32);
  letter-spacing: 1px;
  font-size: 11px;
}
.cred-assessments-page .cred-card,
.cred-history-page .cred-card {
  border-color: rgba(57, 192, 243, 0.18) !important;
  box-shadow: 0 9px 24px rgba(11, 32, 70, 0.07) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cred-assessments-page .cred-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(11, 32, 70, 0.11) !important;
}
.cred-assessments-page .nav-pills .nav-link {
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
.cred-assessments-page .nav-pills .nav-link.active,
.cred-assessments-page .nav-pills .nav-link:hover {
  color: #073B55;
  background: #39C0F3;
  border-color: #39C0F3;
}
.cred-assessments-page .btn-outline-secondary,
.cred-history-page .btn-outline-secondary {
  color: #087FA8;
  border-color: #39C0F3;
}
.cred-assessments-page .btn-outline-secondary:hover,
.cred-history-page .btn-outline-secondary:hover {
  color: #073B55;
  background: #39C0F3;
  border-color: #39C0F3;
}
.cred-assessments-page .table,
.cred-history-page .table {
  border-collapse: separate;
  border-spacing: 0;
}
.cred-history-page .table thead {
  background: #EFFBFE !important;
}
.cred-history-page .table thead th {
  color: #087FA8 !important;
  border-bottom: 1px solid rgba(57, 192, 243, 0.2) !important;
  font-size: 11px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}
.cred-history-page .table tbody tr {
  transition: background 0.18s ease;
}
.cred-history-page .table tbody tr:hover {
  background: #F4FCFE;
}
.cred-history-page .table td {
  vertical-align: middle;
  border-color: #EDF2F7;
}

.cred-notification-button { width: 34px; height: 34px; padding: 0; color: var(--cred-navy); }
.cred-notification-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 1px 4px; color: #fff; background: #EF4444; border-radius: 12px; font-size: 9px; font-weight: 800; }
.cred-notification-menu { width: 320px; max-width: calc(100vw - 24px); max-height: 420px; overflow-y: auto; overflow-x: hidden; border-radius: 10px; }
.cred-notification-menu .dropdown-item { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.cred-notification-unread { background: rgba(57, 192, 243, .1); border-left: 3px solid #39C0F3; }
.cred-dark-mode { --cred-bg: #0F172A; --cred-card-bg: #162032; --cred-text-main: #E2E8F0; --cred-text-muted: #94A3B8; --cred-border: #334155; background: #0F172A !important; color: #E2E8F0; }
.cred-dark-mode .cred-navbar, .cred-dark-mode .cred-footer-clean, .cred-dark-mode .card, .cred-dark-mode .cred-card, .cred-dark-mode .card-header, .cred-dark-mode .bg-white { background: #162032 !important; color: #E2E8F0; border-color: #334155 !important; }
.cred-dark-mode .text-dark, .cred-dark-mode .text-muted, .cred-dark-mode .cred-card h5, .cred-dark-mode .card h5 { color: #E2E8F0 !important; }
.cred-dark-mode .table, .cred-dark-mode .list-group-item { color: #E2E8F0; background: #162032; border-color: #334155; }
.cred-dark-mode .dropdown-menu { background: #162032; border-color: #334155; }
.cred-dark-mode .dropdown-item { color: #E2E8F0; }
.cred-dark-mode .dropdown-item:hover { background: #24344D; }
.cred-dark-mode .cred-navbar .btn-light,
.cred-dark-mode .cred-navbar .btn-light:hover,
.cred-dark-mode .cred-navbar .btn-light:focus { background: #24344D !important; color: #F8FAFC !important; border-color: #475569 !important; }
.cred-dark-mode .nav-link-cred { color: #CBD5E1; }
.cred-dark-mode .nav-link-cred:hover,
.cred-dark-mode .nav-link-cred.active { color: #F8FAFC; background: #24344D; }
.cred-dark-mode a:not(.btn):not(.dropdown-item) { color: #7DD3FC; }
.cred-dark-mode .form-control,
.cred-dark-mode .custom-select,
.cred-dark-mode .input-group-text { color: #F8FAFC; background: #1E293B; border-color: #475569; }
.cred-dark-mode .form-control::placeholder { color: #94A3B8; }
.cred-dark-mode .table thead,
.cred-dark-mode .thead-light { background: #24344D !important; color: #F8FAFC; }
.cred-dark-mode [style*="background: #fff"],
.cred-dark-mode [style*="background:#fff"],
.cred-dark-mode [style*="background: #ffffff"],
.cred-dark-mode [style*="background:#ffffff"],
.cred-dark-mode [style*="background: #F8FAFC"],
.cred-dark-mode [style*="background: #F3FBFE"],
.cred-dark-mode [style*="background: #FFFDF7"] { background: #162032 !important; }
.cred-dark-mode [style*="color: var(--cred-navy)"],
.cred-dark-mode [style*="color:#0B2046"],
.cred-dark-mode [style*="color: #0B2046"] { color: #F8FAFC !important; }
.cred-dark-mode .cred-assessments-page .p-3.rounded,
.cred-dark-mode .cred-history-page .table thead,
.cred-dark-mode .cred-wallet-preview,
.cred-dark-mode .cred-wallet-mini-certificate,
.cred-dark-mode .cred-verify-page .p-3.rounded,
.cred-dark-mode .cred-profile-page .bg-light { background: #1E293B !important; color: #E2E8F0 !important; border-color: #475569 !important; }
.cred-dark-mode .cred-mini-brand,
.cred-dark-mode .cred-mini-title,
.cred-dark-mode .cred-mini-recipient,
.cred-dark-mode .cred-mini-program,
.cred-dark-mode .cred-mini-meta { color: #E2E8F0 !important; }
.cred-dark-mode .cred-assessments-page .badge-outline-primary,
.cred-dark-mode .cred-assessments-page .badge-secondary,
.cred-dark-mode .cred-wallet-card .badge-outline-primary { background: #24344D !important; color: #BAE6FD !important; border-color: #475569 !important; }
.cred-dark-mode .cred-assessments-page .text-muted,
.cred-dark-mode .cred-history-page .text-muted,
.cred-dark-mode .cred-wallet-page .text-muted { color: #CBD5E1 !important; }
.cred-dark-mode .cred-assessment-detail-page .program-description { color: #CBD5E1 !important; }
.cred-dark-mode .cred-assessment-detail-page .card.bg-light { background: #1E293B !important; border: 1px solid #475569 !important; }
.cred-dark-mode .cred-assessment-detail-page .alert-warning { background: #3A2F16 !important; color: #FDE68A !important; border: 1px solid #806B30 !important; }
.cred-dark-mode .cred-assessment-detail-page .alert-warning h6,
.cred-dark-mode .cred-assessment-detail-page .alert-warning li { color: #FDE68A !important; }
.cred-dark-mode .cred-assessment-detail-page .btn-cred-primary { background: #087FA8 !important; color: #FFFFFF !important; }
.cred-dark-mode .cred-dashboard .card-header,
.cred-dark-mode .cred-dashboard .card-body,
.cred-dark-mode .cred-dashboard .list-group-item,
.cred-dark-mode .cred-dashboard .bg-light { background: #162032 !important; color: #E2E8F0 !important; }
.cred-dark-mode .cred-dashboard .text-white { color: #FFFFFF !important; }
.cred-dark-mode .cred-dashboard .text-dark,
.cred-dark-mode .cred-dashboard h5,
.cred-dark-mode .cred-dashboard h6 { color: #F8FAFC !important; }
.cred-dark-mode .cred-dashboard .text-muted { color: #B6C2D1 !important; }
.cred-dark-mode .cred-dashboard .border-top,
.cred-dark-mode .cred-dashboard .border-bottom { border-color: #334155 !important; }

/* Dedicated notification page */
.cred-notifications-page { max-width: 960px; margin: 0 auto; padding: 12px 0 28px; }
.cred-notifications-hero { padding: 28px 30px; border: 1px solid rgba(57,192,243,.2); border-radius: 14px; background: linear-gradient(110deg,#0B6F98,#39C0F3); color: #fff; box-shadow: 0 12px 28px rgba(11,32,70,.12); }
.cred-notifications-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; opacity: .85; }
.cred-notifications-hero h1 { margin: 6px 0; font-weight: 800; font-size: 30px; }
.cred-notifications-hero p { margin: 0; opacity: .9; }
.cred-notification-card { display: flex; gap: 16px; padding: 18px 20px; margin-bottom: 12px; border: 1px solid rgba(57,192,243,.16); border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(11,32,70,.06); }
.cred-notification-card.is-unread { border-left: 4px solid #39C0F3; background: #F3FBFE; }
.cred-notification-icon { width: 38px; height: 38px; flex: 0 0 38px; display: flex; align-items: center; justify-content: center; color: #087FA8; background: rgba(57,192,243,.14); border-radius: 50%; }
.cred-notification-card h2 { margin: 0; color: #0B2046; font-size: 16px; font-weight: 800; }
.cred-notification-card p { margin: 5px 0; color: #475569; line-height: 1.5; }
.cred-notification-card time { color: #94A3B8; font-size: 12px; }
.cred-notification-new { padding: 3px 6px; color: #073B55; background: #39C0F3; border-radius: 4px; font-size: 9px; font-weight: 800; }
.cred-notifications-empty { padding: 60px 20px; text-align: center; color: #64748B; background: #fff; border: 1px dashed #B8E7F5; border-radius: 12px; }
.cred-notifications-empty i { color: #39C0F3; font-size: 34px; }
.cred-dark-mode .cred-notification-card,
.cred-dark-mode .cred-notifications-empty { background: #162032; color: #E2E8F0; border-color: #334155; }
.cred-dark-mode .cred-notification-card h2 { color: #F8FAFC; }
.cred-dark-mode .cred-notification-card p { color: #CBD5E1; }

/* Global dark-mode contrast across every Credentials surface */
.cred-dark-mode .cred-body-wrap,
.cred-dark-mode main,
.cred-dark-mode .cred-main-content { background: #0F172A !important; color: #E2E8F0 !important; }
.cred-dark-mode h1,
.cred-dark-mode h2,
.cred-dark-mode h3,
.cred-dark-mode h4,
.cred-dark-mode h5,
.cred-dark-mode h6,
.cred-dark-mode .h1,
.cred-dark-mode .h2,
.cred-dark-mode .h3,
.cred-dark-mode .h4,
.cred-dark-mode .h5,
.cred-dark-mode .h6 { color: #F8FAFC !important; }
.cred-dark-mode p,
.cred-dark-mode span,
.cred-dark-mode label,
.cred-dark-mode small,
.cred-dark-mode li,
.cred-dark-mode td,
.cred-dark-mode th,
.cred-dark-mode .text-muted,
.cred-dark-mode .text-secondary { color: #CBD5E1 !important; }
.cred-dark-mode .text-dark,
.cred-dark-mode strong,
.cred-dark-mode .font-weight-bold { color: #F8FAFC !important; }
.cred-dark-mode a:not(.btn):not(.dropdown-item),
.cred-dark-mode .text-primary,
.cred-dark-mode .cred-card a { color: #7DD3FC !important; }
.cred-dark-mode .card,
.cred-dark-mode .cred-card,
.cred-dark-mode .cred-stat-box,
.cred-dark-mode .cred-plan-card,
.cred-dark-mode .cred-history-card,
.cred-dark-mode .cred-wallet-card,
.cred-dark-mode .cred-verify-result,
.cred-dark-mode .cred-notification-card { background: #162032 !important; border-color: #3B526D !important; color: #E2E8F0 !important; }
.cred-dark-mode .card-header,
.cred-dark-mode .card-body,
.cred-dark-mode .card-footer,
.cred-dark-mode .card .bg-light,
.cred-dark-mode .bg-light,
.cred-dark-mode .bg-white { background: #162032 !important; color: #E2E8F0 !important; }
.cred-dark-mode [style*="#0B2046"],
.cred-dark-mode [style*="#071530"],
.cred-dark-mode [style*="var(--cred-navy)"],
.cred-dark-mode [style*="#1E293B"] { color: #F8FAFC !important; }
.cred-dark-mode .table,
.cred-dark-mode .table thead,
.cred-dark-mode .table tbody,
.cred-dark-mode .table tr,
.cred-dark-mode .table td,
.cred-dark-mode .table th { background: #162032 !important; color: #E2E8F0 !important; border-color: #3B526D !important; }
.cred-dark-mode .table-hover tbody tr:hover { background: #24344D !important; }
.cred-dark-mode .badge-light,
.cred-dark-mode .badge-secondary,
.cred-dark-mode .list-group-item,
.cred-dark-mode .input-group-text { background: #24344D !important; color: #F8FAFC !important; border-color: #475569 !important; }
.cred-dark-mode .btn-outline-secondary,
.cred-dark-mode .btn-light,
.cred-dark-mode .btn-outline-primary { color: #7DD3FC !important; border-color: #39C0F3 !important; background: transparent !important; }
.cred-dark-mode .btn-outline-secondary:hover,
.cred-dark-mode .btn-light:hover,
.cred-dark-mode .btn-outline-primary:hover { color: #073B55 !important; background: #39C0F3 !important; }
.cred-dark-mode code { color: #BAE6FD !important; background: #24344D !important; }
.cred-dark-mode hr { border-color: #334155 !important; }
@media (max-width: 575.98px) { .cred-notification-menu { width: min(320px, calc(100vw - 24px)); } .cred-notifications-hero { padding: 22px 20px; } }

/* Public verification portal */
.cred-verify-page {
  position: relative;
  padding-bottom: 28px;
}
.cred-verify-page .cred-card {
  border-color: rgba(57, 192, 243, 0.18) !important;
  box-shadow: 0 10px 28px rgba(11, 32, 70, 0.07) !important;
}
.cred-verify-page .cred-verify-eyebrow {
  color: #087FA8;
  background: rgba(57, 192, 243, 0.13);
  border: 1px solid rgba(57, 192, 243, 0.32);
  letter-spacing: 1.4px;
  font-size: 11px;
}
.cred-verify-page .input-group-lg .form-control {
  border-color: #B8E7F5;
}
.cred-verify-page .input-group-lg .form-control:focus {
  border-color: #39C0F3;
  box-shadow: 0 0 0 0.16rem rgba(57, 192, 243, 0.16);
}
.cred-verify-page .input-group-lg .btn-warning {
  background: #39C0F3 !important;
  border-color: #39C0F3 !important;
  color: #073B55 !important;
}
.cred-verify-result {
  overflow: hidden;
  border: 2px solid #39C0F3 !important;
  border-radius: 14px;
}
.cred-verify-result.cred-verify-revoked {
  border-color: #F59E0B !important;
}
.cred-verify-result .bg-success {
  background: linear-gradient(110deg, #087FA8, #39C0F3) !important;
}
.cred-security-note {
  padding: 10px 12px;
  color: #087FA8;
  background: #EFFBFE;
  border: 1px solid rgba(57, 192, 243, 0.2);
  border-radius: 7px;
  font-size: 12px;
}
.cred-card-body {
  padding: 20px;
}

/* Stat Widgets */
.cred-stat-box {
  background: #ffffff;
  border: 1px solid var(--cred-border);
  border-radius: var(--cred-radius);
  padding: 20px;
  box-shadow: var(--cred-shadow-sm);
}
.cred-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cred-stat-navy {
  background: rgba(11, 32, 70, 0.08);
  color: var(--cred-navy);
}
.cred-stat-gold {
  background: rgba(197, 160, 89, 0.15);
  color: #9E7A32;
}
.cred-stat-green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.cred-stat-val {
  font-size: 26px;
  font-weight: 700;
  color: var(--cred-navy);
  line-height: 1.1;
  margin-top: 6px;
}
.cred-stat-lbl {
  font-size: 13px;
  color: var(--cred-text-muted);
  font-weight: 500;
}

/* Assessment UI */
.assessment-container {
  max-width: 860px;
  margin: 0 auto;
}
.assessment-timer-bar {
  background: #ffffff;
  border: 1px solid var(--cred-border);
  border-radius: var(--cred-radius);
  padding: 14px 20px;
  position: sticky;
  top: 75px;
  z-index: 100;
  box-shadow: var(--cred-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.timer-badge {
  background: var(--cred-navy);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 1px;
}
.timer-badge.warning {
  background: #dc2626;
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.question-card {
  background: #ffffff;
  border: 1px solid var(--cred-border);
  border-radius: var(--cred-radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--cred-shadow-sm);
}
.question-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cred-navy);
  background: rgba(11, 32, 70, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}
.question-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--cred-navy);
  line-height: 1.5;
  margin-bottom: 16px;
}
.option-label {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1.5px solid var(--cred-border);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14.5px;
  line-height: 1.4;
}
.option-label:hover {
  border-color: var(--cred-gold);
  background: rgba(197, 160, 89, 0.04);
}
.option-input:checked + .option-label,
.option-label.selected {
  border-color: var(--cred-navy);
  background: rgba(11, 32, 70, 0.05);
  font-weight: 600;
}

/* Certificate Wallet Card */
.wallet-cert-card {
  border-top: 4px solid var(--cred-gold);
}
.cert-thumb-preview {
  background: #ffffff;
  border: 1px solid var(--cred-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}
.cert-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.cert-status-valid {
  background: #dcfce7;
  color: #166534;
}
.cert-status-revoked {
  background: #fee2e2;
  color: #991b1b;
}

/* Buttons */
.btn-cred-primary {
  background: var(--cred-navy);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-cred-primary:hover {
  background: var(--cred-navy-light);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 32, 70, 0.25);
}
.btn-cred-gold {
  background: var(--cred-gold);
  color: #0B2046;
  border: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-cred-gold:hover {
  background: var(--cred-gold-light);
  color: #0B2046;
  transform: translateY(-1px);
}
.btn-cred-outline {
  background: transparent;
  color: var(--cred-navy);
  border: 1.5px solid var(--cred-navy);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-cred-outline:hover {
  background: var(--cred-navy);
  color: #ffffff;
}

/* LinkedIn Button */
.btn-linkedin {
  background: #0077B5;
  color: #ffffff;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-linkedin:hover {
  background: #005F92;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Score Circle / Gauge */
.score-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 8px solid var(--cred-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}
.score-circle.passed {
  border-color: #10B981;
  background: #F0FDF4;
}
.score-circle.failed {
  border-color: #EF4444;
  background: #FEF2F2;
}
.score-circle-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.score-circle-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Dashboard composition */
.cred-dashboard {
  position: relative;
  padding: 8px 0 18px;
}
.cred-dashboard::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -20px;
  right: -20px;
  height: 180px;
  background: linear-gradient(135deg, rgba(11, 32, 70, 0.04), rgba(197, 160, 89, 0.06));
  border-bottom: 1px solid rgba(197, 160, 89, 0.12);
  pointer-events: none;
  z-index: 0;
}
.cred-dashboard > .row {
  position: relative;
  z-index: 1;
}
.cred-dashboard .card {
  border: 1px solid rgba(11, 32, 70, 0.08) !important;
  box-shadow: 0 8px 24px rgba(11, 32, 70, 0.07) !important;
}
.cred-dashboard .card-header {
  border-bottom-color: rgba(11, 32, 70, 0.09) !important;
  background: #ffffff !important;
}
.cred-dashboard-hero {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  padding: 30px 32px !important;
  border: 1px solid rgba(197, 160, 89, 0.35) !important;
  box-shadow: 0 14px 30px rgba(11, 32, 70, 0.18) !important;
}
.cred-dashboard-hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--cred-gold);
  opacity: 0.9;
}
.cred-dashboard-hero h2 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.3px;
}
.cred-dashboard-hero .badge-warning {
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cred-dashboard-hero .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
}
.cred-dashboard-hero .btn-outline-light:hover {
  color: var(--cred-navy) !important;
  background: #ffffff;
}
.cred-membership-button {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}
.cred-membership-button .badge-success {
  background: #2fb477;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.4px;
  padding: 4px 7px;
}
.cred-dashboard > .row:nth-child(2) .card {
  min-height: 86px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cred-dashboard > .row:nth-child(2) .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 32, 70, 0.11) !important;
}
.cred-dashboard .card h5 {
  font-size: 16px;
  letter-spacing: -0.1px;
}
.cred-dashboard .list-group-item {
  border-color: rgba(11, 32, 70, 0.08);
}
.cred-dashboard .list-group-item:last-child {
  border-bottom: 0;
}
.cred-dashboard .btn-primary {
  background: var(--cred-navy);
  border-color: var(--cred-navy);
}
.cred-dashboard .btn-primary:hover {
  background: var(--cred-navy-light);
  border-color: var(--cred-navy-light);
}
.cred-dashboard code {
  color: var(--cred-navy);
  background: rgba(11, 32, 70, 0.06);
  padding: 2px 5px;
  border-radius: 4px;
}

@media (max-width: 575.98px) {
  .cred-dashboard {
    padding-top: 2px;
  }
  .cred-dashboard-hero {
    padding: 24px 20px !important;
  }
  .cred-dashboard-hero .d-flex.flex-wrap {
    width: 100%;
    margin-top: 4px;
  }
  .cred-dashboard-hero .cred-membership-button,
  .cred-dashboard-hero .btn-cred-gold {
    flex: 1 1 100%;
    justify-content: center;
    margin-right: 0 !important;
  }
  .cred-dashboard-hero::after {
    right: 20px;
    width: 96px;
  }
}

/* Arkaan cyan accent for the dashboard */
.cred-dashboard .cred-dashboard-hero {
  background: linear-gradient(135deg, #0B6F98 0%, #39C0F3 100%) !important;
  border-color: rgba(57, 192, 243, 0.45) !important;
}
.cred-dashboard .cred-dashboard-hero::after {
  background: #ffffff;
}
.cred-dashboard .badge-warning,
.cred-dashboard .btn-cred-gold,
.cred-dashboard .btn-cred-arkaan {
  background: #39C0F3 !important;
  border-color: #39C0F3 !important;
  color: #073B55 !important;
}
.cred-dashboard .btn-cred-gold:hover,
.cred-dashboard .btn-cred-arkaan:hover {
  background: #70D3F7 !important;
  border-color: #70D3F7 !important;
  color: #073B55 !important;
}
.cred-dashboard .text-warning,
.cred-dashboard i[style*="C5A059"] {
  color: #39C0F3 !important;
}
.cred-dashboard .text-arkaan {
  color: #39C0F3 !important;
}
.cred-dashboard .rounded-circle {
  background: rgba(57, 192, 243, 0.13) !important;
  color: #0B6F98 !important;
}
.cred-dashboard .btn-primary,
.cred-dashboard .btn-primary:hover {
  background: #0B8FBE !important;
  border-color: #0B8FBE !important;
}
.cred-dashboard a.text-primary,
.cred-dashboard .card-header .text-primary {
  color: #0787B7 !important;
}
.cred-dashboard .card-header .text-warning {
  color: #39C0F3 !important;
}
.cred-dashboard .card {
  border-color: rgba(57, 192, 243, 0.16) !important;
}

/* Programs catalog */
.cred-programs-page .cred-program-eyebrow {
  background: rgba(57, 192, 243, 0.12);
  color: #087FA8;
  border: 1px solid rgba(57, 192, 243, 0.35);
  letter-spacing: 1.5px;
  font-size: 11px;
}
.cred-programs-page .cred-program-cover {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #EAF8FD;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred-programs-page .cred-program-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cred-programs-page .cred-program-cover-fallback {
  background: linear-gradient(135deg, #0B6F98 0%, #39C0F3 100%);
}
.cred-programs-page .cred-program-price {
  background: #39C0F3;
  color: #073B55;
}
.cred-programs-page .btn-cred-arkaan {
  background: #39C0F3;
  border-color: #39C0F3;
  color: #073B55;
}
.cred-programs-page .btn-cred-arkaan:hover {
  background: #70D3F7;
  border-color: #70D3F7;
  color: #073B55;
}
.cred-programs-page .card {
  border-color: rgba(57, 192, 243, 0.2) !important;
  box-shadow: 0 8px 24px rgba(11, 32, 70, 0.07) !important;
}

/* Billing and invoice experience */
.cred-billing-page,
.cred-invoice-page {
  position: relative;
  padding: 8px 0 24px;
}
.cred-billing-page::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -20px;
  right: -20px;
  height: 230px;
  background: linear-gradient(135deg, rgba(57, 192, 243, 0.09), rgba(11, 32, 70, 0.03));
  border-bottom: 1px solid rgba(57, 192, 243, 0.12);
  pointer-events: none;
}
.cred-billing-page > .row,
.cred-billing-page > .card,
.cred-invoice-page > * {
  position: relative;
  z-index: 1;
}
.cred-billing-hero-row {
  animation: cred-rise-in 0.45s ease both;
}
.cred-billing-eyebrow {
  color: #087FA8;
  background: rgba(57, 192, 243, 0.13);
  border: 1px solid rgba(57, 192, 243, 0.35);
  letter-spacing: 1.2px;
}
.cred-billing-page .card {
  border-color: rgba(57, 192, 243, 0.18) !important;
  box-shadow: 0 8px 24px rgba(11, 32, 70, 0.07) !important;
}
.cred-plan-card {
  animation: cred-rise-in 0.55s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cred-plan-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(11, 32, 70, 0.13) !important;
}
.cred-plan-featured {
  border: 2px solid #39C0F3 !important;
}
.cred-popular-ribbon {
  background: linear-gradient(100deg, #0B6F98, #39C0F3);
  font-size: 11px;
  letter-spacing: 1.3px;
}
.cred-plan-price {
  color: #0B6F98;
}
.cred-plan-intro {
  gap: 10px;
}
.cred-plan-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #087FA8;
  background: rgba(57, 192, 243, 0.13);
}
.cred-plan-featured .cred-plan-icon {
  color: #073B55;
  background: #39C0F3;
}
.cred-plan-label {
  color: #64748B;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cred-plan-saving {
  display: inline-block;
  padding: 5px 8px;
  color: #087FA8;
  background: rgba(57, 192, 243, 0.1);
  border-radius: 5px;
  font-size: 11px;
}
.cred-active-button {
  border-color: #39C0F3 !important;
  color: #087FA8 !important;
  background: rgba(57, 192, 243, 0.08) !important;
}
.cred-history-card {
  animation: cred-rise-in 0.65s ease both;
}
.cred-history-tabs {
  border-bottom: 0;
  gap: 6px;
}
.cred-history-tabs .nav-link {
  color: #64748B;
  border: 0;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.cred-history-tabs .nav-link:hover,
.cred-history-tabs .nav-link.active {
  color: #087FA8;
  background: rgba(57, 192, 243, 0.12);
}
.cred-billing-page .table thead th {
  color: #0B6F98;
  background: #EFFBFE;
  border-top: 0;
  border-bottom: 1px solid rgba(57, 192, 243, 0.18);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.cred-billing-page .table td {
  vertical-align: middle;
  border-color: #EDF2F7;
}
.cred-billing-page code {
  color: #087FA8;
  background: rgba(57, 192, 243, 0.08);
  padding: 3px 5px;
  border-radius: 4px;
}
.cred-billing-page .btn-cred-outline,
.cred-invoice-page .btn-cred-outline {
  color: #087FA8;
  border-color: #39C0F3;
  background: #ffffff;
}
.cred-billing-page .btn-cred-arkaan {
  background: #39C0F3;
  border-color: #39C0F3;
  color: #073B55;
}
.cred-billing-page .btn-cred-arkaan:hover {
  background: #70D3F7;
  border-color: #70D3F7;
  color: #073B55;
}
.cred-billing-page .btn-cred-outline:hover,
.cred-invoice-page .btn-cred-outline:hover {
  color: #073B55;
  background: #39C0F3;
  border-color: #39C0F3;
}

.cred-invoice-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cred-invoice-actions {
  display: flex;
  gap: 8px;
}
.cred-invoice-sheet {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px 48px;
  background: #ffffff;
  border: 1px solid rgba(57, 192, 243, 0.2);
  border-top: 5px solid #39C0F3;
  box-shadow: 0 16px 38px rgba(11, 32, 70, 0.1);
  animation: cred-rise-in 0.45s ease both;
}
.cred-invoice-header,
.cred-invoice-status-row,
.cred-invoice-total-row,
.cred-invoice-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cred-invoice-header {
  padding-bottom: 28px;
  border-bottom: 1px solid #E8F1F5;
}
.cred-invoice-logo {
  width: auto;
  height: 42px;
  max-width: 170px;
  object-fit: contain;
  margin-bottom: 12px;
}
.cred-invoice-contact {
  color: #087FA8;
  font-size: 11px;
  margin-top: 5px;
}
.cred-invoice-kicker,
.cred-invoice-label,
.cred-invoice-meta-label {
  color: #087FA8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cred-invoice-label {
  display: block;
  color: #64748B;
}
.cred-invoice-number {
  color: #0B6F98;
  font-size: 26px;
  font-weight: 800;
}
.cred-invoice-status-row {
  align-items: center;
  padding: 22px 0;
}
.cred-invoice-type {
  color: #334155;
  font-weight: 700;
}
.cred-invoice-meta {
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid #E8F1F5;
  border-bottom: 1px solid #E8F1F5;
}
.cred-invoice-meta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cred-invoice-reference {
  color: #087FA8;
  word-break: break-word;
}
.cred-invoice-table thead th {
  color: #087FA8;
  background: #EFFBFE;
  border: 0;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.cred-invoice-table td {
  padding: 18px 14px;
  border-color: #E8F1F5;
}
.cred-invoice-total-row {
  align-items: center;
  padding: 24px 14px;
  color: #334155;
  font-size: 16px;
}
.cred-invoice-total-row strong {
  color: #0B6F98;
  font-size: 24px;
}
.cred-invoice-footer {
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid #E8F1F5;
  color: #64748B;
  font-size: 12px;
}
.cred-invoice-footer div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cred-invoice-secure {
  color: #087FA8;
  white-space: nowrap;
}
@keyframes cred-rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767.98px) {
  .cred-invoice-toolbar {
    align-items: flex-start;
    gap: 12px;
  }
  .cred-invoice-actions {
    flex-direction: column;
  }
  .cred-invoice-sheet {
    padding: 28px 20px;
  }
  .cred-invoice-header {
    gap: 18px;
  }
  .cred-invoice-header,
  .cred-invoice-footer {
    flex-direction: column;
  }
  .cred-invoice-header .text-right {
    text-align: left !important;
  }
  .cred-invoice-footer {
    align-items: flex-start;
  }
  .cred-invoice-total-row strong {
    font-size: 20px;
  }
}
@media print {
  .cred-navbar,
  .cred-footer-clean,
  .cred-invoice-toolbar,
  .cred-main-content > .container-fluid {
    display: none !important;
  }
  .cred-body-wrap,
  .cred-main-content {
    background: #ffffff !important;
  }
  .cred-invoice-sheet {
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

/* Candidate profile and identity verification */
.cred-profile-page {
  position: relative;
  padding: 8px 0 24px;
}
.cred-profile-page > .row {
  position: relative;
  z-index: 1;
}
.cred-profile-page .card {
  border: 1px solid rgba(57, 192, 243, 0.16) !important;
  box-shadow: 0 8px 24px rgba(11, 32, 70, 0.07) !important;
}
.cred-profile-page .card-header {
  background: #ffffff !important;
  border-bottom-color: rgba(57, 192, 243, 0.14) !important;
}
.cred-profile-page .text-arkaan {
  color: #39C0F3 !important;
}
.cred-profile-page .btn-cred-arkaan {
  background: #39C0F3;
  border-color: #39C0F3;
  color: #073B55;
}
.cred-profile-page .btn-cred-arkaan:hover {
  background: #70D3F7;
  border-color: #70D3F7;
  color: #073B55;
}
.cred-profile-page .btn-cred-outline {
  color: #087FA8;
  border-color: #39C0F3;
}
.cred-profile-page .btn-cred-outline:hover {
  background: #39C0F3;
  color: #073B55;
}
.cred-identity-card {
  border-top: 4px solid #39C0F3 !important;
}
.cred-verification-form {
  padding: 12px;
  background: #F5FCFE;
  border: 1px solid rgba(57, 192, 243, 0.18);
  border-radius: 10px;
}
.cred-profile-page .form-control:focus,
.cred-profile-page .custom-select:focus {
  border-color: #39C0F3;
  box-shadow: 0 0 0 0.15rem rgba(57, 192, 243, 0.16);
}
.cred-profile-page .custom-switch .custom-control-label::before {
  background: #CBD5E1;
  border-color: #CBD5E1;
}
.cred-profile-page .custom-switch .custom-control-label::after {
  background: #ffffff;
}
.cred-profile-page .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background: #39C0F3;
  border-color: #39C0F3;
}
.cred-profile-page .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(0.75rem);
}
.cred-switch-state {
  display: inline-block;
  min-width: 30px;
  margin-left: 6px;
  padding: 2px 5px;
  color: #64748B;
  background: #E2E8F0;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  vertical-align: 1px;
}
.cred-profile-page .custom-control-input:checked ~ .custom-control-label .cred-switch-state {
  color: #073B55;
  background: #39C0F3;
}
.cred-profile-page .custom-control-input:checked ~ .custom-control-label .cred-switch-state::after {
  content: "ON";
}
.cred-profile-page .custom-control-input:not(:checked) ~ .custom-control-label .cred-switch-state::after {
  content: "OFF";
}
.cred-private-profile-page .card {
  border: 1px solid rgba(57, 192, 243, 0.2) !important;
  border-top: 4px solid #39C0F3 !important;
  box-shadow: 0 12px 30px rgba(11, 32, 70, 0.08) !important;
}
.cred-private-profile-page .text-arkaan {
  color: #39C0F3 !important;
}
.cred-private-profile-page .btn-cred-outline {
  color: #087FA8;
  border-color: #39C0F3;
}
.cred-private-profile-page .btn-cred-outline:hover {
  color: #073B55;
  background: #39C0F3;
}

/* Learner experience */
.cred-learning-page,
.cred-content-page {
  position: relative;
  padding: 8px 0 24px;
}
.cred-learning-page .card,
.cred-content-page .card {
  border: 1px solid rgba(57, 192, 243, 0.16) !important;
  box-shadow: 0 8px 24px rgba(11, 32, 70, 0.07) !important;
}
.cred-learning-page .text-arkaan,
.cred-content-page .text-arkaan {
  color: #39C0F3 !important;
}
.cred-learning-page .btn-cred-arkaan,
.cred-content-page .btn-cred-arkaan,
.cred-learning-page .btn-cred-outline,
.cred-content-page .btn-cred-outline {
  color: #073B55;
  border-color: #39C0F3;
}
.cred-learning-page .btn-cred-arkaan,
.cred-content-page .btn-cred-arkaan {
  background: #39C0F3;
}
.cred-learning-page .btn-cred-outline,
.cred-content-page .btn-cred-outline {
  background: #ffffff;
  color: #087FA8;
}
.cred-learning-page .btn-cred-outline:hover,
.cred-content-page .btn-cred-outline:hover {
  background: #39C0F3;
  color: #073B55;
}
.cred-progress-bar {
  background: #39C0F3;
}
.cred-learning-page .list-group-item-action:hover,
.cred-content-page .list-group-item-action:hover {
  background: #F2FBFE;
}
.cred-learning-page .lesson-status {
  font-size: 10px;
  letter-spacing: 0.3px;
}
.cred-media-stage,
.cred-document-stage {
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #0B2046;
}
.cred-video-player {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  background: #071530;
}
.cred-document-stage {
  background: #F3FBFD;
  border: 1px solid rgba(57, 192, 243, 0.18);
}
.cred-document-stage iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: #ffffff;
}
.cred-empty-player {
  color: #CBD5E1;
  text-align: center;
}
.cred-office-preview {
  width: 100%;
  max-height: 620px;
  overflow-y: auto;
  padding: 24px;
  background: #EEF5F7;
}
.cred-office-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  color: #087FA8;
  font-weight: 800;
  border-bottom: 1px solid rgba(57, 192, 243, 0.2);
}
.cred-slide-preview {
  position: relative;
  min-height: 210px;
  margin-bottom: 16px;
  padding: 34px 30px 24px;
  background: #ffffff;
  border: 1px solid #DDEEF3;
  border-left: 4px solid #39C0F3;
  box-shadow: 0 4px 12px rgba(11, 32, 70, 0.05);
}
.cred-empty-sheet {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #64748B;
  background: #FBFEFF;
  font-size: 13px;
}
.cred-empty-sheet i {
  color: #39C0F3;
  font-size: 28px;
}
.cred-empty-sheet strong {
  color: #087FA8;
}
.cred-slide-preview p {
  margin: 0 0 7px;
  color: #243447;
  font-size: 15px;
  line-height: 1.5;
}
.cred-slide-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.cred-slide-images img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #F8FAFC;
  border: 1px solid #DDEEF3;
  border-radius: 5px;
}
.cred-word-rendered {
  padding: 18px 20px;
  color: #243447;
  background: #ffffff;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.cred-word-rendered table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
}
.cred-word-rendered td,
.cred-word-rendered th {
  padding: 7px 9px;
  border: 1px solid #DDEEF3;
}
.cred-word-rendered img {
  max-width: 100%;
  height: auto;
}
.cred-slide-number,
.cred-sheet-title {
  display: block;
  margin-bottom: 10px;
  color: #087FA8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.cred-sheet-preview {
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #DDEEF3;
  box-shadow: 0 4px 12px rgba(11, 32, 70, 0.05);
}
.cred-sheet-preview .cred-sheet-title {
  margin: 0;
  padding: 10px 12px;
  background: #EFFBFE;
}
.cred-sheet-preview table {
  min-width: 560px;
}
.cred-sheet-preview td {
  min-width: 110px;
  padding: 8px 10px;
  color: #334155;
  font-size: 12px;
  white-space: pre-wrap;
}
@media (max-width: 575.98px) {
  .cred-video-player {
    min-height: 220px;
  }
  .cred-document-stage iframe {
    height: 430px;
  }
}
