/* FACTURADOR 360 INSOL - LOGIN QA37R */

body.f360-auth-mode {
    background: #fafbf9 !important;
}

body.f360-auth-mode .sidebar,
body.f360-auth-mode .topbar,
body.f360-auth-mode .warning,
body.f360-auth-mode .app-footer {
    display: none !important;
}

body.f360-auth-mode .layout {
    display: block !important;
    min-height: 100vh;
}

body.f360-auth-mode .work {
    width: 100% !important;
    min-height: 100vh;
}

body.f360-auth-mode .main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 100vh;
}

body.f360-auth-mode .f360-login {
    display: grid;
    grid-template-columns: 56% 44%;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system,
                 'Segoe UI', sans-serif;
}

.f360-login-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        126deg,
        #17463d 0%,
        #1f5a4c 53%,
        #347963 100%
    );
    color: #fff;
}

.f360-login-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(48vw, 480px);
    height: min(48vw, 480px);
    border: 39px solid rgba(190,224,199,.17);
    border-radius: 50%;
    right: 12%;
    bottom: -12%;
    box-sizing: border-box;
}

.f360-login-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: rgba(197,228,207,.13);
    right: 41%;
    bottom: 19%;
}

.f360-login-hero-inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: clamp(38px,7vw,115px);
    padding-top: clamp(60px,10vw,145px);
    padding-bottom: 45px;
}

.f360-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: .055em;
}

.f360-login-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.13);
    border-radius: 13px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.f360-login-brand-name {
    display: grid;
    gap: 3px;
}

.f360-login-brand-name strong {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .055em;
}

.f360-login-brand-name small {
    font-size: 10px;
    letter-spacing: 0;
    color: #d3e9dd;
}

.f360-login-hero-content {
    margin: auto 0;
    max-width: 650px;
    padding: 50px 0 15px;
}

.f360-login-eyebrow {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
    color: #e2f1e4;
    margin-bottom: 22px;
}

.f360-login-hero h1 {
    font-size: clamp(43px,5.4vw,82px);
    line-height: 1.06;
    letter-spacing: -.055em;
    font-weight: 850;
    margin: 0 0 28px;
    color: #fff;
}

.f360-login-hero h1 span {
    color: #b6dcb9;
}

.f360-login-lead {
    max-width: 495px;
    color: #e0f0e5;
    font-size: clamp(15px,1.1vw,18px);
    line-height: 1.8;
    margin: 0 0 34px;
}

.f360-login-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.f360-login-benefits span {
    border: 1px solid rgba(228,244,233,.27);
    border-radius: 24px;
    padding: 10px 14px;
    font-size: 11px;
    color: #e5f4ea;
    white-space: nowrap;
}

.f360-login-hero-bottom {
    font-size: 11px;
    color: #c4dfd0;
    letter-spacing: .03em;
}

.f360-login-entry {
    display: grid;
    place-items: center;
    padding: 42px 28px;
    background: #fbfcfa;
}

.f360-login-entry-inner {
    width: min(100%,405px);
}

.f360-login-card {
    background: #fff;
    border: 1px solid #e2ebe5;
    border-radius: 23px;
    padding: clamp(25px,2.5vw,38px);
    box-shadow: 0 16px 40px rgba(28,66,49,.07);
}

.f360-login-tag {
    display: inline-block;
    border-radius: 30px;
    background: #ecf5ed;
    color: #45826d;
    font-size: 9px;
    letter-spacing: .075em;
    font-weight: 850;
    padding: 9px 13px;
    margin-bottom: 21px;
}

.f360-login-card h2 {
    font-size: clamp(23px,2vw,28px);
    letter-spacing: -.045em;
    color: #133c35;
    margin: 0 0 13px;
    line-height: 1.18;
    font-weight: 850;
}

.f360-login-intro {
    color: #7c8b86;
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 23px;
}

.f360-login-form {
    display: grid;
    gap: 9px;
}

.f360-login-form label {
    color: #1c4a40;
    font-size: 12px;
    font-weight: 750;
    margin-top: 2px;
}

.f360-login-form input {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6e4da;
    border-radius: 11px;
    padding: 12px 14px;
    font-size: 13px;
    background: #fff;
    color: #1c3b35;
    outline: none;
}

.f360-login-form input:focus {
    border-color: #36846f;
    box-shadow: 0 0 0 3px rgba(52,137,105,.13);
}

.f360-login-password {
    position: relative;
    margin-bottom: 12px;
}

.f360-login-password input {
    padding-right: 89px;
}

.f360-login-password button {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #377b68;
    font-size: 11px;
    font-weight: 750;
    padding: 9px;
    cursor: pointer;
}

.f360-login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 15px 17px;
    background: #236b58;
    color: white;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(35,107,88,.15);
}

.f360-login-submit:hover {
    background: #1c5949;
}

.f360-login-submit:disabled {
    opacity: .6;
}

.f360-login-notice {
    border-top: 1px solid #e6ece8;
    margin-top: 23px;
    padding-top: 19px;
    display: grid;
    gap: 7px;
    color: #81908a;
    font-size: 11px;
    line-height: 1.5;
}

.f360-login-notice strong {
    font-size: 10px;
    color: #407762;
    letter-spacing: .08em;
}

.f360-login-copyright {
    text-align: center;
    color: #9aa9a2;
    font-size: 10px;
    line-height: 1.6;
    margin: 19px 0 0;
}

