:root {
    --bg-color: #f3f4f6;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --accent-color: #10b981;
    --blob-1: #4f46e5;
    --blob-2: #ec4899;
}

.dark-theme {
    --bg-color: #111827;
    --text-color: #f9fafb;
    --text-muted: #9ca3af;
    --glass-bg: rgba(31, 41, 55, 0.6);
    --glass-border: rgba(75, 85, 99, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --primary-color: #6366f1;
    --primary-hover: #818cf8;
    --accent-color: #34d399;
    --blob-1: #312e81;
    --blob-2: #831843;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
body, body.main, body.sub {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
ul, ol, dl, dt, dd, li { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
p { margin: 0 0 10px; }

.pt0 { padding-top: 0; }
.pt10 { padding-top: 10px; }
.pt20 { padding-top: 20px; }
.pt50 { padding-top: 50px; }
.pb0 { padding-bottom: 0; }
.pb10 { padding-bottom: 10px; }
.pb20 { padding-bottom: 20px; }
.pb50 { padding-bottom: 50px; }
.pb100 { padding-bottom: 100px; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-50 { margin-top: 50px !important; }
.mb-50 { margin-bottom: 50px !important; }

/* Background Animations */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: moveBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: var(--blob-1);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background-color: var(--blob-2);
    animation-delay: -10s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10vw, 20vh) scale(1.2); }
    100% { transform: translate(-20vw, 10vh) scale(0.8); }
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.theme-toggle:hover {
    transform: translateY(-3px);
    background: var(--glass-bg); /* 배경색은 유지 */
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.theme-toggle i {
    width: 20px;
    height: 20px;
}
.dark-theme .sun-icon { display: block; }
.dark-theme .moon-icon { display: none; }
body:not(.dark-theme) .sun-icon { display: none; }
body:not(.dark-theme) .moon-icon { display: block; }

/* Glass Panel Customization */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px var(--glass-shadow-hover);
}

/* Override old itemBox */
a.itemBox, div.itemBox {
    position: relative;
    display: block;
    margin-bottom: 30px;
    border-radius: 12px;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

a.itemBox:hover, div.itemBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

a.itemBox .thumb, div.itemBox .thumb {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 130%; /* Aspect ratio for posters */
    position: relative;
    overflow: hidden;
}
a.itemBox .thumb .boxShadow2, div.itemBox .thumb .boxShadow2 {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    box-shadow: none; /* remove old */
    position: absolute;
    top: 0;
    left: 0;
}

/* Content Box Content Area */
.itemBox-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px; /* 간격 대폭 확대 */
}

a.itemBox .title, div.itemBox .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-color) !important;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: 2.8em; /* 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.5px;
    white-space: normal;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
    color: var(--text-muted);
}

.dark-theme .info-row {
    color: var(--text-muted);
}

.info-row i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary-color);
    opacity: 1; /* 투명도 제거하여 더 선명하게 */
    margin-top: 3px;
}

.info-row .date, .info-row .place {
    font-size: 15px;
    font-weight: 500;
    margin: 0 !important;
    color: var(--text-muted) !important;
    white-space: normal; /* 줄바꿈 허용 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.badges-wrapper {
    display: flex;
    justify-content: flex-end; /* 배지 우측 정렬 */
    gap: 6px;
    margin-top: 15px;
}

.badges-wrapper .label {
    margin: 0 !important;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff !important; /* 부모 호버 시에도 흰색 유지 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.2s ease;
}

.label.realm, .label-info {
    background-color: var(--primary-color) !important;
}

.label.area, .label-warning {
    background-color: var(--accent-color) !important;
}

/* More Button Modern Style */
.btn-more-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    gap: 8px;
    margin: 10px auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-more-modern:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    text-decoration: none;
}

.btn-more-modern i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-more-modern:hover i {
    transform: translateX(4px);
}

/* Dark Theme Adjustments for More Button */
.dark-theme .btn-more-modern {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.dark-theme .btn-more-modern:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Detail Page specific */
div.itemBox.detail-glass {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 40px;
    padding: 30px; /* 30px로 통일 */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem; /* 곡률 소폭 조정 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 45px var(--glass-shadow);
    transform: none !important;
    margin-bottom: 0 !important; /* 하단 여백 제거하여 타이틀의 mt로 통일 */
}

div.itemBox.detail-glass .thumb {
    flex: 0 0 320px !important;
    width: 320px !important;
    height: 460px !important;
    padding-bottom: 0 !important;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-bottom: 0 !important;
}

div.itemBox.detail-glass .thumb .boxShadow2 {
    width: 100% !important;
    height: 100% !important;
    background-size: cover;
    background-position: center;
}

.detail-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.detail-info .title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.detail-info .info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: var(--text-muted);
    width: 100%; /* 너비 확보 */
}

/* 상세페이지 내 텍스트 크기 강제 통일 */
div.itemBox.detail-glass .info-row span {
    flex: 1; /* 아이콘을 제외한 나머지 공간을 모두 차지 */
    min-width: 0; /* flex 자식의 최소 너비 초기화 */
    font-size: 17px !important;
    line-height: 1.5;
    color: var(--text-muted) !important;
    -webkit-line-clamp: initial !important;
    word-break: break-all;
}

.detail-info .info-row i {
    color: var(--primary-color);
    flex: 0 0 20px; /* 고정 너비 강제 (shrink/grow 0) */
    width: 20px;
    height: 20px;
    min-width: 20px; /* 최소 너비 보장 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.detail-info .info-row i svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
}

div.itemBox.detail-glass .badges-wrapper {
    justify-content: flex-start; /* 좌측 정렬로 변경 */
    margin-top: 10px;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary-modern i {
    width: 18px;
    height: 18px;
    color: #fff !important;
}

@media (max-width: 768px) {
    .btn-primary-modern {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}
.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .blob { display: none; }
    div.itemBox.detail-glass, .detail-content {
        display: flex;
        flex-direction: column !important;
        padding: 15px !important; /* 모바일 여백 축소 */
        gap: 20px;
        border-radius: 1rem !important;
    }
    div.itemBox.detail-glass .thumb {
        flex: 0 0 100% !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 130% !important; /* 비율 복구 */
    }
    .googleMap {
        height: 300px !important; /* 모바일 지도 높이 축소 */
    }
}

/* Sub Title overrides */
div.sub_title > .title > a {
    color: var(--text-color);
}
div.sub_title > .text {
    color: #4b5563;
    font-weight: 500;
}
.dark-theme div.sub_title > .text {
    color: var(--text-muted);
}
div.sub_title > .border {
    background-color: var(--primary-color);
}

/* Typography fix */
.fontNanumBrush, .fontJejuGothic, #header h1 > a > span, #header dl > * {
    font-family: 'Pretendard', sans-serif !important;
}
h2.title.fontNanumBrush {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--text-color) !important;
    margin-bottom: 5px;
}
/* ==========================================================================
   Sub Title & Dividers
   ========================================================================== */
