/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

@media (min-width: 1024.1px) {
    [data-layout="horizontal"] .container-fluid.page-container-full-width {
        max-width: 100%;
    }
}

:root {
    --portal-primary: #405189;
    --portal-primary-strong: #28365f;
    --portal-info: #299cdb;
    --portal-teal: #0ab39c;
    --portal-ink: #1f2937;
    --portal-muted: #64748b;
    --portal-soft: #f3f6f9;
    --portal-line: #e5e7eb;
    --portal-white: #ffffff;
    --portal-shadow: 0 18px 46px rgba(31, 41, 55, 0.14);
    --portal-radius: 8px;
}

[data-layout=horizontal] .navbar-menu .navbar-nav {
    flex-wrap: nowrap;
}

[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item > .nav-link {
    white-space: nowrap;
}

[data-layout=horizontal] .navbar-menu button.nav-link {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: inherit;
}

[data-layout=horizontal] .navbar-menu button.nav-link:focus-visible {
    outline: 2px solid var(--vz-topnav-item-active-color);
    outline-offset: -2px;
}

.export-logistic-consolidated-module {
    width: 100%;
    min-width: 0;
}

.export-logistic-consolidated-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.export-logistic-consolidated-grid .dataTables_wrapper {
    width: 100%;
    min-width: 960px;
}

.export-logistic-consolidated-table {
    min-width: 960px;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.modal[id^="modalExport"] > .modal-dialog,
.modal[id^="modalShipping"] > .modal-dialog,
#exportDanfeShipmentLinkModal > .modal-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
}

.modal[id^="modalExport"] > .modal-dialog > .modal-content,
.modal[id^="modalShipping"] > .modal-dialog > .modal-content,
#exportDanfeShipmentLinkModal > .modal-dialog > .modal-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    border: 0;
    border-radius: 0;
}

.modal[id^="modalExport"] > .modal-dialog > .modal-content > form,
.modal[id^="modalShipping"] > .modal-dialog > .modal-content > form,
#exportDanfeShipmentLinkModal > .modal-dialog > .modal-content > form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.modal[id^="modalExport"] > .modal-dialog > .modal-content .modal-body,
.modal[id^="modalShipping"] > .modal-dialog > .modal-content .modal-body,
#exportDanfeShipmentLinkModal > .modal-dialog > .modal-content .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: scroll !important;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal[id^="modalExport"] > .modal-dialog > .modal-content .modal-header,
.modal[id^="modalShipping"] > .modal-dialog > .modal-content .modal-header,
#exportDanfeShipmentLinkModal > .modal-dialog > .modal-content .modal-header,
.modal[id^="modalExport"] > .modal-dialog > .modal-content .modal-footer,
.modal[id^="modalShipping"] > .modal-dialog > .modal-content .modal-footer,
#exportDanfeShipmentLinkModal > .modal-dialog > .modal-content .modal-footer {
    flex: 0 0 auto;
}

#ajax-datatable-exportlogisticconsolidatedgroup_wrapper .dataTables_scrollBody thead,
#ajax-datatable-exportlogisticconsolidatedgroup_wrapper .dt-scroll-body thead,
#ajax-datatable-shippingnewprocessgroup_wrapper .dataTables_scrollBody thead,
#ajax-datatable-shippingnewprocessgroup_wrapper .dt-scroll-body thead,
#ajax-datatable-shippingwaitingbookingbilling_wrapper .dataTables_scrollBody thead,
#ajax-datatable-shippingwaitingbookingbilling_wrapper .dt-scroll-body thead,
#ajax-datatable-shippingstandby_wrapper .dataTables_scrollBody thead,
#ajax-datatable-shippingstandby_wrapper .dt-scroll-body thead,
#ajax-datatable-shippingwaitingbookingbillinggroup_wrapper .dataTables_scrollBody thead,
#ajax-datatable-shippingwaitingbookingbillinggroup_wrapper .dt-scroll-body thead,
#ajax-datatable-shippingawaitingcollectionready_wrapper .dataTables_scrollBody thead,
#ajax-datatable-shippingawaitingcollectionready_wrapper .dt-scroll-body thead,
#ajax-datatable-shippingawaitingcollectiongroup_wrapper .dataTables_scrollBody thead,
#ajax-datatable-shippingawaitingcollectiongroup_wrapper .dt-scroll-body thead {
    visibility: collapse;
}

