/* Personalización Vodafone One Net - estilos comunes a login y recuperar contraseña
   Copiar el contenido de esta carpeta en <instalación>/personalizacion/ */

body {
    margin: 0;
    padding: 0;
    background: #c00000 url(fondo.jpg) center bottom / cover no-repeat fixed;
    min-height: 100vh;
}

/* Logo en la esquina superior izquierda */
body::before {
    content: "";
    position: fixed;
    top: 4%;
    left: 3%;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: transparent url(logo.png) center / 78% no-repeat;
    z-index: 0;
}

/* Tarjeta blanca centrada */
.login-contenedor {
    display: block;
    box-sizing: border-box;
    width: 560px;
    max-width: calc(100% - 32px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    padding: 36px 64px 48px 64px;
    background-color: #ffffff;
    border-radius: 6px;
    font-family: 'Vodafone Rg', Arial, sans-serif;
}

/* Logo "One Net" + bi2go */
/* onenet.png (210x61) escalada para que sus mayúsculas midan lo mismo que las minúsculas
   de bi2go y con la línea base alineada (base de bi2go a 77px del borde superior del SVG) */
.login-logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: auto;
    height: 94px;
}
.login-logo::before {
    content: "";
    flex-shrink: 0;
    width: 179px;
    height: 52px;
    margin-top: 33px;
    margin-right: 8px;
    background: url(onenet.png) left top / contain no-repeat;
}
.login-logo svg {
    width: 200px;
    height: 82px;
    flex-shrink: 0;
}

/* Título rojo (login: "Iniciar sesión"; recuperar: lo añade recuperarpass.js) */
.login-titulo {
    font-family: 'Vodafone Rg', Arial, sans-serif;
    font-size: 32px;
    color: #e60000;
}

/* Campos de texto */
.login-input,
.recuperar-input {
    box-sizing: border-box;
    width: 100% !important;
    height: 64px;
    padding: 0 16px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #343434;
    border: 1px solid #cccccc !important;
    border-radius: 3px;
    outline: none;
}
.login-input:focus,
.recuperar-input:focus {
    border-color: #007c92 !important;
}

@media (max-width: 600px) {
    body::before {
        display: none;
    }
    .login-contenedor {
        top: 16px;
        transform: translateX(-50%);
        padding: 24px 20px 32px 20px;
    }
    .login-logo::before {
        width: 116px;
        height: 34px;
        margin-top: 21px;
        margin-right: 5px;
    }
    .login-logo svg {
        width: 130px;
        height: 54px;
    }
}

@media (max-height: 760px) and (min-width: 601px) {
    .login-contenedor {
        top: 24px;
        transform: translateX(-50%);
    }
}
