/* Blue Agate - Attendance */
.attendance-section {
  margin: 20px 0;
}

.attendance-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16,40,61,.08);
  box-shadow: 0 12px 35px rgba(15,35,55,.08);
}

.attendance-head {
  margin-bottom: 18px;
}

.attendance-kicker {
  margin: 0 0 5px;
  color: #22aeb7;
  font-size: 13px;
  font-weight: 800;
}

.attendance-title {
  margin: 0;
  color: #10283d;
  font-size: 25px;
  font-weight: 800;
}

.attendance-subtitle {
  margin: 7px 0 0;
  color: #647486;
  line-height: 1.7;
}

.attendance-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.attendance-stat {
  padding: 18px;
  border-radius: 18px;
  background: #f7fbfc;
  text-align: center;
}

.streak-icon {
  font-size: 28px;
}

.streak-number,
.attendance-total {
  display: block;
  margin: 3px 0;
  color: #10283d;
  font-size: 30px;
  font-weight: 900;
}

.attendance-stat-label {
  color: #647486;
  font-size: 13px;
}

.attendance-btn {
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 15px;
  background: #22b9c2;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.attendance-btn:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.attendance-status {
  margin: 12px 0 0;
  color: #647486;
  text-align: center;
  font-size: 14px;
}

.attendance-status.done {
  color: #08766f;
  font-weight: 800;
}

.attendance-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
}

.attendance-message.success {
  background: #eefbf9;
  color: #08766f;
}

.attendance-message.error {
  background: #fff1f1;
  color: #a33;
}

.attendance-message.info {
  background: #f2f7fa;
  color: #526879;
}

.attendance-history {
  margin-top: 22px;
}

.attendance-history-title {
  margin: 0 0 10px;
  color: #10283d;
  font-size: 17px;
  font-weight: 800;
}

.attendance-list {
  display: grid;
  gap: 8px;
}

.attendance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fafcfd;
  color: #647486;
  font-size: 13px;
}

.attendance-row strong {
  color: #08766f;
  white-space: nowrap;
}

.attendance-empty {
  color: #647486;
  font-size: 13px;
}

@media (max-width: 600px) {
  .attendance-card {
    padding: 19px;
  }

  .attendance-title {
    font-size: 22px;
  }
}
