.totalabsent {
  padding: 22px 24px;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s ease;
}

.totalabsent:hover {
  box-shadow: var(--shadow-md);
}

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

.head h6 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: 13.2px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: -8px;
}

.cardList {
  display: flex;
  flex-direction: column;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  transition: background 0.18s ease, padding 0.18s ease;
  gap: 12px;
}

.card:last-child {
  border-bottom: none;
}

.card:hover {
  background: var(--primary-faint);
  margin: 0 -12px;
  padding: 12px;
  border-radius: 10px;
  border-bottom-color: transparent;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.identity img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.identityText {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.name {
  font-size: 14.3px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.role {
  font-size: 12.7px;
  color: var(--text-light);
  font-weight: 500;
}

.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.dateLabel {
  font-size: 11.6px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.date {
  font-size: 13.2px;
  font-weight: 600;
  color: var(--text-main);
}

.status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

#pending { background: var(--warning-light); color: var(--warning); }
#disapproved { background: var(--error-light); color: var(--error); }
#approved { background: var(--success-light); color: var(--success); }

.footer {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.footerLink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14.3px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s ease;
}

.footerLink:hover {
  background: var(--primary-light);
}

.countPill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.1px;
  font-weight: 700;
  background: var(--error-light);
  color: var(--error);
}
