/* =============================
   MODAL CURSOS - ESTILOS
   ============================= */

.modal-curso {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-curso-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    border-bottom: 1px solid #333333;
}

.modal-curso-imagen {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid #333333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-curso-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-curso-categoria {
    display: inline-block;
    padding: 8px 16px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.modal-curso-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.modal-curso-descripcion {
    color: #aaaaaa;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.modal-curso-precio-grupo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.modal-curso-precio-tachado {
    color: #aaaaaa;
    text-decoration: line-through;
    font-size: 18px;
    font-weight: 500;
}

.modal-curso-descuento {
    background: #ff5c5c;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-curso-precio-grande {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-curso-precio-info {
    font-size: 14px;
    color: #aaaaaa;
    font-weight: 400;
}

.modal-curso-detalles {
    padding: 30px;
    border-bottom: 1px solid #333333;
}

.modal-curso-duracion {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.modal-curso-duracion i {
    color: #3b82f6;
    font-size: 20px;
}

.modal-curso-caracteristicas h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-curso-caracteristicas-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.modal-curso-caracteristicas-lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #aaaaaa;
    font-size: 16px;
}

.modal-curso-caracteristicas-lista i {
    color: #27ae60;
    font-size: 18px;
}

.modal-curso-acciones {
    padding: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-curso-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-curso-btn-primary {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.modal-curso-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.modal-curso-btn-secondary {
    background: #000000;
    color: #ffffff;
    border: 1px solid #333333;
}

.modal-curso-btn-secondary:hover {
    background: #333333;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-curso {
        width: 95%;
        margin: 20px;
    }
    
    .modal-curso-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .modal-curso-imagen {
        width: 100%;
        height: 200px;
    }
    
    .modal-curso-titulo {
        font-size: 24px;
    }
    
    .modal-curso-precio-grande {
        font-size: 28px;
    }
    
    .modal-curso-caracteristicas-lista {
        grid-template-columns: 1fr;
    }
    
    .modal-curso-acciones {
        flex-direction: column;
        padding: 20px;
    }
    
    .modal-curso-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animaciones */
.modal-curso {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efectos hover para botones */
.modal-curso-btn i {
    transition: transform 0.3s ease;
}

.modal-curso-btn:hover i {
    transform: scale(1.1);
}

/* Scrollbar personalizado para el modal */
.modal-curso::-webkit-scrollbar {
    width: 8px;
}

.modal-curso::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}

.modal-curso::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 10px;
}

.modal-curso::-webkit-scrollbar-thumb:hover {
    background: #555555;
} 