.export-module-wide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
}

.export-module-wide .container-fluid,
.export-module-wide .tab-content,
.export-module-wide .tab-pane,
.export-module-wide .tab-pane > .d-flex,
.export-module-wide .card,
.export-module-wide .card-body {
    width: 100%;
    max-width: 100% !important;
    min-width: 0;
}

.export-module-wide .table-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.export-module-wide .table-card > .d-flex.justify-content-center {
    width: 100%;
    min-width: 0;
}

.export-module-wide .dataTables_wrapper,
.export-module-wide .dt-container,
.export-module-wide .dataTables_scroll,
.export-module-wide .dt-scroll,
.export-module-wide .dataTables_scrollHead,
.export-module-wide .dt-scroll-head,
.export-module-wide .dataTables_scrollBody,
.export-module-wide .dt-scroll-body {
    width: 100% !important;
    max-width: 100%;
}

.export-module-wide .table-card > .d-flex.justify-content-center > .dataTables_wrapper,
.export-module-wide .table-card > .d-flex.justify-content-center > .dt-container {
    flex: 1 1 100%;
    min-width: 0;
}

.export-module-wide table.dataTable {
    width: 100% !important;
    margin-inline: 0 !important;
}

@media (min-width: 1024.1px) {
    [data-layout=horizontal] .export-module-wide {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        margin-inline: calc(50% - 50vw + .75rem);
    }
}

.national-module-wide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
}

.national-module-wide .container-fluid,
.national-module-wide .tab-content,
.national-module-wide .tab-pane,
.national-module-wide .tab-pane > .d-flex,
.national-module-wide .card,
.national-module-wide .card-body {
    width: 100%;
    max-width: 100% !important;
    min-width: 0;
}

.national-module-wide .table-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.national-module-wide .table-card > .d-flex.justify-content-center {
    width: 100%;
    min-width: 0;
}

.national-module-wide .dataTables_wrapper,
.national-module-wide .dt-container,
.national-module-wide .dataTables_scroll,
.national-module-wide .dt-scroll,
.national-module-wide .dataTables_scrollHead,
.national-module-wide .dt-scroll-head,
.national-module-wide .dataTables_scrollBody,
.national-module-wide .dt-scroll-body {
    width: 100% !important;
    max-width: 100%;
}

.national-module-wide .table-card > .d-flex.justify-content-center > .dataTables_wrapper,
.national-module-wide .table-card > .d-flex.justify-content-center > .dt-container {
    flex: 1 1 100%;
    min-width: 0;
}

.national-module-wide table.dataTable {
    width: 100% !important;
    margin-inline: 0 !important;
}

@media (min-width: 1024.1px) {
    [data-layout=horizontal] .national-module-wide {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        margin-inline: calc(50% - 50vw + .75rem);
    }
}

.public-portal-body {
    min-height: 100vh;
    background: var(--portal-soft);
    color: var(--portal-ink);
}

.particles-surface {
    position: relative;
    overflow: hidden;
}

.portal-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.portal-particles canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.public-hero {
    min-height: 78svh;
    color: var(--portal-white);
    background:
        radial-gradient(circle at 16% 20%, rgba(41, 156, 219, 0.38), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(10, 179, 156, 0.28), transparent 28%),
        linear-gradient(135deg, #17213f 0%, #405189 50%, #123f58 100%);
}

.public-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(24, 34, 62, 0.78) 46%, rgba(17, 78, 88, 0.66)),
        url("../images/truck.jpg") center / cover no-repeat;
    opacity: 0.62;
}

.public-hero__content,
.login-shell__content {
    position: relative;
    z-index: 3;
}

.public-hero__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
    padding: 1.15rem 0;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: var(--portal-white);
    font-size: 1rem;
    font-weight: 700;
}

.public-brand:hover {
    color: var(--portal-white);
}

.public-brand__logo {
    display: block;
    width: auto;
    max-width: 150px;
    height: 32px;
    object-fit: contain;
}

