/* 비급여진료비 페이지 스타일 */

/* 서브페이지 헤더 */
.sub-header {
    position: relative;
    height: 400px;
    background-image: url('/assets/images/greting.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.sub-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sub-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.8) 100%);
    z-index: 1;
}

.sub-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.sub-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease;
}

.breadcrumb {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* 비급여 진료비 섹션 */
.pricing-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 14px;
    color: #00b4d8;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: #00b4d8;
}

.section-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
}

/* 가격표 카테고리 */
.pricing-category {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2c5aa0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: #2c5aa0;
    font-size: 32px;
}

/* 가격표 테이블 */
.pricing-table {
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 18px;
    border-bottom: 2px solid #e9ecef;
}

.pricing-table th:last-child {
    text-align: right;
    width: 200px;
}

.pricing-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    color: #555;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: #333;
    font-size: 17px;
}

.pricing-table tr {
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

/* 안내사항 */
.pricing-notice {
    background: #e8f4f8;
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
    text-align: left;
}

.notice-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.notice-title i {
    color: #2c5aa0;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.notice-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: left;
}

.notice-list li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 20px;
}

/* 우측 퀵메뉴와 CTA 배너는 메인 styles.css의 스타일을 그대로 사용 */

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .quick-menu {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .sub-header {
        height: 300px;
    }

    .sub-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .pricing-category {
        padding: 30px 20px;
    }

    .category-title {
        font-size: 24px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 15px;
        font-size: 14px;
    }

    .pricing-table th:last-child,
    .pricing-table td:last-child {
        width: 120px;
    }

    .quick-menu {
        display: none;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* 모바일 안내사항 완전 재작성 */
    .pricing-notice {
        background: #e8f4f8 !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin: 20px 0 !important;
        text-align: left !important;
    }
    
    .pricing-notice .notice-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 20px !important;
        display: block !important;
        text-align: left !important;
    }
    
    .pricing-notice .notice-title i {
        display: none !important;
    }
    
    .pricing-notice .notice-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .pricing-notice .notice-list li {
        position: relative !important;
        padding-left: 15px !important;
        margin-bottom: 15px !important;
        font-size: 14px !important;
        color: #555 !important;
        line-height: 1.6 !important;
        text-align: left !important;
        display: block !important;
        word-break: keep-all !important;
    }
    
    .pricing-notice .notice-list li:before {
        content: "•" !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        color: #2c5aa0 !important;
        font-weight: bold !important;
    }
}

@media (max-width: 480px) {
    .pricing-table {
        font-size: 14px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
    }

    /* 모바일 안내사항 완전 재작성 (480px 이하) */
    .pricing-notice {
        background: #e8f4f8 !important;
        border-radius: 12px !important;
        padding: 15px !important;
        margin: 15px 0 !important;
        text-align: left !important;
    }
    
    .pricing-notice .notice-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 15px !important;
        display: block !important;
        text-align: left !important;
    }
    
    .pricing-notice .notice-title i {
        display: none !important;
    }
    
    .pricing-notice .notice-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .pricing-notice .notice-list li {
        position: relative !important;
        padding-left: 12px !important;
        margin-bottom: 12px !important;
        font-size: 13px !important;
        color: #555 !important;
        line-height: 1.5 !important;
        text-align: left !important;
        display: block !important;
        word-break: keep-all !important;
    }
    
    .pricing-notice .notice-list li:before {
        content: "•" !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        color: #2c5aa0 !important;
        font-weight: bold !important;
        font-size: 14px !important;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-category {
    animation: fadeInUp 0.8s ease;
}

.pricing-category:nth-child(2) {
    animation-delay: 0.1s;
}

.pricing-category:nth-child(3) {
    animation-delay: 0.2s;
}

.pricing-category:nth-child(4) {
    animation-delay: 0.3s;
}

.pricing-category:nth-child(5) {
    animation-delay: 0.4s;
}

.pricing-category:nth-child(6) {
    animation-delay: 0.5s;
}

.pricing-category:nth-child(7) {
    animation-delay: 0.6s;
}

.pricing-category:nth-child(8) {
    animation-delay: 0.7s;
}