﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.container-fluid {
    padding: 0 !important;
    margin: 0;
}

.login-form-background {
    background: url('/img/Content/fondologin2.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

    .login-form-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .login-form-background .p-5 {
        position: relative;
        z-index: 2;
    }

.IrRegister {
    background-color: #212022;
    color: #ebf0f1;
    border-radius: 10px;
    padding: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

    .IrRegister:hover {
        background: #bb9e53;
    }

a:hover {
    color: #ebf0f1;
    text-decoration: none;
}


.custom-control.custom-checkbox small,
.custom-control.custom-checkbox label {
    color: black !important;
}


@media only screen and (min-width: 768px) and (max-width: 1368px), (min-height: 1824px) and (max-height: 2736px) {

    .custom-control.custom-checkbox small,
    .custom-control.custom-checkbox label {
        font-size: 1rem !important;
    }
}

.btn-primary {
    margin-bottom: 1rem !important;
    font-weight: bold;
    padding: 10px 20px;
}



.input-password {
    border-radius: 25px;
    padding-right: 45px;
}


.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1.25rem;
}


@media only screen and (min-width: 768px) and (max-width: 700px), (min-height: 500px) and (max-height: 500px) {

    
    .p-5 {
        max-width: 750px !important;
        padding: 5rem !important;
        border-radius: 35px;
    }


    h2 {
        font-size: 3.2rem !important;
        margin-bottom: 4rem !important;
        font-weight: 700;
        text-align: center;
        letter-spacing: 1px;
    }

    .form-control {
        font-size: 1.6rem !important;
        padding: 1.8rem 2.5rem !important;
        border-radius: 20px;
        margin-bottom: 2.5rem;
        border: 2px solid #ddd;
        transition: all 0.3s;
    }


    .form-label {
        font-size: 1.5rem !important;
        margin-bottom: 1.2rem !important;
        display: block;
        font-weight: 500;
    }


    .form-check {
        margin: 2rem 0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .form-check-label {
        font-size: 1rem !important;
        transform: translateY(2px);
    }

    .form-check-input {
        width: 2.2em !important;
        height: 2.2em !important;
    }
    /* Botón LOGIN */
    .btn-primary {
        font-size: 1.8rem !important;
        padding: 1rem 2rem !important;
        border-radius: 25px;
        width: 100%;
        margin: 3rem 0;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* Enlace Registrarme */
    .IrRegister {
        font-size: 1.4rem !important;
        padding: 5px 15px !important;
        display: inline-block;
        margin-top: 0.5rem !important;
    }

    /* Efectos hover para mejor interacción */
    .form-control:focus {
        transform: scale(1.02);
        border-color: #86b7fe;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    }
}