.sub_title {
    margin-bottom: 30px;
    text-align: left;
    padding-left: 20px;
    position: relative;
    background: transparent !important;
}
.sub_title .border {
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}
.sub_title .text {
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    margin: 8px 0 0 0;
    letter-spacing: -0.3px;
    line-height: 1.4;
}
.dark-theme .sub_title .text {
    color: var(--text-muted);
}

/* Fix weird white blocks from legacy style.css */
#contents, #search_form {
    background: transparent !important;
    box-shadow: none !important;
}

/* Pagination Modernization */
.pagination > li > a, .pagination > li > span {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    transition: all 0.2s ease;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    background-color: var(--glass-border);
    color: var(--text-color);
}
.pagination > li > a.active, .pagination > .active > a, .pagination > .active > span {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.pagination {
    margin: 0 !important; /* Reset Bootstrap default margin */
}

.pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0; /* 여백 더 축소 */
}

@media (max-width: 767px) {
    .pagination-wrapper {
        margin: 5px 0;
    }
}

.well.detail {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: 0 4px 16px var(--glass-shadow);
    color: var(--text-color);
    padding: 30px;
}
.dark-theme .well.detail img {
    filter: brightness(0.9);
}
.sub_title .title, .sub_title h2.title, .sub_title h3.title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .sub_title .title, .sub_title h2.title, .sub_title h3.title {
        font-size: 20px;
    }
}