.public-brand__mark,
.login-panel__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: var(--portal-radius);
    background: rgba(255, 255, 255, 0.14);
    color: var(--portal-white);
    font-size: 1.35rem;
}

.public-hero__first-screen {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 2rem;
    min-height: calc(78svh - 82px);
    padding: 1.5rem 0 4rem;
}

.public-hero__copy {
    max-width: 720px;
}

.portal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
}

.public-hero__title {
    max-width: 760px;
    margin: 1rem 0;
    color: var(--portal-white);
    font-size: clamp(3.1rem, 8vw, 6.8rem);
    line-height: 0.94;
    font-weight: 800;
    letter-spacing: 0;
}

.public-hero__text {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    line-height: 1.7;
}

.public-hero__actions,
.public-hero__nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.public-hero__actions {
    margin-top: 1.5rem;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: var(--portal-radius);
    padding: 0.72rem 1rem;
    font-weight: 700;
    line-height: 1.1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.portal-btn:hover {
    transform: translateY(-1px);
}

.portal-btn:disabled,
.portal-btn.disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.portal-btn-primary {
    background: linear-gradient(135deg, var(--portal-info), var(--portal-teal));
    color: var(--portal-white);
    box-shadow: 0 12px 28px rgba(10, 179, 156, 0.24);
}

.portal-btn-primary:hover,
.portal-btn-secondary:hover,
.portal-btn-outline:hover,
.portal-btn-light:hover {
    color: var(--portal-white);
}

.portal-btn-secondary {
    background: var(--portal-primary);
    color: var(--portal-white);
}

.portal-btn-secondary:hover {
    background: #344577;
}

.portal-btn-outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--portal-white);
    background: rgba(255, 255, 255, 0.08);
}

.portal-btn-light {
    color: var(--portal-white);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.18);
}

.portal-btn-outline:hover,
.portal-btn-light:hover {
    background: rgba(255, 255, 255, 0.16);
}

.public-hero__visual {
    min-width: 0;
}

.operations-preview,
.portal-feature-card,
.login-frame,
.login-panel {
    border-radius: var(--portal-radius);
    box-shadow: var(--portal-shadow);
}

.operations-preview {
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.operations-preview__header {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

.operations-preview__metric {
    display: grid;
    gap: 0.75rem;
    margin: 1.2rem 0;
    padding: 1rem;
    border-radius: var(--portal-radius);
    background: rgba(255, 255, 255, 0.12);
}

.operations-preview__metric span,
.operations-preview__grid span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
}

.operations-preview__metric strong {
    color: var(--portal-white);
    font-size: 3rem;
    line-height: 1;
}

.operations-preview__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.operations-preview__grid div {
    min-height: 74px;
    padding: 0.95rem;
    border-radius: var(--portal-radius);
    background: rgba(255, 255, 255, 0.1);
}

.operations-preview__grid strong {
    display: block;
    color: var(--portal-white);
}

.public-system-strip {
    position: relative;
    z-index: 3;
    padding: 0 0 3rem;
    margin-top: -2.2rem;
}

.portal-feature-card {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--portal-line);
    background: var(--portal-white);
}

.portal-feature-card i {
    color: var(--portal-teal);
    font-size: 1.6rem;
}

