@charset "UTF-8";

#container.sch_container {
    background: #fff;
    min-height: calc(100vh - 200px);
    padding: 140px 0 100px;
}

#container.sch_container .inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.sch_section {
    background: #fff;
}

/* .sch_tabs / .sch_tab ÅÇ ½ºÅ¸ÀÏÀº sub.cssÀÇ °øÅë ÅÇ ½ºÅ¸ÀÏ·Î ÅëÇÕµÊ */

.sch_title {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 0 0 28px;
    letter-spacing: -0.4px;
}

.sch_grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.sch_col {
    flex: 1;
    min-width: 0;
}

.sch_col--left,
.sch_col--right {
    flex: 1;
}

.sch_field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sch_label {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.sch_textarea {
    width: 100%;
    min-height: 470px;
    padding: 22px 24px;
    border: 1px solid #e1e3e8;
    border-radius: 6px;
    background: #fff;
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: border-color .15s ease;
}

.sch_textarea:focus {
    border-color: #326aff;
}

.sch_actions {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.sch_btn {
    flex: 1;
    height: 56px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}

.sch_btn--cancel {
    background: #fff;
    border-color: #d8d8d8;
    color: #333;
}

.sch_btn--cancel:hover {
    background: #f7f7f7;
}

.sch_btn--submit {
    background: #326aff;
    color: #fff;
}

.sch_btn--submit:hover {
    background: #2356d8;
}

/* Ä¶¸°´õ */
.sch_cal_label {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 22px;
}

.sch_cal__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.sch_cal__nav {
    width: 34px;
    height: 34px;
    border: 1px solid #e1e3e8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s ease, border-color .15s ease;
}

.sch_cal__nav:hover {
    background: #f7f8fa;
    border-color: #c8cbd1;
}

.sch_cal__title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    min-width: 96px;
    text-align: center;
}

.sch_cal__weekhead,
.sch_cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.sch_cal__weekhead {
    margin-bottom: 8px;
}

.sch_cal__wd {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.4px;
    padding: 8px 0;
}

.sch_cal__wd--sun {
    color: #ee4e57;
}

.sch_cal__wd--sat {
    color: #326aff;
}

.sch_cal__grid {
    gap: 0;
    border-top: 1px solid #f0f1f3;
    border-left: 1px solid #f0f1f3;
}

.sch_cal__cell {
    aspect-ratio: 1 / 0.85;
    border: 0;
    border-right: 1px solid #f0f1f3;
    border-bottom: 1px solid #f0f1f3;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background .15s ease;
}

.sch_cal__cell:hover:not(.is-empty):not(.is-selected) {
    background: #f7f8fa;
}

.sch_cal__cell.is-empty {
    cursor: default;
    background: #fff;
}

.sch_cal__cell.is-sun {
    color: #ee4e57;
}

.sch_cal__cell.is-sat {
    color: #326aff;
}

.sch_cal__cell.is-today {
    border: 1.5px solid #326aff;
    color: #326aff;
    font-weight: 700;
}

.sch_cal__cell.is-selected {
    background: #326aff;
    color: #fff;
    font-weight: 700;
}

.sch_cal__cell.is-selected.is-sun,
.sch_cal__cell.is-selected.is-sat {
    color: #fff;
}

/* ¸ð´Þ */
.sch_modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.sch_modal.is-open {
    display: flex;
}

.sch_modal__dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.sch_modal__panel {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px 24px;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.sch_modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    color: #555;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sch_modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 24px;
    text-align: center;
}

.sch_modal__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sch_modal__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sch_modal__label {
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.sch_modal__input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e1e3e8;
    border-radius: 6px;
    background: #fff;
    font-size: 17px;
    color: #111;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s ease;
}

.sch_modal__input:focus {
    border-color: #326aff;
}

.sch_modal__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sch_modal__date_wrap {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
}

.sch_modal__date {
    padding-right: 40px;
    cursor: pointer;
}

.sch_modal__date_icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sch_modal__date_icon:hover {
    color: #326aff;
}

.sch_modal__datepicker {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 280px;
    background: #fff;
    border: 1px solid #e1e3e8;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.sch_modal__datepicker[hidden] {
    display: none;
}

.sch_modal__dp_head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sch_modal__dp_nav {
    width: 26px;
    height: 26px;
    border: 1px solid #e1e3e8;
    border-radius: 5px;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sch_modal__dp_nav:hover {
    background: #f7f8fa;
    border-color: #c8cbd1;
}

.sch_modal__dp_title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    min-width: 80px;
    text-align: center;
}

.sch_modal__dp_weekhead,
.sch_modal__dp_grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.sch_modal__dp_wd {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    padding: 6px 0;
}

.sch_modal__dp_wd--sun {
    color: #ee4e57;
}

.sch_modal__dp_wd--sat {
    color: #326aff;
}

.sch_modal__dp_cell {
    aspect-ratio: 1 / 1;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background .15s ease, color .15s ease;
}

.sch_modal__dp_cell:hover:not(.is-empty):not(.is-selected) {
    background: #f0f3ff;
}

.sch_modal__dp_cell.is-empty {
    cursor: default;
}

.sch_modal__dp_cell.is-sun {
    color: #ee4e57;
}

.sch_modal__dp_cell.is-sat {
    color: #326aff;
}

.sch_modal__dp_cell.is-selected {
    background: #326aff;
    color: #fff;
    font-weight: 700;
}

.sch_modal__dp_cell.is-selected.is-sun,
.sch_modal__dp_cell.is-selected.is-sat {
    color: #fff;
}

.sch_modal__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.sch_modal__check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sch_modal__check_box {
    width: 20px;
    height: 20px;
    border: 1.5px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background .15s ease, border-color .15s ease;
}

.sch_modal__check_box svg {
    opacity: 0;
    transition: opacity .15s ease;
}

.sch_modal__check input:checked + .sch_modal__check_box {
    background: #326aff;
    border-color: #326aff;
}

.sch_modal__check input:checked + .sch_modal__check_box svg {
    opacity: 1;
}

.sch_modal__check_label {
    font-size: 17px;
    color: #333;
}

.sch_modal__info {
    background: #f5f6f8;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.sch_modal__info_row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.sch_modal__info_row dt {
    font-size: 16px;
    color: #6f7480;
    flex-shrink: 0;
    min-width: 82px;
}

.sch_modal__info_row dd {
    font-size: 16px;
    color: #111;
    margin: 0;
    font-weight: 500;
}

.sch_modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 26px;
}

