html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.user-badge-username {
  color: #AE8E54;
}

.dashboard-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0.25rem;
}

.dashboard-header__title {
  margin: 0 0 0.25rem;
  color: #202938;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-filters {
  display: flex;
  flex: 1 1 auto;
  gap: 1rem;
  align-items: flex-end;
  justify-content: flex-end;
}

.dashboard-filter {
  flex: 0 1 260px;
  min-width: 190px;
}

.dashboard-filter__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #4f5867;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .dashboard-header {
    flex-wrap: wrap;
  }

  .dashboard-filters {
    flex-basis: 100%;
    flex-wrap: wrap;
  }

  .dashboard-filter {
    flex: 1 1 220px;
  }
}

@media (max-width: 575.98px) {
  .dashboard-filters {
    display: block;
  }

  .dashboard-filter {
    width: 100%;
    margin-bottom: 1rem;
  }
}

.home-summary {
  padding: 0 0.25rem;
}

.home-summary__column {
  max-width: 540px;
}

.access-request-card {
  display: flex;
  min-height: 154px;
  padding: 19px 22px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(23, 42, 70, 0.14);
  color: #202938;
}

.access-request-card__icon {
  display: flex;
  flex: 0 0 80px;
  width: 80px;
  height: 72px;
  margin-right: 39px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #edf4ff, #e8effb);
  border-radius: 17px;
}

.access-request-card__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #0759bd;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.summary-stat-card {
  position: relative;
  display: block;
}

.summary-stat-card .access-request-card__icon {
  position: absolute;
  top: 19px;
  right: 22px;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 10px;
}

.summary-stat-card .access-request-card__icon svg {
  width: 24px;
  height: 24px;
}

.summary-stat-card .access-request-card__content {
  width: 100%;
}

.summary-stat-card .access-request-card__title {
  padding-right: 54px;
}

.access-request-card__content {
  min-width: 0;
}

.access-request-card__title {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.access-request-card__count {
  margin: 0;
  color: #0759bd;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

.access-request-card__description {
  margin: 6px 0 7px;
  color: #4f5867;
  font-size: 0.875rem;
  line-height: 1.2;
}

.access-request-card__link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: #0759bd;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.access-request-card__link:hover {
  color: #03438f;
  text-decoration: underline;
}

.access-request-card__link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.access-request-card__link:hover svg {
  transform: translateX(3px);
}

.incident-unassigned-card {
  border-color: #f0dfb0;
}

.incident-unassigned-card .incident-unassigned-card__icon {
  background: linear-gradient(145deg, #fff8df, #fff1c2);
  border-radius: 24px;
}

.incident-unassigned-card .incident-unassigned-card__icon svg {
  stroke: #d99500;
}

.incident-unassigned-card .access-request-card__count,
.incident-unassigned-card .access-request-card__link {
  color: #d99500;
}

.incident-unassigned-card .access-request-card__link:hover {
  color: #a66f00;
}

.report-status-card {
  display: block;
  padding: 22px 26px;
}

.report-status-card__header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.report-status-card__header-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f3f5f8, #e9edf3);
  border-radius: 50%;
}

.report-status-card__header-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #4f5867;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.report-status-card__subtitle,
.report-status-card__detail {
  margin: 3px 0 0;
  color: #667085;
  font-size: 0.875rem;
}

.report-status-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0;
}

.report-status-card__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #e1e5eb;
}

.report-status-card__metric:last-child {
  border-right: 0;
}

.report-status-card__metric strong {
  font-size: 2rem;
  line-height: 1.05;
}

.report-status-card__metric span {
  margin-top: 4px;
  color: #4f5867;
  font-size: 0.875rem;
}

.report-status-card__metric--open strong { color: #cf4b3f; }
.report-status-card__metric--progress strong { color: #d99500; }
.report-status-card__metric--closed strong { color: #198754; }

.report-status-card__closure {
  padding-top: 17px;
  border-top: 1px solid #e1e5eb;
}

.report-status-card__closure-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 600;
}

.report-status-card__closure-label strong {
  color: #198754;
  font-size: 1.5rem;
}

.report-status-card__progress {
  height: 10px;
  margin: 8px 0;
  background-color: #e9edf3;
  border-radius: 8px;
}

.report-status-card__progress .progress-bar {
  border-radius: 8px;
  transition: width 0.3s ease;
}

@media (max-width: 575.98px) {
  .access-request-card {
    padding: 18px;
  }

  .access-request-card__icon {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    margin-right: 20px;
  }

  .summary-stat-card .access-request-card__icon {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .report-status-card {
    padding: 18px;
  }

  .report-status-card__metric strong {
    font-size: 1.6rem;
  }
}
