/* Contents - 페이지별 콘텐츠 스타일 */

/* 골프 정보 */
.golf-info {
    margin: 0;
}

.golf-info-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.golf-info-label {
    display: none;
}

.golf-info-value {
    font-size: 14px;
    color: #333;
    font-weight: normal;
}

.golf-info-title {
    font-size: 14px;
    font-weight: normal;
    color: #333;
    margin-bottom: 8px;
}

/* 예약 패널 */
.booking-panel {
    width: 380px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.booking-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.booking-selection-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 15px;
}

.booking-select-item {
    flex: 1;
}

.booking-select-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.booking-select-box {
    width: 100%;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
}

.booking-select-day {
    font-size: 14px;
    font-weight: bold;
    color: #00AD55;
}

.booking-select-date {
    font-size: 12px;
    color: #999;
}

.booking-select-time {
    font-size: 14px;
    font-weight: bold;
    color: #00AD55;
}

.booking-select-players {
    font-size: 12px;
    color: #999;
}

.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.booking-player-label {
    font-size: 14px;
    color: #000;
}

.booking-price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.booking-notes {
    margin-bottom: 20px;
}

.booking-notes-title {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.booking-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-notes-list li {
    font-size: 12px;
    color: #000;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.booking-notes-list li:before {
    content: "-";
    position: absolute;
    left: 0;
}

.booking-benefits {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: space-between;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.benefit-icon {
    font-size: 24px;
    width: auto;
    text-align: center;
}

.benefit-text {
    font-size: 10px;
    color: #000;
    text-align: center;
    line-height: 1.3;
}

/* ============================================
   Golfscape.com 스타일 적용 (book-now-constent-control 제외)
   ============================================ */

/* 1. Hero/이미지 갤러리 영역 */
.course-hero-wrapper {
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
}

/* 데스크탑에서 left-section 내부에 맞춤 */
@media (min-width: 1280px) {
    .course-hero-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

.course-header {
    margin-bottom: 20px;
}

.course-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.course-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.breadcrumb-icon {
    width: 14px;
    height: 14px;
    color: #666;
    flex-shrink: 0;
}

.breadcrumb-separator {
    color: #999;
    font-size: 11px;
    margin: 0 2px;
}

.breadcrumb-text {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.course-hero {
    width: 100%;
    max-width: 100%;
    height: 415px !important;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* 데스크탑에서 left-section 내부에 맞춤 */
@media (min-width: 1280px) {
    .course-hero {
        width: 100%;
        max-width: 100%;
        height: 415px !important;
    }
}

.course-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    width: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
}

.course-heading {
    margin-top: 0;
    margin-bottom: 40px;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.course-heading p {
    color: #00AD55;
    font-weight: bold;
    margin: 0 0 8px 0;
    padding-left: 20px;
    position: relative;
}

.course-heading p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00AD55;
    font-weight: bold;
}

.course-heading p:last-child {
    margin-bottom: 0;
}

/* 섹션 타이틀 공통 스타일 */
.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* 2. 골프장 설명 영역 */
.course-description {
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
}

.course-description-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.course-description-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.course-description-content p {
    margin-bottom: 16px;
}

/* 코스 표 스타일 */
.table-container {
    width: 100%;
    max-width: 900px;
    display: inline-block;
    margin: 20px 0;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.scroll-container {
    width: 100%;
    min-width: 100%;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.styled-table thead {
    background: #f5f5f5;
    color: #333;
}

.styled-table th {
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e0e0e0;
}

.styled-table tbody th {
    background: #f9f9f9;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
}

.styled-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.styled-table tbody tr:hover {
    background: #f0f0f0;
}

.styled-table tbody td {
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border: 1px solid #e0e0e0;
}

.course-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.course-description h3:first-child {
    margin-top: 0;
}

.read-more-toggle {
    color: #00AD55;
    cursor: pointer;
    text-decoration: underline;
}

.read-more-toggle:hover {
    text-decoration: none;
}

/* 4. 코스 상세 정보 */
.course-details {
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
}

.course-details-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.course-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.club-info-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 20px 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.club-info-box .info-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    background: #f5f5f5;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1.5;
    margin: 0;
    box-sizing: border-box;
}

.club-info-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    border: none;
}

.club-info-table th {
    background: #f9f9f9;
    padding: 12px 16px;
    text-align: right;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    border-right: none;
    width: 180px;
    vertical-align: top;
}

.club-info-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    border-left: none;
    border-right: none;
    border-top: none;
    line-height: 1.6;
}

.club-info-table .play-size-row th {
    font-size: 16px;
}

.club-info-table .play-size-content {
    font-size: 16px;
}

.club-info-table .play-size-content strong {
    font-size: 16px;
}

.club-info-table tr:last-child th,
.club-info-table tr:last-child td {
    border-bottom: none;
}

.club-info-table td a {
    color: #00AD55;
    text-decoration: none;
}

.club-info-table td a:hover {
    text-decoration: underline;
}

.club-info-table td > div {
    margin-bottom: 4px;
}

.club-info-table td > div:last-child {
    margin-bottom: 0;
}

/* 모바일 반응형 - 표를 카드 형태로 변경 */
@media (max-width: 768px) {
    .club-info-table,
    .club-info-table thead,
    .club-info-table tbody,
    .club-info-table th,
    .club-info-table td,
    .club-info-table tr {
        display: block;
    }
    
    .club-info-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .club-info-table tr {
        border: none;
        border-radius: 0;
        margin-bottom: 0;
        padding: 0;
        background: #fff;
    }
    
    .club-info-table td {
        border: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 12px 10px;
        text-align: left;
    }
    
    .club-info-table tr:last-child td {
        border-bottom: none;
    }
    
    .club-info-table td:before {
        content: "   - " attr(data-label) ":";
        display: block;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        padding-left: 0;
        padding-right: 0;
        margin-left: -10px;
    }
    
    .club-info-table th {
        display: none !important;
        visibility: hidden;
    }
}

.course-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-detail-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.course-names-box {
    margin-top: 20px;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-names-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-names-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 5. 클럽 시설 */
.facilities-section {
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
}

.facilities-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.facility-icon {
    width: 20px;
    height: 20px;
    color: #333; /* 텍스트 색상 계열로 변경 */
    flex-shrink: 0;
}

/* 7. 위치/지도 */
.location-section {
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
}

.location-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.location-address {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

/* 데스크탑에서 지도 높이를 가로 폭과 같게 (정사각형) */
@media (min-width: 769px) {
    .map-container {
        aspect-ratio: 1;
        height: auto;
    }
}

/* 8. 공통 섹션 스타일 */
.content-section {
    max-width: 830px;
    margin: 0;
    padding: 0 20px;
}


/* 모바일 반응형 - golfprice 프로젝트 기준 */
@media (max-width: 768px) {
    .content-section {
        max-width: 100%;
        padding: 0;
    }
    
    .course-hero-wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        margin-top: 60px !important; /* 헤더 높이만큼 여백 조정 */
        margin-bottom: 0;
        position: relative;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    
    .course-header {
        margin-top: 0;
        padding-top: 5px;
    }
    
    .course-header {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 5px 10px 0 10px;
        margin-top: 0;
        box-sizing: border-box;
    }
    
    .course-hero {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        margin-bottom: 0;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        position: relative;
        left: 0;
        right: 0;
        height: 250px !important;
        overflow: hidden;
        background: #000;
        box-sizing: border-box;
    }
    
    .course-hero-image {
        width: 100%;
        max-width: 100%;
        height: 250px !important;
        display: block;
        object-fit: cover;
    }
    
    .course-hero-image[style*="background"] {
        width: 100%;
        height: 250px !important;
    }
    
    .course-heading {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        box-sizing: border-box;
        margin-bottom: 0;
        border-bottom: 8px solid #f8f9fa;
    }
    
    .course-details,
    .facilities-section,
    .course-description,
    .location-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        box-sizing: border-box;
        border-bottom: 8px solid #f8f9fa;
    }
    
    .club-info-box {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        box-sizing: border-box;
    }
    
    .club-info-table {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-sizing: border-box;
    }
    
    /* 모바일 텍스트 크기 - golfprice 기준 */
    .course-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #333;
    }
    
    .course-breadcrumb {
        font-size: 14px;
        color: #999;
    }
    
    .course-heading {
        font-size: 14px;
        margin-bottom: 0;
        padding: 10px;
        line-height: 1.8;
    }
    
    .section-title,
    .course-description-title,
    .course-details-title,
    .facilities-title,
    .location-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
        padding: 10px 10px 10px 10px;
        padding-bottom: 10px;
        border-bottom: 2px solid #00AD55;
        color: #333;
    }
    
    .course-description-content {
        font-size: 14px;
        line-height: 1.8;
        color: #666;
        padding: 0 10px 10px 10px;
    }
    
    .course-description-content p {
        font-size: 14px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 16px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .location-address {
        font-size: 14px;
        color: #666;
        line-height: 1.8;
        padding: 0 10px 10px 10px;
    }
    
    .club-info-table {
        margin: 0 0 10px 0;
    }
    
    .club-info-table th {
        display: none !important;
        visibility: hidden;
    }
    
    .club-info-table td {
        font-size: 14px;
        padding: 12px 10px;
        color: #333;
    }
    
    .club-info-table td:before {
        content: "   - " attr(data-label) ":";
        display: block;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        padding-left: 0;
        padding-right: 0;
        margin-left: -10px;
    }
    
    .club-info-table .play-size-row td:before {
        font-size: 16px;
    }
    
    .club-info-table .play-size-content {
        font-size: 16px;
    }
    
    .club-info-table .play-size-content strong {
        font-size: 16px;
    }
    
    .club-info-box {
        padding: 0 10px 10px 10px;
    }
    
    .club-info-box .info-tag {
        font-size: 14px;
        padding: 4px 10px;
    }
    
    .facility-item {
        font-size: 14px;
        color: #666;
        padding: 0 10px 8px 10px;
    }
    
    .facilities-grid {
        padding: 0 10px 10px 10px;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .course-details-grid {
        padding: 0 10px 10px 10px;
    }
    
    .course-details > *:not(.course-details-title),
    .facilities-section > *:not(.facilities-title),
    .course-description > *:not(.course-description-title),
    .location-section > *:not(.location-title) {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* 코스 표 모바일 스타일 */
    .table-container {
        width: 100%;
        margin: 10px 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .styled-table {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .styled-table th,
    .styled-table td {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .course-description h3 {
        font-size: 16px;
        margin: 20px 0 12px 0;
        padding: 0 10px 8px 10px;
    }
    
    .course-detail-value {
        font-size: 14px;
    }
    
    .course-detail-label {
        font-size: 14px;
    }
    
    .course-heading p {
        font-size: 14px;
        color: #00AD55;
        line-height: 1.8;
        margin-bottom: 8px;
    }
    
    .map-container {
        margin: 0 10px 10px 10px;
    }
    
    /* golfprice 스타일 추가 */
    .course-header {
        background: #fff;
        border-bottom: 8px solid #f8f9fa;
        padding-bottom: 10px;
    }
    
    .course-details {
        background: #fff;
        padding-top: 10px;
    }
    
    .facilities-section {
        background: #fff;
        padding-top: 10px;
    }
    
    .course-description {
        background: #fff;
        padding-top: 10px;
    }
    
    .location-section {
        background: #fff;
        padding-top: 10px;
    }
    
    .map-container {
        height: 200px;
        border-radius: 8px;
        margin-top: 12px;
    }
}

.section-divider {
    border-top: 1px solid #e5e5e5;
    margin: 40px 0;
}

/* 9. 골프 코스 목록/카드 스타일 (Arizona 페이지) */
.courses-list-section {
    padding: 40px 0;
}

.region-section {
    margin-bottom: 60px;
}

.region-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.region-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.course-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card-content {
    padding: 20px;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.course-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    flex: 1;
}

.course-card-save {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.course-card-save:hover {
    border-color: #00AD55;
    background: #f5f5f5;
}

.course-card-save svg {
    width: 18px;
    height: 18px;
    color: #666;
}

.course-card-save.saved svg {
    color: #00AD55;
    fill: #00AD55;
}

.course-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-score {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.rating-reviews {
    font-size: 14px;
    color: #999;
}

.more-courses-link {
    display: inline-block;
    margin-top: 20px;
    color: #00AD55;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.more-courses-link:hover {
    color: #008a44;
    text-decoration: underline;
}

/* 10. 지역 그룹핑 스타일 */
.region-group {
    margin-bottom: 80px;
}

.region-group:last-child {
    margin-bottom: 0;
}

/* 11. 페이지 제목/헤더 스타일 */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
}

.page-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 12. 콘텐츠 섹션 스타일 */
.content-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.content-section-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.content-section-text:last-child {
    margin-bottom: 0;
}

/* 반응형 */
@media (min-width: 769px) and (max-width: 1279px) {
    .course-hero {
        width: 100%;
        height: auto;
        aspect-ratio: 830 / 415;
    }
}

/* 데스크탑 1280px 이상에서 left-section 내부에 맞춤 */
@media (min-width: 1280px) {
    .course-hero {
        width: 100%;
        max-width: 100%;
        height: 415px !important;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .course-details-grid,
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .map-container {
        height: 300px;
    }
}

/* Tee Time Calendar Styles */
.tee-time-expanded {
    width: 100%;
}

.tee-time-calendar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.tee-time-calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.tee-time-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.tee-time-calendar-nav-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    color: #333;
}

.tee-time-calendar-nav-btn:hover:not(:disabled) {
    background: #e0e0e0;
}

.tee-time-calendar-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tee-time-calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: center;
}

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

.tee-time-calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 0;
}

.tee-time-calendar-weekday:nth-child(1) {
    color: #d32f2f; /* 일요일 빨간색 */
}

.tee-time-calendar-weekday:nth-child(7) {
    color: #1976d2; /* 토요일 파란색 */
}

.tee-time-calendar-weekday:nth-child(n+2):nth-child(-n+6) {
    color: #666; /* 평일 회색 */
}

.tee-time-calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 5px;
    background: #fff;
    position: relative;
}

.tee-time-calendar-day:hover:not(.disabled):not(.other-month):not(.no-tee-time) {
    background: #f5f5f5;
    border-color: #FF9800;
}

.tee-time-calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
}

.tee-time-calendar-day.no-tee-time {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    pointer-events: none;
}

.tee-time-calendar-day.no-tee-time:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.tee-time-calendar-day.other-month {
    opacity: 0.3;
    cursor: default;
}

.tee-time-calendar-day.today {
    background: #e3f2fd;
    border-color: #2196F3;
    font-weight: 600;
}

.tee-time-calendar-day.selected {
    background: #FF9800;
    color: white;
    border-color: #FF9800;
    font-weight: 600;
}

.tee-time-calendar-day.sunday {
    color: #d32f2f;
}

.tee-time-calendar-day.sunday.selected {
    color: white;
}

.tee-time-calendar-day.saturday {
    color: #1976d2;
}

.tee-time-calendar-day.saturday.selected {
    color: white;
}

.tee-time-calendar-day-number {
    font-size: 14px;
    margin-bottom: 2px;
}

.tee-time-calendar-day-count {
    font-size: 10px;
    color: #fff;
    font-weight: 700;
    background-color: #00AD55;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    line-height: 1;
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 10;
}

.tee-time-calendar-day.selected .tee-time-calendar-day-count {
    color: #fff;
    background-color: #4CAF50;
}

.tee-time-list-container {
    margin-top: 15px;
}

.tee-time-date-content {
    padding: 10px 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .tee-time-calendar {
        padding: 10px;
    }
    
    .tee-time-calendar-title {
        font-size: 16px;
    }
    
    .tee-time-calendar-nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .tee-time-calendar-day-number {
        font-size: 12px;
    }
    
    .tee-time-calendar-day-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}
