:root {
  --fa-primary-500: #1d4ed8;
  --fa-primary-600: #1e40af;
  --fa-primary-100: #eef2ff;
  --fa-gray-50: #f8fafc;
  --fa-gray-100: #f1f5f9;
  --fa-gray-500: #6b7280;
  --fa-gray-700: #374151;
  --fa-radius-lg: 1rem;
  --dash-bg: #f3f9ff;
  --dash-card-bg: #ffffff;
  --dash-muted: #5f7c97;
  --dash-border: #dceaf8;
  --dash-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  --dash-shadow-soft: 0 14px 28px rgba(15, 23, 42, 0.06);
  --dash-primary: #3b7ddd;
  --dash-primary-light: #66a9e2;
  --dash-danger: #e85d75;
  --dash-success: #2dbf88;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--fa-gray-50);
  color: var(--fa-gray-700);
  min-height: 100vh;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fa-primary-500), var(--fa-primary-600));
  display: inline-block;
}

.shadow-soft {
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.08);
  border-radius: var(--fa-radius-lg);
}

.form-control-lg {
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fa-primary-500), var(--fa-primary-600));
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--fa-primary-600), var(--fa-primary-500));
}

.btn-outline-primary {
  border-radius: 0.75rem;
}

.auth-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.tracking-wide {
  letter-spacing: 0.6rem;
}

.info-tile {
  background: var(--fa-gray-100);
  border-radius: 0.75rem;
  padding: 1rem 1.2rem;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--fa-gray-500);
  letter-spacing: 0.08em;
}

.info-value {
  display: block;
  font-size: 1rem;
  color: var(--fa-gray-700);
  margin-top: 0.25rem;
}

.page-dashboard .info-value.badge {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
}

.error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fa-primary-100);
  color: var(--fa-primary-600);
  font-weight: 600;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
	body {
		margin-left: 10px;
		margin-right: 10px;
	}
  .auth-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .tracking-wide {
    letter-spacing: 0.4rem;
  }
}

/* Dashboard layout */
.dashboard-body {
  background: var(--dash-bg);
}

.dashboard-layout {
  min-height: 100vh;
  position: relative;
}

.dashboard-sidebar {
  width: 280px;
  background: #e9f4ff;
  color: #0f2233;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1030;
  transform: translateX(-110%);
  transition: transform 0.24s ease;
  border-right: 1px solid var(--dash-border);
  overflow-y: auto;
  height: 100vh;
}

.dashboard-body.sidebar-open .dashboard-sidebar {
  transform: translateX(0);
}

.dashboard-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.dashboard-body.sidebar-open::before {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-main {
  flex: 1;
  margin-left: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  width: 100%;
}

@media (min-width: 992px) {
  .dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
  }
  .dashboard-sidebar {
    position: sticky;
    top: 0;
    transform: none;
    box-shadow: var(--dash-shadow-soft);
    height: 100vh;
  }
  .dashboard-main {
    margin-left: 0;
    padding-left: 32px;
    padding-right: 32px;
  }
  .dashboard-body.sidebar-open::before {
    display: none;
  }
  .sidebar-toggle {
    display: none;
  }
}

.sidebar-toggle {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.25rem;
}

.sidebar-header {
  display: flex;
  justify-content: flex-end;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: column;
}

.brand-logo-img {
  /*width: 44px;
  height: 44px;*/
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  padding: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: rgba(15, 34, 51, 0.6);
}

.sidebar-card {
  background: var(--dash-card-bg);
  border: 1px solid var(--dash-border);
  box-shadow: var(--dash-shadow-soft);
  border-radius: 12px;
  padding: 16px;
  color: #0f2233;
}

.sidebar-card .text-muted {
  color: var(--dash-muted) !important;
}

.sidebar-nav {
  margin-top: 8px;
}

.sidebar-link {
	
  text-decoration: none;
  
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  color: #1d3550;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(59, 134, 200, 0.16);
  color: #1d4ed8;
}

.sidebar-link i {
  font-size: 1rem;
}

.sidebar-link.disabled {
  opacity: 0.6;
  cursor: default;
}

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--dash-border);
  background: #ffffff;
  color: var(--dash-primary);
  box-shadow: 0 12px 24px rgba(59, 134, 200, 0.12);
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  background: transparent;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-title {
  font-weight: 600;
}

