/* The pieces of Retail's own page that are not in the Webflow export: they come from site.css and from the inline styles of
   Retail's sign-in page (VIBS_ERP.Login/Components/Pages/Index.razor and VIBS_ERP.UI.Common LoginLayout.razor), copied unchanged
   except where a comment says "changed". Loaded after normalize.css, webflow.css and vibs-erp.webflow.css, as in Retail.
   The last section is ours: it styles what Retail does with a pop-up or a script (error text, the location list, the form element). */

/* ---- site.css ---- */
@font-face {
    font-family: '72 Regular';
    src: url('../fonts/72-Regular.ttf') format('truetype');   /* changed: path */
    font-weight: normal;
    font-style: italic;
}

html, body {
    font-family: "72 Regular", "sans-serif" !important;
}

html, body {
    height: 100%;
    overflow: hidden;
}

input.uppercase {
    text-transform: uppercase !important;
}

.login-wrapper .text-field {
    border-radius: 3px !important;
}

.password-class {
    -webkit-text-security: disc;
}

.login-wrapper ::-ms-input-placeholder {
    text-transform: capitalize !important;
}

.login-wrapper ::placeholder {
    text-transform: capitalize !important;
}

/* the list of locations: Retail uses a DevExpress combo box with this class; the plain list below looks the same */
.login-dropdown {
    height: 35px !important;
    box-shadow: none !important;
    color: var(--primary) !important;
    border-radius: 3px !important;
    margin-bottom: 1rem !important;
    font-weight: 500 !important;
    transition: box-shadow .2s !important;
    border: 1px solid #cccccc;
}

.login-dropdown:focus-within,
.login-dropdown:focus {
    border: 1px solid #3898EC !important;
    box-shadow: 4px 4px 10.5px 0 var(--drop-shadow) !important;
    outline: 0 !important;
}

/* ---- the inline styles of Retail's sign-in page ---- */
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: none;
}

body {
    overflow: overlay;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-track {
    background: rgb(245, 251, 255, 0.2);
    border-color: rgb(245, 251, 255);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgb(0, 53, 87);
    border-radius: 10px;
}

@media (min-width:992px) {
    html.w-mod-js:not(.w-mod-ix) [data-w-id="f28b8853-400e-0f9b-0fae-22ad1c4f7501"] {
        -webkit-transform: translate3d(100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform: translate3d(100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform: translate3d(100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform: translate3d(100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="f28b8853-400e-0f9b-0fae-22ad1c4f74fd"] {
        -webkit-transform: translate3d(-100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform: translate3d(-100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform: translate3d(-100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform: translate3d(-100%, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }
}

.w-slider-dot {
    width: .5em !important;
    height: .5em !important;
}

/* the loading bar shown while the sign-in is checked */
.loader {
    height: 4px;
    width: 200px;
    --c: no-repeat linear-gradient(#003557 0 0);
    background: var(--c), var(--c), #B2E1FF;
    background-size: 60% 100%;
    animation: l16 3s infinite;
}

@keyframes l16 {
    0% {
        background-position: -150% 0, -150% 0
    }

    66% {
        background-position: 250% 0, -150% 0
    }

    100% {
        background-position: 250% 0, 250% 0
    }
}

.particles-js-canvas-el {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 0;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ---- ours ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* the form element wraps Retail's .w-form block: Webflow's script only takes over forms inside a .w-form */
.login-form {
    margin: 0;
}

/* a button that looks like Retail's "Sign In" link */
button.primary-button {
    border: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: #fff;
    cursor: pointer;
}

button.primary-button:focus-visible,
.eye:focus-visible,
a.link:focus-visible {
    outline: 2px solid var(--vibrant);
    outline-offset: 2px;
}

.eye[hidden] {
    display: none;
}

button.eye {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
}

/* messages: Retail shows them in a pop-up box; here they stay in the card, in Retail's colours */
.login-message {
    margin: 0 0 1rem;
    padding: .5rem .75rem;
    border-radius: 3px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}

.login-message.text-danger {
    color: #b3321f !important;
    background-color: #fdf1ef;
    border: 1px solid #f0c4bc;
}

.login-message.text-info {
    color: var(--primary) !important;
    background-color: var(--off-white);
    border: 1px solid var(--light-blue);
}

.login-hint {
    margin-top: .25rem;
    font-size: 12px;
    text-align: center;
}

.login-who {
    margin: 0 0 1rem;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.login-links {
    justify-content: center;
    margin-top: .5rem;
    margin-bottom: 0;
}

select.login-dropdown {
    width: 100%;
    padding: 0 4px;
    background-color: #fff;
    font-size: 13px;
}

/* ---- keyboard focus (F7.6): Retail's rule "a:focus { outline: none }" and the Webflow slider leave these controls without a visible focus ---- */
.login-wrapper .primary-button:focus-visible {
    outline: 3px solid #009ccd !important;
    outline-offset: 3px !important;
}

.w-slider-arrow-left:focus-visible,
.w-slider-arrow-right:focus-visible,
.w-slider-dot:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
}

/* the arrows wait outside the picture until the pointer comes (Webflow interaction); a keyboard user brings them in with the focus */
html.w-mod-js .w-slider-arrow-left:focus-visible,
html.w-mod-js .w-slider-arrow-right:focus-visible {
    transform: none !important;
}

.w-slider-dot:focus-visible {
    background-color: #fff;
}

/* ---- legibility (F7.6, chosen by the user on 2026-10-26; the only two places where this page differs from Retail's) ---- */
/* Webflow's placeholder grey #999 on white is 2.85:1; this grey is 5.3:1 and looks almost the same. (One selector only: a selector list that contains a pseudo-element\n   the browser does not know is dropped as a whole, which is why the old -ms- name is not repeated here.) */
.login-wrapper .w-input::placeholder {
    color: #6b6b6b !important;
    opacity: 1;
}

/* the slider text is white over a video and a photo: a soft dark shadow keeps it readable where the picture is light */
.slider-info-wrapper .slider-heading,
.slider-info-wrapper p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65), 0 0 8px rgba(0, 0, 0, .35);
}