.portal-feature-card h2 {
    margin: 0.75rem 0 0.4rem;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.portal-feature-card p {
    margin: 0;
    color: var(--portal-muted);
}

.dashboard-release {
    --dash-panel: rgba(255, 255, 255, 0.96);
    --dash-ink: #1f2937;
    --dash-muted: #64748b;
    --dash-line: rgba(64, 81, 137, 0.12);
    --dash-primary: #405189;
    --dash-primary-soft: rgba(64, 81, 137, 0.12);
    --dash-secondary: #299cdb;
    --dash-teal: #0ab39c;
    position: relative;
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 2.2fr);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(64, 81, 137, 0.14);
    border-radius: 18px;
    background: var(--dash-panel);
    box-shadow: 0 22px 50px rgba(31, 41, 55, 0.12), 0 2px 8px rgba(64, 81, 137, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-release:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 60px rgba(31, 41, 55, 0.15), 0 4px 12px rgba(64, 81, 137, 0.08);
}

.release-summary {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 1.85rem;
    color: #fff;
    background:
        radial-gradient(circle at 90% 4%, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(145deg, #35447d 0%, #405189 48%, #167f91 100%);
}

.release-summary::before {
    position: absolute;
    inset: 0;
    opacity: 0.17;
    background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.8px, transparent 0.8px);
    background-size: 18px 18px;
    content: "";
    pointer-events: none;
    -webkit-mask-image: linear-gradient(120deg, transparent 8%, #000 72%);
    mask-image: linear-gradient(120deg, transparent 8%, #000 72%);
}

.release-summary::after {
    position: absolute;
    right: -48px;
    bottom: -58px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.04), 0 0 0 42px rgba(255, 255, 255, 0.025);
    content: "";
    animation: release-float 5.5s ease-in-out infinite;
    pointer-events: none;
}

.release-summary > * {
    position: relative;
    z-index: 1;
}

.release-summary__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.release-kicker,
.release-fresh,
.release-version,
.release-date {
    display: inline-flex;
    align-items: center;
}

.release-kicker {
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.release-fresh {
    gap: 0.42rem;
    padding: 0.36rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.release-fresh__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75f3cf;
    box-shadow: 0 0 0 0 rgba(117, 243, 207, 0.55);
    animation: release-pulse 2s infinite;
}

.release-summary h2 {
    max-width: 340px;
    margin: 0;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 750;
    line-height: 1.18;
}

.release-summary p {
    max-width: 390px;
    margin: 0.7rem 0 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.55;
}

.release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.release-version,
.release-date {
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.release-version {
    border-color: #fff;
    background: #fff;
    color: #35447d;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.14);
}

.release-highlights {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 600;
}

.release-highlights__dots {
    display: inline-flex;
    padding-left: 0.25rem;
}

.release-highlights__dots i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    margin-left: -0.25rem;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.68rem;
    font-style: normal;
    backdrop-filter: blur(6px);
}

.release-list-panel {
    min-width: 0;
    background: linear-gradient(135deg, rgba(64, 81, 137, 0.035), rgba(10, 179, 156, 0.025));
}

.release-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--dash-line);
    background: rgba(255, 255, 255, 0.86);
}

.release-list-header__eyebrow {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--dash-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.release-list-header h3 {
    margin: 0;
    color: var(--dash-ink);
    font-size: 1.05rem;
    font-weight: 750;
}

.release-list-header__count {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--dash-primary-soft);
    color: var(--dash-primary);
    font-size: 1rem;
    font-weight: 800;
}

.release-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.release-item {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    overflow: hidden;
    padding: 1.05rem 1.3rem;
    border-bottom: 1px solid var(--dash-line);
    background: rgba(255, 255, 255, 0.72);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.release-item:last-child {
    border-bottom: 0;
}

.release-item:hover {
    z-index: 1;
    transform: translateX(3px);
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.release-item::before {
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: var(--dash-teal);
    content: "";
    transform: scaleY(0.45);
    transition: transform 0.25s ease;
}

.release-item:hover::before {
    transform: scaleY(1);
}

.release-item--fix::before {
    background: var(--dash-secondary);
}

.release-item--new::before {
    background: #7c65d8;
}

.release-item__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(10, 179, 156, 0.16);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(10, 179, 156, 0.16), rgba(10, 179, 156, 0.07));
    color: var(--dash-teal);
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(10, 179, 156, 0.11);
    transition: transform 0.22s ease;
}

.release-item:hover .release-item__icon {
    transform: rotate(-5deg) scale(1.06);
}

.release-item--fix .release-item__icon {
    border-color: rgba(41, 156, 219, 0.16);
    background: linear-gradient(145deg, rgba(41, 156, 219, 0.16), rgba(41, 156, 219, 0.07));
    color: var(--dash-secondary);
    box-shadow: 0 8px 18px rgba(41, 156, 219, 0.11);
}

.release-item--new .release-item__icon {
    border-color: rgba(124, 101, 216, 0.16);
    background: linear-gradient(145deg, rgba(124, 101, 216, 0.16), rgba(124, 101, 216, 0.07));
    color: #6c55c8;
    box-shadow: 0 8px 18px rgba(124, 101, 216, 0.11);
}

.release-item__content {
    min-width: 0;
}

.release-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

.release-item__type {
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    background: rgba(10, 179, 156, 0.1);
    color: #078a78;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.release-item--fix .release-item__type {
    background: rgba(41, 156, 219, 0.1);
    color: #197aa9;
}

.release-item--new .release-item__type {
    background: rgba(124, 101, 216, 0.11);
    color: #6148bd;
}

.release-item h3 {
    margin: 0;
    color: var(--dash-ink);
    font-size: 1rem;
    font-weight: 750;
}

.release-item p {
    margin: 0;
    color: var(--dash-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.release-item__number {
    align-self: center;
    padding-left: 0.55rem;
    color: var(--dash-primary);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.16;
    pointer-events: none;
    user-select: none;
}

@keyframes release-pulse {
    0% { box-shadow: 0 0 0 0 rgba(117, 243, 207, 0.5); }
    70% { box-shadow: 0 0 0 7px rgba(117, 243, 207, 0); }
    100% { box-shadow: 0 0 0 0 rgba(117, 243, 207, 0); }
}

@keyframes release-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-8px, -7px, 0); }
}

.public-version-footer {
    position: relative;
    z-index: 3;
    border-top: 1px solid var(--portal-line);
    background: var(--portal-white);
    color: var(--portal-muted);
    font-size: 0.82rem;
}

.public-version-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 54px;
}

