@charset "utf-8";
.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 20px;
}

.search-form select,
.search-form input[type="text"],
.search-form input[type="submit"] {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
}

.search-form select {
    background-color: #fff;
    min-width: 120px;
}

.search-form input[type="text"] {
    width: 210px;
}

.search-form input[type="submit"] {
    background-color: #fff;
    color: #003366;
    border: 2px solid #007bff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-form input[type="submit"]:hover {
    background-color: #007bff;
    color: #fff;
}

.custom-select-wrapper {
position: relative;
width: 140px;
font-family: 'sans-serif';
}

.custom-select-trigger {
    background: #fff;
    border: 2px solid #007bff;
    padding: 6px 16px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: relative;
}

.custom-select-trigger::after {
    content: '▾';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 14px;
    transition: transform 0.2s;
}

.custom-options.show ~ .custom-select-trigger::after,
.custom-select-wrapper.open .custom-select-trigger::after {
    content: '▴';
}

.custom-options {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
}

.custom-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-option:hover {
    background:rgb(156, 204, 255);
}

.custom-option.selected {
    background:rgb(205, 225, 247);
}
.custom-options.show {
    display: flex !important;
}
.custom-options.show .custom-option[data-value=""] {
    display: none;
}
.form-inline-group {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}
.form-inline-group form {
    margin: 0;
}
.form-inline-group .custom-select-wrapper {
    flex-shrink: 0;
}

.full-banner {
    position: relative;
    width: 101.8vw;
    height: 320px;
    background-size: 50% auto;
    background-position: center;
    background-repeat: repeat-x;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    left: -50px;
}

.full-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 2;
}

.full-banner h1 {
    color: white;
    font-size: 38px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
    z-index: 3;
    position: relative;
}

/* 추천회차 부분 */
.region-summary-box.horizontal {
    font-size: 14px;
    padding: 10px 5px;
}

.region-title {
    font-weight: bold;
    font-size: 15px;
    color: #0056b3;
    margin-bottom: 8px;
    display: block;
}

.region-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.region-item {
    background: #f0f8ff;
    border: 1px solid #007bff;
    padding: 8px 12px;
    border-radius: 8px;
    color: #003366;
    font-weight: 500;
    white-space: nowrap;
}

/* 추천일 검색 부분 */

.date-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}

.date-label {
    font-weight: bold;
    color: #0056b3;
    margin-right: 5px;
    white-space: nowrap;
}

.date-input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 120px;
}

.date-separator {
    margin: 0 4px;
    font-weight: bold;
}

.btn-date-submit {
    padding: 7px 14px;
    background-color: #fff;
    color: #003366;
    border: 2px solid #007bff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-date-submit:hover {
    background-color: #007bff;
    color: #fff;
}

/* 테이블 디자인 */
.tbl_head01.tbl_wrap {
    max-width: 1800px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: #fff;
}

.tbl_head01 table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
}

.tbl_head01 table caption {
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    color: #333;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.tbl_head01 thead th {
    background-color: #f1f3f5;
    color: #212529;
    font-weight: 600;
    padding: 12px 8px;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
    text-align: center;
}

.tbl_head01 tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}

.tbl_head01 tbody tr {
    transition: all 0.2s ease-in-out;
}

.tbl_head01 tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tbl_head01 tbody tr:hover {
    background-color: #e6f7ff;
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    z-index: 2;
    position: relative;
}

.tbl_head01 td.td_num,
.tbl_head01 td.td_date,
.tbl_head01 td.td_name {
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    height: 50px;
}

.bo_current {
    font-weight: bold;
    color: #007bff;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 헤더 */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    font-family: 'Segoe UI', sans-serif;
}

.dropdown-wrapper {
    position: relative;
}


.dropdown-trigger {
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #007bff;
    padding: 10px 20px;
    border-radius: 20px;
    color: #007bff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    background-color: #007bff;
    color: #ffffff;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 190px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f0f8ff;
    color: #007bff;
}

.dropdown-wrapper.open .dropdown-menu {
    display: flex;
}

.left-menu .dropdown-menu {
    left: 0;
    right: auto;
}