/* ================================
   PROCESO DE ADMISIÓN - SIDEBAR LAYOUT
   ================================ */

.proceso-admision-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.proceso-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2e52;
    margin-bottom: 0.5rem;
}

.proceso-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFC107;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.proceso-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Main Wrapper - Sidebar + Content */
.proceso-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ================================
   SIDEBAR - STEPS NAVIGATION
   ================================ */
.proceso-sidebar {
    flex: 0 0 350px;
    position: sticky;
    top: 100px;
}

.steps-list {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    background: #ffffff;
}

.step-item:last-child {
    border-bottom: none;
}

.step-item:hover {
    background: #f8f9fa;
}

.step-item.active {
    background: #0a2e52;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.step-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FFC107;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #0a2e52;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: #FFC107;
    color: #0a2e52;
    transform: scale(1.05);
}

.step-info {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a2e52;
    margin: 0 0 0.2rem 0;
    transition: color 0.3s ease;
}

.step-item.active .step-title {
    color: #ffffff;
}

.step-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.step-item.active .step-desc {
    color: rgba(255, 255, 255, 0.75);
}

.step-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(10, 46, 82, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-item.active .step-icon {
    background: rgba(255, 255, 255, 0.15);
}

.step-icon i {
    font-size: 1rem;
    color: #0a2e52;
    transition: color 0.3s ease;
}

.step-item.active .step-icon i {
    color: #ffffff;
}

/* ================================
   CONTENT PANEL
   ================================ */
.proceso-content {
    flex: 1;
    min-width: 0;
}

.content-panel {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.content-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-header {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #FFC107;
}

.content-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #0a2e52;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.content-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2e52;
    margin: 0;
}

.content-body {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a2e52;
    margin: 0 0 1.25rem 0;
}

.content-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 1rem;
}

.content-list {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.content-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 0.65rem;
}

.content-list li strong {
    color: #0a2e52;
    font-weight: 600;
}

/* Alert Box */
.alert-box {
    background: #e3f2fd;
    border-left: 3px solid #2196F3;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin: 1.25rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-box.warning {
    background: #fff3cd;
    border-left-color: #FFC107;
}

.alert-box i {
    font-size: 1.1rem;
    color: #2196F3;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.alert-box.warning i {
    color: #ff9800;
}

.alert-box p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #0a2e52;
}

/* Voucher Box */
.voucher-box {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.25rem 0;
}

.voucher-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #dee2e6;
}

.voucher-header i {
    font-size: 1.1rem;
    color: #0a2e52;
}

.voucher-header span {
    font-size: 1rem;
    color: #0a2e52;
}

.voucher-box ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.voucher-box li {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.45rem;
}

/* Process Button */
.btn-proceso {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    background: #0a2e52;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(10, 46, 82, 0.15);
    margin-top: 1.5rem;
}

.btn-proceso:hover {
    background: #164370;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(10, 46, 82, 0.2);
}

.btn-proceso i {
    transition: transform 0.3s ease;
}

.btn-proceso:hover i {
    transform: translateX(4px);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1200px) {
    .proceso-wrapper {
        max-width: 100%;
        gap: 25px;
    }
    
    .proceso-sidebar {
        flex: 0 0 300px;
    }
}

@media (max-width: 992px) {
    .proceso-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .proceso-sidebar {
        flex: 1;
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .steps-list {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        min-width: 150px;
        flex-shrink: 0;
        padding: 1rem;
        border-bottom: none;
        border-right: 1px solid #e9ecef;
    }
    
    .step-item:last-child {
        border-right: none;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .step-icon {
        display: none;
    }
    
    .step-item.active::before {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        height: 4px;
    }
}

@media (max-width: 768px) {
    .proceso-admision-section {
        padding: 50px 0;
    }

    .proceso-title {
        font-size: 2rem;
    }

    .content-header {
        padding: 1.25rem 1.5rem;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .content-body {
        padding: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .step-item {
        min-width: 120px;
        padding: 0.85rem 0.75rem;
    }
    
    .step-number {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
    
    .step-title {
        font-size: 0.95rem;
    }
    
    .step-desc {
        font-size: 0.75rem;
    }

    .content-header {
        padding: 1rem 1.25rem;
    }
    
    .content-title {
        font-size: 1.3rem;
    }
    
    .content-body {
        padding: 1.25rem;
    }

    .btn-proceso {
        width: 100%;
        justify-content: center;
    }
}
