@import url('style.css');

/* --- CONTENEDOR PRINCIPAL --- */
.container {
    text-align: center;
    background-color: var(--white-color);
    padding: 3rem 4rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    max-width: 650px;
    width: 100%;
}

/* --- LOGO --- */
.logo {
    max-width: 80%;   /* que use 60% del ancho del container */
    height: auto;     /* mantiene proporciones */
    margin-bottom: 2rem;
}

/* En pantallas chicas, reducimos aún más */
@media (max-width: 768px) {
    .logo {
        max-width: 80%; /* ocupa más ancho pero no tan grande en px */
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 80%; /* en móviles muy chicos */
    }
}


h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* --- INPUT FILE (CV) --- */
.file-input {
    text-align: left; /* Alineamos label al estilo del resto */
}

.file-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.file-input input[type="file"] {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    background-color: var(--light-color);
    cursor: pointer;
}

.file-input input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.file-input input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--secondary-color);
}

/* --- CAPTCHA EN UNA SOLA LÍNEA --- */
.form-group-captcha {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group-captcha label {
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap; /* Evita que se corte la operación */
}

.form-group-captcha input {
    width: 80px; /* campo compacto */
    margin: 0;
}