.public-version-footer__version {
    color: var(--portal-primary);
    font-weight: 700;
}

.login-portal-body {
    display: flex;
    flex-direction: column;
}

.login-shell {
    min-height: calc(100vh - 54px);
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    padding: 3rem 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(41, 156, 219, 0.18), transparent 28%),
        radial-gradient(circle at 86% 78%, rgba(10, 179, 156, 0.2), transparent 30%),
        linear-gradient(135deg, #eef3f7 0%, #ffffff 45%, #e7edf7 100%);
}

.login-frame {
    display: grid;
    grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
    min-height: 690px;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: var(--portal-white);
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: 0;
    box-shadow: none;
}

.login-panel__back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-bottom: 1.4rem;
    color: var(--portal-primary);
    font-weight: 700;
}

.login-panel__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    margin-bottom: 1rem;
    color: var(--portal-primary);
    font-weight: 800;
}

.login-panel__mark {
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-info));
}

.login-panel h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--portal-ink);
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.login-panel p {
    max-width: 44ch;
    margin: 1rem 0 0;
    color: var(--portal-muted);
    line-height: 1.7;
}

.login-panel__sso {
    width: 100%;
    min-height: 54px;
    margin-top: 1rem;
}

.login-panel__hint {
    font-size: 0.88rem;
}

.login-panel__form .form-control {
    min-height: 44px;
    border-color: var(--portal-line);
    border-radius: var(--portal-radius);
}

.login-panel__signup {
    text-align: center;
}

.login-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    padding: 2rem;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 24% 24%, rgba(10, 179, 156, 0.32), transparent 34%),
        radial-gradient(circle at 78% 72%, rgba(41, 156, 219, 0.3), transparent 36%),
        linear-gradient(145deg, rgba(19, 29, 57, 0.98) 0%, rgba(48, 64, 111, 0.94) 54%, rgba(8, 127, 111, 0.82) 100%);
    color: var(--portal-white);
}

.login-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../images/metso_metrics_flip_4c_hr_edited_v2.jpg") center / cover no-repeat;
    opacity: 0.13;
}

.login-visual__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 460px;
}

.login-visual__content > span {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
}

.login-visual__content strong {
    display: block;
    margin-top: 0.55rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: 0;
}

.login-visual__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin-top: 2rem;
}

.login-visual__grid div {
    display: grid;
    place-items: center;
    gap: 0.45rem;
    min-height: 92px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--portal-radius);
    background: rgba(255, 255, 255, 0.11);
}

.login-visual__grid i {
    font-size: 1.5rem;
}