.section-gap {
    margin-top: 80px !important;
}

@media (max-width: 768px) {
    .section-gap {
        margin-top: 50px !important;
    }
}

.detail-content {
    padding: 30px; /* 30px로 통일 */
    border-radius: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 45px var(--glass-shadow);
    margin-bottom: 0 !important; /* 하단 여백 제거하여 타이틀의 mt로 통일 */
    transition: none !important; /* 애니메이션 제거 */
}

.detail-content:hover {
    transform: none !important;
    box-shadow: 0 15px 45px var(--glass-shadow) !important;
}

.detail-content > *:last-child {
    margin-bottom: 0 !important;
}

.detail-content img {
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.googleMap {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    height: 400px;
}

.googleMap iframe {
    width: 100%;
    height: 100%;
}

.address-bar {
    display: flex;
    flex-direction: row; /* PC에서는 한 줄 */
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    border-radius: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    margin: 10px auto;
    text-align: left;
    max-width: 100%;
    width: fit-content;
    line-height: 1.5;
    box-sizing: border-box;
}

.addr-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color); /* 색상 복구 */
    white-space: nowrap;
}

.addr-label i {
    color: var(--primary-color);
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

.addr-label i svg {
    width: 20px !important;
    height: 20px !important;
}

.addr-value {
    word-break: break-all;
    overflow-wrap: anywhere;
    color: var(--text-color);
}

.addr-value a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .address-bar {
        flex-direction: column; /* 모바일에서만 상하 배치 */
        align-items: flex-start;
        width: 100%;
        padding: 15px;
        border-radius: 12px;
        font-size: 14px;
        gap: 5px;
    }
    .addr-label i, .addr-label i svg {
        width: 18px !important;
        height: 18px !important;
    }
    .addr-value {
        padding-left: 26px; /* 모바일 상하 배치 시 들여쓰기 유지 */
    }
}

/* -------------------------------------
   VANILLA CSS GRID SYSTEM (Bootstrap Replacement)
---------------------------------------- */
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

