/* ==========================================================================
   WMS Theme 2.0
   Override layer loaded AFTER bootstrap.min.css / app.min.css (Nazox).
   Change the tokens in :root to re-skin the whole application.
   Layout offsets (70px topbar, 240px sidebar) are intentionally unchanged.
   ========================================================================== */

:root {
    /* Brand */
    --wms-brand: #090c79;
    --wms-brand-hover: #1318a0;
    --wms-brand-active: #06085c;
    --wms-brand-deep: #05063f;
    --wms-brand-soft: #eef0fb;
    --wms-brand-ring: rgba(9, 12, 121, .18);
    --wms-accent: #2563eb;

    /* Neutrals (slate) */
    --wms-ink: #0f172a;
    --wms-text: #1e293b;
    --wms-text-muted: #64748b;
    --wms-border: #e2e8f0;
    --wms-border-strong: #cbd5e1;
    --wms-surface: #ffffff;
    --wms-surface-alt: #f8fafc;
    --wms-page: #f3f5fa;
    --wms-table-head: #eef1f8;
    --wms-row-hover: #f5f7fd;

    /* Status */
    --wms-success: #0f9d6b;
    --wms-warning: #d97706;
    --wms-danger: #dc2626;
    --wms-info: #0284c7;

    /* Shape & depth */
    --wms-radius-sm: 6px;
    --wms-radius: 8px;
    --wms-radius-lg: 12px;
    --wms-shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --wms-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 6px rgba(15, 23, 42, .05);
    --wms-shadow-md: 0 4px 10px rgba(15, 23, 42, .06), 0 12px 28px rgba(15, 23, 42, .10);
    --wms-shadow-lg: 0 24px 60px rgba(15, 23, 42, .22);

    --wms-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Consumed by existing CSS */
    --main-color: var(--wms-brand);
    --bs-primary: var(--wms-brand);
    --bs-font-sans-serif: var(--wms-font);
}

/* ---------- Base ---------------------------------------------------------- */

body {
    font-family: var(--wms-font);
    color: var(--wms-text);
    background-color: var(--wms-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--wms-font);
    color: var(--wms-ink);
    letter-spacing: -.01em;
}

a {
    color: var(--wms-accent);
}

a:hover {
    color: var(--wms-brand);
}

::selection {
    background: var(--wms-brand);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--wms-accent);
    outline-offset: 2px;
}

.text-primary {
    color: var(--wms-brand) !important;
}

.bg-primary {
    background-color: var(--wms-brand) !important;
}

.text-muted {
    color: var(--wms-text-muted) !important;
}

/* Slim scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--wms-border-strong) transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--wms-border-strong);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    background-clip: content-box;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* ---------- Top bar ------------------------------------------------------- */

#page-topbar {
    background-color: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: none;
    border-bottom: 1px solid var(--wms-border);
}

.navbar-header.is-fullscreen {
    justify-content: unset;
    background: linear-gradient(90deg, var(--wms-brand-deep), var(--wms-brand));
}

.navbar-header.is-fullscreen .page-title-center h4 {
    color: #fff;
}

.header-item {
    color: var(--wms-text-muted);
}

.header-item:hover {
    color: var(--wms-ink);
}

#vertical-menu-btn {
    color: var(--wms-text-muted);
    transition: color .15s ease;
}

#vertical-menu-btn:hover {
    color: var(--wms-brand);
}

.navbar-header .dropdown .show.header-item {
    background-color: var(--wms-surface-alt);
}

.page-title-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
}

.page-title-center h4 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--wms-ink);
}

/* User chip */
#page-header-user-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}

#profileImage {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wms-brand), var(--wms-accent));
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--wms-border);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 36px;
}

.topName {
    font-weight: 500;
    color: var(--wms-text);
}

/* ---------- Sidebar ------------------------------------------------------- */

body[data-sidebar=colored] .vertical-menu {
    background: linear-gradient(180deg, var(--wms-brand) 0%, var(--wms-brand-deep) 100%);
    box-shadow: none;
}

body[data-sidebar=colored] .navbar-brand-box {
    background-color: var(--wms-brand);
}

body[data-sidebar=colored] #sidebar-menu ul li.menu-title {
    color: rgba(255, 255, 255, .55);
    opacity: 1;
    font-size: 10.5px;
    letter-spacing: .12em;
}

body[data-sidebar=colored] #sidebar-menu ul li a {
    color: rgba(255, 255, 255, .74);
    transition: background-color .15s ease, color .15s ease;
}

body[data-sidebar=colored] #sidebar-menu ul li a i {
    color: rgba(255, 255, 255, .74);
    opacity: 1;
    transition: color .15s ease;
}

body[data-sidebar=colored] #sidebar-menu ul li ul.sub-menu li a {
    color: rgba(255, 255, 255, .66);
}

