body {
    /*background-image: url('../../images/login/background.png');*/
    background-color: #BC3333 !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fija el fondo para que no se desplace */
}

@media (min-width: 768px) {

    .navbar-header {
        height: 110px;
        background: rgba(0, 0, 0, 0.2);
        border-bottom-width: 100px;
        padding-top: 20px;
    }

    .login-container {
        width: 50%;
        height: auto;
        padding: 16px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #C24040;
        border-radius: 25px;
        border: #BC3333;
        border-style: solid;
    }

    .logo {
        width: 50%;
        /*height: 71.2px;*/
        transform: translate(-50%, -10%);
        position: relative;
        top: 50%;
        left: 50%;
    }

    input[type="text"],
    input[type="password"] {
        margin-bottom: 15px;
        padding: 15px;
        border: none;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.3); /* Fondo transparente al 30% */
        height: 100px;
        font-size: x-large;
    }

        input[type="text"]:focus,
        input[type="password"]:focus {
            outline: none; /* Quita el borde predeterminado del foco */
            box-shadow: 0 0 5px red; /* Agrega un efecto de sombra roja al enfocar */
        }

        input[type="text"]::placeholder,
        input[type="password"]::placeholder {
            color: white;
        }

    button {
        background-color: transparent; /* Color rojo */
        color: white;
        padding: 10px 20px;
        border: 2px solid white;
        border-radius: 20px !important;
        cursor: pointer;
        font-size: x-large;
    }

        button:hover {
            color: darkred;
            background-color: white;
            font-size: x-large;
        }

        button[type="submit"] {
            background-color: white; /* Color rojo */
            color: #BC3333;
            padding: 10px 20px;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-size: x-large;
        }

            button[type="submit"]:hover {
                color: white;
                background-color: darkred;
                font-size: x-large;
            }

    button-red {
        background-color: transparent; /* Color rojo */
        color: white;
        padding: 10px 20px;
        border: 2px solid white;
        border-radius: 20px !important;
        cursor: pointer;
        font-size: x-large;
    }

        button-red:hover {
            color: white;
            background-color: darkred;
            font-size: x-large;
        }

    a {
        text-decoration: none;
        font-size: large;
        height: 100px;
        font-size: x-large;
    }

        a:hover {
            text-decoration: underline;
        }

    .link {
        display: block;
        text-align: center;
        color: white;
        padding: 10px;
        text-decoration: none;
        border-radius: 5px;
    }

        .link:hover {
            color: darkred;
            border: white;
            text-decoration: none;
        }
}


@media (min-width: 1230px) {

    .navbar-header {
        height: 95px;
        background: rgba(0, 0, 0, 0.2);
        border-bottom-width: 100px;
        padding-top: 20px;
    }

    .login-container {
        width: 300px;
        padding: 16px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #C24040;
        border-radius: 25px;
        border: #BC3333;
        border-style: solid;
    }

    .logo {
        width: 130px;
        /*height: 71.2px;*/
        transform: translate(-50%, -10%);
        position: relative;
        top: 50%;
        left: 50%;
    }

    input[type="text"],
    input[type="password"] {
        margin-bottom: 15px;
        padding: 15px;
        border: none;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.3); /* Fondo transparente al 30% */
        height: auto !important;
        font-size: medium !important;
    }

        input[type="text"]:focus,
        input[type="password"]:focus {
            outline: none; /* Quita el borde predeterminado del foco */
            box-shadow: 0 0 5px red; /* Agrega un efecto de sombra roja al enfocar */
        }

        input[type="text"]::placeholder,
        input[type="password"]::placeholder {
            color: white;
        }

    button {
        height: auto !important;
        font-size: medium !important;
    }

    button[type="submit"] {
        background-color: white; /* Color rojo */
        color: #BC3333;
        padding: 10px 20px;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        height: auto !important;
        font-size: medium !important;
    }

        button[type="submit"]:hover {
            color: white;
            background-color: darkred;
        }

    a {
        text-decoration: none;
        height: auto !important;
        font-size: medium !important;
    }

        a:hover {
            text-decoration: underline;
        }

    .link {
        display: block;
        text-align: center;
        color: white;
        padding: 10px;
        text-decoration: none;
        border-radius: 5px;
    }

        .link:hover {
            color: darkred;
            border: white;
            text-decoration: none;
        }
}

h1, h2 {
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

.bi-eye::before {
    content: '\e805'; /* Código Unicode del ícono de ojo abierto */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.bi-eye-slash::before {
    content: '\e804'; /* Código Unicode del ícono de ojo tachado */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.input-group-append {
    margin-left: -38px;
    margin-bottom: 15px;
    border: none;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.3); /* Fondo transparente al 30% */
}

button[type="button"]:focus {
    outline: none;
    box-shadow: none;
    border-end-end-radius: 20px;
    border-start-end-radius: 20px; /* Mayor radio para esquinas más redondeadas */
    box-shadow: none; /*0 0 5px red; /* Agrega un efecto de sombra roja al enfocar */
}

button[type="button"]:active:focus {
    outline: none;
    box-shadow: none;
    border-end-end-radius: 20px;
    border-start-end-radius: 20px; /* Mayor radio para esquinas más redondeadas */
    box-shadow: none;
}

input:-webkit-autofill { /*elimina el color del autocompletar*/
    transition: background-color 5000s ease-in-out 0s !important;
    color: white;
    /*-webkit-text-fill-color: blue !important;*/
    /*box-shadow: 0 0 5px red;*/ /* Agrega un efecto de sombra roja al enfocar */
}

.alertaCampo {
    display: block;
    text-align: center;
    color: white;
    /*text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;*/
    padding-top: 0px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 5px;
}