.maxWidth {
    max-width: 1200px; /* Bootstrap's typical container width */
}
.maxWidth2 {
    max-width: 800px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* Mobile first: col-xs-12 is 100% */
.col-xs-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Tablet & Desktop: col-sm-6 is 50% */
@media (min-width: 768px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
/* Desktop: col-sm-6 becomes 3 columns (33.33%) to prevent huge cards */
@media (min-width: 992px) {
    .col-sm-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
/* Large Desktop: col-sm-6 becomes 4 columns (25%) */
@media (min-width: 1200px) {
    .col-sm-6 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* -------------------------------------
   UI COMPONENTS & UTILITIES
---------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt10 { margin-top: 10px; }
.mt15 { margin-top: 15px; }
.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }
.mb10 { margin-bottom: 10px; }
.mb15 { margin-bottom: 15px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb40 { margin-bottom: 40px; }
.mb80 { margin-bottom: 80px; }

@media (max-width: 767px) {
    .m_mb15 { margin-bottom: 15px; }
    .m_mb30 { margin-bottom: 30px; }
    .m_mt20 { margin-top: 20px; }
    .dp_none { display: none !important; }
    .m_dp_inline { display: inline-block !important; }
}
@media (min-width: 768px) {
    .m_dp_none { display: none !important; }
    .dp_inline { display: inline-block !important; }
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

hr {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 20px;
    margin-bottom: 20px;
}

.section-divider {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 50px 0;
    opacity: 0.6;
    clear: both;
}

@media (max-width: 767px) {
    .section-divider {
        margin: 30px 0;
    }
}

/* Form Controls */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-color);
    background-color: var(--glass-bg);
    background-image: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    box-sizing: border-box;
}
.form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(79, 70, 229, 0.6);
}
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background: var(--glass-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 10px center;
    background-size: 16px;
    padding-right: 30px;
}
.dark-theme select.form-control {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%239ca3af" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn:hover {
    text-decoration: none;
}
.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.boxShadowNone {
    box-shadow: none !important;
}

/* Search Form Specific (Header) - Airbnb/Pill Style */
#search {
    margin-top: -45px;
    margin-bottom: 50px; /* 컨텐츠와의 간격 확보 */
    position: relative;
    z-index: 10;
    padding: 0 15px;
}
.search-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 15px;
    gap: 10px;
}
.dark-theme .search-inner {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.search-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 5px 15px;
    border-right: 1px solid rgba(150, 150, 150, 0.3);
}
.search-item:nth-last-of-type(2) {
    border-right: none;
}
.search-item.date-item {
    flex: 2;
    min-width: 250px;
}
.search-item label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.modern-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    outline: none;
    font-family: inherit;
    transition: all 0.3s ease;
}
.modern-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}
.modern-input:focus {
    color: var(--text-color);
}
select.modern-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right center;
    padding-right: 20px;
}
select.modern-input option {
    background-color: #ffffff;
    color: #333333;
}
.dark-theme select.modern-input option {
    background-color: #1e293b;
    color: #f1f5f9;
}
.divider {
    color: var(--text-muted);
    font-weight: 300;
}
.search-btn-wrapper {
    flex: 0 0 auto;
    padding-left: 5px;
}
.modern-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}
.modern-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.6);
    text-decoration: none;
}
.modern-search-btn i {
    width: 18px;
    height: 18px;
}
@media (max-width: 767px) {
    #search {
        padding: 0 15px;
        margin-top: -30px;
        margin-bottom: 30px;
    }
    .search-inner {
        flex-direction: column;
        border-radius: 16px; /* 살짝 덜 둥글게 조정 */
        padding: 12px; /* 패딩 축소 */
        gap: 8px; /* 간격 축소 */
        max-width: 100%;
        box-sizing: border-box;
    }
    .search-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(150, 150, 150, 0.15);
        padding: 0 0 8px 0; /* 간격 축소 */
        box-sizing: border-box;
    }
    .search-item label {
        font-size: 11px; /* 라벨 크기 소폭 축소 */
        margin-bottom: 2px;
    }
    .modern-input {
        font-size: 14px;
        padding: 3px 0;
    }
    .search-item:nth-last-of-type(2) {
        border-bottom: none;
        padding-bottom: 0;
    }
    .search-btn-wrapper {
        width: 100%;
        padding-left: 0;
        margin-top: 4px;
        box-sizing: border-box;
    }
    .modern-search-btn {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 15px; /* 버튼 크기 축소 */
        font-size: 14px;
    }
}

/* ==========================================================================
   Header (#header)
   ========================================================================== */
#header {
    width: 100%;
    background: url(/images/audience-1867754_1920.jpg) no-repeat center center / cover;
    padding: 50px 0 100px;
    position: relative;
    text-align: center;
}
#header .bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
#header .container-fluid {
    position: relative;
    z-index: 2;
}
#header h1 { margin: 20px 0; }
#header h1 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
}
#header h1 img { height: 40px; margin-right: 15px; }
#header dl { margin: 30px 0; color: #e2e8f0; }
#header dl dt { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
#header dl dd { font-size: 16px; margin-bottom: 5px; }
@media (max-width: 767px) {
    #header {
        padding: 30px 0 60px; /* 여백 축소 */
    }
    #header h1 a { font-size: 28px; }
    #header dl { margin: 15px 0; }
    #header dl dt { font-size: 18px; }
}

/* ==========================================================================
   Footer (#footer)
   ========================================================================== */
