/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Estilos para la tarjeta de encuesta */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Estilos para los botones de radio */
.form-check-input {
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    font-size: 1.1rem;
}

/* Estilos para los botones */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-secondary {
    color: #7f8c8d;
    border-color: #7f8c8d;
}

.btn-outline-secondary:hover {
    background-color: #7f8c8d;
    color: white;
}

/* Estilos para la página de agradecimiento */
.text-success {
    color: #2ecc71 !important;
}

input#numericAnswer:disabled {
    font-weight: bold;
    background-color: #e9ecef;
    color: #6c757d;
    text-align: center;
}

#opciones-container .form-check-label {
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s;
    display: block;
}

/* Ocultamos el input si quieres un diseño más limpio */
#opciones-container .form-check-input {
    display: none;
}

/* Cuando el input está marcado, cambia el estilo del label */
#opciones-container .form-check-input:checked+.form-check-label {
    background-color: #efdf00;
    border: 2px solid #efdf00;
    padding: 12px;
    border-radius: 8px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .card {
        margin: 1rem 0;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}