/* Estilos específicos para páginas de cursos de verano 2026 */

/* Sección inicial del curso */
.course-header-verano {
    background: white;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.course-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.course-header-left {
    padding: 1rem 0;
}

.course-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-curso {
    background: #e2e8f0;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-en-vivo {
    background: linear-gradient(135deg, #004aad 0%, #0066e6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-en-vivo i {
    font-size: 0.75rem;
}

.course-title-verano {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.course-info-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-box-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 1rem;
}

.info-box-item i {
    color: #004aad;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.course-date-schedule-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-date-box,
.course-schedule-box {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-date-box i,
.course-schedule-box i {
    color: #004aad;
    font-size: 1.25rem;
}

.date-info,
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-label,
.schedule-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
}

.date-value,
.schedule-value {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.course-header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #a0aec0;
    position: relative;
    overflow: hidden;
}

.course-image-placeholder.has-image {
    border: none;
    padding: 0;
}

.course-image-placeholder.has-image i,
.course-image-placeholder.has-image span {
    display: none;
}

.course-image-placeholder i {
    font-size: 4rem;
}

.course-image-placeholder span {
    font-size: 1.125rem;
    font-weight: 500;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

/* Sección de Plan de Estudios */
.course-plan-section {
    background: #f8f9fa;
    padding: 3rem 2rem;
}

.plan-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.plan-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.plan-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ffc441;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.session-card {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.session-card:hover {
    border-color: #004aad;
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.1);
}

.session-header {
    background: white;
    color: #2d3748;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.session-lock {
    color: #004aad;
    font-size: 1.25rem;
}

.session-title {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: #2d3748;
}

.session-duration {
    background: transparent;
    color: #4a5568;
    padding: 0;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-duration i {
    color: #004aad;
    font-size: 1rem;
}

.session-content {
    padding: 1.5rem;
    background: white;
}

.session-topics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.session-topics li {
    color: #4a5568;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.session-topics li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #004aad;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Ventana flotante de inscripción */
.enrollment-sidebar {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offer-box {
    background: white;
    border: 2px solid #e53e3e;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.offer-timer {
    background: #fee;
    border: 1px solid #e53e3e;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #c53030;
    font-weight: 600;
}

.offer-timer i {
    font-size: 1rem;
}

.offer-label {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.enrollment-content {
    text-align: center;
}

.enrollment-text {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.offer-text {
    color: #004aad;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-enroll {
    width: 100%;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.btn-enroll i {
    font-size: 1.25rem;
}

.package-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.package-text {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.package-price .price-currency {
    font-size: 1rem;
}

.package-price .price-amount {
    font-size: 2rem;
}

.btn-package {
    width: 100%;
    background: linear-gradient(135deg, #004aad 0%, #0066e6 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.btn-package:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
}

.package-note {
    font-size: 0.75rem;
    color: #718096;
    margin: 0;
}

.course-details-sidebar {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.detail-item i {
    color: #004aad;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .plan-container {
        grid-template-columns: 1fr;
    }
    
    .enrollment-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .course-header-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-title-verano {
        font-size: 2.25rem;
    }
    
    .course-date-schedule-row {
        flex-direction: column;
    }
    
    .course-image-placeholder {
        height: 300px;
    }
    
    .plan-content {
        padding: 1.5rem;
    }
    
    .plan-title {
        font-size: 1.75rem;
    }
    
    .session-header {
        flex-wrap: wrap;
    }
    
    .session-duration {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .course-header-verano {
        padding: 1rem;
    }
    
    .course-plan-section {
        padding: 2rem 1rem;
    }
    
    .course-title-verano {
        font-size: 1.75rem;
    }
    
    .plan-title {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

