/* ============================================
   pages.css - 페이지별 스타일 통합 파일
   색상: #F47320(Primary), #F89C6D(Secondary), #FBB584(Light)
   ============================================ */

/* ========== 공통 서브페이지 (submenu.jsp) ========== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg,rgb(255, 152, 113), rgba(244, 115, 32, 0.7)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 400"><rect fill="%23f5f5f5" width="1920" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 100px 40px 80px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

/* Breadcrumb */
.breadcrumb {
    background: #fafafa;
    padding: 15px 40px;
    border-bottom: 1px solid #e8e8e8;
}

.breadcrumb-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 400;
}

/* Sub Menu (3 Depth) */
.sub-menu {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 82px;
    z-index: 90;
}

.sub-menu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    padding: 0 40px;
}

.sub-menu a {
    padding: 20px 35px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    letter-spacing: -0.3px;
}

.sub-menu a:hover {
    color: var(--primary-color);
    background: #fafafa;
}

.sub-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 500;
}

/* Sub Sub Menu (4 Depth) */
.sub-sub-menu {
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 142px;
    z-index: 89;
}

.sub-sub-menu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    padding: 0 40px;
    gap: 10px;
}

.sub-sub-menu a {
    padding: 15px 25px;
    color: #777;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    border-radius: 20px;
    transition: all 0.3s;
    letter-spacing: -0.3px;
}

.sub-sub-menu a:hover {
    background: #fff;
    color: var(--primary-color);
}

.sub-sub-menu a.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 400;
}

/* Main Content Area */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 40px;
}


/* ========== 회사소개 - CEO (ceo.jsp) ========== */

@media (max-width: 1024px) {
    .greeting-container {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

@media (max-width: 768px) {
    .greeting-text h2 {
        font-size: 28px !important;
    }
}


/* ========== 회사소개 - 사명서 (mission.jsp) ========== */

.mission-container {
    max-width: 900px;
    margin: 0 auto;
}

.mission-frame {
    background: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    border: 15px solid #F47320;
    position: relative;
}

.mission-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid #FBB584;
    border-radius: 8px;
    pointer-events: none;
}

.mission-text {
    background: linear-gradient(135deg, #faf8f5, #f5f3ef);
    padding: 50px;
    border-radius: 4px;
    text-align: center;
    font-size: 18px;
    line-height: 2.2;
    color: #2c2c2c;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.mission-text p {
    margin-bottom: 25px;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

.mission-highlight {
    font-size: 20px;
    font-weight: 500;
    color: #F47320;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .mission-frame {
        padding: 30px;
        border-width: 10px;
    }

    .mission-text {
        padding: 30px;
        font-size: 16px;
    }

    .sub-menu-inner {
        overflow-x: auto;
    }
}


/* ========== 회사소개 - 연혁 (history.jsp) ========== */

.history-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.history-image {
    position: sticky;
    top: 200px;
}

.history-icon {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 48px;
}

.history-timeline {
    position: relative;
}

.history-timeline .timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 50px;
    background: transparent;
    border-radius: 0;
    border-left: none;
}

.history-timeline .timeline-item:last-child {
    padding-bottom: 0;
}

.history-timeline .timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: -50px;
    width: 2px;
    background: #e8e8e8;
}

.history-timeline .timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 40px;
    height: 40px;
    background: #F47320;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(244, 115, 32, 0.3);
}

.year {
    font-size: 36px;
    font-weight: 500;
    color: #F47320;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.year-title {
    font-size: 20px;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.events {
    list-style: none;
}

.events li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.events li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #F47320;
    font-size: 20px;
}

.events .sub-event {
    padding-left: 40px;
    font-size: 14px;
    color: #666;
}

.events .sub-event::before {
    content: '−';
}

