@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

body {
    margin: 0;
    overflow: hidden;
    font-family: "Figtree", sans-serif !important;
    font-optical-sizing: auto;
}

.browser-support-message {
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 50px;
}

.browser-support-message p {
    position: relative;
    top: 50%;
    bottom: 50%;
    margin: auto;
    text-align: center;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    /* background-color: #007bc2; */
    /* background-image: linear-gradient(#0e4667, #007bc2), url('../img/intranet/intranet-bg.jpg'); */
    background-image: linear-gradient(45deg, #0e4667, #007bc285), url("../img/intranet/intranet-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.login-wrapper form {
    width: calc(100% - 20px);
    max-width: 350px;
    z-index: 2;
    -webkit-transition: opacity 3s;
    transition: opacity 3s;
    /* box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; */
    padding: 40px 30px;
    /* border-radius: 12px; */
    /* background-color: #007bc2eb;*/
}

.title {
    margin-bottom: 36px;
    text-align: center;
}

.title a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 24px;
}

.title a img {
    width: 180px;
}

.field {
    background-color: rgb(255 255 255 / 88%);
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 16px;
    /* border: 1px solid rgba(255, 255, 255, 0.4); */
    border-radius: 5px;
    color: #007bc2;
    cursor: text;
}

.field input {
    background-color: transparent;
    width: 100%;
    padding: 0px 4px;
    border: 0;
    font-size: 16px;
    color: #007bc2;
    outline: 0 !important;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    font-family: "Figtree", sans-serif !important;
}

input,
textarea,
select {
    outline: 0 !important;
}

input:required,
input:invalid {
    box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: rgba(0, 0, 0, 0.9) !important;
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}

@keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}

@-webkit-keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #007bc2b0;
    font-family: "Figtree", sans-serif !important;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #007bc2b0;
    opacity: 1;
    font-family: "Figtree", sans-serif !important;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #007bc2b0;
    opacity: 1;
    font-family: "Figtree", sans-serif !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #007bc2b0;
    font-family: "Figtree", sans-serif !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #007bc2b0;
    font-family: "Figtree", sans-serif !important;
}

::placeholder {
    /* Most modern browsers support this now. */
    color: #007bc2b0;
    font-family: "Figtree", sans-serif !important;
}

.field i {
    padding: 8px;
    font-size: 20px;
}

.login-help {
    /* display: flex; */
    /* justify-content: flex-end; */
    /* align-items: center; */
    /* flex-wrap: wrap; */
    margin-bottom: 20px;
    /* font-weight: bold; */
}

.login-help a {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 12px;
}

.login-help a:hover {
    text-decoration: underline;
}

.remember-me-form {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

.remember-me-form i {
    margin-right: 4px;
    font-size: 16px;
    cursor: pointer;
}

.login-wrapper button {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    background-color: #007bc2;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    font-weight: 200 !important;
}

.login-wrapper button:hover,
.login-wrapper button:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 0.2);
    /* box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; */
    /* color: #333; */
    outline: none;
}

.login-wrapper button:active {
    background-color: rgba(50, 50, 50, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.login-wrapper button:disabled {
    background-color: rgba(50, 50, 50, 0.5);
    border-color: rgba(50, 50, 50, 0.05);
    color: rgba(50, 50, 50, 0.5);
    cursor: not-allowed;
}

.login-wrapper button i {
    position: relative;
    right: 0;
    margin-left: 8px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    -webkit-transition: right 0.2s, color 0.1s;
    transition: right 0.2s, color 0.1s;
}

.login-wrapper button:hover i,
.login-wrapper button:focus i {
    right: -8px;
    color: rgba(255, 255, 255, 1);
    /* color: #333; */
}

.login-wrapper button:active i {
    color: rgba(255, 255, 255, 0.5);
}

.login-wrapper button:disabled i {
    right: -8px;
    color: rgba(50, 50, 50, 0.5);
}

.login-error {
    background-color: #cf1f2f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    margin: 24px 0px;
    border-radius: 4px;
    font-size: 14px;
    color: white;
}

.login-error i {
    padding: 2px;
    cursor: pointer;
}

/* .companies-logos {
    display: flex;
    position: absolute;
    bottom: 30px;
    gap: 10px;
    justify-content: center;
    justify-self: center;
    flex-flow: wrap;
    width: 100%;
}

.companies-logos img {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin: 10px;
} */

.alert.alert-warning {
    text-align: center;
    font-size: 14px;
    padding: 20px;
    margin: 0;
    background-color: #fffbcb;
    color: #756600;
}

.login-warning {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 4;
}

/* @media(max-width: 400px) {
    .companies-logos{
        bottom: 0 !important;
    }
    .companies-logos img {
        width: 90px !important;
    }
} */

/* .credit {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 16px 0;
    text-align: center;
    font-family: "Ubuntu Mono";
    color: rgba(255, 255, 255, 0.9);
    z-index: 3;
    -webkit-transition-delay: 3s;
    transition-delay: 3s;
    -webkit-transition: opacity 3s;
    transition: opacity 3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.credit i {
    cursor: pointer;
}

.credit a {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    text-decoration: none;
} */

/* Separador "O continuar con" */
.social-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.social-divider::before,
.social-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 4px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
    padding: 11px 16px;

    background-color: #ffffff;
    color: #1f2937;

    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.social-btn i {
    font-size: 16px;
}

/* Iconos de marca a color */
.social-btn.google i {
    color: #db4437;
}

.social-btn.microsoft i {
    color: #0078d4;
}

/* Hover */
.social-btn:hover {
    background-color: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.28);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}