/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Fondo general */
body {
    height: 100vh;
    width: 100vw;
    background: #e0e5ec;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
    gap: 22px;
}

/* Contenedor implícito */
body > * {
    max-width: 420px;
    width: 90%;
}

/* Título */
h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}

/* Texto de estado */
#fileStatus {
    min-height: 22px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

/* Botones */
button {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    background: #e0e5ec;
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;

    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.9);

    transition: all 0.2s ease;
}

button:hover:not(:disabled) {
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.15),
        inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

button:active:not(:disabled) {
    transform: scale(0.98);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow:
        inset 4px 4px 8px rgba(0, 0, 0, 0.12),
        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

#btnEnviar {
    font-weight: 600;
}

#btnDescargar:not(:disabled) {
    color: #2f7df6;
    font-weight: 600;
}

/* ============================= */
/* MÓVILES – ESCALA VISUAL MAYOR */
/* ============================= */
@media (max-width: 480px) {

    body {
        gap: 28px;
    }

    h1 {
        font-size: 2rem;
    }

    #fileStatus {
        font-size: 1.1rem;
        min-height: 26px;
    }

    button {
        padding: 18px 22px;
        font-size: 1.15rem;
        border-radius: 18px;

        box-shadow:
            8px 8px 16px rgba(0, 0, 0, 0.15),
            -8px -8px 16px rgba(255, 255, 255, 0.9);
    }
}