/*
 * =====================================================================
 * POWER GOW - CUSTOMER LOGIN V3
 * Centered / Responsive / Aqua Glass
 * Scope STRICT: body.customers_login
 * =====================================================================
 */

html,
body.customers_login {
    width: 100%;
    min-height: 100%;
}

body.customers_login,
body.customers_login *,
body.customers_login *::before,
body.customers_login *::after {
    box-sizing: border-box;
}

body.customers_login {
    --pg-violet: #6d3bd7;
    --pg-violet-light: #8b5bea;
    --pg-violet-dark: #42208d;
    --pg-blue: #5560f0;

    --pg-text: #243049;
    --pg-text-soft: #657189;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;

    margin: 0;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 13% 15%,
            rgba(109,59,215,.115),
            transparent 29rem
        ),
        radial-gradient(
            circle at 88% 84%,
            rgba(85,96,240,.105),
            transparent 31rem
        ),
        radial-gradient(
            circle at 73% 13%,
            rgba(255,255,255,.85),
            transparent 25rem
        ),
        linear-gradient(
            145deg,
            #f9fafc 0%,
            #f1f4f9 52%,
            #eeeafd 100%
        ) !important;

    color: var(--pg-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    position: relative;
}


/* =====================================================================
   AMBIENT GLASS BACKGROUND
   ===================================================================== */

body.customers_login::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 48% 22%,
            rgba(132,89,232,.075),
            transparent 28rem
        ),
        radial-gradient(
            circle at 52% 70%,
            rgba(255,255,255,.70),
            transparent 32rem
        );
}


/* =====================================================================
   HEADER
   ===================================================================== */

body.customers_login .navbar.navbar-default.header {
    flex: 0 0 auto;

    width: 100%;

    min-height: 105px;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    position: relative;
    z-index: 10;
}

body.customers_login .navbar-default.header > .container {
    width: 100% !important;
    max-width: none !important;

    min-height: 105px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 auto !important;

    padding: 18px 20px 8px !important;
}

body.customers_login .navbar-default .navbar-header {
    float: none !important;

    width: auto !important;

    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
}


/* =====================================================================
   LOGO - LIMPIO / SIN PASTILLA BLANCA
   ===================================================================== */

body.customers_login .navbar-default .navbar-brand.logo {
    float: none !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    padding: 4px 6px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background: transparent !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    transition:
        transform .18s ease,
        filter .18s ease;
}

body.customers_login .navbar-default .navbar-brand.logo:hover {
    transform: translateY(-1px);

    box-shadow: none !important;
}

body.customers_login .navbar-default .navbar-brand.logo img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 285px !important;
    max-height: 64px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 15px rgba(54,32,104,.10));
}


/* =====================================================================
   NO NAV PUBLICA EN LOGIN
   ===================================================================== */

body.customers_login .navbar-toggle,
body.customers_login #theme-navbar-collapse,
body.customers_login .customers-nav-item-knowledge-base,
body.customers_login .customers-nav-item-login {
    display: none !important;
}


/* =====================================================================
   RESET TOTAL BOOTSTRAP DEL LOGIN
   ===================================================================== */

body.customers_login #wrapper {
    flex: 1 1 auto;

    width: 100% !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative;
    z-index: 2;

    background: transparent !important;
}

body.customers_login #content {
    width: 100% !important;
    max-width: none !important;

    min-height: 0 !important;

    display: block !important;

    margin: 0 !important;

    padding: 10px 20px 44px !important;

    background: transparent !important;
}

body.customers_login #content > .container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 auto !important;

    padding: 0 !important;
}

body.customers_login #content > .container:first-child {
    display: none !important;
}

body.customers_login #content > .container > .row {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================================
   CENTRADO FORZADO
   ===================================================================== */

body.customers_login #content .mtop40 {
    width: 100% !important;
    max-width: none !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    transform: none !important;
}

body.customers_login #content .mtop40::before,
body.customers_login #content .mtop40::after {
    display: none !important;

    content: none !important;
}

body.customers_login #content .mtop40 > .col-md-4,
body.customers_login #content .mtop40 > .col-sm-8,
body.customers_login #content .mtop40 > [class*="col-"] {
    float: none !important;

    position: relative !important;

    left: auto !important;
    right: auto !important;

    width: min(100%, 480px) !important;
    max-width: 480px !important;

    margin-top: 0 !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;

    padding-right: 0 !important;
    padding-left: 0 !important;

    transform: none !important;

    align-self: center !important;
}


/* ANULAR ESPECIFICAMENTE OFFSET BOOTSTRAP */
body.customers_login #content .col-md-offset-4,
body.customers_login #content .col-sm-offset-2 {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =====================================================================
   TITULO
   ===================================================================== */

body.customers_login .login-heading {
    width: 100% !important;

    margin: 2px auto 20px !important;

    padding: 0 !important;

    color: transparent !important;

    font-size: 0 !important;
    line-height: 0 !important;

    text-align: center !important;

    text-shadow: none !important;
}

