.theme_search_container {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 40px 60px;
    border: 1px solid #e3e5e8;
    background-color: #fff;
}

.calendar-container {
    position: relative;
    /* min-width: 350px;
	width: 350px; */
    max-width: 100%;
    background-color: white;
    padding-right: 80px;
    /* border-right: 1px solid #e3e5e8; */
}

.calendar-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: calc(100% - 80px);
    background-color: #e3e5e8;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-header h2 {
    font-size: 24px;
    font-weight: 500;
}

.calendar-header button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 34px;
    border: 1px solid #e3e5e8;
    border-radius: 20px;
    cursor: pointer;
}

.calendar-header button:hover {
    background-color: #f2f2f2;
}

.calendar-header button>i {
    font-variation-settings:
        "FILL" 0,
        "wght" 200,
        "GRAD" 0,
        "opsz" 48;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.day {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50px;
    height: 40px;
    font-weight: 500;
    /* padding: 10px; */
    color: #666;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-dates .date {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* width: 50px;
    height: 50px; */
    width: 50px;
    height: 40px;
    /* padding: 10px; */
    cursor: pointer;
}

.date:hover {
    background-color: rgba(47, 128, 237, 0.2);
}

.date.today {
    color: #00BC07;
    font-weight: 600;
}

.date.selected {
    color: #fff !important;
    background-color: #2f80ed;
    /* color: #2f80ed; */
    font-weight: 600;
}

.date.selected>small {
    color: #fff;
}

.date.selected::before {
    /* content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    background-color: transparent; */
}

.date.holiday {
    color: #F05050;
}

.date.disabled {
    color: #ccc;
}

.date>small,
.date>i {
    min-height: 1.1em;
    font-size: 10px;
    font-weight: 300;
    color: #adb5bd;
}

.calendar-dots {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.calendar-dot {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.calendar-dot[data-dot-type="today"] {
    color: #00bc07;
}

.calendar-dot[data-dot-type="holiday"] {
    color: #f05050;
}

.calendar-dot[data-dot-type="default"] {
    color: #adb5bd;
}

.calendar-dot>small {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.calendar-dot[data-dot-type="today"]>small {
    background-color: #00bc07;
}

.calendar-dot[data-dot-type="holiday"]>small {
    background-color: #f05050;
}

.calendar-dot[data-dot-type="default"]>small {
    background-color: #adb5bd;
}

/* 결과 */
.calendar-result-container {
    /* width: 496px; */
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin-left: 80px;
}

.calendar-result-header {
    position: relative;
    display: flex;
    align-items: baseline;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.calendar_type_switch_wrapper {
    position: relative;
    display: flex;
    margin-left: auto;
    margin-bottom: 4px;
}

.calendar_type_switch {
    display: inline-flex;
    gap: 8px;
    padding: 4px;
    margin-left: auto;
    background: #f5f5f5;
    border-radius: 8px;
}

.switch_button {
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch_button.active {
    background: #fff;
    color: #2A4BB4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-result-current-date {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.calendar-result-current-date>small {
    font-size: 14px;
    font-weight: 300;
    color: #999;
    margin-left: 8px;
}

.calendar-result-more-button {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    margin-left: auto;
    padding-bottom: 8px;
}

.calendar-result-more-button>i {
    font-size: 16px;
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 48;
}

.calendar-result-courts {
    position: relative;
    display: grid;
    /* grid-column-gap: 18px;
    grid-row-gap: 18px; */
    grid-template-columns: repeat(5, 1fr);
    padding: 10px 0;
}

.calendar-result-courts.empty {
    grid-template-columns: repeat(1, 1fr);
}

.calendar-result-court-empty {
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

.calendar-result-court {
    text-align-last: left;
    font-size: 14px;
    padding: 10px 2px;
}

.calendar-result-court.active {
    font-weight: 500;
    color: #2f80ed;
}

.theme_search_filter_wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.theme_search_filter_wrapper>* {
    margin-left: 4px;
    margin-right: 0;
}

.theme_search_filter_wrapper>*:first-child {
    margin-left: 0;
}

.picked_sub_filter_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 38px;
    font-size: 12px;
    color: #767676;
    padding: 0 8px;
    margin-left: 4px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: none;
}

.picked_button_arrow {
    font-size: 16px;
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 48;
}

.theme_select {
    height: 38px;
    line-height: 38px;
    font-size: 12px;
    color: #767676;
    padding-left: 12px;
    padding-right: 24px;
    border: none;
    border-radius: 8px;
    background-color: #f8f8f8;
}

.theme_select.active {
    border: 1px solid #2b80eb;
}

.theme_select.active>.current {
    color: #2b80eb;
}

.theme_select.active::after {
    border-bottom: 1px solid #2b80eb;
    border-right: 1px solid #2b80eb;
}

.theme_select::after {
    border-bottom: 1px solid #767676;
    border-right: 1px solid #767676;
}

/* 알림 */
.search_date_swiper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 20px 12px;
    margin: 0 auto;
    border-radius: 10px;
    background-color: #f8f8f8;
}

.search_date_slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    background-color: #fff;
    cursor: pointer;
}

.search_date_slide:hover {
    background-color: #eee
}

.search_date_slide.active {
    color: #fff;
    font-weight: 600;
    background-color: #000;
}

@media screen and (max-width: 1024px) {
    .theme_search_container {
        padding: 20px 30px;
    }

    .calendar-container {
        padding-right: 40px;
    }

    .calendar-result-container {
        margin-left: 40px;
    }

    .calendar-days>.day {
        width: 40px;
    }

    .calendar-dates .date {
        width: 40px;
    }

    .calendar-result-court {
        font-size: 13px;
        /* white-space: pre-line; */
    }

    .calendar-result-court>small {
        display: block;
    }
}

@media screen and (max-width: 800px) {
    #theme_search>.inbox {
        padding: 0;
    }

    .theme_search_container {
        flex-direction: column;
        padding: 0 16px;
        margin-top: 20px;
        border: none;
        border-bottom: 8px solid #eee;
        margin-bottom: 0;
    }

    .calendar-container {
        min-width: auto;
        width: 100%;
        padding-right: 0;
        margin: 0 auto;
        margin-bottom: 32px;
    }

    .calendar-container::before {
        display: none;
    }

    .day {
        width: auto;
    }

    .calendar-dates .date {
        width: auto;
    }

    .calendar-result-container {
        margin-left: 0;
    }

    .calendar-result-header {
        padding-bottom: 8px;
    }

    .calendar-result-courts {
        grid-template-columns: repeat(4, 1fr);
    }

    .calendar-result-court {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    .rows_count_wrapper {
        align-items: baseline;
        padding: 0 16px;
        margin-bottom: 16px;
    }

    .theme_select {
        font-size: 12px;
    }
}