@charset "utf-8";

/* 공통 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #343a40;
    background-color: #ffffff; /* 전체 배경을 흰색으로 설정 */
    margin: 0;
    padding: 0;
}

.container {
    background-color: #ffffff; /* 컨테이너 전체 배경 흰색으로 설정 */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px; /* 페이지 중앙에 정렬되도록 너비 설정 */
}

/* 출석부 상단 영역 */
#attendance_layer {
    text-align: center;
    width: 100%;
    margin: 20px 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#attendance_layer .month-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#attendance_layer .month-nav a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 10px;
    color: #343a40;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
}

#attendance_layer .month-nav a:hover {
    background-color: #f8f9fa;
    color: #495057;
}

#attendance_layer .month-nav .current-month {
    font-size: 24px;
    font-weight: bold;
    color: #343a40;
}

/* 캘린더 스타일 */
#attendance_layer .box {
    padding: 10px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#attendance_layer ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#attendance_layer ul li {
    margin: 0 10px;
    font-weight: bold;
}

#attendance_layer a {
    text-decoration: none;
    color: #dc3545;
}

#attendance_layer .today {
    font-weight: bold;
    font-size: 20px;
    color: #dc3545;
    background-color: #ffffff;
}

#attendance_layer .top, #attendance_layer .day {
    font-size: 16px;
    color: #343a40;
    text-align: center;
}

#attendance_layer .w {
    font-weight: bold;
    line-height: 20px;
    color: #495057;
    font-size: 16px;
}

#attendance_layer .title, 
#attendance_layer .title1, 
#attendance_layer .title2 {
    color: #dc3545;
    font-size: 14px;
    width: 14.2%;
    text-align: center;
    line-height: 30px;
    padding: 0;
}

#attendance_layer .sun1, 
#attendance_layer .sat1, 
#attendance_layer .day1 {
    color: #dc3545;
    font-size: 12px;
    float: left;
}

#attendance_layer .sun2, 
#attendance_layer .sat2, 
#attendance_layer .day2 {
    font-weight: bold;
    line-height: 20px;
    color: #dc3545;
    font-size: 12px;
    float: left;
}

#attendance_layer .sun3, 
#attendance_layer .sat3, 
#attendance_layer .day3 {
    color: #adb5bd;
    font-size: 11px;
}

#attendance_layer .dot {
    color: #6c757d;
    font-size: 12px;
}

#attendance_layer .check, 
#attendance_layer .check2 {
    color: #28a745;
    font-size: 11px;
}

/* 출석부 리스트 */
#attendance_list {
    margin: 20px 0;
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#attendance_list .input {
    width: 100%;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    color: #343a40;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#attendance_list .attendance_list_info1, 
#attendance_list .attendance_list_info3 {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f9fa;
}

#attendance_list .sub {
    float: left;
    width: 85%;
    padding-top: 5px;
}

#attendance_list .submit {
    float: right;
    width: 15%;
    padding-top: 5px;
}

#attendance_list .attendance_list_info2 ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

#attendance_list .attendance_list_info2 li {
    line-height: 18px;
    color: #6c757d;
    font-size: 12px;
    margin-right: 10px;
}

#attendance_list .title, 
#attendance_list .title_attendance1, 
#attendance_list .title_attendance2 {
    font-weight: bold;
    color: #343a40;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
    background-color: #f8f9fa;
    border-radius: 5px;
}

#attendance_list .no {
    line-height: 25px;
    font-size: 14px;
    color: #6c757d;
}

#attendance_list .name_attendance img {
    width: 55px;
    height: 55px;
    border-radius: 50px;
    margin: 5px;
}

#attendance_list textarea {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

#attendance_list .btn_submit {
    height: 50px;
    padding: 0 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#attendance_list .btn_submit:hover {
    background-color: #c82333;
}

#attendance_list .bgcolor0 {
    background-color: #ffffff;
}

#attendance_list .bgcolor1 {
    background-color: #f1f1f1;
}

#attendance_list .bgcolor2 {
    background-color: #ffffff;
}

@media all and (max-width: 480px) {
    #attendance_list .attendance_hidden {
        display: none;
    }
}