body.customers_login .login-heading::before {
    content: "Portal Cliente Power Gow";

    display: block;

    width: 100%;

    margin: 0 auto;

    background:
        linear-gradient(
            110deg,
            #312151 0%,
            #57329f 56%,
            #7050d8 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: #40296f;

    font-size: clamp(29px, 3.2vw, 40px);
    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -.045em;

    text-align: center;
}

body.customers_login .login-heading::after {
    content:
        "Todos tus proyectos, facturas, presupuestos, documentos y soporte, en un solo lugar.";

    display: block;

    width: 100%;

    margin: 20px auto 0;

    padding: 19px 24px;

    border: 1px solid rgba(255,255,255,.70);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.52),
            rgba(255,255,255,.29)
        );

    box-shadow:
        0 1px 0 rgba(255,255,255,.78) inset,
        0 12px 30px rgba(55,63,89,.075);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    color: #606d83;

    -webkit-text-fill-color: #606d83;

    font-size: 14px;
    font-weight: 650;

    line-height: 1.65;

    letter-spacing: -.008em;

    text-align: center;
}


/* =====================================================================
   FORM
   ===================================================================== */

body.customers_login .login-form {
    width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;
}

body.customers_login .login-form .panel_s {
    width: 100%;

    margin: 0 !important;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.73);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.56),
            rgba(250,251,255,.34)
        );

    box-shadow:
        0 1px 0 rgba(255,255,255,.82) inset,
        0 19px 48px rgba(43,53,78,.105);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

body.customers_login .login-form .panel-body {
    padding: 30px 30px 27px !important;

    border: 0 !important;

    background: transparent !important;
}


/* =====================================================================
   IDIOMA OCULTO
   ===================================================================== */

body.customers_login .login-form .form-group:first-child {
    display: none !important;
}

body.customers_login .login-form label[for="language"],
body.customers_login .login-form #language,
body.customers_login .login-form button[data-id="language"],
body.customers_login .login-form .bootstrap-select[data-id="language"] {
    display: none !important;
}


/* =====================================================================
   CAMPOS
   ===================================================================== */

body.customers_login .login-form .form-group {
    margin-bottom: 19px;
}

body.customers_login .login-form label,
body.customers_login .login-form .control-label {
    display: block;

    margin: 0 0 8px;

    color: #3c4960;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.35;
}

body.customers_login .login-form .form-control {
    width: 100%;

    height: 52px;

    padding: 11px 15px;

    border: 1px solid rgba(165,174,194,.55);
    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.69),
            rgba(255,255,255,.49)
        );

    color: #253149;

    font-size: 15px;
    font-weight: 500;

    outline: 0;

    box-shadow:
        0 1px 0 rgba(255,255,255,.66) inset,
        0 5px 15px rgba(72,82,107,.035);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

body.customers_login .login-form .form-control:hover {
    border-color: rgba(137,146,168,.68);

    background: rgba(255,255,255,.80);
}

body.customers_login .login-form .form-control:focus {
    border-color: rgba(109,59,215,.60);

    background: rgba(255,255,255,.93);

    box-shadow:
        0 0 0 4px rgba(109,59,215,.095),
        0 8px 20px rgba(75,52,135,.07);
}


/* =====================================================================
   CHECKBOX
   ===================================================================== */

body.customers_login .login-form .checkbox {
    margin-top: 1px;
    margin-bottom: 0;
}

body.customers_login .login-form .checkbox input[type="checkbox"] {
    accent-color: var(--pg-violet);
}

body.customers_login .login-form .checkbox label {
    margin-bottom: 0;

    color: #667188;

    font-size: 13px;
    font-weight: 550;
}


/* =====================================================================
   BOTON
   ===================================================================== */

body.customers_login .login-form .tw-mt-6 {
    margin-top: 23px !important;
}

body.customers_login .login-form .btn {
    width: 100%;

    min-height: 51px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 750;

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

body.customers_login .login-form .btn-primary {
    border: 1px solid rgba(84,43,181,.86) !important;

    background:
        linear-gradient(
            120deg,
            #6d3bd7 0%,
            #7845e4 48%,
            #5360ee 100%
        ) !important;

    color: #fff !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.21) inset,
        0 11px 25px rgba(92,63,185,.20);
}

body.customers_login .login-form .btn-primary:hover,
body.customers_login .login-form .btn-primary:focus {
    transform: translateY(-1px);

    background:
        linear-gradient(
            120deg,
            #6230cc 0%,
            #6938d7 48%,
            #4853df 100%
        ) !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.22) inset,
        0 15px 31px rgba(92,63,185,.25);
}


/* =====================================================================
   PASSWORD
   ===================================================================== */

body.customers_login .login-form .tw-text-center {
    margin-top: 17px;
}

body.customers_login .login-form .tw-text-center a.text-muted {
    display: inline-block;

    color: #5d47ad !important;

    font-size: 13px;
    font-weight: 640;

    line-height: 1.4;

    text-decoration: none;
}

body.customers_login .login-form .tw-text-center a.text-muted:hover {
    color: #3f2589 !important;

    text-decoration: none;
}


/* =====================================================================
   FOOTER CORPORATIVO
   ===================================================================== */

