﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&display=swap');

html, body {
    height: 100%;
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f6fa;
    font-size: 16px;
    overflow: hidden;
}

.login-main {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    min-width: 0;
    min-height: 0;
    max-width: 100vw;
    max-height: 100vh;
}

.login-1 {
    width: 55%;
    float: left;
    padding: 1.5rem 2rem 0 2rem;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.login-2 {
    width: 45%;
    float: right;
    height: 100vh;
    background: url('../../Content/images/redesing/NewBackgroundLogin.png'), linear-gradient(180deg, #194B95 0%, #2A75F5 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
    border-top-left-radius: 4.6%;
    border-bottom-left-radius: 4.6%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

.logo-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
    min-width: 0;
}

    .logo-title-container img {
        width: 35%;
        height: auto;
    }

.logo-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

    .logo-actions a {
        color: black;
        text-decoration: none;
    }

.aliados-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    font-size: 1rem;
    color: black;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: white;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 100;
    white-space: nowrap;
}

    .dropdown-menu li {
        padding: 8px 6px;
        cursor: pointer;
        font-size: 0.875rem;
    }

        .dropdown-menu li:hover {
            background: #eeeeee;
        }

        .dropdown-menu li a,
        .dropdown-menu li a:hover,
        .dropdown-menu li a:focus {
            color: black !important; 
            background: none !important;
            background-color: transparent !important;
            text-decoration: none;
        }

.field-container {
    width: 100%;
    max-width: 28rem;
}

.input-aligned {
    max-width: 28rem;
    width: 100%;
    text-align: left;
    margin: 1.25rem 0 0.45rem 0;
}

.recovery-password {
    max-width: 28rem;
    width: 100%;
    text-align: left;
    margin: 0.35rem 0 0 0;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 1.25rem;
    padding: 1.5rem 1rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #2A74F3;
        outline: none;
        box-shadow: 0 0 0 0.125rem rgba(42, 116, 243, 0.2);
    }

.div-btn-size-lr {
    max-width: 28rem;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
}

.btn-size-lr {
    width: 100%;
    height: 3.25rem;
    background: #2A74F3;
    color: white;
    font-size: 1.125rem;
    border: none;
    margin-bottom: 3rem;
    border-radius: 0.625rem;
}

    .btn-size-lr:hover,
    .btn-size-lr:focus,
    .btn-size-lr:active {
        color: #FFFFFF;
        outline: none;
        box-shadow: none;
    }

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 1.25rem;
}

.forgot-password-link a {
    color: #2A74F3;
    font-size: 0.875rem;
    text-decoration: underline;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

    .contact-info span {
        font-weight: normal;
        font-size: 0.95rem;
    }

    .contact-info a {
        font-weight: bold;
        color: #2A74F3;
        text-decoration: none;
        font-size: 0.95rem;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }

.contact-row i {
    font-size: 1.25rem;
    color: black;
}

.sidenavbar-footer-login {
    font-size: 0.625rem;
    color: black;
    text-align: center;
    width: 100%;
}

    .sidenavbar-footer-login a {
        font-size: 0.75rem;
        color: black;
        text-align: center;
        text-decoration: underline;
    }

    .sidenavbar-footer-login p {
        margin: 0;
    }

.recaptcha-container {
    margin: 0.625rem 0 0.3125rem 0;
}

.carousel-message {
    color: white;
    font-size: 1.1rem;
    text-align: left;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.carousel-message-title {
    font-weight: bold;
}

.carousel-message-title,
.carousel-message-text {
    margin-bottom: 0.5rem;
}

.carousel-message-btn {
    background: #2A74F3;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 48px;
    margin-top: 1rem;
}

    .carousel-message-btn:hover {
        background-color: white;
        color: black;
        border: 1px solid #ccc;
    }

.validation-summary-errors {
    width: 100%;
    max-width: 28rem;
    font-size: 0.875rem;
    text-align: start;
    list-style: none;
    padding-left: 0;
    margin: 0.45rem 0 0 0;
}

    .validation-summary-errors ul,
    .validation-summary-errors li {
        list-style-type: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

.custom-validation-summary {
   color: #FF073A;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.container-carrusel {
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 90%;
    border-radius: 1.875rem;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.carousel-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 32px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    min-height: 32px;
}
    .carousel-indicators .dot {
        width: 15px;
        height: 15px;
        background-color: transparent;
        border: 1px solid white;
        border-radius: 50%;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

        .carousel-indicators .dot.active {
            background-color: #2A74F3;
        }

.carousel-arrow {
    background: none;
    border: none;
    color: lightgray;
    border-radius: 0;
    width: 32px; 
    height: 32px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: none;
    box-shadow: none;
}

    .carousel-arrow:focus {
        outline: none;
    }

    .carousel-arrow:hover {
        background: none;
        color: #2A74F3;
        border: none;
    }

.input-error-border {
    border: 1px solid #FF073A !important;
}

@media (max-width: 900px) {
    .login-main {
        flex-direction: column;
        width: 100vw !important;
        height: 100vh !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
    }

    .login-1,
    .login-2 {
        width: 100% !important;
        float: none !important;
        height: auto !important;
        min-width: 0 !important;
    }

    .sidenavbar-footer-login {
        position: relative;
        width: 100%;
    }

    .logo-title-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 901px) {
    html, body {
        width: 100vw !important;
        height: 100vh !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }

    .login-main {
        width: 100vw !important;
        height: 100vh !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }
}