/* 시설개요 스타일 */
.facility-overview {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
    align-items: stretch;
}

.facility-image-container {
    flex: 1;
    min-width: 300px;
    height: 350px !important; /* 고정 높이 설정 */
}

.facility-image {
    width: 100%;
    height: 350px !important; /* 고정 높이 설정 */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-image:hover {
    transform: scale(1.02);
}

.facility-info-container {
    flex: 1;
    min-width: 300px;
    height: 350px !important; /* 고정 높이 설정 */
}

.facility-table {
    font-size:22px;
	width: 100%;
    height: 350px !important; /* 고정 높이 설정 */
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}

.facility-table th, 
.facility-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.facility-table td {
    border-right: 1px solid #e0e0e0;
    text-align: center;
}

.facility-table th {
    background-color: #0D97EB;
    color: #fff;
    font-weight: 600;
    border-right: 1px solid #2da8f5;
    text-align: center;
}

.facility-table th:last-child,
.facility-table td:last-child {
    border-right: none;
}

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

/* 서비스 테이블 스타일 */
.service-table td:nth-child(2) {
    text-align: left;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .facility-overview {
        flex-direction: column;
    }
    
    .facility-image-container,
    .facility-info-container {
        width: 100%;
    }
} 

/* 시설 내부 사진 갤러리 */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* 직원현황 테이블 스타일 */
.sm_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.sm_table th {
    background-color: #0D97EB !important;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid #2da8f5;
}

.sm_table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.sm_table.center td {
    text-align: center;
} 

/* 입소절차 플로우차트 스타일 */
.admission-flow-container {
    margin: 30px 0;
}

.admission-flow-title {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #0D97EB;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}

.admission-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
}

.flow-item {
    position: relative;
    flex: 1;
    min-width: 200px;
    margin: 0 10px 20px;
    text-align: center;
}

.flow-box {
    background-color: #fff;
    border: 2px solid #0D97EB;
    border-radius: 10px;
    padding: 20px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flow-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.flow-title {
    background-color: #67AFDC;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    min-width: 120px;
}

.flow-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.flow-arrow {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    color: #0D97EB;
    font-size: 28px;
    z-index: 1;
}

.flow-sub {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
    text-align: left;
}

.flow-sub li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
    font-size: 13px;
}

.flow-sub li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0D97EB;
}

.flow-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .admission-flow {
        flex-direction: column;
    }
    
    .flow-item {
        width: calc(100% - 20px);
        margin-bottom: 40px;
    }
    
    .flow-arrow {
        top: auto;
        right: auto;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }
} 

/* 입소절차 차트 스타일 */
.admission-chart {
    width: 100%;
    margin: 30px 0;
}

.chart-row {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    align-items: stretch;
}

.chart-header {
    display: flex;
    width: 100%;
    margin-bottom: 5px;
}

.chart-header-cell {
    flex: 1;
    background-color: #67AFDC;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    margin: 0 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.chart-cell {
    flex: 1;
    padding: 10px 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chart-cell ul {
    text-align: left;
    padding-left: 20px;
    margin: 5px 0;
}

.chart-cell ul li {
    margin-bottom: 5px;
    font-size: 13px;
}

.chart-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #005baa;
    font-weight: bold;
    z-index: 10;
}

.chart-arrow-down {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #005baa;
    font-weight: bold;
    z-index: 10;
}

.split-cell {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.cell-top, .cell-bottom {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cell-top {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px;
    margin-bottom: 5px;
}

.chart-arrow-internal {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #005baa;
    font-weight: bold;
}

.cell-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.cell-subtitle {
    color: #555;
    margin-bottom: 5px;
    font-size: 14px;
}

.cell-note {
    font-size: 12px;
    color: #777;
    font-style: italic;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .chart-row {
        flex-direction: column;
    }
    
    .chart-header {
        flex-direction: column;
    }
    
    .chart-cell, .chart-header-cell {
        margin-bottom: 25px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .chart-arrow {
        right: 50%;
        top: auto;
        bottom: -22px;
        transform: translateX(50%) rotate(90deg);
    }
} 