@media (max-width: 1024px) {
    .history-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-image {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .history-timeline .timeline-item {
        padding-left: 50px;
    }

    .year {
        font-size: 28px;
    }
}


/* ========== 회사소개 - 조직도 (organization.jsp) ========== */

.organization-content.main-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.org-chart-wrapper {
    flex: 1;
    min-width: 0;
}

.network-wrapper {
    flex: 1;
    min-width: 0;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
}

.org-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

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

.org-box.ceo {
    background: linear-gradient(135deg, #F47320, #F89C6D);
    color: #fff;
    min-width: 220px;
    padding: 35px 45px;
}

.org-box.director {
    background: #f5f3ef;
    border: 2px solid #F47320;
}

.org-box.team {
    background: #fafafa;
    border: 2px solid #FBB584;
}

.org-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.org-box.ceo .org-title {
    font-size: 22px;
    font-weight: 600;
}

.org-subtitle {
    font-size: 14px;
    opacity: 0.8;
}

.org-box.ceo .org-subtitle {
    opacity: 0.9;
}

.org-members {
    list-style: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}

.org-members li {
    font-size: 13px;
    color: #666;
    padding: 5px 0;
}

/* Connection Lines */
.org-connector {
    width: 2px;
    height: 40px;
    background: #FBB584;
    margin: 0 auto;
}

.org-connector-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    position: relative;
}

.org-connector-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    right: 30%;
    height: 2px;
    background: #FBB584;
}

.org-connector-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #FBB584;
    transform: translateX(-50%);
}

/* Map Section Styles */
.network-section h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 15px;
    color: #2c2c2c;
    letter-spacing: -1px;
}

.network-section > p {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

#korea-map {
    width: 100%;
    display: block;
}

.map-province {
    stroke: #fff;
    stroke-width: 1.5;
    fill: #f5f5f5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-province:hover {
    fill: #FBB584;
}

.map-province.highlighted {
    fill: #F47320;
}

.map-marker {
    fill: #d32f2f;
    stroke: #fff;
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s;
}

.map-marker:hover {
    r: 8;
    fill: #b71c1c;
}

.map-label {
    fill: #2c2c2c;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    text-anchor: middle;
}

.map-label-bg {
    fill: rgba(255, 255, 255, 0.9);
    stroke: #F47320;
    stroke-width: 1.5;
    rx: 4;
}

#korea-map path {
    stroke: #fff;
    stroke-width: 1.5;
    fill: #c1b8b8;
    transition: all 0.3s ease;
}

#korea-map path:hover {
    fill: #FBB584;
    cursor: pointer;
}

.branch-marker {
    fill: #F47320;
    stroke: #fff;
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.branch-marker:hover {
    fill: #F89C6D;
    r: 7;
}

.branch-label {
    font-size: 12px;
    fill: #2c2c2c;
    font-weight: 500;
    pointer-events: none;
    text-shadow:
            -1px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px 1px 0 #fff,
            1px 1px 0 #fff;
}

@media (max-width: 1280px) {
    .organization-content.main-content {
        flex-direction: column;
    }

    #korea-map {
        height: 600px;
    }
}

@media (max-width: 1024px) {
    .org-level {
        flex-wrap: wrap;
    }

    .org-connector-horizontal::before {
        display: none;
    }

    #korea-map {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .org-box {
        min-width: 150px;
        padding: 20px 25px;
    }

    .org-box.ceo {
        min-width: 180px;
        padding: 25px 30px;
    }

    #korea-map {
        height: 400px;
    }
}


/* ========== 서비스안내 - 행사진행절차 (process.jsp) ========== */

.process-section {
    max-width: 1200px;
    margin: 0 auto;
}

.process-section .process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.process-item {
    position: relative;
}

.process-item .arrow-icon {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--primary-color);
    font-weight: bold;
}

.process-item:nth-child(3) .arrow-icon,
.process-item:nth-child(6) .arrow-icon {
    display: none;
}

.process-box {
    background: #f8f8f8;
    padding: 30px 20px;
    border-radius: 8px;
    min-height: 200px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-box:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(244, 115, 32, 0.15);
}

.step-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.step-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.step-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.step-desc strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .process-section .process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-item:nth-child(2) .arrow-icon,
    .process-item:nth-child(4) .arrow-icon {
        display: none;
    }

    .process-item:nth-child(3) .arrow-icon,
    .process-item:nth-child(5) .arrow-icon {
        display: block;
    }
}