.topbar-subtitle {
  font-size: 0.9rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.promotion-pill {
  background: #ffffff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(59, 134, 200, 0.2);
  box-shadow: 0 12px 24px rgba(59, 134, 200, 0.08);
}

.topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dash-primary), var(--dash-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.dashboard-content {
  flex: 1;
  padding: 32px 0 48px;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  color: var(--dash-muted);
  font-size: 0.96rem;
}

@media (max-width: 767px) {
  .dashboard-content {
    padding: 24px 0 40px;
  }
  .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .dashboard-main {
    padding-left: 10px;
    padding-right: 10px;
  }
  .dashboard-content {
    padding-left: 0;
    padding-right: 0;
  }
  main .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.soft-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--dash-shadow-soft);
  border: 1px solid var(--dash-border);
}

.soft-card .card-header {
  padding: 0 0 1rem 0;
}

.soft-card .card-footer {
  padding: 1.25rem 0 0 0;
}

.dashboard-empty .soft-card {
  max-width: 560px;
  margin: 80px auto;
}

.progress-wrapper .progress {
  height: 10px;
  background: rgba(59, 134, 200, 0.16);
}

.progress-wrapper .progress-bar {
  background: linear-gradient(135deg, var(--dash-primary), var(--dash-primary-light));
  border-radius: 999px;
}

.progress-wrapper {
  margin-bottom: 24px;
}

.contact-item {
  background: rgba(233, 244, 255, 0.7);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(59, 134, 200, 0.15);
}

.contact-item + .contact-item {
  margin-top: 10px;
}

.contact-meta div {
  line-height: 1.4;
  color: var(--dash-muted);
}

.empty-state {
  background: rgba(233, 244, 255, 0.45);
  border-radius: 14px;
  border: 1px dashed var(--dash-border);
}

.step-item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin-bottom: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: #ffffff;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: inherit;
  text-decoration: none;
}

.step-main {
  flex: 1;
}