body[data-sidebar=colored] #sidebar-menu ul li a:hover,
body[data-sidebar=colored] #sidebar-menu ul li a:hover i {
    color: #fff;
}

/* Pill-shaped items (expanded sidebar only; collapsed fly-out keeps template rules) */
body:not(.vertical-collpsed) #sidebar-menu ul li a {
    margin: 1px 10px;
    padding: .56rem .85rem;
    border-radius: var(--wms-radius);
}

body:not(.vertical-collpsed) #sidebar-menu ul li ul.sub-menu li a {
    padding: .4rem .85rem .4rem 2.6rem;
}

body:not(.vertical-collpsed) #sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
    padding: .38rem .85rem .38rem 3.9rem;
    font-size: 13px;
}

body[data-sidebar=colored]:not(.vertical-collpsed) #sidebar-menu ul li a:hover {
    background-color: rgba(255, 255, 255, .08);
}

/* Current page */
body[data-sidebar=colored]:not(.vertical-collpsed) #sidebar-menu ul li a.active {
    background-color: rgba(255, 255, 255, .16);
    color: #fff !important;
    font-weight: 700;
}

/* Open parent group */
body[data-sidebar=colored] #sidebar-menu li.mm-active > a.has-arrow {
    color: #fff !important;
}

/* ---------- Page chrome --------------------------------------------------- */

.page-title-box {
    padding-bottom: 16px;
}

.page-title-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: none;
    color: var(--wms-ink);
}

.subTit {
    font-size: 12px;
    display: inline-block;
    padding-left: 6px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--wms-text-muted);
}

.breadcrumb {
    font-size: .8rem;
}

.breadcrumb-item > a {
    color: var(--wms-text-muted);
}

.breadcrumb-item > a:hover {
    color: var(--wms-brand);
}

.breadcrumb-item.active,
.breadcrumb-item.active > a {
    color: var(--wms-ink);
    font-weight: 500;
}

.footer {
    background-color: transparent;
    box-shadow: none;
    border-top: 1px solid var(--wms-border);
    color: var(--wms-text-muted);
    font-size: .8rem;
}

/* ---------- Cards --------------------------------------------------------- */

.card {
    border: 1px solid var(--wms-border);
    border-radius: var(--wms-radius-lg);
    box-shadow: var(--wms-shadow-sm);
}

.card > .card-header:first-child {
    border-radius: calc(var(--wms-radius-lg) - 1px) calc(var(--wms-radius-lg) - 1px) 0 0;
}

.card > .card-footer:last-child {
    border-radius: 0 0 calc(var(--wms-radius-lg) - 1px) calc(var(--wms-radius-lg) - 1px);
}

.card-header {
    background-color: var(--wms-surface-alt);
    border-bottom: 1px solid var(--wms-border);
    font-weight: 700;
}

.card-title {
    color: var(--wms-ink);
    font-weight: 700;
}

/* ---------- Buttons ------------------------------------------------------- */

.btn {
    border-radius: var(--wms-radius);
    font-weight: 500;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    border-radius: var(--wms-radius-sm);
}

.btn-primary {
    background-color: var(--wms-brand);
    border-color: var(--wms-brand);
    box-shadow: var(--wms-shadow-xs);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--wms-brand-hover);
    border-color: var(--wms-brand-hover);
    box-shadow: 0 4px 12px rgba(9, 12, 121, .25);
}

.btn-primary:active,
.btn-primary.active {
    background-color: var(--wms-brand-active);
    border-color: var(--wms-brand-active);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: var(--wms-brand);
    border-color: var(--wms-brand);
    box-shadow: none;
}

.btn-outline-primary {
    color: var(--wms-brand);
    border-color: var(--wms-border-strong);
    background-color: var(--wms-surface);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: var(--wms-brand);
    background-color: var(--wms-brand-soft);
    border-color: var(--wms-brand);
}

.btn:focus-visible,
.btn-check:focus + .btn {
    outline: 0;
    box-shadow: 0 0 0 3px var(--wms-brand-ring);
}

/* ---------- Forms --------------------------------------------------------- */

label {
    font-weight: 500;
    color: var(--wms-text);
}