body.customers_login .footer {
    flex: 0 0 auto;

    width: 100%;

    position: relative;
    z-index: 4;

    margin: 0 !important;

    padding:
        5px
        18px
        max(20px, env(safe-area-inset-bottom)) !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}

body.customers_login .footer .container,
body.customers_login .footer .row,
body.customers_login .footer [class*="col-"] {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.customers_login .footer .copyright-footer {
    display: block;

    width: 100%;

    color: transparent !important;

    font-size: 0 !important;

    text-align: center;
}

body.customers_login .footer .copyright-footer::after {
    content:
        "PowerGow - Growth • Automation • Digital Solutions - USA • España • Portugal • Latam";

    display: block;

    color: #7b8497;

    font-size: 11px;
    font-weight: 550;

    line-height: 1.55;

    letter-spacing: .01em;

    text-align: center;
}


/* =====================================================================
   TABLET
   ===================================================================== */

@media (max-width: 991px) {

    body.customers_login .navbar.navbar-default.header,
    body.customers_login .navbar-default.header > .container {
        min-height: 96px;
    }

    body.customers_login .navbar-default.header > .container {
        padding-top: 15px !important;
    }

    body.customers_login .navbar-default .navbar-brand.logo img {
        max-width: 250px !important;
        max-height: 58px !important;
    }

    body.customers_login #content {
        padding-top: 5px !important;
        padding-right: 18px !important;
        padding-left: 18px !important;
    }
}


/* =====================================================================
   MOVIL
   ===================================================================== */

@media (max-width: 575px) {

    body.customers_login .navbar.navbar-default.header,
    body.customers_login .navbar-default.header > .container {
        min-height: 82px;
    }

    body.customers_login .navbar-default.header > .container {
        padding:
            13px
            max(14px, env(safe-area-inset-right))
            4px
            max(14px, env(safe-area-inset-left)) !important;
    }

    body.customers_login .navbar-default .navbar-brand.logo {
        padding: 2px 4px !important;
    }

    body.customers_login .navbar-default .navbar-brand.logo img {
        max-width: 215px !important;
        max-height: 50px !important;
    }

    body.customers_login #content {
        width: 100% !important;

        padding:
            6px
            max(14px, env(safe-area-inset-right))
            30px
            max(14px, env(safe-area-inset-left)) !important;
    }

    body.customers_login #content .mtop40 > .col-md-4,
    body.customers_login #content .mtop40 > .col-sm-8,
    body.customers_login #content .mtop40 > [class*="col-"] {
        width: 100% !important;
        max-width: 440px !important;

        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.customers_login .login-heading {
        margin-top: 4px !important;
        margin-bottom: 17px !important;
    }

    body.customers_login .login-heading::before {
        font-size: clamp(27px, 8.5vw, 34px);

        line-height: 1.08;
    }

    body.customers_login .login-heading::after {
        margin-top: 15px;

        padding: 16px 17px;

        border-radius: 16px;

        font-size: 13px;

        line-height: 1.58;
    }

    body.customers_login .login-form .panel_s {
        border-radius: 19px;
    }

    body.customers_login .login-form .panel-body {
        padding: 23px 19px 22px !important;
    }

    body.customers_login .login-form .form-group {
        margin-bottom: 17px;
    }

    body.customers_login .login-form .form-control {
        height: 50px;

        font-size: 16px;
    }

    body.customers_login .login-form .btn {
        min-height: 50px;
    }

    body.customers_login .footer {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    body.customers_login .footer .copyright-footer::after {
        max-width: 370px;

        margin: 0 auto;

        font-size: 10.5px;

        line-height: 1.6;
    }
}


/* =====================================================================
   MOVILES MUY PEQUEÑOS
   ===================================================================== */

@media (max-width: 380px) {

    body.customers_login .navbar-default .navbar-brand.logo img {
        max-width: 190px !important;
    }

    body.customers_login .login-heading::before {
        font-size: 26px;
    }

    body.customers_login .login-form .panel-body {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }
}


/* =====================================================================
   PANTALLAS BAJAS / PORTATILES
   ===================================================================== */

@media (max-height: 780px) and (min-width: 576px) {

    body.customers_login .navbar.navbar-default.header,
    body.customers_login .navbar-default.header > .container {
        min-height: 82px;
    }

    body.customers_login .navbar-default.header > .container {
        padding-top: 10px !important;
    }

    body.customers_login .navbar-default .navbar-brand.logo img {
        max-height: 50px !important;
    }

    body.customers_login #content {
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }

    body.customers_login .login-heading {
        margin-bottom: 15px !important;
    }

    body.customers_login .login-heading::before {
        font-size: 32px;
    }

    body.customers_login .login-heading::after {
        margin-top: 13px;

        padding-top: 14px;
        padding-bottom: 14px;
    }

    body.customers_login .login-form .panel-body {
        padding-top: 22px !important;
        padding-bottom: 21px !important;
    }

    body.customers_login .login-form .form-control {
        height: 48px;
    }

    body.customers_login .login-form .btn {
        min-height: 48px;
    }
}


/* =====================================================================
   REDUCED MOTION
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {

    body.customers_login *,
    body.customers_login *::before,
    body.customers_login *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
