/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
.dashboard-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bs-secondary-color);
  margin-bottom: 0.5rem;
}

/* Nav tile grid — flexbox wrapping, tiles size to content */
.dashboard-nav-tile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

/* Each tile: horizontal layout, icon left + text right */
.dashboard-nav-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  min-width: 170px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 0;
}

.dashboard-nav-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  text-decoration: none;
}

.dashboard-nav-tile--new {
  border-color: #0f6e56;
}

.dashboard-nav-tile--new:hover {
  border-color: #0f6e56;
  box-shadow: 0 0 0 1px #0f6e56;
}

/* Smaller icon variant for nav tiles */
.dashboard-nav-tile .dashboard-tile__icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
  flex-shrink: 0;
}

.dashboard-nav-tile__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
}

.dashboard-nav-tile__label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--bs-body-color);
  white-space: nowrap;
}

.dashboard-nav-tile__sub {
  font-size: 0.72rem;
  color: var(--bs-secondary-color);
  margin-bottom: 0;
  white-space: nowrap;
}

.dashboard-nav-tile__badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  background: #e1f5ee;
  color: #085041;
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}

.dashboard-tile {
  position: relative;
  container-type: inline-size;
}

.dashboard-tile__content-wrapper {
  display: flex;
  align-items: center;
  column-gap: 1em;
  row-gap: .5em;
  flex-wrap: wrap;

  @container (width <=300px) {
    & {
      text-align: center;
      justify-content: center;
    }
  }
}

.dashboard-tile__heading a {
  color: var(--secondary);
  transition: all .3s ease;
  hyphens: auto;
}

.dashboard-tile:hover .dashboard-tile__heading a,
.dashboard-tile:focus-within .dashboard-tile__heading a {
  color: var(--primary-light);
}

.dashboard-tile__heading a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer !important;
  display: flex;
  z-index: 99;
}

.dashboard-tile__heading {
  font-size: 25px;
  color: #012970;
  margin: 0;
  padding: 0;
}

.dashboard-tile__icon {
  color: var(--primary);
  background-color: #f1f1f1;
  transition: all .3s ease;
}

.dashboard-tile:hover .dashboard-tile__icon,
.dashboard-tile:focus-within .dashboard-tile__icon {
  color: var(--primary-light);
}

.dashboard .card-icon,
.employee-card .card-icon,
.dashboard-tile__icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.employee-card .card-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--secondary);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .info-card small {
  font-size: 12px;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 72px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}