.form-control,
.form-select {
    border-color: var(--wms-border-strong);
    border-radius: var(--wms-radius);
    color: var(--wms-ink);
    font-weight: 500;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control-sm,
.form-select-sm {
    border-radius: var(--wms-radius-sm);
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-control:hover:not(:disabled):not([readonly]):not(:focus),
.form-select:hover:not(:disabled):not(:focus) {
    border-color: #94a3b8;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--wms-brand);
    box-shadow: 0 0 0 3px var(--wms-brand-ring);
    color: var(--wms-ink);
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
    background-color: #f1f5f9;
    color: #475569;
}

.form-check-input {
    border-color: var(--wms-border-strong);
}

.form-check-input:checked {
    background-color: var(--wms-brand);
    border-color: var(--wms-brand);
}

.form-check-input:focus {
    border-color: var(--wms-brand);
    box-shadow: 0 0 0 3px var(--wms-brand-ring);
}

input[type=checkbox],
input[type=radio] {
    accent-color: var(--wms-brand);
}

.input-group-text {
    background-color: var(--wms-surface-alt);
    border-color: var(--wms-border-strong);
    color: var(--wms-text-muted);
}

/* Select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-color: var(--wms-border-strong);
    border-radius: var(--wms-radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--wms-ink);
    font-weight: 500;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: var(--wms-brand);
    box-shadow: 0 0 0 3px var(--wms-brand-ring);
}

.select2-dropdown {
    border-color: var(--wms-border);
    border-radius: var(--wms-radius);
    box-shadow: var(--wms-shadow-md);
    overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: var(--wms-border-strong);
    border-radius: var(--wms-radius-sm);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--wms-brand);
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: var(--wms-brand-soft);
    color: var(--wms-brand);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--wms-brand-soft);
    border-color: transparent;
    border-radius: var(--wms-radius-sm);
    color: var(--wms-brand);
}

/* Date picker */
.datepicker.dropdown-menu {
    border-radius: var(--wms-radius-lg);
    padding: 8px;
}

.datepicker table thead tr {
    background: transparent;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.active,
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover {
    background-color: var(--wms-brand) !important;
    background-image: none !important;
    color: #fff !important;
    text-shadow: none;
}

.datepicker table tr td,
.datepicker table tr th {
    border-radius: var(--wms-radius-sm);
}

/* ---------- Tables -------------------------------------------------------- */

/* :where() keeps specificity equal to the old "table thead tr" rule so per-view styles still win */
:where(#layout-wrapper) table thead tr {
    background-color: var(--wms-table-head);
}

.table {
    color: var(--wms-text);
    font-variant-numeric: tabular-nums;
}

.table > :not(caption) > * > * {
    border-bottom-color: var(--wms-border);
}

.table thead th,
table.dataTable thead th,
table.dataTable thead td {
    color: var(--wms-ink);
    font-weight: 700;
    border-bottom: 1px solid var(--wms-border-strong);
}

.table-bordered,
.table-bordered > :not(caption) > * > * {
    border-color: var(--wms-border);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--wms-surface-alt);
    color: var(--wms-text);
}

table.dataTable.stripe > tbody > tr.odd > *,
table.dataTable.display > tbody > tr.odd > * {
    box-shadow: inset 0 0 0 9999px rgba(15, 23, 42, .028);
}

table.dataTable.display > tbody > tr:hover > *,
table.dataTable.hover > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px rgba(9, 12, 121, .045);
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: var(--wms-row-hover);
}

table.dataTable.no-footer {
    border-bottom-color: var(--wms-border);
}

/* DataTables controls */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: var(--wms-text-muted);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--wms-border-strong);
    border-radius: var(--wms-radius-sm);
    padding: 5px 10px;
    background-color: var(--wms-surface);
    color: var(--wms-ink);
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.dataTables_wrapper .dataTables_length select {
    min-width: 68px;
    padding: 4px 8px;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--wms-brand);
    box-shadow: 0 0 0 3px var(--wms-brand-ring);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--wms-radius-sm) !important;
    border: 1px solid transparent !important;
    color: var(--wms-text) !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-left: 2px;
    transition: background-color .15s ease, color .15s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--wms-brand-soft) !important;
    border-color: transparent !important;
    color: var(--wms-brand) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--wms-brand) !important;
    border-color: var(--wms-brand) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: transparent !important;
    color: #94a3b8 !important;
}

.pagination .page-link {
    color: var(--wms-text);
    border-color: var(--wms-border);
}

.pagination .page-item.active .page-link {
    background-color: var(--wms-brand);
    border-color: var(--wms-brand);
    color: #fff;
}

/* ---------- Overlays ------------------------------------------------------ */

.dropdown-menu {
    border: 1px solid var(--wms-border);
    border-radius: var(--wms-radius-lg);
    box-shadow: var(--wms-shadow-md);
}

.user-dropdown .dropdown-menu {
    padding: 6px;
    min-width: 190px;
}

.dropdown-item {
    border-radius: var(--wms-radius-sm);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--wms-surface-alt);
}

.modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: var(--wms-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--wms-border);
}

.modal-footer {
    border-top: 1px solid var(--wms-border);
}

.modal-title {
    font-weight: 700;
    color: var(--wms-ink);
}

.modal-backdrop.show {
    opacity: .45;
}

