/* 단계별 컨설팅 가이드 페이지 스타일 */

/* STEP 진행바 스타일 */
.step-progress-bar {
    position: relative;
    margin: 50px 0;
}

.progress {
    height: 5px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    background-color: #0d6efd;
    transition: width 0.5s ease;
}

/* STEP 인디케이터 스타일 */
.step-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 20px;
    padding: 0 20px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
}

.step-indicator .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 4px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.step-indicator.active .step-number {
    background: #0d6efd;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 5px 20px rgba(13,110,253,0.4);
    border-color: #0d6efd;
}

.step-indicator.completed .step-number {
    background: #198754;
    color: white;
    border-color: #198754;
}

.step-indicator .step-label {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
}

.step-indicator.active .step-label {
    color: #0d6efd;
    font-weight: 700;
}

.step-indicator.completed .step-label {
    color: #198754;
    font-weight: 600;
}

/* 단계 간 연결선 */
.step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-indicator.completed:not(:last-child)::after {
    background: #198754;
}

/* STEP 컨텐츠 스타일 */
.step-content {
    display: none;
    animation: fadeIn 0.5s;
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

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

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

/* 정보 박스 스타일 */
.info-box {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: white;
}

.info-box h6 {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.info-box h4 {
    color: #0d6efd;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}

/* STEP 세부사항 스타일 */
.step-details {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.step-details h5 {
    color: #0d6efd;
    margin-bottom: 15px;
}

.step-details ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.step-details ul li:last-child {
    border-bottom: none;
}

.step-details ul li i {
    color: #198754;
}

/* 네비게이션 버튼 스타일 */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.step-navigation .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.step-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.step-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 이미지 스타일 */
.step-image {
    text-align: center;
    padding: 20px;
}

.step-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 아코디언 커스텀 스타일 */
.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 18px;
    padding: 20px;
    background-color: #f8f9fa;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    padding: 30px;
    background-color: #fff;
}

/* 테이블 스타일 */
.accordion table {
    margin-bottom: 0;
}

.accordion table thead th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 15px;
}

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

.accordion table tbody tr:hover {
    background-color: #f0f8ff;
}

.accordion table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .step-indicator .step-label {
        font-size: 12px;
    }

    .step-indicator .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-content {
        padding: 20px;
    }

    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .step-navigation .btn {
        width: 100%;
    }

    .info-box {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .step-indicators {
        flex-wrap: wrap;
        gap: 20px;
    }

    .step-indicator {
        flex: 0 0 calc(33.333% - 14px);
    }
}