body.f360-auth-mode .toasts {
    z-index: 9999;
}

@media (max-width: 900px) {
    body.f360-auth-mode .f360-login {
        grid-template-columns: 1fr;
    }

    .f360-login-hero-inner {
        min-height: 260px;
        padding: 30px 25px;
    }

    .f360-login-hero-content {
        padding: 25px 0 8px;
    }

    .f360-login-hero h1 {
        font-size: clamp(31px,7vw,48px);
        margin-bottom: 12px;
    }

    .f360-login-lead {
        font-size: 13px;
        margin-bottom: 13px;
    }

    .f360-login-benefits,
    .f360-login-hero-bottom {
        display: none;
    }

    .f360-login-entry {
        padding: 28px 16px 38px;
    }

    .f360-login-entry-inner {
        max-width: 430px;
    }
}

@media (max-width: 480px) {
    .f360-login-hero-inner {
        min-height: 215px;
        padding: 24px 21px;
    }

    .f360-login-logo {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .f360-login-brand-name strong {
        font-size: 12px;
    }

    .f360-login-hero-content {
        padding: 20px 0 0;
    }

    .f360-login-eyebrow {
        font-size: 9px;
        margin-bottom: 10px;
    }

    .f360-login-hero h1 {
        font-size: 34px;
    }

    .f360-login-lead {
        display: none;
    }

    .f360-login-card {
        border-radius: 18px;
        padding: 24px 20px;
    }

    .f360-login-entry {
        padding: 22px 13px;
    }
}

/* QA37U BRAND START */

/*
 * FACTURADOR 360 INSOL
 * Identidad oficial del panel original:
 * Azul marino: #102439
 * Naranja:     #F18A41
 * Blanco:      #FFFFFF
 */

body.f360-auth-mode {
    background: #f4f7fb !important;
}

body.f360-auth-mode .f360-login-hero {
    background:
        linear-gradient(
            125deg,
            #102439 0%,
            #15324b 60%,
            #193c55 100%
        ) !important;
}

body.f360-auth-mode .f360-login-hero::before {
    background: none !important;
    border: 36px solid rgba(241,138,65,.09);
    border-radius: 50%;
    opacity: 1;
}

body.f360-auth-mode .f360-login-hero::after {
    border-color: rgba(241,138,65,.18) !important;
}

body.f360-auth-mode .f360-login-logo {
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #f18a41 !important;
    color: #102439 !important;
    border: 0;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: 0 5px 18px rgba(0,0,0,.12);
}

body.f360-auth-mode .f360-login-brand-name strong {
    color: #fff !important;
}

body.f360-auth-mode .f360-login-brand-name small {
    color: #b6c8d9 !important;
}

body.f360-auth-mode .f360-login-eyebrow {
    color: #ffb57e !important;
}

body.f360-auth-mode .f360-login-hero h1 {
    color: #fff !important;
}

body.f360-auth-mode .f360-login-hero h1 span {
    color: #f18a41 !important;
}

body.f360-auth-mode .f360-login-lead {
    color: #d3e0ed !important;
}

body.f360-auth-mode .f360-login-benefits span {
    color: #f9e5d4 !important;
    border-color: rgba(241,138,65,.35) !important;
    background: rgba(241,138,65,.055) !important;
}

body.f360-auth-mode .f360-login-hero-bottom {
    color: #b6c8d9 !important;
}

body.f360-auth-mode .f360-login-entry {
    background: #f4f7fb !important;
}

body.f360-auth-mode .f360-login-card {
    background: #fff !important;
    border: 1px solid #e0e7ef;
    box-shadow: 0 20px 55px rgba(16,36,57,.08);
}

body.f360-auth-mode .f360-login-tag {
    color: #98501f !important;
    background: #fff0e3 !important;
}

body.f360-auth-mode .f360-login-card h2 {
    color: #102439 !important;
}

body.f360-auth-mode .f360-login-intro {
    color: #728196 !important;
}

body.f360-auth-mode .f360-login-form label {
    color: #243a50 !important;
}

body.f360-auth-mode .f360-login-form input {
    color: #102439;
    background: #fff;
    border-color: #d9e2ec;
}

body.f360-auth-mode .f360-login-form input:focus {
    border-color: #f18a41 !important;
    box-shadow: 0 0 0 3px rgba(241,138,65,.17) !important;
}

body.f360-auth-mode .f360-login-password button {
    color: #a85a25 !important;
}

body.f360-auth-mode .f360-login-submit {
    background: #f18a41 !important;
    color: #102439 !important;
    border-color: #f18a41 !important;
    box-shadow: 0 8px 20px rgba(241,138,65,.2);
}

body.f360-auth-mode .f360-login-submit:hover {
    background: #f4a064 !important;
    border-color: #f4a064 !important;
}

body.f360-auth-mode .f360-login-submit:focus-visible,
body.f360-auth-mode .f360-login-password button:focus-visible {
    outline: 3px solid #f18a41 !important;
    outline-offset: 3px;
}

body.f360-auth-mode .f360-login-notice {
    border-top-color: #e5eaf0;
    color: #728196;
}

body.f360-auth-mode .f360-login-notice strong {
    color: #a85a25 !important;
}

body.f360-auth-mode .f360-login-copyright {
    color: #8190a0 !important;
}

@media (max-width: 480px) {
    body.f360-auth-mode .f360-login-logo {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

/* QA37U BRAND END */