@media (max-width: 991.98px) {
    .dashboard-release {
        grid-template-columns: 1fr;
    }

    .release-list-panel {
        border-top: 1px solid var(--dash-line);
    }

    .public-hero {
        min-height: auto;
    }

    .public-hero__first-screen,
    .login-frame {
        grid-template-columns: 1fr;
    }

    .public-hero__first-screen {
        min-height: 0;
        padding: 1rem 0 3.75rem;
    }

    .public-hero__title {
        font-size: clamp(2.7rem, 14vw, 4.4rem);
    }

    .login-frame {
        min-height: 0;
    }

    .login-visual {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .release-summary {
        padding: 1.45rem;
    }

    .release-summary__top {
        align-items: flex-start;
    }

    .release-summary h2 {
        font-size: 1.35rem;
    }

    .release-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .release-list-header {
        align-items: flex-start;
        padding: 1rem 1.1rem;
    }

    .release-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.8rem;
        padding: 1rem 1.05rem;
    }

    .release-item__number {
        display: none;
    }

    .public-hero__nav,
    .public-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-brand {
        width: 100%;
    }

    .public-brand__logo {
        max-width: 128px;
        height: 28px;
    }

    .public-hero__title,
    .login-panel h1 {
        font-size: 2.25rem;
    }

    .public-hero__visual {
        display: none;
    }

    .public-hero__text,
    .login-panel p {
        font-size: 0.96rem;
    }

    .portal-btn,
    .public-hero__actions a {
        width: 100%;
    }

    .operations-preview__grid,
    .login-visual__grid {
        grid-template-columns: 1fr;
    }

    .login-shell {
        padding: 1rem 0;
    }

    .login-panel {
        padding: 1.25rem;
    }

    .public-version-footer__content {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0.15rem;
        padding-block: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-release,
    .release-item,
    .release-item::before,
    .release-item__icon {
        transition: none;
    }

    .release-summary::after,
    .release-fresh__dot {
        animation: none;
    }
}

.user-plant-access-item {
    gap: 0.35rem;
    max-width: 280px;
    padding: 0 0.65rem;
    color: var(--vz-header-item-color);
    font-size: 0.8125rem;
    line-height: 1;
}

.user-plant-access-item i {
    flex: 0 0 auto;
    color: var(--vz-header-item-sub-color);
    font-size: 1.15rem;
}

.user-plant-access-label {
    flex: 0 0 auto;
    color: var(--vz-header-item-sub-color);
    font-weight: 600;
}

.user-plant-access-values {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .user-plant-access-item {
        max-width: 155px;
        padding: 0 0.35rem;
    }

    .user-plant-access-label {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .user-plant-access-item {
        max-width: 110px;
    }
}

.warehouse-priority--special-freight {
    --warehouse-priority-accent: #b42318;
    --warehouse-priority-bg: #fff1f0;
    --warehouse-priority-hover: #ffe4e1;
    --warehouse-priority-text: #7a271a;
}

.warehouse-priority--customer-at-gate {
    --warehouse-priority-accent: #b54708;
    --warehouse-priority-bg: #fff7ed;
    --warehouse-priority-hover: #ffead5;
    --warehouse-priority-text: #7c2d12;
}

.warehouse-priority--customer-pickup {
    --warehouse-priority-accent: #175cd3;
    --warehouse-priority-bg: #eff8ff;
    --warehouse-priority-hover: #dff0ff;
    --warehouse-priority-text: #1849a9;
}

.warehouse-priority--invoice-same-day {
    --warehouse-priority-accent: #6938ef;
    --warehouse-priority-bg: #f4f3ff;
    --warehouse-priority-hover: #ebe9fe;
    --warehouse-priority-text: #53389e;
}

.warehouse-priority--early-shipment {
    --warehouse-priority-accent: #027a48;
    --warehouse-priority-bg: #ecfdf3;
    --warehouse-priority-hover: #d1fadf;
    --warehouse-priority-text: #05603a;
}

.warehouse-priority--unclassified {
    --warehouse-priority-accent: #667085;
    --warehouse-priority-bg: #f2f4f7;
    --warehouse-priority-hover: #e4e7ec;
    --warehouse-priority-text: #344054;
}

.warehouse-priority-legend {
    padding: 1rem;
    border: 1px solid var(--vz-border-color);
    border-radius: 0.75rem;
    background: var(--vz-card-bg);
}

.warehouse-priority-legend__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.warehouse-priority-legend__fixed-order {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--vz-border-color);
    border-radius: 999px;
    color: var(--vz-secondary-color);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.warehouse-priority-legend__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 0.55rem;
}

.warehouse-priority-legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--warehouse-priority-accent) 28%, transparent);
    border-inline-start: 4px solid var(--warehouse-priority-accent);
    border-radius: 0.5rem;
    background: var(--warehouse-priority-bg);
    color: var(--warehouse-priority-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.warehouse-priority-legend__swatch {
    width: 0.7rem;
    height: 0.7rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--warehouse-priority-accent);
}

