/* =========================================================
   전체 이벤트
========================================================= */

.attendance_event {
    width: 949px;
    min-width: 320px;
    background: #628df0;
    overflow: hidden;
}

.attendance_top {
    position: relative;
    width: 100%;
	height: 1287px;
    margin: 0 auto;
    aspect-ratio: 750 / 1024;
    background-image: url("/assets/img/event/attendance/attendance_visual.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

.attendance_btn {
    position: absolute;
    left: 50%;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 84px;
    transform: translateX(-50%);
    border-radius: 999px;

}

/* =========================================================
   attendance_calendar
========================================================= */ 
.attendance_calendar_bg {
	width:949px;
	height: 912px;
    margin: 0 auto;
    background: url("/assets/img/event/attendance/attendance_bg.jpg")
                center top / 100% 100% no-repeat;
}


.attendance_calendar {
    position: relative;
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 0 auto;

}


/* =========================================================
   calendar_header
========================================================= */
.calendar_header {
    width: 100%;
    padding: 40px 20px 18px;
    box-sizing: border-box;
    background: #141c7c;
    color: #fff;
    text-align: center;
}

.calendar_month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}

.calendar_month strong {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}


/* 화살표 버튼 */
.calendar_month a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 30px;
    text-decoration: none;
}

.calendar_month a i {
    display: block;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}


.calendar_month .calendar_prev i {
    transform: rotate(-135deg);
}

.calendar_month .calendar_next i {
    transform: rotate(45deg);
}

.calendar_info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 21px;
}

.calendar_info strong {
    font-weight: 700;
}

.calendar_info .pink {
    color: #ffdf28;
}

.calendar_info .mint {
    color: #25e4d0;
}

.calendar_info > i {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
}


/* =========================================================
   calendar_week
========================================================= */

.calendar_week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    background: #f2f2f2;
}

.calendar_week li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.calendar_week li.sun {
    color: #ff3478;
}

.calendar_days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.calendar_days li {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 1.15;
    box-sizing: border-box;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.calendar_days li:nth-child(7n) {
    border-right: 0;
}

/* 날짜 */
.calendar_days .date {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 17px;
    line-height: 1;

    color: #111;
}

.calendar_days li.sun .date {
    color: #ff3478;
}

/* 빈 날짜 */

.calendar_days li.empty {
    background: #fff;
}


/* =========================================================
   calendar stamp
========================================================= */

.calendar_days .stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -45%);
}

.calendar_days .stamp img {
    display: block;
    width: 100%;
    height: auto;
}


/* 당일 미출석 - 회색 */

.calendar_days .stamp_off {
    opacity: 0.55;
}


/* 출석 완료 - 컬러 */

.calendar_days .stamp_on {
    opacity: 1;
}


/* =========================================================
   하단 유의사항
   background-image로 처리
========================================================= */

.attendance_notice {
    width: 100%;
    max-width: 949px;
    aspect-ratio: 750 / 300;
    background-image: url("/assets/img/event/attendance/attendance_notice.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}