#footer {
    width: 100%;
    background-color: #1e293b;
    padding: 40px 0;
    color: #94a3b8;
    position: relative;
    margin-top: 60px;
    font-size: 14px;
}
#footer .info { width: 100%; }
#footer .maxWidth {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}
#footer dl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}
#footer dt {
    width: 200px;
    margin: 0;
}
#footer dt img {
    height: 35px;
}
#footer dd {
    flex: 1;
    min-width: 300px;
    margin: 0;
}
#footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer ul li:first-child {
    width: 100%;
}
#footer ul li a {
    color: #e2e8f0;
}
#footer ul li a:hover {
    color: var(--primary-color);
}
#footer .copyright {
    font-size: 13px;
    margin: 0;
    color: #64748b;
}
@media (max-width: 767px) {
    #footer {
        padding: 40px 0; /* 좌측 정렬로 버튼과 겹치지 않으므로 여백 조정 */
        text-align: left;
    }
    #footer dt { 
        width: 100%; 
        text-align: left; 
        margin: 0 0 20px 0;
    }
    #footer dd { 
        text-align: left;
        min-width: 100%;
    }
    #footer ul { 
        flex-direction: column;
        gap: 10px; 
        padding-left: 0;
    }
    #footer ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 8px;
    }
    #footer .copyright {
        margin-top: 15px;
        line-height: 1.6;
    }
}

/* To Top Button */
#toTop {
    position: fixed;
    bottom: 74px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}
#toTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#toTop:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}
#toTop .bg, #toTop .txt { display: none; }
#toTop i {
    margin: 0 !important;
    color: inherit !important;
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Pagination & Lists (list.php)
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0;
}
.pagination li a, .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}
.pagination li a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.pagination li a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}
.pagination li a.active strong {
    font-weight: 700;
}

/* ==========================================================================
   Detail Page (detail.php)
   ========================================================================== */
