﻿::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: rgb(231, 233, 236);
    background: linear-gradient(128deg, rgba(231, 233, 236, 1) 0%, rgba(167, 178, 195, 1) 100%);
}

a {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
}

a:focus {
    outline: none !important;
}

a:hover {
    text-decoration: none;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

/* Overlay de carga para login */
#login-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.82);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    transition: opacity 0.3s;
}

#login-loading-overlay .spinner {
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    animation: spin 0.9s linear infinite;
    margin-right: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

ul,
li {
    margin: 0;
    list-style-type: none;
}

input {
    outline: none;
    border: none;
}

input::-webkit-input-placeholder {
    color: #999;
}

input:-moz-placeholder {
    color: #999;
}

input::-moz-placeholder {
    color: #999;
}

input:-ms-input-placeholder {
    color: #999;
}

button {
    outline: none !important;
    border: none;
    background: 0 0;
}

button:hover {
    cursor: pointer;
}

.login-section {
    width: 100%;
    margin: 0 auto;
}

.login-container {
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.login-wrap {
    width: 850px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.21), 0 15px 12px rgba(0, 0, 0, 0.15);
}

.login-slide {
    position: relative;
    width: 50%;
    z-index: 2;
}

.login-form {
    width: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.login-content {
    position: relative;
    width: 100%;
    padding: 50px 65px 35px 65px;
}

.login-copyright {
    width: 100%;
    padding: 0 5px 15px 5px;
    text-align: center;
}

.login-copyright span {
    display: inline-block;
    font-size: 10px;
    line-height: 15px;
    color: #575757;
}

.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 2147483647 !important;
}

.login-alert-msg {
    font-size: 12px;
    line-height: 15px;
    display: inline-block;
    margin-top: 10px;
    font-style: italic;
    padding: 5px;
    background: #f6f6f6;
    border-radius: 5px;
}

.wrap-bg-element {
    width: 100%;
    height: 100%;
}

.wrap-slide-element {
    height: 100%;
    width: 100%;
    background-color: white;
    color: white;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
    text-shadow: 1px 1px 10px black;
    margin: 0;
    background-position: 50% 50%;
    background-size: cover;
}

@media (max-width:992px) {
    .login-slide {
        width: 40%;
    }

    .login-form {
        width: 60%;
    }
}

@media (max-width:768px) {
    .login-slide {
        width: 100%;
    }

    .login-form {
        width: 100%;
    }
}

@media (max-width:750px) {
    .login-content {
        padding: 35px 50px;
    }
}

.login-logo {
    background: url(../Core/login-logo.png) no-repeat center;
    height: 50px;
}

.login-title {
    position: relative;
    display: block;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.login-subtitle {
    position: relative;
    display: block;
    font-weight: normal;
    font-style: italic;
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.login-input {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

.login-input input[type=text],
.login-input input[type=password] {
    background: transparent;
    border: 0;
    border-bottom-color: #d1d1d1;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    font-size: 15px;
    color: #343434;
    width: 100%;
    padding: 10px 40px 10px 40px;
    outline: none;
    transition: all ease-in-out .2s;
}

.login-input input[type=text]:focus,
.login-input input[type=password]:focus {
    border-bottom-color: #296dcb;
}

.login-input .login-icon {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 14px;
    height: 14px;
    z-index: 1000;
}

.login-input .login-icon.icon-user {
    background: url("../Core/login-user.svg") no-repeat;
    color: #4ECF71;
}

.login-input .login-icon.icon-password {
    background: url("../Core/login-password.svg") no-repeat;
    color: #4ECF71;
}

.login-input .login-icon.icon-show {
    background: url("../Core/login-show.svg") no-repeat;
    color: #4ECF71;
}

.login-input .login-icon.icon-captcha {
    background: url("../Core/login-captcha.svg") no-repeat;
    color: #4ECF71;
}

.login-input .login-captcha {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
}

.login-input .login-option {
    position: absolute;
    top: 7px;
    right: 15px;
    width: 16px;
    height: 16px;
    z-index: 1000;
    cursor: pointer;
}

.login-input .login-option.icon-show {
    background: url("../Core/login-show.svg") no-repeat;
    color: #4ECF71;
}

.login-input .login-option.icon-hide {
    background: url("../Core/login-hide.svg") no-repeat;
    color: #4ECF71;
}

.login-input.opt-captcha {
    position: relative;
}

.login-input.opt-captcha .login-icon {
    top: 18px;
}

.login-input.opt-captcha input[type=text] {
    padding: 17px 40px 17px 40px;
}

.login-message {
    display: block;
    text-align: center;
    margin-top: 15px;
}

.login-message span {
    display: block;
    background: #ffecec;
    color: #cc4e4e;
    padding: 7px;
    font-size: 14px;
    border-radius: 25px;
}

.login-reset {
    display: block;
    text-align: center;
    transition: all ease-in-out .2s;
    margin-top: 15px;
}

.login-button {
    display: block;
    text-align: center;
    transition: all ease-in-out .2s;
    margin-top: 25px;
}

.login-button input {
    border: 0;
    width: 200px;
    padding: 15px;
    border-radius: 15px;
    background: rgb(41 109 203);
    background-image: linear-gradient(90deg, rgb(41 109 203) 0%, rgb(29 82 155) 100%);
    color: #ffffff;
    cursor: pointer;
    outline: none;
    font-size: 15px;
    transition: all ease-in-out .2s;
}

.login-button input:hover {
    background-image: linear-gradient(90deg, rgb(37 92 169) 0%, rgb(20 65 126) 100%);
}

.login-button input:disabled {
    opacity: .5;
}

.login-subbutton {
    display: block;
    text-align: center;
    margin-top: 30px;
    line-height: 1;
}

.login-subbutton a {
    font-size: 12px;
    color: #3d3d3d;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px dashed #3d3d3d;
    text-decoration: none;
}

.login-subbutton a:hover {
    font-size: 12px;
    color: #000000;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px dashed #000000;
    text-decoration: none;
}

.login-note {
    display: block;
    text-align: left;
    font-size: 12px;
    color: #2b2b2b;
    margin-top: 20px;
}

.login-code {
    text-align: center;
}

.login-code .login-input {
    font-size: 1px;
}

.login-code .login-input input {
    height: 45px;
    width: 30px;
    outline: none;
    font-size: 22px;
    line-height: 40px;
    font-weight: 600;
    text-align: center;
    color: #474747;
    display: inline-block;
    padding: 0;
    margin: 3px;
    background: transparent;
    border: 0;
    border-bottom-color: #ff7812;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.login-code .login-input input:focus {
    border-bottom-color: #ffa465;
}

.swal2-html-container {
    font-size: 14px !important;
    line-height: 20px !important;
}

.swal2-actions button {
    font-size: 14px !important;
    font-weight: 600 !important;
}