.step-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.step-link .badge {
  min-width: 110px;
  text-align: center;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(59, 134, 200, 0.12);
  color: var(--dash-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.step-link.disabled {
  cursor: default;
  color: #94a3b8;
}

.step-item-disabled {
  opacity: 0.6;
}

.soft-pill {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
}

.badge.bg-danger.soft-pill {
  background: rgba(232, 93, 117, 0.15) !important;
  color: #c5304f;
}

.badge.bg-success.soft-pill {
  background: rgba(45, 191, 136, 0.18) !important;
  color: #187d57;
}

.badge.bg-secondary.soft-pill {
  background: rgba(148, 163, 184, 0.18) !important;
  color: #475569;
}

.document-list .list-group-item {
  padding: 16px 0;
  border-color: rgba(148, 163, 184, 0.18);
  background: transparent;
}

.document-meta .fw-semibold {
  font-size: 0.95rem;
}

.document-meta .small {
  font-size: 0.8rem;
}

.document-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(59, 134, 200, 0.12);
  color: var(--dash-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.document-list .btn {
  border-radius: 12px;
}

.dashboard-flash-stack .alert {
  margin-bottom: 12px;
}

.dashboard-flash-stack {
  margin-bottom: 24px;
}

.dashboard-grid .soft-card {
  height: 100%;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(59, 134, 200, 0.15);
  color: var(--dash-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.summary-section .text-muted {
  color: var(--dash-muted) !important;
}

.summary-section .h6 {
  font-weight: 700;
}

.admin-layout .admin-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.admin-topbar {
  background: transparent;
  border: 0;
  padding-bottom: 24px;
  margin-bottom: 0;
}

.admin-section {
  margin-bottom: 2.5rem;
}

.admin-section .card {
  border-radius: 16px;
}

.admin-sidebar .sidebar-link.active {
  background: var(--dash-primary);
  color: #ffffff;
}

.admin-sidebar .sidebar-link.active .bi {
  color: #ffffff;
}

.admin-dashboard__kpi .dashboard-kpi-card,
.dashboard-chart-card,
.dashboard-alerts-card {
  border: 1px solid var(--dash-border);
  border-radius: 20px;
  background: var(--dash-card-bg);
  box-shadow: var(--dash-shadow-soft);
  padding: 1.75rem;
}

.dashboard-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-kpi-card__label {
  letter-spacing: 0.08em;
}

.dashboard-kpi-card__value {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
}

.dashboard-chart__legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.dashboard-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-chart__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--dash-primary);
  display: inline-block;
}

.dashboard-chart__legend-dot--visits {
  background: linear-gradient(135deg, var(--dash-primary), var(--dash-primary-light));
}

.dashboard-chart__legend-dot--alerts {
  background: linear-gradient(135deg, rgba(232, 93, 117, 0.85), var(--dash-danger));
}

.dashboard-chart__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.dashboard-chart__column-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.dashboard-chart__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  height: 220px;
  min-height: 220px;
  width: 100%;
}

.dashboard-chart__bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 0;
  height: 100%;
}

.dashboard-chart__bar {
  width: 36px;
  border-radius: 16px;
  height: var(--bar-height, 0);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-chart__bar--visits {
  background: linear-gradient(180deg, rgba(102, 169, 226, 0.95), var(--dash-primary));
}

.dashboard-chart__bar--alerts {
  background: linear-gradient(180deg, rgba(238, 160, 160, 0.95), var(--dash-danger));
}

.dashboard-chart__bar.is-active {
  box-shadow: 0 8px 18px rgba(59, 125, 221, 0.18);
}

.dashboard-chart__value {
  font-size: 0.85rem;
  font-weight: 600;
}

.dashboard-chart__value--visits {
  color: var(--dash-primary);
}

.dashboard-chart__value--alerts {
  color: var(--dash-danger);
}

.dashboard-chart__label {
  text-transform: capitalize;
}

.dashboard-chart__empty {
  border-radius: 16px;
  background: rgba(102, 169, 226, 0.08);
}

.dashboard-alert-item {
  border-radius: 16px;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dashboard-alert-item:hover,
.dashboard-alert-item:focus {
  background: rgba(59, 125, 221, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.dashboard-alert-item__severity {
  background: rgba(232, 93, 117, 0.18);
  color: var(--dash-danger);
  font-weight: 600;
}

.dashboard-alert-item__severity--high,
.dashboard-alert-item__severity--urgent {
  background: rgba(232, 93, 117, 0.2);
  color: var(--dash-danger);
}

.dashboard-alert-item__severity--medium {
  background: rgba(102, 169, 226, 0.24);
  color: var(--dash-primary);
}

.dashboard-alert-item__severity--low {
  background: rgba(45, 191, 136, 0.22);
  color: var(--dash-success);
}

.dashboard-alerts-card__empty {
  border-radius: 16px;
  background: rgba(59, 125, 221, 0.05);
}

@media (max-width: 991.98px) {
  .dashboard-chart__bars {
    height: 180px;
    min-height: 180px;
  }
}

@media (max-width: 575.98px) {
  .dashboard-chart__grid {
    gap: 1rem;
  }
  .dashboard-chart__bars {
    gap: 1rem;
  }
  .dashboard-chart__bar {
    width: 26px;
  }
}

.admin-tabs {
  gap: 12px;
  border: 0;
}

.admin-tab-link {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--dash-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.admin-tab-link i {
  font-size: 1rem;
}

.admin-tab-link:hover {
  background: rgba(59, 125, 221, 0.08);
  border-color: rgba(59, 125, 221, 0.15);
  color: var(--dash-primary);
}

.admin-tab-link.active {
  background: linear-gradient(135deg, var(--fa-primary-500), var(--fa-primary-600));
  color: #fff;
  box-shadow: 0 16px 32px rgba(59, 125, 221, 0.22);
}

.admin-tab-link.active:hover {
  color: #fff;
}

.settings-card {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(59, 125, 221, 0.12);
  padding: 24px;
  box-shadow: var(--dash-shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.settings-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  color: inherit;
}

.settings-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(59, 125, 221, 0.12);
  color: var(--dash-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.settings-card-cta {
  font-weight: 600;
  color: var(--dash-primary);
  display: inline-flex;
  align-items: center;
}

.skill-block-card + .skill-block-card {
  margin-top: 1.5rem;
}

.skill-radar {
  position: relative;
  background: var(--fa-gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  min-height: 320px;
}

.skill-radar canvas {
  width: 100%;
  height: 320px;
  display: block;
}

.skill-radar__legend ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.4rem 1rem;
  padding-left: 0;
}

.skill-radar__legend-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-right: 0.5rem;
  background-color: #3b7ddd;
  border: 1px solid #3b7ddd;
}

.skill-radar__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.skill-evaluation-table__empty {
  border: 1px dashed rgba(59, 125, 221, 0.2);
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.skill-evaluation-modal__inputs .form-select,
.skill-evaluation-modal__inputs .form-control {
  min-width: 190px;
}

@media (max-width: 991.98px) {
  .skill-evaluation-modal__inputs .form-select,
  .skill-evaluation-modal__inputs .form-control {
    min-width: 100%;
  }
}



