body {
  background: #f8f8fc;
}

.attendance-app {
  position: relative;
  width: 23.4375rem;
  min-height: max(100vh, 62.8125rem);
  background: #f8f8fc;
}

.attendance-back {
  left: 1.25rem;
}

.attendance-back img {
  width: 1.1250625rem;
  height: 0.9375625rem;
}

.attendance-guide-link {
  position: absolute;
  z-index: 5;
  top: 4.5rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #111111;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
  text-decoration: none;
}

.attendance-guide-link img,
.attendance-detail-link img {
  width: 0.4688125rem;
  height: 0.8594375rem;
  flex: 0 0 auto;
}

.attendance-guide-link span,
.attendance-detail-link span {
  padding-right: 0.125rem;
}

.attendance-points-card {
  position: absolute;
  z-index: 2;
  top: 6.75rem;
  left: 1.25rem;
  display: flex;
  width: 20.9375rem;
  height: 10.25rem;
  padding: 1.25rem;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(100deg, #29aaa1 0%, #29a2be 100%);
}

.attendance-points-card__top {
  display: flex;
  width: 18.4375rem;
  height: 3.25rem;
  align-items: flex-start;
  justify-content: space-between;
  color: #ffffff;
}

.attendance-points-card__top p {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.125rem;
  letter-spacing: -0.0203125rem;
}

.attendance-points-card__top strong {
  display: block;
  margin-top: -0.0625rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.375rem;
  letter-spacing: -0.05625rem;
}

.attendance-check-window {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
}

.attendance-check-window img {
  position: absolute;
  top: -0.821875rem;
  left: -0.821875rem;
  width: 4.89375rem;
  height: 4.89375rem;
}

.attendance-convert-button {
  display: flex;
  width: 18.4375rem;
  height: 3rem;
  padding: 0.375rem 0.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border-radius: 3.125rem;
  background: #ffffff;
  color: #10787c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: -0.025rem;
}

.attendance-convert-button img {
  width: 0.96875rem;
  height: 1.2930625rem;
  margin: 0 0.265625rem;
  transform: rotate(90deg);
}

.attendance-character {
  position: absolute;
  z-index: 8;
  top: 17.5rem;
  left: 17.875rem;
  width: 3.125rem;
  height: 4.6875rem;
  object-fit: cover;
}

.attendance-content {
  display: flex;
  width: 20.9375rem;
  margin: 0 auto;
  padding: 18.5rem 0 2rem;
  flex-direction: column;
  gap: 1rem;
}

.calendar-card {
  display: flex;
  width: 20.9375rem;
  padding: 1.5rem;
  flex-direction: column;
  align-items: center;
  gap: 1.375rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 0 0.5rem #f2f2f7;
  font-family: Pretendard, "Apple SD Gothic Neo", sans-serif;
}

.calendar-header {
  display: flex;
  height: 1.25rem;
  align-items: center;
  gap: 1.5rem;
}

.calendar-header button {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  background: transparent;
}

.calendar-header strong {
  min-width: 4.875rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.calendar-arrow {
  width: 0.4688125rem;
  height: 0.8594375rem;
}

.calendar-arrow--prev {
  transform: rotate(180deg);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  width: 17.9375rem;
  grid-template-columns: repeat(7, 1.875rem);
  justify-content: space-between;
}

.calendar-weekdays span {
  display: flex;
  width: 1.875rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  letter-spacing: 0;
}

.calendar-days {
  row-gap: 0.5rem;
}

.calendar-day,
.calendar-day--empty {
  display: flex;
  width: 1.875rem;
  height: 1.875rem;
  align-items: center;
  justify-content: center;
}

.calendar-day {
  min-width: 1.875rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #111111;
  font-size: 1rem;
  font-weight: 500;
  line-height: 0.875rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  word-break: keep-all;
}

.calendar-day:disabled {
  cursor: default;
}

.calendar-day--future {
  pointer-events: none;
}

/* 출석 완료일을 표시하는 하늘색 원 */
.calendar-day--attended {
  background: #d5f9fa;
}

/* 오늘 날짜를 표시하는 초록색 원 */
.calendar-day--today {
  background: #3fa7ab;
  color: #ffffff;
  font-weight: 700;
}

.attendance-stats {
  display: flex;
  width: 17.9375rem;
  height: 4rem;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  background: #f2f2f7;
}

.attendance-stat {
  display: flex;
  width: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.attendance-stat + .attendance-stat {
  border-left: 0.0625rem solid #e5e5ea;
}

.attendance-stat span,
.attendance-stat strong {
  line-height: 1.5rem;
  white-space: nowrap;
}

.attendance-stat span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02625rem;
}

.attendance-stat strong {
  color: #3fa7ab;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03rem;
}

.attendance-detail-link {
  display: flex;
  width: 17.9375rem;
  height: 1.25rem;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  gap: 0.85rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
  text-decoration: none;
}

.attendance-notice {
  display: flex;
  width: 20.9375rem;
  padding: 1rem;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 0.5rem;
  background: #ffffff;
}

.attendance-notice__title {
  display: flex;
  width: 18.9375rem;
  align-items: center;
  gap: 0.375rem;
}

.attendance-notice__title h2 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: -0.025rem;
}

.attendance-gift-icon {
  display: grid;
  width: 1.875rem;
  height: 1.875rem;
  flex: 0 0 1.875rem;
  place-items: center;
  border-radius: 50%;
  background: #d5f9fa;
}

.attendance-gift-icon img {
  width: 1.25rem;
  height: 1.25rem;
}

.attendance-notice__text {
  width: 18.9375rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
  word-break: break-word;
}

.attendance-notice__text p + p {
  margin-top: 0.25rem;
}