.warehouse-priority-legend__rank {
    display: inline-grid;
    place-items: center;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.3rem;
    border-radius: 0.4rem;
    background: var(--warehouse-priority-accent);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
}

#ajax-datatable-warehouse tbody tr.warehouse-priority-row > td {
    background-color: var(--warehouse-priority-bg) !important;
}

#ajax-datatable-warehouse tbody tr.warehouse-priority-row > td:first-child {
    box-shadow: inset 4px 0 0 var(--warehouse-priority-accent);
}

#ajax-datatable-warehouse tbody tr.warehouse-priority-row:hover > td {
    background-color: var(--warehouse-priority-hover) !important;
}

.warehouse-request-priority {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
}

.warehouse-request-priority__number {
    font-weight: 700;
}

.warehouse-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 100%;
    padding: 0.24rem 0.45rem;
    border: 1px solid color-mix(in srgb, var(--warehouse-priority-accent) 32%, transparent);
    border-radius: 999px;
    background: var(--warehouse-priority-bg);
    color: var(--warehouse-priority-text);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
}

.warehouse-priority-badge__rank {
    display: inline-grid;
    place-items: center;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.18rem;
    border-radius: 50%;
    background: var(--warehouse-priority-accent);
    color: #fff;
    font-size: 0.62rem;
}

[data-layout-mode="dark"] .warehouse-priority--special-freight {
    --warehouse-priority-bg: rgba(240, 68, 56, 0.16);
    --warehouse-priority-hover: rgba(240, 68, 56, 0.24);
    --warehouse-priority-text: #fda29b;
}

[data-layout-mode="dark"] .warehouse-priority--customer-at-gate {
    --warehouse-priority-bg: rgba(247, 144, 9, 0.16);
    --warehouse-priority-hover: rgba(247, 144, 9, 0.24);
    --warehouse-priority-text: #fec84b;
}

[data-layout-mode="dark"] .warehouse-priority--customer-pickup {
    --warehouse-priority-bg: rgba(47, 128, 237, 0.16);
    --warehouse-priority-hover: rgba(47, 128, 237, 0.24);
    --warehouse-priority-text: #84caff;
}

[data-layout-mode="dark"] .warehouse-priority--invoice-same-day {
    --warehouse-priority-bg: rgba(127, 86, 217, 0.18);
    --warehouse-priority-hover: rgba(127, 86, 217, 0.26);
    --warehouse-priority-text: #bdb4fe;
}

[data-layout-mode="dark"] .warehouse-priority--early-shipment {
    --warehouse-priority-bg: rgba(18, 183, 106, 0.16);
    --warehouse-priority-hover: rgba(18, 183, 106, 0.24);
    --warehouse-priority-text: #6ce9a6;
}

[data-layout-mode="dark"] .warehouse-priority--unclassified {
    --warehouse-priority-bg: rgba(152, 162, 179, 0.14);
    --warehouse-priority-hover: rgba(152, 162, 179, 0.22);
    --warehouse-priority-text: #d0d5dd;
}

@media (max-width: 767.98px) {
    .warehouse-priority-legend__header {
        align-items: stretch;
        flex-direction: column;
    }

    .warehouse-priority-legend__fixed-order {
        align-self: flex-start;
    }

    .warehouse-priority-legend__items {
        grid-template-columns: 1fr;
    }
}
