.content {
    padding-top: 10px;
}

.header h3 {
    padding-top: 20px;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 700;
    color: #4D4D4D;
    text-align: center;
}

.note {
    width: 100%;
    background-color: #4D4D4D;
    height: 35px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 9.84px;
    color: #CAA94C;
    font-weight: 400;
    padding: 10px;
    margin-top: 8px;
}

.calendar-container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.calendar {
    width: 100%;
}

.calendar table {
    table-layout: fixed;
    width: 100%;
    border: solid 1px #aaa;
    background: #fefefe;
    font-size: 10.8px;
}

.calendar-container .calendar:first-child table {
    border-right: none;
}


@media screen and (max-width: 640px) {
    .calendar-container {
        display: block;
    }

    .calendar-container .calendar table {
        border-right: solid 1px #aaa !important;
        border-left: solid 1px #aaa;
        border-radius: 6px;
    }
}

.calendar table th {
    padding: 8px;
    color: #4D4D4D;
    font-weight: 700;
}

.calendar table td span,
.calendar table td label {
    display: block;
    min-height: 40px;
    color: #666666;
    padding: 8px;
    border: solid 1px rgba(255, 255, 255, 0);
}

.calendar table td.before-today {
    background: #EEEEEE;
    color: #CCCCCC;
}

.calendar table tr td:first-child {
    background: #ffa3a3;
    color: #fff;
}

.calendar table tr td:last-child {
    background: #a3dcff;
    color: #fff;
}

.calendar table td.active span {
    cursor: pointer;
}

.calendar table td.active span:hover {
    background: #00A2FF;
    color: #fff;
}

.calendar table td.selected span {
    background: #00A2FF;
    color: #fff;
}

.start-time-container {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-top: 10px;
    border: 1px solid #AAAAAA;
    height: 50px;
    align-items: center;
    border-radius: 6px;
    font-size: 10.8px;
}

.start-time-container .start-time select {
    border: solid 1px #aaa;
    font-size: 1em;
    line-height: 1.5;
    min-width: 4em;
    height: 2.5em;
}

.course-options-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.course-options-container .open-modal-course {
    box-shadow: 0px 0px 6px 3px #ddd;
    color: #aaa;
    background: #fff;
    min-height: 44px;
    height: auto;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
}

.course-options-container .open-modal-course .selected-course,
.course-options-container .open-modal-course .selected-options {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    padding: 10px;
    border: solid 1px #cacaca;
    border-radius: 6px;
}

.course-options-container .open-modal-course .selected-course .title,
.course-options-container .open-modal-course .selected-options .title {
    margin-bottom: 8px;
    font-size: 9.84px;
}

.course-options-container .open-modal-course .selected-course .name {
    font-weight: 700;
}

.course-options-container .open-modal-course .selected-course .remarks,
.course-options-container .open-modal-course .selected-options .remarks {
    margin: 0;
    white-space: pre-line;
}

.buttons {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 20px 0 30px 0;
    align-items: center;
}

.buttons .btn-next {
    width: 100%;
    max-width: 550px;
    height: 40px;
}

.buttons .btn-next.disabled {
    background: #AAAAAA;
    color: white;
    font-weight: 400;
}

.footer {
    margin: 30px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .btn-back {
    width: 100%;
    max-width: 200px;
    height: 46px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal .modal-container {
    position: relative;
    background: white;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal .modal-container .close-button {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.modal .modal-container .close-button:hover {
    opacity: 0.8;
}

.modal .modal-container .modal-header {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    align-items: center;
    gap: 12px;
}

.modal .modal-container .modal-header .title {
    font-size: 12.6px;
    font-weight: 700;
    color: #AAAAAA;
}

.modal .modal-container .modal-header .sub-title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10.8px;
    font-weight: 400;
    background-color: #4D4D4D;
    color: #CAA94C;
    height: 34px;
}

.modal .modal-container .modal-header .description {
    width: 100%;
    font-size: 10.8px;
    text-align: center;
    padding: 10px 0;
    font-weight: 400;
    color: #2B2E38;
    border-top: 1px solid #AAAAAA;
    border-bottom: 1px solid #AAAAAA;
}

.modal .modal-container .modal-content .list {
    display: flex;
    flex-direction: column;
}

.modal .modal-container .modal-content .list .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 16px;
    border-bottom: 1px solid #CCCCCC;
    font-size: 10.8px;
    font-weight: 400;
    color: #666666;
    cursor: pointer;
    user-select: none;
}

.modal-option .modal-container .modal-content .list .item {
    padding: 12px 35px;
}

.modal .modal-container .modal-content .list .item:hover {
    background: #87d3ff;
    color: #fff;
}

.modal .modal-container .modal-content .list .item.selected {
    background: #00A2FF;
    color: #fff;
}

.modal .modal-container .modal-content .list .item-option.selected::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    position: absolute;
    left: 18px;
}

.modal .modal-container .modal-content .list .item input[type="radio"],
.modal .modal-container .modal-content .list .item input[type="checkbox"] {
    display: none;
}

.modal .modal-container .modal-content .list .item .name {
    font-weight: 700;
    margin-bottom: 12px;
}

.modal .modal-container .modal-content .list .item .remarks {
    text-align: left;
    white-space: pre-line;
    margin: 0;
}

.modal .modal-container .modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.modal .modal-container .modal-footer .btn-submit {
    width: 100%;
    max-width: 525px;
}