.badge {
    border-radius: 999px;
    font-weight: 500;
    padding: .35em .7em;
}

.alert {
    border-radius: var(--wms-radius);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: var(--wms-brand);
    font-weight: 700;
}

.nav-pills .nav-link {
    border-radius: var(--wms-radius);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--wms-brand);
}

/* Toastr */
#toast-container > div {
    border-radius: var(--wms-radius-lg);
    box-shadow: var(--wms-shadow-md);
    opacity: 1;
}

#toast-container > div:hover {
    box-shadow: var(--wms-shadow-lg);
}

/* jQuery alert / confirm popup */
#popup_overlay {
    opacity: .45 !important;
}

#popup_container {
    font-family: var(--wms-font);
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: var(--wms-shadow-lg);
    overflow: hidden;
}

#popup_message {
    color: var(--wms-text);
}

#popup_cancel {
    padding: .37rem .75rem !important;
}

/* ---------- Global loader ------------------------------------------------- */

.warehouse-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, .38);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 9999;
}

.warehouse-loader-init {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    animation: wms-spin .8s infinite linear;
}

@keyframes wms-spin {
    to {
        transform: rotate(360deg);
    }
}

.warehouse-loader .progress {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 520px);
    height: 8px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .25);
}

.warehouse-loader .progress-bar {
    height: 8px;
    border-radius: 999px;
    background-color: #fff;
    transition: width .3s;
}

.warehouse-loader .prog_status {
    position: absolute;
    top: 65%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-weight: 500;
}

/* ---------- Sign-in page -------------------------------------------------- */

.wms-auth {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px clamp(20px, 6vw, 96px) 72px;
    background: var(--wms-brand-deep) url("../images/authentication-bg.jpg") center / cover no-repeat;
    isolation: isolate;
}

.wms-auth::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(5, 6, 63, .90) 0%, rgba(9, 12, 121, .62) 42%, rgba(9, 12, 121, .12) 100%);
}

.wms-auth__intro {
    max-width: 520px;
    color: #fff;
}

.wms-auth__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wms-auth__intro h1 {
    margin: 20px 0 14px;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.wms-auth__intro p {
    margin: 0;
    max-width: 44ch;
    color: rgba(255, 255, 255, .82);
    font-size: 1.02rem;
    line-height: 1.6;
}

.wms-auth__card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
    padding: 40px 36px 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--wms-shadow-lg);
}

.wms-auth__card .auth-logo {
    display: block;
    height: 40px;
    margin: 0 auto;
}

.wms-auth__title {
    margin: 22px 0 4px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wms-ink);
}

.wms-auth__subtitle {
    margin: 0 0 24px;
    text-align: center;
    color: var(--wms-text-muted);
    font-size: .92rem;
}

.wms-auth__card .validationMessege {
    min-height: 0;
    margin-bottom: 8px;
    text-align: center;
    font-size: .88rem;
    font-weight: 500;
}

.wms-auth__card label.lab {
    display: block;
    margin-bottom: 6px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--wms-text);
}

.wms-auth__card .form-control {
    height: 46px;
    font-size: .98rem;
    font-weight: 500;
}

.wms-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 22px;
    font-size: .88rem;
}

.wms-auth__row .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-left: 0;
}

.wms-auth__row .form-check-input {
    float: none;
    margin: 0;
}

.wms-auth__row .form-check-label {
    margin: 0;
    font-weight: 400;
    color: var(--wms-text);
}

.wms-auth__link {
    color: var(--wms-brand);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.wms-auth__link:hover {
    text-decoration: underline;
}

.wms-auth__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--wms-brand);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(9, 12, 121, .28);
    transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.wms-auth__submit:hover {
    background: var(--wms-brand-hover);
}

.wms-auth__submit:active {
    transform: translateY(1px);
}

.wms-auth__submit:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--wms-brand-ring), 0 8px 20px rgba(9, 12, 121, .28);
}

.wms-auth__submit svg {
    animation: wms-spin .8s linear infinite;
}

.wms-auth__footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    padding: 0 20px;
    text-align: center;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
}

.wms-auth__notice {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 36px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: var(--wms-shadow-lg);
}

@media (max-width: 991px) {
    .wms-auth {
        flex-direction: column;
        justify-content: center;
        gap: 28px;
    }

    .wms-auth__intro {
        text-align: center;
    }

    .wms-auth__intro p {
        display: none;
    }

    .wms-auth__intro h1 {
        margin-bottom: 0;
        font-size: 1.7rem;
    }
}

/* ---------- Motion & print ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .warehouse-loader-init,
    .wms-auth__submit svg {
        animation-duration: .8s !important;
        animation-iteration-count: infinite !important;
    }
}

@media print {
    body {
        background: #fff;
    }

    .card {
        box-shadow: none;
    }
}