.detail_title h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin: 20px 0 20px;
    padding-left: 15px;
    position: relative;
    letter-spacing: -0.5px;
}
.detail_title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 5px;
}
.detail-content {
    padding: 30px;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
    word-break: break-word;
}
.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.detail-content iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.googleMap {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.googleMap iframe {
    border: none !important;
}

/* ==========================================================================
   jQuery UI Datepicker – Full Standalone (no jquery-ui.css needed)
   ========================================================================== */

/* --- Core structure (replaces jquery-ui.css) --- */
.ui-helper-clearfix::before,
.ui-helper-clearfix::after { content: ''; display: table; }
.ui-helper-clearfix::after { clear: both; }
.ui-helper-hidden-accessible {
    border: 0; clip: rect(0 0 0 0); height: 1px;
    margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px;
}
.ui-widget { font-family: 'Pretendard', sans-serif; font-size: 14px; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: 'Pretendard', sans-serif; font-size: 14px;
}
.ui-icon { display: inline-block; width: 16px; height: 16px; overflow: hidden; text-indent: -99999px; }

/* Datepicker structural skeleton */
.ui-datepicker { display: none; }
.ui-datepicker table { width: 100%; border-collapse: collapse; }
.ui-datepicker table th, .ui-datepicker table td { text-align: center; }
.ui-datepicker-header { position: relative; }
.ui-datepicker-prev, .ui-datepicker-next {
    position: absolute; top: 2px; cursor: pointer;
    width: 28px; height: 28px;
}
.ui-datepicker-prev { left: 4px; }
.ui-datepicker-next { right: 4px; }
.ui-datepicker-prev span, .ui-datepicker-next span {
    display: block; position: absolute;
    left: 50%; top: 50%;
    margin-left: -8px; margin-top: -8px;
}
.ui-datepicker-title { margin: 0 2.2em; text-align: center; line-height: 1.8em; }
.ui-datepicker-title select { font-size: 1em; margin: 1px 0; }
.ui-datepicker-buttonpane { margin: 0.7em 0 0; padding: 0; overflow: hidden; }
.ui-datepicker-buttonpane button { float: right; margin: 0.5em 0.2em 0.4em; cursor: pointer; padding: 0.2em 0.6em; }
.ui-datepicker-buttonpane button.ui-datepicker-current { float: left; }
.ui-datepicker-multi .ui-datepicker-group { float: left; }
.ui-datepicker-multi .ui-datepicker-group table { width: 95%; margin: 0 auto; }
.ui-datepicker-multi-2 .ui-datepicker-group { width: 50%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width: 0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear: left; }

/* --- Container --- */
.ui-datepicker {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 48px rgba(0,0,0,0.12) !important;
    padding: 20px !important;
    font-family: 'Pretendard', sans-serif !important;
    width: 300px !important;
    z-index: 9999 !important;
}
.dark-theme .ui-datepicker {
    background: #1e293b !important;
    border-color: rgba(255,255,255,0.1) !important;
    box-shadow: 0 12px 48px rgba(0,0,0,0.5) !important;
}

/* --- Multi-month: force side-by-side --- */
.ui-datepicker-multi {
    width: auto !important;
}
.ui-datepicker-multi .ui-datepicker-group {
    float: left !important;
    width: auto !important;
    padding: 0 12px !important;
}
.ui-datepicker-multi .ui-datepicker-group table {
    width: 240px !important;
    margin: 0 auto !important;
}
.ui-datepicker-multi .ui-datepicker-group-last {
    border-left: 1px solid rgba(0,0,0,0.06);
}
.dark-theme .ui-datepicker-multi .ui-datepicker-group-last {
    border-left-color: rgba(255,255,255,0.08);
}
.ui-datepicker-multi::after {
    content: '';
    display: table;
    clear: both;
}

/* --- Header (month/year nav) --- */
.ui-datepicker .ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    padding: 0 0 14px !important;
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prev / Next arrows */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 0 !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    border-radius: 10px !important;
    background: rgba(0,0,0,0.04) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    overflow: hidden !important;
}
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: rgba(79, 70, 229, 0.12) !important;
}
.dark-theme .ui-datepicker .ui-datepicker-prev,
.dark-theme .ui-datepicker .ui-datepicker-next {
    background: rgba(255,255,255,0.08) !important;
}
.dark-theme .ui-datepicker .ui-datepicker-prev:hover,
.dark-theme .ui-datepicker .ui-datepicker-next:hover {
    background: rgba(79, 70, 229, 0.25) !important;
}
/* Hide text inside span, show arrow via ::after */
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    background-image: none !important;
    text-indent: -9999px !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
    transform: none !important;
}
.ui-datepicker .ui-datepicker-prev span::after,
.ui-datepicker .ui-datepicker-next span::after {
    text-indent: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color, #333);
}
.ui-datepicker .ui-datepicker-prev span::after {
    content: '‹';
}
.ui-datepicker .ui-datepicker-next span::after {
    content: '›';
}

/* Title (year/month selects) */
.ui-datepicker .ui-datepicker-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--text-color, #333) !important;
    line-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 40px !important;
}
.ui-datepicker .ui-datepicker-title select {
    font-family: 'Pretendard', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-color, #333) !important;
    background: rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    height: 32px !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    margin: 0 2px !important;
}
.dark-theme .ui-datepicker .ui-datepicker-title select {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #f1f5f9 !important;
}
.ui-datepicker .ui-datepicker-title select option {
    background-color: #fff;
    color: #333;
}
.dark-theme .ui-datepicker .ui-datepicker-title select option {
    background-color: #1e293b;
    color: #f1f5f9;
}

