/* Importar fuente Arimo de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;500;600;700&display=swap');

:root {
    --color-primario: #004773; /* Azul corporativo UFV actualizado */
    --color-secundario: #C03656; /* Rosa UFV */
    --color-fondo: #f5f5f5;
    --color-texto: #004773; /* Color de texto actualizado */
    --fuente-principal: 'Arimo', sans-serif; /* Actualizado a Arimo */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--fuente-principal);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
}

.logo {
    max-width: 200px;
    display: block;
    margin: 20px auto;
}

.logo-resultado {
    max-width: 150px;
    display: block;
    margin: 20px auto;
}

header {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 150px);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: var(--color-primario);
    color: white;
    font-size: 0.9em;
}

.pantalla {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
}

.oculto {
    display: none;
}

h1, h2 {
    color: var(--color-texto);
    margin-bottom: 20px;
    text-align: center;
}

p {
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-texto);
}

.btn-principal {
    background-color: white;
    color: var(--color-primario);
    border: 2px solid var(--color-secundario);
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    margin: 20px auto;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-principal:hover {
    background-color: var(--color-secundario);
    color: white;
}

.campo {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.campo-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.campo-checkbox input {
    margin-right: 10px;
}

.error {
    color: red;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

.campo-error {
    border-color: red !important;
}

.opciones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-opcion {
    background: white;
    color: #003865;
    border: 1pt solid #C03656;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    padding: 10px 30px;
    transition: background 0.3s;
    opacity: 1;
    cursor: pointer;
    width: 120px;
    text-transform: uppercase;
}

.btn-opcion:hover {
    background-color: #C03656;
    color: white;
}

.btn-opcion:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#texto-pregunta {
    font-size: 1.3em;
    text-align: center;
    margin: 40px 0;
}

.contador-inactividad {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8em;
    color: #999;
}

.contador-preguntas {
    font-size: 1em;
    font-weight: bold;
    color: var(--color-secundario);
    margin: 10px 0;
    text-align: center;
}

#info-carrera {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-indicator p {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Optimizaciones para iPad */
@media (min-width: 768px) and (max-width: 1024px) {
    .btn-opcion {
        width: 150px;
        padding: 15px 40px;
        font-size: 1.2em;
        border-width: 2pt;
    }
    
    #texto-pregunta {
        font-size: 1.5em;
        color: var(--color-texto);
    }
    
    .pantalla {
        padding: 40px;
        border-radius: 12px;
    }
    
    .logo {
        max-width: 250px; /* Logo más grande para iPad */
    }
}

 