body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('../../assets/Img/Fondo-Mapa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.auth-logo {
    width: 90px;
    height: auto;
}

.auth-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.auth-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    font-size: 1.1rem;
    z-index: 10;
}

.form-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-left: 5px;
}

.custom-input {
    height: 48px;
    padding-left: 45px;
    border-radius: 25px;
    border: 1px solid #e5e7eb;
    background-color: #f3f4f6;
    color: #1f2937;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.custom-btn {
    height: 48px;
    border-radius: 25px;
    background: #16AAE0;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    transition: 0.3s;
    margin-top: 10px;
}

.custom-btn:hover {
    background: #138496;
    color: white;
}

.custom-btn:active {
    transform: scale(0.98);
}

.bottom-text {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.bottom-text a {
    text-decoration: none;
    color: #17a2b8;
    font-weight: bold;
}

.bottom-text a:hover {
    text-decoration: underline;
}
/* Letra de 16 px en los campos: el celular no hace zoom al tocarlos */
@media (max-width: 1024px) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Zona segura: el contenido no queda debajo de la hora ni de la barra de gestos */
body {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

/* Verificación anti-bots: solo ocupa lugar si Cloudflare pide tocar la casilla */
.captcha-caja {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.captcha-caja:empty {
    margin: 0;
}

/* Botón para ver u ocultar la contraseña */
.input-group-custom .custom-input.con-ojo {
    padding-right: 48px;
}

.btn-ver-clave {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #6c757d;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-ver-clave:hover,
.btn-ver-clave:focus-visible {
    background: rgba(0, 14, 64, 0.06);
    color: #000e40;
}