.sch_modal__actions_right {
    display: flex;
    gap: 8px;
}

.sch_modal__btn {
    height: 48px;
    padding: 0 26px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s ease, border-color .15s ease;
}

.sch_modal__btn--delete {
    background: #fff;
    color: #ee4e57;
    border-color: #ee4e57;
}

.sch_modal__btn--delete:hover {
    background: #fff5f5;
}

.sch_modal__btn--cancel {
    background: #fff;
    color: #333;
    border-color: #d8d8d8;
}

.sch_modal__btn--cancel:hover {
    background: #f7f7f7;
}

.sch_modal__btn--submit {
    background: #326aff;
    color: #fff;
}

.sch_modal__btn--submit:hover {
    background: #2356d8;
}

/* ¹ÝÀÀÇü */
@media (max-width: 1024px) {
    .sch_grid {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    #container.sch_container {
        padding: 100px 0 60px;
    }

    #container.sch_container .inner {
        padding: 0 20px;
    }

    .sch_tabs {
        gap: 24px;
        margin-bottom: 24px;
    }

    .sch_tab {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .sch_title {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .sch_grid {
        flex-direction: column;
        gap: 32px;
    }

    .sch_col {
        flex: none;
        width: 100%;
    }

    .sch_textarea {
        min-height: 360px;
        padding: 18px 18px;
    }

    .sch_btn {
        height: 52px;
        font-size: 14px;
    }

    .sch_cal__title {
        font-size: 17px;
        min-width: 86px;
    }

    .sch_modal__panel {
        max-width: calc(100% - 32px);
        padding: 26px 20px 20px;
    }

    .sch_modal__row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .sch_modal__date_wrap {
        width: 100%;
    }

    .sch_modal__actions {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .sch_modal__actions_right {
        display: flex;
        gap: 8px;
    }

    .sch_modal__actions_right .sch_modal__btn {
        flex: 1;
    }

    .sch_modal__btn--delete {
        width: 100%;
    }

    .sch_modal__info_row {
        gap: 8px;
    }
}