/* --- Day-of-week header (일~토) --- */
.ui-datepicker th {
    font-weight: 600 !important;
    font-size: 12px !important;
    color: var(--text-muted, #9ca3af) !important;
    padding: 8px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* --- Day cells --- */
.ui-datepicker td {
    padding: 1px !important;
}
.ui-datepicker td a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    border: none !important;
    background: transparent !important;
    color: var(--text-color, #333) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    transition: background 0.15s ease !important;
    text-align: center !important;
}
.ui-datepicker td span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    border: none !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    text-align: center !important;
    /* span에는 transition 없음 – 반짝임 방지 */
}
.ui-datepicker td a:hover,
.ui-datepicker td a.ui-state-hover {
    background: rgba(79, 70, 229, 0.08) !important;
    color: var(--primary-color, #4f46e5) !important;
}
/* 오늘 날짜 – 연한 배경 + 테두리 */
.ui-datepicker td a.ui-state-highlight {
    background: rgba(79, 70, 229, 0.12) !important;
    color: var(--primary-color, #4f46e5) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    border: 2px solid var(--primary-color, #4f46e5) !important;
}
/* 선택된 날짜 – active가 highlight를 항상 덮어쓰도록 나중에 선언 */
.ui-datepicker td a.ui-state-active {
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--accent-color, #10b981)) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.35) !important;
}

/* 일요일 (1번째 열) - 빨간색 */
.ui-datepicker th:first-child { color: #ef4444 !important; }
.ui-datepicker td:first-child a { color: #ef4444 !important; }
/* 토요일 (7번째 열) - 파란색 */
.ui-datepicker th:last-child { color: #3b82f6 !important; }
.ui-datepicker td:last-child a { color: #3b82f6 !important; }

/* 선택·호버·오늘+선택 상태 – 가장 마지막에 배치하여 주말 색상보다 우선 */
.ui-datepicker td a.ui-state-hover { color: var(--primary-color, #4f46e5) !important; }
.ui-datepicker td a.ui-state-active { color: #fff !important; }
.ui-datepicker td a.ui-state-highlight.ui-state-active {
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--accent-color, #10b981)) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.35) !important;
}

/* 비활성 날짜 (disabled td 안의 span) */
.ui-datepicker td.ui-state-disabled span { color: rgba(150,150,150,0.3) !important; }
.ui-datepicker td.ui-state-disabled:first-child span { color: rgba(239, 68, 68, 0.2) !important; }
.ui-datepicker td.ui-state-disabled:last-child span { color: rgba(59, 130, 246, 0.2) !important; }

/* --- Button Panel (초기화 등) --- */
.ui-datepicker .ui-datepicker-buttonpane {
    border-top: 1px solid rgba(0,0,0,0.06) !important;
    margin-top: 10px !important;
    padding-top: 12px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}
.dark-theme .ui-datepicker .ui-datepicker-buttonpane {
    border-top-color: rgba(255,255,255,0.08) !important;
}
.ui-datepicker .ui-datepicker-buttonpane button {
    font-family: 'Pretendard', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    float: none !important;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    background: rgba(0,0,0,0.04) !important;
    color: var(--text-color, #555) !important;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current:hover {
    background: rgba(0,0,0,0.08) !important;
    transform: translateY(-1px) !important;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close {
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--accent-color, #10b981)) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3) !important;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.45) !important;
}
.dark-theme .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    background: rgba(255,255,255,0.1) !important;
    color: #e2e8f0 !important;
}

/* --- Mobile: stack vertically on small screens --- */
@media (max-width: 560px) {
    /* 달력 모바일 최적화 */
    .ui-datepicker {
        width: calc(100vw - 30px) !important;
        max-width: 300px !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }
    .ui-datepicker .ui-datepicker-header {
        height: 32px;
        padding: 0 0 10px !important;
    }
    .ui-datepicker .ui-datepicker-prev,
    .ui-datepicker .ui-datepicker-next {
        width: 30px !important;
        height: 30px !important;
    }
    .ui-datepicker .ui-datepicker-prev span::after,
    .ui-datepicker .ui-datepicker-next span::after {
        width: 30px !important;
        height: 30px !important;
    }
    .ui-datepicker .ui-datepicker-title {
        margin: 0 34px !important;
        font-size: 14px !important;
    }
    .ui-datepicker .ui-datepicker-title select {
        font-size: 13px !important;
        padding: 3px 6px !important;
        height: 28px !important;
    }
    .ui-datepicker td a,
    .ui-datepicker td span {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    .ui-datepicker .ui-datepicker-buttonpane button {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
    .ui-datepicker-multi .ui-datepicker-group {
        float: none !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
    }
    .ui-datepicker-multi .ui-datepicker-group-last {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 10px !important;
    }

    .ui-datepicker-multi .ui-datepicker-group-last {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 10px !important;
    }
}