@media (max-width: 768px) {
    .process-section .process-flow {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-item .arrow-icon {
        display: none !important;
    }

    .process-box {
        min-height: 160px;
        padding: 25px 15px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-desc {
        font-size: 13px;
    }
}


/* ========== 서비스안내 - B&B상품 (product.jsp) ========== */

.product-section {
    max-width: 1200px;
    margin: 0 auto;
}

.product-section .notice-box {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.category-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.category-btn {
    padding: 18px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 115, 32, 0.15);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #F89C6D);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 115, 32, 0.3);
}

.product-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.product-table thead {
    background: var(--primary-color);
    color: #fff;
}

.product-table th {
    padding: 18px 15px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.product-table th:last-child {
    border-right: none;
}

.product-table td {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.product-table td:last-child {
    border-right: none;
}

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

.product-table tbody tr:hover {
    background: #fafafa;
}

.product-layout {
    display: grid;
    grid-template-columns: 60% 38%;
    gap: 30px;
    margin-top: 30px;
}

.product-detail-section {
    background: #fff;
}

.special-service-section {
    background: #fff;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    height: fit-content;
}

.product-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-align: center;
}

.product-detail-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.product-detail-table thead {
    background: var(--primary-color);
    color: #fff;
}

.product-detail-table th {
    padding: 12px 10px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.product-detail-table td {
    padding: 12px 10px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

.product-detail-table tbody tr:hover {
    background: #fafafa;
}

.service-notes {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.8;
    color: #555;
}

.service-notes p {
    margin: 5px 0;
}

.service-notes .warning {
    color: #d32f2f;
    font-weight: 500;
    margin-top: 10px;
}

.service-notes .warning-sub {
    color: #666;
    font-size: 11px;
    padding-left: 10px;
}

.special-service-item {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.special-service-item:last-of-type {
    border-bottom: none;
}

.service-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 25px;
}

.service-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.service-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-number {
    margin-bottom: 20px;
}

.contact-number p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.contact-number h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
    letter-spacing: 2px;
}

.contact-number .website {
    font-size: 15px;
    color: #F47320;
    font-weight: 500;
}

.partner-logo {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.partner-logo p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .special-service-section {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .category-selector {
        grid-template-columns: 1fr;
    }

    .category-btn {
        padding: 15px 18px;
        font-size: 15px;
    }

    .tab-btn {
        flex: 1 1 100%;
        min-width: auto;
    }

    .product-table {
        font-size: 13px;
    }

    .product-table th,
    .product-table td {
        padding: 12px 8px;
    }

    .product-detail-table {
        font-size: 12px;
    }

    .product-detail-table th,
    .product-detail-table td {
        padding: 8px 5px;
    }

    .contact-number h2 {
        font-size: 24px;
    }
}


/* ========== 서비스안내 - 기일안내서비스 (memorial.jsp) ========== */

.memorial-section {
    max-width: 1200px;
    margin: 0 auto;
}

.memorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.download-box button:hover {
    background: #F89C6D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 115, 32, 0.4);
}

@media (max-width: 1024px) {
    .memorial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .info-box,
    .contact-box {
        padding: 25px 20px !important;
    }

    .download-box button {
        padding: 15px 40px;
        font-size: 15px;
    }
}


/* ========== 서비스안내 - 조문감사안내 (thanks.jsp) ========== */

.thanks-section {
    max-width: 1200px;
    margin: 0 auto;
}

.thanks-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.thanks-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.thanks-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #F89C6D);
    padding: 20px;
    text-align: center;
}

.card-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.card-body {
    padding: 30px 25px;
    min-height: 350px;
    background: #fafafa;
}

.card-body p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    text-align: center;
    margin: 0;
}

.card-footer {
    background: #fff;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
}

.card-footer p {
    margin: 0;
    font-size: 13px;
    color: #999;
}

.thanks-notice {
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .thanks-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .thanks-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-body {
        padding: 25px 20px;
        min-height: 300px;
    }

    .card-body p {
        font-size: 13px;
    }
}


/* ========== 장례정보 - 공통 (info pages shared) ========== */

.culture-section,
.basic-section,
.rites-section,
.admin-section,
.ceremony-section,
.relocation-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* 탭 메뉴 */
.info-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.info-tab-btn {
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.info-tab-btn:hover {
    color: var(--primary-color);
}

.info-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

/* 탭 내용 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.content-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 16px;
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 16px;
    color: #555;
    line-height: 2;
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
}

.info-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 20px;
    position: absolute;
    left: 0;
}

.info-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid #F47320;
}

.timeline-item h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 17px;
}

.timeline-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    color: #666;
    padding: 15px 25px;
    background: #fafafa;
    border-left: 3px solid var(--primary-color);
    margin: 10px 0;
}

/* 절차 플로우 (info pages) */
.process-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.process-step {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(244, 115, 32, 0.3);
}

.process-step h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.process-step p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin: 0;
}

@media (max-width: 1024px) {
    .process-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-tabs {
        gap: 5px;
    }

    .info-tab-btn {
        padding: 12px 18px;
        font-size: 14px;
        flex: 1 1 calc(50% - 5px);
        text-align: center;
    }

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

    .info-card {
        padding: 25px 20px;
    }

    .info-card h3 {
        font-size: 20px;
    }

    .info-card p,
    .info-list li {
        font-size: 15px;
    }

    .process-flow {
        gap: 20px;
    }

    .process-step {
        padding: 25px 20px;
    }
}


/* ========== 장례정보 - 장례정보 (basic.jsp) 고유 스타일 ========== */

/* 봉안묘 설치절차 스타일 */
.bongahn-flow-card {
    background: #fff;
    padding: 40px 30px;
    border-left: none;
}

.bongahn-flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bongahn-flow-container > img {
    max-width: 100%;
    height: auto;
}

.flow-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-left, .flow-right {
    flex: 1;
    max-width: 280px;
}

.flow-center {
    flex: 0 0 200px;
    padding-top: 80px;
}

.flow-header {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    min-width: 150px;
}

.flow-header.applicant,
.flow-header.agency {
    background: var(--primary-color);
    color: #fff;
}

.flow-step-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.flow-step-box.result-box {
    background: #faf6f1;
    border: 1px solid var(--primary-color);
}

.flow-step-box strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.flow-arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid var(--primary-color);
    margin: 10px 0;
}

.flow-steps-list {
    width: 100%;
}

.flow-step-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: right;
    font-size: 14px;
    color: #555;
    border-bottom: none;
}

.flow-step-item:last-child {
    border-bottom: 1px solid #ddd;
}

.flow-step-item.small {
    padding: 8px 15px;
    font-size: 13px;
}

.flow-small-steps {
    width: 100%;
    margin: 10px 0;
}

.flow-small-steps .flow-step-item {
    border-bottom: 1px solid #ddd;
}

.flow-small-steps .flow-step-item:first-child {
    border-bottom: none;
}

.flow-period-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

.period-item {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.flow-connector-area {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.flow-horizontal-line {
    width: 100%;
    height: 2px;
    background: #ddd;
    position: relative;
}

.flow-horizontal-line::before,
.flow-horizontal-line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
}

.flow-horizontal-line::before {
    left: 0;
}

.flow-horizontal-line::after {
    right: 0;
}

/* 서류 섹션 */
.document-section {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.document-item {
    flex: 1;
}

.document-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.document-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.document-image-wrapper {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fafafa;
    border-radius: 4px;
}

.document-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .bongahn-flow-container {
        flex-direction: column;
        align-items: center;
    }

    .flow-left, .flow-right {
        max-width: 100%;
        width: 100%;
    }

    .flow-center {
        padding-top: 0;
        flex: none;
        width: 100%;
    }

    .flow-horizontal-line {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .flow-horizontal-line::before {
        top: 0;
        left: -4px;
    }

    .flow-horizontal-line::after {
        top: auto;
        bottom: 0;
        left: -4px;
        right: auto;
    }

    .document-section {
        flex-direction: column;
    }
}


/* ========== 장례정보 - 장례행정 (admin.jsp) 고유 스타일 ========== */

.document-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.document-item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge {
    background: var(--primary-color);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.doc-box {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.doc-row {
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.doc-row:last-child {
    border-bottom: none;
}

.doc-row strong {
    display: block;
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 8px;
}

.doc-row p {
    margin: 0;
    font-size: 14px;
    color: #777;
    line-height: 1.8;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.support-item {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.support-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.support-content p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin: 8px 0;
}

.support-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== 장례정보 - 제례정보 (ceremony.jsp) 고유 스타일 ========== */

.ceremony-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ceremony-item {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.ceremony-item h4 {
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.ceremony-content img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #fff;
}

.ceremony-content--row img {
    height: 150px;
}

.ceremony-content p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin: 8px 0;
}

.ceremony-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.ceremony-item--full {
    grid-column: 1 / -1;
}

.ceremony-content--row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ceremony-content--row img {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    height: auto;
}

.ceremony-content--4cols img {
    flex: 1 1 calc(25% - 12px);
    min-width: 120px;
}

.procedure-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.procedure-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

.procedure-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(244, 115, 32, 0.3);
}

.procedure-content h4 {
    color: var(--primary-color);
    font-size: 17px;
    margin-bottom: 10px;
}

.procedure-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.offering-category {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.offering-category h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.offering-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offering-category li {
    padding: 6px 0;
    padding-left: 15px;
    position: relative;
    font-size: 14px;
    color: #555;
}

.offering-category li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .ceremony-grid,
    .offering-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ceremony-grid,
    .offering-grid {
        grid-template-columns: 1fr;
    }

    .procedure-item {
        flex-direction: column;
        gap: 15px;
    }

    .procedure-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


/* ========== 장례정보 - 개장·이장정보 (relocation.jsp) 고유 스타일 ========== */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.comparison-item {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.comparison-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.relocation-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.type-item {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.type-item h4 {
    color: var(--primary-color);
    font-size: 17px;
    margin-bottom: 12px;
}

.type-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.relocation-section .process-flow {
    grid-template-columns: repeat(3, 1fr);
}

.season-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.season-item {
    padding: 25px;
    border-radius: 8px;
}

.season-item.good {
    background: #f0f8f0;
    border-left: 4px solid #4caf50;
}

.season-item.avoid {
    background: #fff5f5;
    border-left: 4px solid #f44336;
}

.season-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.season-item.good h4 {
    color: #4caf50;
}

.season-item.avoid h4 {
    color: #f44336;
}

.season-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 10px 0;
}

.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cost-category {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.cost-category h4 {
    color: var(--primary-color);
    font-size: 17px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.cost-detail p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 8px 0;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.warning-item {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f4a261;
}

.warning-item h4 {
    color: #d68438;
    font-size: 16px;
    margin-bottom: 10px;
}

.warning-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .relocation-section .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-grid,
    .relocation-types,
    .season-grid,
    .cost-breakdown,
    .warning-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .relocation-section .process-flow {
        grid-template-columns: 1fr;
    }
}


/* ========== 장례정보 - 장사시설현황 (facility.jsp) ========== */

.facility-section {
    max-width: 1200px;
    margin: 0 auto;
}

.search-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.search-form {
    margin-top: 30px;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: end;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-select,
.form-input {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 115, 32, 0.1);
}

.btn-search {
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: #F89C6D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 115, 32, 0.3);
}

.results-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    min-height: 400px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.results-header h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-color);
}

.result-count {
    font-size: 15px;
    color: #666;
}

.result-count span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    font-size: 15px;
    color: #666;
}

.facility-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facility-item {
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.facility-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.facility-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.facility-title {
    flex: 1;
}

.facility-title h4 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
}

.facility-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.facility-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.facility-info-item {
    display: flex;
    gap: 10px;
}

.facility-info-item strong {
    color: var(--primary-color);
    min-width: 80px;
}

@media (max-width: 1024px) {
    .search-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-section,
    .results-section {
        padding: 25px 20px;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .facility-item {
        padding: 20px;
    }

    .facility-header {
        flex-direction: column;
        gap: 10px;
    }
}


/* ========== 고객지원 - 공통 스타일 ========== */

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    color: #999;
}

/* 페이징 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 안내 정보 */
.info-notice {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-notice h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-notice li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.info-notice li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.info-notice strong {
    color: var(--primary-color);
}

/* 섹션 헤더 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-color);
}

/* 목록 버튼 */
.btn-list {
    padding: 15px 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-list:hover {
    background: #F89C6D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 115, 32, 0.3);
}


/* ========== 고객지원 - 공지사항 (notice.jsp) ========== */

.notice-section {
    max-width: 1200px;
    margin: 0 auto;
}

.notice-list-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.notice-count {
    font-size: 15px;
    color: #666;
}

.notice-count span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.notice-section .notice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notice-section .notice-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-section .notice-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.notice-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 16px;
}

.notice-content {
    flex: 1;
}

.notice-section .notice-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.notice-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #999;
}

.notice-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 300;
}

@media (max-width: 768px) {
    .notice-list-section,
    .info-notice {
        padding: 25px 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .notice-section .notice-item {
        padding: 20px;
    }

    .notice-number {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .notice-section .notice-title {
        font-size: 16px;
    }
}


/* ========== 고객지원 - 공지사항 상세 (noticeDetail.jsp) ========== */

.notice-detail-section {
    max-width: 1000px;
    margin: 0 auto;
}

.notice-detail-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.notice-detail-header {
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 40px;
}

.notice-detail-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.notice-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 15px;
    color: #666;
}

.meta-item strong {
    color: var(--primary-color);
    margin-right: 5px;
}

.notice-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    min-height: 300px;
    padding: 20px 0;
    white-space: pre-wrap;
}

.notice-detail-attachments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.notice-detail-attachments h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #fafafa;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.attachment-icon {
    font-size: 20px;
}

.attachment-name {
    font-size: 15px;
    color: #555;
}

.notice-detail-actions {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

@media (max-width: 768px) {
    .notice-detail-container {
        padding: 30px 20px;
    }

    .notice-detail-title {
        font-size: 24px;
    }

    .notice-detail-content {
        font-size: 15px;
    }

    .notice-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}


/* ========== 고객지원 - 사전장례상담 (consult.jsp) ========== */

.consult-section {
    max-width: 1000px;
    margin: 0 auto;
}

.consult-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.consult-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
}

.consult-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.consult-header p {
    font-size: 16px;
    color: #666;
}

.form-section {
    margin-bottom: 40px;
}

.consult-section .section-title,
.review-write-section .section-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    color: #555;
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 115, 32, 0.1);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23888888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 8px;
    padding-right: 40px;
}

.inline-group {
    width: 100%;
}

.inline-group select {
    width: 100%;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.btn-cancel,
.btn-submit {
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
}

.btn-submit:hover {
    background: #F89C6D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 115, 32, 0.3);
}

@media (max-width: 768px) {
    .consult-container {
        padding: 30px 20px;
    }

    .consult-header h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Select2 커스텀 스타일 - consult 페이지 전용 */
#placeTypeContainer .select2-container {
    width: 100% !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single {
    height: auto !important;
    min-height: 45px !important;
    padding: 12px 40px 12px 15px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    color: #555 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    color: #555 !important;
    padding: 0 !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: block !important;
    height: 100% !important;
    top: 0 !important;
    right: 15px !important;
    width: 12px !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 12px !important;
    height: 8px !important;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23888888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

#placeTypeContainer .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    transform: translateY(-50%) rotate(180deg) !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 35px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    color: #999 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#placeTypeContainer .select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #333 !important;
}

#placeTypeContainer .select2-container--default.select2-container--focus .select2-selection--single,
#placeTypeContainer .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(244, 115, 32, 0.1) !important;
}

#placeTypeContainer .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
}

#placeTypeContainer + .select2-container .select2-dropdown {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
}

#placeTypeContainer + .select2-container .select2-search--dropdown .select2-search__field {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

#placeTypeContainer + .select2-container .select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
}

#placeTypeContainer + .select2-container .select2-results__option {
    padding: 10px 15px !important;
    font-size: 15px !important;
}


/* ========== 고객지원 - FAQ (faq.jsp) ========== */

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-list-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.faq-count {
    font-size: 15px;
    color: #666;
}

.faq-count span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fff;
}

.question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.question-badge {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 18px;
}

.question-text {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color);
}

.toggle-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.toggle-icon.active {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px 30px;
    background: #fff;
}

.answer-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.answer-badge {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 600;
    font-size: 18px;
}

.answer-content {
    padding-left: 55px;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .faq-list-section {
        padding: 25px 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .question-badge,
    .answer-badge {
        min-width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .question-text {
        font-size: 15px;
    }

    .answer-content {
        padding-left: 50px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 20px 20px 20px;
    }
}


/* ========== 고객지원 - 부고알림 (obituary.jsp) ========== */

.obituary-section {
    max-width: 1200px;
    margin: 0 auto;
}

.obituary-list-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.obituary-count {
    font-size: 15px;
    color: #666;
}

.obituary-count span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.obituary-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.obituary-list-section .obituary-item {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.obituary-list-section .obituary-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.obituary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.deceased-name {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-color);
}

.obituary-date {
    font-size: 14px;
    color: #999;
    padding: 5px 15px;
    background: #fff;
    border-radius: 12px;
}

.obituary-content {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.content-text {
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .obituary-list-section {
        padding: 25px 20px;
    }

    .obituary-list-section .obituary-item {
        padding: 20px;
    }

    .obituary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .deceased-name {
        font-size: 18px;
    }
}


/* ========== 고객지원 - 부고알림 상세 (obituaryDetail.jsp) ========== */

.obituary-detail-section {
    max-width: 1000px;
    margin: 0 auto;
}

.obituary-detail-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.obituary-detail-header {
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 40px;
}

.obituary-detail-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.obituary-detail-content {
    padding: 20px 0;
}

.info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 150px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
}

.info-value {
    flex: 1;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.obituary-detail-actions {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

@media (max-width: 768px) {
    .obituary-detail-container {
        padding: 30px 20px;
    }

    .obituary-detail-title {
        font-size: 24px;
    }

    .info-row {
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }

    .info-label {
        flex: none;
    }
}


/* ========== 고객지원 - 행사후기 (review.jsp) ========== */

.review-section {
    max-width: 1200px;
    margin: 0 auto;
}

.review-list-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.review-count {
    font-size: 15px;
    color: #666;
}

.review-count span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.btn-write {
    padding: 10px 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-write:hover {
    background: #F89C6D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 115, 32, 0.3);
}

.btn-write-empty {
    padding: 15px 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-write-empty:hover {
    background: #F89C6D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 115, 32, 0.3);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.review-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 16px;
}

.review-content {
    flex: 1;
}

.review-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.review-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #999;
}

.review-author {
    color: #666;
}

.review-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 300;
}

@media (max-width: 768px) {
    .review-list-section {
        padding: 25px 20px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .review-item {
        padding: 20px;
    }

    .review-number {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .review-title {
        font-size: 16px;
    }
}


/* ========== 고객지원 - 행사후기 상세 (reviewDetail.jsp) ========== */

.review-detail-section {
    max-width: 1000px;
    margin: 0 auto;
}

.review-detail-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.review-detail-header {
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 40px;
}

.review-detail-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.review-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 15px;
    color: #666;
}

.review-detail-content {
    margin-bottom: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.content-label {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.review-detail-content .content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding: 20px;
    background: #fafafa;
    border-radius: 6px;
    white-space: pre-wrap;
    min-height: 150px;
}

.review-reply-section {
    margin-top: 40px;
    padding: 30px;
    background: #f9f7f5;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.reply-label {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reply-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    white-space: pre-wrap;
    margin-bottom: 15px;
}

.reply-date {
    font-size: 14px;
    color: #999;
    text-align: right;
}

.review-reply-section.no-reply {
    text-align: center;
    padding: 60px 30px;
}

.no-reply-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.review-reply-section.no-reply p {
    font-size: 16px;
    color: #999;
    margin-bottom: 10px;
}

.no-reply-desc {
    font-size: 14px;
    color: #bbb;
}

.review-detail-attachments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.review-detail-attachments h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.review-detail-actions {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

@media (max-width: 768px) {
    .review-detail-container {
        padding: 30px 20px;
    }

    .review-detail-title {
        font-size: 24px;
    }

    .review-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .review-detail-content .content-text,
    .reply-content {
        font-size: 15px;
    }

    .review-reply-section {
        padding: 25px 20px;
    }

    .review-reply-section.no-reply {
        padding: 50px 20px;
    }
}


/* ========== 고객지원 - 행사후기 작성 (reviewWrite.jsp) ========== */

.review-write-section {
    max-width: 1000px;
    margin: 0 auto;
}

.review-write-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.review-write-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
}

.review-write-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.review-write-header p {
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .review-write-container {
        padding: 30px 20px;
    }

    .review-write-header h2 {
        font-size: 24px;
    }
}
