:root {
    --wms-ink: #17211d;
    --wms-muted: #68746e;
    --wms-canvas: #f4f5ef;
    --wms-surface: #ffffff;
    --wms-line: #dfe4dd;
    --wms-green: #145c3f;
    --wms-green-deep: #0a3f2c;
    --wms-green-soft: #e4f1e9;
    --wms-amber: #e0a526;
    --wms-red: #b7463a;
    --wms-radius: 16px;
    --wms-shadow: 0 10px 30px rgba(20, 48, 36, .07);
}

body.ui-template-template_2 {
    background: var(--wms-canvas);
    color: var(--wms-ink);
    font-family: "Arial", "Noto Sans Bengali", sans-serif;
    letter-spacing: -.01em;
}

.ui-template-template_2 .template-2-only {
    display: flex !important;
}

.ui-template-template_2 .navbar-vertical {
    width: 304px;
    background:
        radial-gradient(circle at 15% 4%, rgba(65, 150, 105, .22), transparent 26%),
        linear-gradient(165deg, #103f2f 0%, #082f23 58%, #06291e 100%) !important;
    border: 0;
    box-shadow: 14px 0 42px rgba(6, 43, 29, .13);
}

.ui-template-template_2 .navbar-vertical .container-fluid {
    padding: 22px 20px 18px;
}

.ui-template-template_2 .navbar-brand-img {
    width: 58px !important;
    height: 58px;
    margin: 0 !important;
    padding: 6px;
    object-fit: contain;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2), 0 0 0 1px rgba(255, 255, 255, .2);
}

.ui-template-template_2 .user-panel center h2 {
    margin: 22px 0 4px;
    color: #dce9e1 !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ui-template-template_2 .navbar-heading {
    margin: 0 12px 10px;
    color: rgba(216, 235, 224, .48);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.ui-template-template_2 .navbar-divider {
    border-color: rgba(255, 255, 255, .1);
}

.ui-template-template_2 .navbar-vertical .navbar-nav {
    width: 100%;
    margin: 0;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link {
    display: flex;
    min-height: 50px;
    margin: 4px 0;
    padding: 8px 12px;
    align-items: center;
    color: rgba(239, 248, 243, .76);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link:hover,
.ui-template-template_2 .navbar-vertical .navbar-nav .show > .nav-link {
    color: #fff;
    background: rgba(255, 255, 255, .075);
    border-color: rgba(255, 255, 255, .06);
    transform: translateX(2px);
}

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link.active {
    color: #093d2b;
    background: linear-gradient(135deg, #f8fbf7, #e8f2eb);
    border-color: rgba(255, 255, 255, .7);
    box-shadow: 0 8px 22px rgba(0, 22, 13, .17);
}

.ui-template-template_2 .navbar-vertical .nav-link > i {
    display: grid;
    width: 32px;
    height: 32px;
    margin-right: 11px;
    flex: 0 0 32px;
    place-items: center;
    color: #a9d2bb;
    background: rgba(255, 255, 255, .07);
    border-radius: 9px;
    font-size: 15px;
    transition: background-color .18s ease, color .18s ease;
}

.ui-template-template_2 .navbar-vertical .nav-link > span:first-child {
    color: #8fc6aa;
}

.ui-template-template_2 .navbar-vertical .nav-link:hover > i {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.ui-template-template_2 .navbar-vertical .nav-link.active > i {
    color: #fff;
    background: var(--wms-green);
    box-shadow: 0 4px 10px rgba(20, 92, 63, .22);
}

.ui-template-template_2 .navbar-user {
    margin-top: 12px;
    padding: 8px;
    justify-content: space-around;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
}

.ui-template-template_2 .navbar-user-link {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: rgba(255, 255, 255, .68);
    border-radius: 10px;
}

.ui-template-template_2 .navbar-user-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.ui-template-template_2 .main-content {
    margin-left: 304px;
    min-height: 100vh;
    background: var(--wms-canvas) !important;
}

.ui-template-template_2 .workspace-bar {
    display: none;
    min-height: 80px;
    padding: 18px 32px;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--wms-line);
    backdrop-filter: blur(14px);
}

.ui-template-template_2 .workspace-bar strong {
    display: block;
    color: var(--wms-ink);
    font-size: 18px;
    line-height: 1.2;
}

.ui-template-template_2 .workspace-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--wms-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ui-template-template_2 .workspace-bar__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--wms-muted);
    font-size: 12px;
}

.ui-template-template_2 .workspace-status {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: var(--wms-green);
    background: var(--wms-green-soft);
    border-radius: 999px;
    font-weight: 700;
}

.ui-template-template_2 .workspace-status i {
    width: 7px;
    height: 7px;
    background: #2ca66f;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(44, 166, 111, .13);
}

.ui-template-template_2 .header {
    margin: 0;
}

.ui-template-template_2 .header > .container-fluid,
.ui-template-template_2 .main-content > .container-fluid {
    padding: 28px 32px 46px;
}

.ui-template-template_2 .header-body {
    margin-bottom: 24px;
    padding: 0;
    border: 0;
}

.ui-template-template_2 .header-pretitle {
    margin-bottom: 6px;
    color: var(--wms-green) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.ui-template-template_2 .header-title {
    color: var(--wms-ink);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 750;
    letter-spacing: -.04em;
}

.ui-template-template_2 .header-footer {
    padding: 0;
    border: 0;
}

.ui-template-template_2 .card,
.ui-template-template_2 .panel,
.ui-template-template_2 .modal-content {
    border: 1px solid var(--wms-line);
    border-radius: var(--wms-radius);
    background: var(--wms-surface);
    box-shadow: var(--wms-shadow);
}

.ui-template-template_2 .card {
    overflow: hidden;
}

.ui-template-template_2 .card-header,
.ui-template-template_2 .panel-heading {
    min-height: 64px;
    padding: 16px 20px;
    background: var(--wms-surface);
    border-bottom: 1px solid var(--wms-line);
}

.ui-template-template_2 .card-header-title,
.ui-template-template_2 .panel-title {
    color: var(--wms-ink);
    font-size: 15px;
    font-weight: 750;
}

.ui-template-template_2 .card-body,
.ui-template-template_2 .panel-body {
    padding: 20px;
}

.ui-template-template_2 .btn {
    min-height: 38px;
    border-radius: 9px;
    font-weight: 700;
    box-shadow: none !important;
}

.ui-template-template_2 .btn-primary {
    background: var(--wms-green) !important;
    border-color: var(--wms-green) !important;
}

.ui-template-template_2 .btn-primary:hover {
    background: var(--wms-green-deep) !important;
    border-color: var(--wms-green-deep) !important;
}

.ui-template-template_2 .btn-danger {
    background: #fff1ef;
    border-color: #f2d1cc;
    color: var(--wms-red);
}

.ui-template-template_2 .form-control,
.ui-template-template_2 .form-select,
.ui-template-template_2 .input-group-text {
    min-height: 42px;
    border-color: var(--wms-line);
}

.ui-template-template_2 .form-control,
.ui-template-template_2 .form-select {
    color: var(--wms-ink);
    background-color: #fbfcf9;
    border-radius: 9px;
}

.ui-template-template_2 .form-control:focus,
.ui-template-template_2 .form-select:focus {
    background: #fff;
    border-color: #6ba487;
    box-shadow: 0 0 0 3px rgba(20, 92, 63, .1);
}

.ui-template-template_2 .input-group-text {
    color: var(--wms-green);
    background: var(--wms-green-soft);
    border-radius: 9px;
    font-weight: 700;
}

.ui-template-template_2 .card-header-search input {
    border-color: var(--wms-line) !important;
    background: #fbfcf9;
}

.ui-template-template_2 .card-header-search .input-group-text {
    background: var(--wms-green) !important;
    border-color: var(--wms-green) !important;
}

.ui-template-template_2 .table {
    color: var(--wms-ink);
}

.ui-template-template_2 .table thead th {
    padding-top: 12px;
    padding-bottom: 12px;
    color: var(--wms-muted);
    background: #f7f8f4;
    border-bottom: 1px solid var(--wms-line);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ui-template-template_2 .table td {
    padding-top: 14px;
    padding-bottom: 14px;
    border-color: #edf0eb;
    vertical-align: middle;
}

.ui-template-template_2 .badge {
    padding: 6px 9px;
    border-radius: 999px;
    font-weight: 700;
}

.ui-template-template_2 a {
    color: var(--wms-green);
}

.ui-template-template_2 #statistics-result > .row .card {
    min-height: 126px;
    border: 0;
    background: linear-gradient(145deg, #f2f7f3, #fff);
    box-shadow: none;
}

.ui-template-template_2 #statistics-result .h2 {
    color: var(--wms-green-deep);
    font-size: 30px;
    font-weight: 800;
}

.ui-template-template_2 #statistics-result .fe-truck {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--wms-green) !important;
    background: var(--wms-green-soft);
    border-radius: 12px;
}

.ui-template-template_2 #drillDownContainer {
    min-height: 420px;
    height: min(500px, 54vh) !important;
}

.ui-template-template_2 .modal-backdrop {
    background: #061f16;
}

/* Authenticated platform shell */
.ui-template-template_2 .navbar-vertical {
    overflow: hidden;
}

.ui-template-template_2 .navbar-vertical > .container-fluid {
    height: 100vh;
}

.ui-template-template_2 .sidebar-brand {
    width: 100%;
}

.ui-template-template_2 .sidebar-brand__link {
    display: flex;
    padding: 0 5px 20px;
    align-items: center;
    gap: 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ui-template-template_2 .sidebar-brand__copy {
    display: grid;
    min-width: 0;
    line-height: 1.05;
}

.ui-template-template_2 .sidebar-brand__eyebrow {
    width: max-content;
    margin-bottom: 5px;
    padding: 3px 6px;
    color: #bde2cc;
    background: rgba(166, 215, 188, .12);
    border: 1px solid rgba(166, 215, 188, .16);
    border-radius: 999px;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .16em;
}

.ui-template-template_2 .sidebar-brand__copy strong {
    color: #fff;
    font-size: 19px;
    letter-spacing: -.01em;
}

.ui-template-template_2 .sidebar-brand__copy small {
    margin-top: 3px;
    color: rgba(225, 239, 231, .55);
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ui-template-template_2 .main-sidebar {
    min-height: 0;
    overflow: hidden;
}

.ui-template-template_2 .sidebar-content {
    height: 100%;
    padding: 0 2px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(255, 255, 255, .22) transparent;
    scrollbar-width: thin;
}

.ui-template-template_2 .sidebar-content::-webkit-scrollbar {
    width: 4px;
}

.ui-template-template_2 .sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .22);
    border-radius: 20px;
}

.ui-template-template_2 .user-panel {
    padding-top: 16px;
}

.ui-template-template_2 .sidebar-user-card {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 24, 14, .12);
}

.ui-template-template_2 .sidebar-user-card:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .065));
    transform: translateY(-1px);
}

.ui-template-template_2 .sidebar-user-card__avatar {
    position: relative;
    flex: 0 0 auto;
}

.ui-template-template_2 .sidebar-user-card__avatar img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 11px;
}

.ui-template-template_2 .sidebar-user-card__avatar i {
    position: absolute;
    right: -2px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    background: #50c88a;
    border: 2px solid #164c38;
    border-radius: 50%;
}

.ui-template-template_2 .sidebar-user-card__copy {
    display: grid;
    min-width: 0;
    flex: 1;
}

.ui-template-template_2 .sidebar-user-card__copy small {
    margin-bottom: 1px;
    color: rgba(226, 241, 233, .46);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ui-template-template_2 .sidebar-user-card__copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .sidebar-user-card__copy span {
    margin-top: 1px;
    overflow: hidden;
    color: #a9cdbb;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .sidebar-user-card__arrow {
    color: rgba(255, 255, 255, .38);
    font-size: 13px;
}

.ui-template-template_2 .sidebar-content > .navbar-divider {
    margin: 17px 0 !important;
}

.ui-template-template_2 .navbar-vertical .nav-sm {
    margin: 3px 0 10px 23px;
    padding-left: 13px;
    border-left: 1px solid rgba(178, 216, 195, .18);
}

.ui-template-template_2 .navbar-vertical .nav-sm .nav-link {
    min-height: 38px;
    padding: 8px 10px;
    color: rgba(231, 243, 236, .58);
    border-radius: 9px;
    font-size: 11px;
}

.ui-template-template_2 .navbar-vertical .navbar-nav > .nav-item > .nav-link.active {
    color: #093d2b;
    background: linear-gradient(135deg, #f8fbf7, #e8f2eb);
}

.ui-template-template_2 .workspace-bar {
    position: sticky;
    z-index: 100;
    top: 0;
}

.ui-template-template_2 .workspace-bar__identity strong {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.ui-template-template_2 .workspace-bar__identity strong small {
    color: var(--wms-muted);
    font-size: 11px;
    font-weight: 600;
}

.ui-template-template_2 .workspace-profile {
    display: flex;
    padding-left: 18px;
    align-items: center;
    gap: 9px;
    color: var(--wms-ink);
    border-left: 1px solid var(--wms-line);
}

.ui-template-template_2 .workspace-profile:hover {
    color: var(--wms-green);
}

.ui-template-template_2 .workspace-profile img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--wms-line);
}

.ui-template-template_2 .workspace-profile > span {
    display: grid;
}

.ui-template-template_2 .workspace-profile strong {
    max-width: 145px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .workspace-profile small {
    color: var(--wms-muted);
    font-size: 9px;
}

.ui-template-template_2 .main-content > .container-fluid {
    max-width: 1680px;
    margin: 0 auto;
}

.ui-template-template_2 .dashboard-intro {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--wms-muted);
    font-size: 13px;
}

.ui-template-template_2 .dashboard-section-title {
    margin: 30px 0 13px;
}

.ui-template-template_2 .dashboard-section-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--wms-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ui-template-template_2 .dashboard-section-title h2 {
    margin: 0;
    color: var(--wms-ink);
    font-size: 22px;
    font-weight: 750;
}

.ui-template-template_2 .dashboard-divider {
    margin: 30px 0;
    border-color: var(--wms-line);
}

.ui-template-template_2 section.content {
    padding-top: 28px;
    padding-bottom: 42px;
}

.ui-template-template_2 section.content > .container-fluid,
.ui-template-template_2 section.content > .container {
    padding-right: 0;
    padding-left: 0;
}

.ui-template-template_2 .panel {
    overflow: hidden;
}

.ui-template-template_2 .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ui-template-template_2 .panel-heading .options {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ui-template-template_2 .panel-footer,
.ui-template-template_2 .modal-footer {
    padding: 15px 20px;
    background: #f8faf7;
    border-top: 1px solid var(--wms-line);
}

.ui-template-template_2 .form-group {
    margin-bottom: 18px;
}

.ui-template-template_2 .form-group > label,
.ui-template-template_2 .control-label {
    margin-bottom: 7px;
    color: #35423c;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .01em;
}

.ui-template-template_2 textarea.form-control {
    min-height: 100px;
}

.ui-template-template_2 .select2-container--default .select2-selection--single,
.ui-template-template_2 .select2-container--default .select2-selection--multiple {
    min-height: 42px;
    background: #fbfcf9;
    border-color: var(--wms-line);
    border-radius: 9px;
}

.ui-template-template_2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 7px 34px 7px 12px;
    color: var(--wms-ink);
    line-height: 27px;
}

.ui-template-template_2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
    right: 7px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_length,
.ui-template-template_2 .dataTables_wrapper .dataTables_filter {
    margin-bottom: 16px;
    color: var(--wms-muted);
    font-size: 11px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_filter input,
.ui-template-template_2 .dataTables_wrapper .dataTables_length select {
    min-height: 36px;
    margin-left: 7px;
    padding: 6px 10px;
    background: #fbfcf9;
    border: 1px solid var(--wms-line);
    border-radius: 8px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_info {
    padding-top: 16px;
    color: var(--wms-muted);
    font-size: 11px;
}

.ui-template-template_2 .pagination {
    gap: 4px;
}

.ui-template-template_2 .page-link {
    min-width: 34px;
    color: var(--wms-green);
    border-color: var(--wms-line);
    border-radius: 8px !important;
    text-align: center;
}

.ui-template-template_2 .page-item.active .page-link {
    background: var(--wms-green);
    border-color: var(--wms-green);
}

.ui-template-template_2 .modal-header {
    padding: 18px 20px;
    background: #f8faf7;
    border-bottom: 1px solid var(--wms-line);
}

.ui-template-template_2 .modal-body {
    padding: 22px;
}

.ui-template-template_2 .dropdown-menu {
    padding: 7px;
    border: 1px solid var(--wms-line);
    border-radius: 11px;
    box-shadow: 0 14px 35px rgba(20, 48, 36, .12);
}

.ui-template-template_2 .dropdown-item {
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.ui-template-template_2 .dropdown-item:hover,
.ui-template-template_2 .dropdown-item:focus {
    color: var(--wms-green-deep);
    background: var(--wms-green-soft);
}

.ui-template-template_2 .alert {
    border: 0;
    border-left: 4px solid currentColor;
    border-radius: 10px;
}

/* Authentication */
.ui-template-template_2.auth-shell {
    min-height: 100vh;
    border: 0 !important;
    align-items: stretch !important;
    background: #f7f8f5;
    font-family: "Noto Sans Bengali", "SolaimanLipi", Arial, sans-serif;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .navbar-vertical {
        width: 100%;
        height: auto;
        min-height: 68px;
        padding: 0;
        overflow: visible;
    }

    .ui-template-template_2 .navbar-vertical .container-fluid {
        height: auto;
        padding: 10px 16px;
    }

    .ui-template-template_2 .sidebar-brand {
        width: auto;
    }

    .ui-template-template_2 .sidebar-brand__link {
        padding: 0;
        border: 0;
    }

    .ui-template-template_2 .sidebar-brand__copy {
        display: none;
    }

    .ui-template-template_2 .navbar-brand-img {
        width: 46px !important;
        height: 46px;
        border-radius: 12px;
    }

    .ui-template-template_2 #sidebarCollapse {
        max-height: calc(100vh - 68px);
        padding: 12px 0 18px;
        overflow-y: auto;
    }

    .ui-template-template_2 #sidebarCollapse.show,
    .ui-template-template_2 #sidebarCollapse.collapsing {
        flex-basis: 100%;
    }

    .ui-template-template_2 #sidebarCollapse .main-sidebar {
        overflow: visible;
    }

    .ui-template-template_2 .main-content {
        margin-left: 0;
    }

    .ui-template-template_2 .workspace-bar {
        min-height: 66px;
        padding: 14px 18px;
    }

    .ui-template-template_2 .workspace-bar__meta {
        display: none;
    }

    .ui-template-template_2 .workspace-bar__identity strong small {
        display: none;
    }

    .ui-template-template_2 .header > .container-fluid,
    .ui-template-template_2 .main-content > .container-fluid {
        padding: 22px 16px 34px;
    }

    .ui-template-template_2 .card-header {
        display: block;
    }

    .ui-template-template_2 .card-header > div[style] {
        width: 100% !important;
        margin-top: 12px;
    }

    .ui-template-template_2 .card-header-search {
        margin-top: 12px;
    }

    .ui-template-template_2 .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ui-template-template_2 .panel-heading .options {
        width: 100%;
        flex-wrap: wrap;
    }

    .ui-template-template_2 .panel-body,
    .ui-template-template_2 .card-body {
        overflow-x: auto;
    }

    .ui-template-template_2 .dataTables_wrapper {
        min-width: 680px;
    }

    .ui-template-template_2 .workspace-date {
        display: none;
    }

}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .ui-template-template_2 .navbar-vertical {
        width: 276px;
    }

    .ui-template-template_2 .navbar-vertical .container-fluid {
        padding-right: 15px;
        padding-left: 15px;
    }

    .ui-template-template_2 .navbar-vertical.navbar-expand-md.fixed-start + .main-content {
        margin-left: 276px;
    }

}

@media (min-width: 1200px) {
    .ui-template-template_2 .navbar-vertical.navbar-expand-md.fixed-start + .main-content {
        margin-left: 304px;
    }
}


/* =========================================================================
   Template 2 — authentication pages
   Cover (brand / product story / statistics) left, form panel right.
   ========================================================================= */

.ui-template-template_2.auth-shell {
    display: block;
    min-height: 100vh;
    border-top: 0 !important;
    background: #f3f5f2;
}

.ui-template-template_2.auth-shell .auth-t2 {
    display: grid;
    width: 100%;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1.15fr) minmax(480px, .85fr);
}

/* ---- Cover ------------------------------------------------------------ */

.ui-template-template_2 .auth-t2__cover {
    position: sticky;
    top: 0;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    background: #07301f url("workshop-login-hero-realistic.jpg") center center / cover no-repeat;
}

.ui-template-template_2 .auth-t2__cover-slides,
.ui-template-template_2 .auth-t2__cover-slide {
    position: absolute;
    inset: 0;
}

.ui-template-template_2 .auth-t2__cover-slides {
    background: #07301f;
}

.ui-template-template_2 .auth-t2__cover-slide {
    opacity: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.025);
    transition: opacity 1.2s ease-in-out, transform 8s linear;
    will-change: opacity, transform;
}

.ui-template-template_2 .auth-t2__cover-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.ui-template-template_2 .auth-t2__cover-slide--one {
    background-image: url("workshop-login-hero-realistic.jpg");
}

.ui-template-template_2 .auth-t2__cover-slide--two {
    background-image: url("workshop-login-hero-variation-b.jpg");
}

.ui-template-template_2 .auth-t2__cover-slide--three {
    background-image: url("workshop-login-hero-variation-c.jpg");
}

.ui-template-template_2 .auth-t2__cover-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(64, 170, 112, .28), transparent 34%),
        linear-gradient(160deg, rgba(5, 42, 28, .96) 0%, rgba(6, 52, 34, .88) 42%, rgba(7, 48, 31, .68) 72%, rgba(4, 34, 22, .9) 100%);
}

.ui-template-template_2 .auth-t2__cover-body {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    padding: clamp(28px, 4vh, 48px) clamp(32px, 4.5vw, 72px) clamp(22px, 3vh, 32px);
    flex-direction: column;
    gap: clamp(24px, 3.4vh, 40px);
}

.ui-template-template_2 .auth-t2__cover-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ui-template-template_2 .auth-t2__cover-brand img {
    width: 64px;
    height: 64px;
    padding: 7px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .25);
}

.ui-template-template_2 .auth-t2__cover-brand div {
    display: grid;
    gap: 1px;
}

.ui-template-template_2 .auth-t2__cover-brand span {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.ui-template-template_2 .auth-t2__cover-brand strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.ui-template-template_2 .auth-t2__cover-brand small {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
}

.ui-template-template_2 .auth-t2__cover-copy {
    max-width: 640px;
    margin: auto 0;
}

.ui-template-template_2 .auth-t2__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    color: #cfeedb;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ui-template-template_2 .auth-t2__cover-copy h1 {
    margin: 16px 0 10px;
    color: #fff;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.ui-template-template_2 .auth-t2__cover-copy > p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.7;
}

.ui-template-template_2 .auth-t2__points {
    display: grid;
    margin: clamp(20px, 3vh, 30px) 0 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    list-style: none;
}

.ui-template-template_2 .auth-t2__points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ui-template-template_2 .auth-t2__points i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #9be0b8;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    font-size: 17px;
}

.ui-template-template_2 .auth-t2__points span {
    display: grid;
    gap: 1px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.45;
}

.ui-template-template_2 .auth-t2__points strong {
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
}

/* statistics card (login only) */
.ui-template-template_2 .auth-t2__stats {
    padding: 16px 22px 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.ui-template-template_2 .auth-t2__stats-title {
    display: flex;
    padding-bottom: 12px;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 12.5px;
}

.ui-template-template_2 .auth-t2__stats-title i {
    color: #9be0b8;
    font-size: 17px;
}

.ui-template-template_2 .auth-t2__stats-title small {
    display: inline-flex;
    margin-left: auto;
    padding: 3px 9px;
    align-items: center;
    gap: 6px;
    color: #cfeedb;
    background: rgba(155, 224, 184, .14);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.ui-template-template_2 .auth-t2__stats-title small::before {
    width: 6px;
    height: 6px;
    content: "";
    background: #5ad48e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(90, 212, 142, .25);
}

.ui-template-template_2 .auth-t2__stats-grid {
    display: grid;
    padding-top: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ui-template-template_2 .auth-t2__stats-grid > div {
    display: grid;
    padding: 0 12px;
    gap: 3px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.ui-template-template_2 .auth-t2__stats-grid > div:first-child {
    padding-left: 0;
}

.ui-template-template_2 .auth-t2__stats-grid > div:last-child {
    border-right: 0;
}

.ui-template-template_2 .auth-t2__stats-grid strong {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 800;
    line-height: 1.15;
}

.ui-template-template_2 .auth-t2__stats-grid span {
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    line-height: 1.35;
}

.ui-template-template_2 .auth-t2__cover-footer {
    display: flex;
    padding-top: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .7);
    font-size: 11.5px;
}

.ui-template-template_2 .auth-t2__cover-footer i {
    margin-right: 6px;
    color: #9be0b8;
}

/* ---- Form panel ------------------------------------------------------- */

.ui-template-template_2 .auth-t2__panel {
    position: relative;
    display: flex;
    min-height: 100vh;
    padding: clamp(24px, 4vh, 44px) clamp(24px, 4vw, 64px) 22px;
    flex-direction: column;
    background: #fff;
}

.ui-template-template_2 .auth-t2__panel-brand {
    display: none;
    align-items: center;
    gap: 12px;
}

.ui-template-template_2 .auth-t2__panel-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.ui-template-template_2 .auth-t2__panel-brand div {
    display: grid;
}

.ui-template-template_2 .auth-t2__panel-brand strong {
    color: #0a3f2c;
    font-size: 15px;
    font-weight: 800;
}

.ui-template-template_2 .auth-t2__panel-brand small {
    color: #68746e;
    font-size: 12px;
}

.ui-template-template_2 .auth-t2__card {
    width: min(100%, 440px);
    margin: auto;
    padding: 8px 0;
}

.ui-template-template_2 .auth-t2__card--wide {
    width: min(100%, 640px);
}

.ui-template-template_2 .auth-t2__form-heading {
    margin-bottom: 26px;
}

.ui-template-template_2 .auth-t2__form-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #145c3f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.ui-template-template_2 .auth-t2__form-heading h2 {
    margin: 0 0 6px;
    color: #12201a;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 900;
    line-height: 1.2;
}

.ui-template-template_2 .auth-t2__form-heading p {
    margin: 0;
    color: #68746e;
    font-size: 13.5px;
    line-height: 1.6;
}

.ui-template-template_2 .auth-t2__alert {
    display: flex;
    margin-bottom: 18px;
    padding: 12px 14px;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.ui-template-template_2 .auth-t2__alert i {
    margin-top: 2px;
    font-size: 16px;
}

.ui-template-template_2 .auth-t2__alert--danger {
    color: #8a2f25;
    background: #fdf1ef;
    border-color: #f2cfc9;
}

.ui-template-template_2 .auth-t2__alert--success {
    color: #145c3f;
    background: #e9f5ee;
    border-color: #c3e2d0;
}

/* segmented login-method switch */
.ui-template-template_2 .auth-t2__segment {
    display: grid;
    padding: 4px;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: #eef2ee;
    border-radius: 10px;
}

.ui-template-template_2 .auth-t2__segment-item {
    position: relative;
    margin: 0;
}

.ui-template-template_2 .auth-t2__segment-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ui-template-template_2 .auth-t2__segment-item span {
    display: flex;
    min-height: 40px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4f5c56;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.ui-template-template_2 .auth-t2__segment-item span i {
    font-size: 15px;
}

.ui-template-template_2 .auth-t2__segment-item input:checked + span {
    color: #0a3f2c;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 48, 36, .12);
}

.ui-template-template_2 .auth-t2__segment-item input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(20, 92, 63, .25);
}

/* fields */
.ui-template-template_2 .auth-t2__field {
    margin-bottom: 18px;
}

.ui-template-template_2 .auth-t2__field-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.ui-template-template_2 .auth-t2__field-label {
    display: block;
    margin: 0 0 7px;
    color: #2c3933;
    font-size: 13px;
    font-weight: 700;
}

.ui-template-template_2 .auth-t2__control {
    position: relative;
}

.ui-template-template_2 .auth-t2__field-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    color: #7a877f;
    font-size: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color .15s ease;
}

.ui-template-template_2 .auth-t2__control:focus-within .auth-t2__field-icon {
    color: #145c3f;
}

.ui-template-template_2 .auth-t2__field .form-control {
    width: 100%;
    height: 48px;
    padding: 0 44px;
    color: #1b2620;
    background: #fbfcfb;
    border: 1px solid #d5dcd6;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ui-template-template_2 .auth-t2__control--tel .form-control {
    padding-left: 14px;
}

.ui-template-template_2 .auth-t2__field .form-control::placeholder {
    color: #9aa59f;
}

.ui-template-template_2 .auth-t2__field .form-control[readonly] {
    color: #68746e;
    background: #f1f4f1;
}

.ui-template-template_2 .auth-t2__field select.form-control {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
}

.ui-template-template_2 .auth-t2__field .form-control:focus {
    background: #fff;
    border-color: #145c3f;
    box-shadow: 0 0 0 3px rgba(20, 92, 63, .12);
}

.ui-template-template_2 .auth-t2__field .form-control.is-invalid {
    border-color: #b7463a;
}

.ui-template-template_2 .auth-t2__field-action {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 12px;
    color: #4f5c56;
    transform: translateY(-50%);
    pointer-events: none;
}

.ui-template-template_2 .auth-t2__password-toggle {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    pointer-events: auto;
}

.ui-template-template_2 .auth-t2__password-toggle:hover {
    color: #145c3f;
    background: #eef2ee;
}

.ui-template-template_2 .auth-t2__error,
.ui-template-template_2 .auth-t2__field .invalid-feedback {
    display: block;
    margin-top: 6px;
    color: #b7463a;
    font-size: 12px;
}

.ui-template-template_2 .auth-t2__error:empty {
    display: none;
}

.ui-template-template_2 .auth-t2__hint {
    margin: 7px 0 0;
    color: #68746e;
    font-size: 12px;
    line-height: 1.5;
}

.ui-template-template_2 .auth-t2__link {
    color: #145c3f;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ui-template-template_2 .auth-t2__link:hover {
    color: #0a3f2c;
    text-decoration: underline;
}

.ui-template-template_2 .auth-t2__options {
    display: flex;
    margin: -4px 0 20px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ui-template-template_2 .auth-t2__check {
    display: inline-flex;
    margin: 0;
    align-items: center;
    gap: 9px;
    color: #4f5c56;
    font-size: 13px;
    cursor: pointer;
}

.ui-template-template_2 .auth-t2__check input {
    width: 16px;
    height: 16px;
    accent-color: #145c3f;
}

/* buttons */
.ui-template-template_2 .auth-t2__submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(180deg, #187049 0%, #145c3f 100%);
    border: 1px solid #124f37;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(20, 92, 63, .22);
    font-size: 14.5px;
    font-weight: 800;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}

.ui-template-template_2 .auth-t2__submit i {
    font-size: 16px;
}

.ui-template-template_2 .auth-t2__submit:hover,
.ui-template-template_2 .auth-t2__submit:focus {
    color: #fff;
    background: #0f4a33;
    box-shadow: 0 10px 22px rgba(20, 92, 63, .3);
    transform: translateY(-1px);
}

.ui-template-template_2 .auth-t2__submit:disabled {
    opacity: .75;
    transform: none;
}

.ui-template-template_2 .auth-t2__submit + .auth-t2__field {
    margin-top: 18px;
}

.ui-template-template_2 .auth-t2__switch,
.ui-template-template_2 .auth-t2__back {
    display: block;
    margin: 20px 0 0;
    color: #68746e;
    text-align: center;
    font-size: 13px;
}

.ui-template-template_2 .auth-t2__switch a,
.ui-template-template_2 .auth-t2__back {
    color: #145c3f;
    font-weight: 700;
}

.ui-template-template_2 .auth-t2__back i {
    margin-right: 4px;
}

.ui-template-template_2 .auth-t2__back:hover,
.ui-template-template_2 .auth-t2__switch a:hover {
    color: #0a3f2c;
    text-decoration: underline;
}

/* notice block (verify page) */
.ui-template-template_2 .auth-t2__notice {
    display: flex;
    margin-bottom: 22px;
    padding: 18px;
    align-items: flex-start;
    gap: 14px;
    background: #f3f7f4;
    border: 1px solid #d9e5dd;
    border-radius: 12px;
}

.ui-template-template_2 .auth-t2__notice i {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #145c3f;
    background: #fff;
    border: 1px solid #d9e5dd;
    border-radius: 12px;
    font-size: 20px;
}

.ui-template-template_2 .auth-t2__notice strong {
    display: block;
    margin-bottom: 3px;
    color: #12201a;
    font-size: 14px;
    font-weight: 800;
}

.ui-template-template_2 .auth-t2__notice p {
    margin: 0;
    color: #4f5c56;
    font-size: 13px;
    line-height: 1.6;
}

/* register: grouped sections + grids */
.ui-template-template_2 .auth-t2__group {
    min-width: 0;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
}

.ui-template-template_2 .auth-t2__group legend {
    display: flex;
    width: 100%;
    margin: 0 0 14px;
    padding: 0 0 8px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e3e8e3;
    color: #0a3f2c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.ui-template-template_2 .auth-t2__group legend i {
    color: #145c3f;
}

.ui-template-template_2 .auth-t2__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.ui-template-template_2 .auth-t2__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ui-template-template_2 .auth-t2__control--tel .intl-tel-input {
    display: block;
    height: auto;
}

.ui-template-template_2 .auth-t2__panel-footer {
    display: flex;
    margin-top: 24px;
    padding-top: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #e3e8e3;
    color: #8a958f;
    font-size: 11.5px;
}

/* ---- OTP step ---------------------------------------------------------- */

.ui-template-template_2 .auth-t2__hint i {
    margin-right: 4px;
    color: #145c3f;
}

.ui-template-template_2 .auth-t2__hint--center {
    margin-top: 16px;
    text-align: center;
}

.ui-template-template_2 .auth-t2__otp-sent {
    display: flex;
    margin-bottom: 22px;
    padding: 12px 14px;
    align-items: center;
    gap: 12px;
    background: #f1f7f3;
    border: 1px solid #cfe3d6;
    border-radius: 12px;
}

.ui-template-template_2 .auth-t2__otp-sent > i {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #145c3f;
    background: #fff;
    border: 1px solid #cfe3d6;
    border-radius: 10px;
    font-size: 18px;
}

.ui-template-template_2 .auth-t2__otp-sent > div {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 1px;
}

.ui-template-template_2 .auth-t2__otp-sent span {
    color: #68746e;
    font-size: 11.5px;
}

.ui-template-template_2 .auth-t2__otp-sent strong {
    color: #12201a;
    font-family: Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: .03em;
}

.ui-template-template_2 .auth-t2__otp-change {
    padding: 6px 10px;
    color: #145c3f;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ui-template-template_2 .auth-t2__otp-change:hover {
    background: #fff;
    border-color: #cfe3d6;
}

.ui-template-template_2 .auth-t2__otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.ui-template-template_2 .auth-t2__otp-box {
    width: 100%;
    height: 64px;
    padding: 0;
    color: #12201a;
    background: #fbfcfb;
    border: 1.5px solid #d5dcd6;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    caret-color: #145c3f;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .1s ease;
}

.ui-template-template_2 .auth-t2__otp-box:focus {
    outline: 0;
    background: #fff;
    border-color: #145c3f;
    box-shadow: 0 0 0 4px rgba(20, 92, 63, .14);
    transform: translateY(-1px);
}

.ui-template-template_2 .auth-t2__otp-boxes.is-complete .auth-t2__otp-box {
    background: #eef7f1;
    border-color: #145c3f;
}

.ui-template-template_2 .auth-t2__otp-box.is-invalid {
    background: #fdf3f1;
    border-color: #b7463a;
    animation: auth-t2-shake .3s ease;
}

@keyframes auth-t2-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.ui-template-template_2 .auth-t2__otp-meta {
    display: flex;
    min-height: 30px;
    margin-top: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
}

.ui-template-template_2 .auth-t2__otp-timer {
    color: #68746e;
}

.ui-template-template_2 .auth-t2__otp-timer i {
    margin-right: 4px;
}

.ui-template-template_2 .auth-t2__otp-timer b {
    color: #12201a;
    font-weight: 800;
}

.ui-template-template_2 .auth-t2__otp-resend {
    display: inline-flex;
    margin-left: auto;
    padding: 6px 10px;
    align-items: center;
    gap: 6px;
    color: #145c3f;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 800;
    transition: background .15s ease, color .15s ease;
}

.ui-template-template_2 .auth-t2__otp-resend:not(:disabled):hover {
    background: #eef2ee;
}

.ui-template-template_2 .auth-t2__otp-resend:disabled {
    color: #a3ada7;
    cursor: not-allowed;
}

.ui-template-template_2 .fe-spin {
    display: inline-block;
    animation: auth-t2-spin 1s linear infinite;
}

@keyframes auth-t2-spin {
    to { transform: rotate(360deg); }
}

/* ---- Feedback: validation, caps lock, strength, loading ---------------- */

.ui-template-template_2 .auth-t2__error:not(:empty)::before {
    margin-right: 4px;
    content: "\26A0";
    font-size: 11px;
}

.ui-template-template_2 .auth-t2__field .form-control.is-invalid:focus {
    border-color: #b7463a;
    box-shadow: 0 0 0 3px rgba(183, 70, 58, .14);
}

.ui-template-template_2 .auth-t2__control:has(.form-control.is-invalid) .auth-t2__field-icon {
    color: #b7463a;
}

.ui-template-template_2 .auth-t2__capslock {
    display: inline-flex;
    margin-top: 6px;
    padding: 4px 9px;
    align-items: center;
    gap: 6px;
    color: #7a5a00;
    background: #fff6db;
    border: 1px solid #f1dc9a;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 700;
}

.ui-template-template_2 .auth-t2__strength {
    display: none;
    margin-top: 8px;
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: center;
    gap: 5px;
}

.ui-template-template_2 .auth-t2__strength.is-active {
    display: grid;
}

.ui-template-template_2 .auth-t2__strength span {
    height: 4px;
    background: #e3e8e3;
    border-radius: 999px;
    transition: background .2s ease;
}

.ui-template-template_2 .auth-t2__strength-label {
    min-width: 58px;
    padding-left: 6px;
    color: #68746e;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 700;
    text-align: right;
}

.ui-template-template_2 .auth-t2__strength[data-score="1"] span:nth-child(-n+1) { background: #c8463a; }
.ui-template-template_2 .auth-t2__strength[data-score="2"] span:nth-child(-n+2) { background: #e0a526; }
.ui-template-template_2 .auth-t2__strength[data-score="3"] span:nth-child(-n+3) { background: #5aa96f; }
.ui-template-template_2 .auth-t2__strength[data-score="4"] span:nth-child(-n+4) { background: #145c3f; }
.ui-template-template_2 .auth-t2__strength[data-score="1"] .auth-t2__strength-label { color: #c8463a; }
.ui-template-template_2 .auth-t2__strength[data-score="2"] .auth-t2__strength-label { color: #a8780e; }
.ui-template-template_2 .auth-t2__strength[data-score="3"] .auth-t2__strength-label,
.ui-template-template_2 .auth-t2__strength[data-score="4"] .auth-t2__strength-label { color: #145c3f; }

.ui-template-template_2 .auth-t2__submit.is-loading {
    cursor: progress;
    opacity: .85;
    transform: none;
}

/* keyboard focus rings */
.ui-template-template_2 .auth-t2 a:focus-visible,
.ui-template-template_2 .auth-t2 button:focus-visible,
.ui-template-template_2 .auth-t2__check input:focus-visible {
    outline: 3px solid rgba(20, 92, 63, .35);
    outline-offset: 2px;
    border-radius: 6px;
}

.ui-template-template_2 .auth-t2__submit:focus-visible {
    outline-offset: 3px;
}

.ui-template-template_2 .auth-t2 ::selection {
    color: #fff;
    background: #145c3f;
}

@media (prefers-reduced-motion: reduce) {
    .ui-template-template_2 .auth-t2 *,
    .ui-template-template_2 .auth-t2 *::before,
    .ui-template-template_2 .auth-t2 *::after {
        transition: none !important;
        animation: none !important;
    }

}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 1399.98px) {
    .ui-template-template_2.auth-shell .auth-t2 {
        grid-template-columns: minmax(0, 1fr) minmax(460px, .9fr);
    }

    .ui-template-template_2 .auth-t2__stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 0;
    }

    .ui-template-template_2 .auth-t2__stats-grid > div:nth-child(3) {
        border-right: 0;
    }

    .ui-template-template_2 .auth-t2__stats-grid > div:nth-child(4) {
        padding-left: 0;
    }
}

@media (max-width: 1199.98px) {
    .ui-template-template_2.auth-shell .auth-t2 {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    }

    .ui-template-template_2 .auth-t2__points {
        grid-template-columns: 1fr;
    }

    .ui-template-template_2 .auth-t2__points li:nth-child(n+4) {
        display: none;
    }
}

@media (max-height: 820px) and (min-width: 992px) {
    .ui-template-template_2 .auth-t2__cover-body {
        gap: 18px;
    }

    .ui-template-template_2 .auth-t2__cover-copy > p {
        display: none;
    }

    .ui-template-template_2 .auth-t2__field {
        margin-bottom: 14px;
    }

    .ui-template-template_2 .auth-t2__field .form-control,
    .ui-template-template_2 .auth-t2__submit {
        height: 44px;
        min-height: 44px;
    }

    .ui-template-template_2 .auth-t2__form-heading {
        margin-bottom: 18px;
    }
}

@media (max-width: 991.98px) {
    .ui-template-template_2.auth-shell .auth-t2 {
        display: block;
    }

    .ui-template-template_2 .auth-t2__cover {
        display: none;
    }

    .ui-template-template_2 .auth-t2__panel {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 22px 20px 18px;
    }

    .ui-template-template_2 .auth-t2__panel-brand {
        display: flex;
        padding-bottom: 18px;
        border-bottom: 1px solid #e3e8e3;
    }

    .ui-template-template_2 .auth-t2__card {
        margin: 0 auto;
        padding: 32px 0 24px;
    }

    .ui-template-template_2 .auth-t2__panel-footer {
        margin-top: auto;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .ui-template-template_2 .auth-t2__grid,
    .ui-template-template_2 .auth-t2__grid--3 {
        grid-template-columns: 1fr;
    }

    .ui-template-template_2 .auth-t2__segment-item span {
        font-size: 12px;
    }

    .ui-template-template_2 .auth-t2__otp-boxes {
        gap: 5px;
    }

    .ui-template-template_2 .auth-t2__otp-box {
        height: 50px;
        font-size: 22px;
    }

    .ui-template-template_2 .auth-t2__otp-sent {
        flex-wrap: wrap;
    }
}

/* =========================================================================
   Template 2 — platform polish (workspace bar, tables, toolbars, buttons)
   ========================================================================= */

/* ---- Workspace bar: breadcrumb + page context ------------------------- */

.ui-template-template_2 .workspace-bar {
    min-height: 72px;
    padding: 12px 32px;
    gap: 16px;
}

.ui-template-template_2 .workspace-bar__identity {
    min-width: 0;
}

.ui-template-template_2 .workspace-crumbs {
    display: flex;
    margin-bottom: 3px;
    align-items: center;
    gap: 6px;
    color: var(--wms-muted);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.ui-template-template_2 .workspace-crumbs a {
    color: var(--wms-green);
}

.ui-template-template_2 .workspace-crumbs a:hover {
    text-decoration: underline;
}

.ui-template-template_2 .workspace-crumbs i {
    color: #a3ada7;
    font-size: 13px;
}

.ui-template-template_2 .workspace-crumbs [aria-current] {
    color: var(--wms-ink);
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-template-template_2 .workspace-bar__identity strong {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ui-template-template_2 .workspace-bar__identity strong small {
    padding: 3px 8px;
    color: var(--wms-green);
    background: var(--wms-green-soft);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0;
}

.ui-template-template_2 .workspace-bar__meta {
    gap: 14px;
}

.ui-template-template_2 .workspace-logout {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--wms-muted);
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 10px;
    font-size: 15px;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.ui-template-template_2 .workspace-logout:hover {
    color: var(--wms-red);
    background: #fff1ef;
    border-color: #f2d1cc;
}

/* ---- Cards / panels ---------------------------------------------------- */

.ui-template-template_2 .panel-heading,
.ui-template-template_2 .card-header {
    min-height: 62px;
    padding: 12px 20px;
}

.ui-template-template_2 .panel-title,
.ui-template-template_2 .card-header-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.ui-template-template_2 .panel-body {
    padding: 20px;
}

/* ---- Buttons: calmer semantic palette ---------------------------------- */

.ui-template-template_2 .btn {
    display: inline-flex;
    padding: 6px 14px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.3;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}

.ui-template-template_2 .btn:active {
    transform: translateY(1px);
}

.ui-template-template_2 .btn-sm,
.ui-template-template_2 .btn-group-sm > .btn {
    min-height: 32px;
    padding: 4px 11px;
    border-radius: 8px;
    font-size: 11.5px;
}

.ui-template-template_2 .btn-xs {
    min-height: 28px;
    padding: 2px 9px;
    border-radius: 7px;
    font-size: 11px;
}

.ui-template-template_2 .btn-primary,
.ui-template-template_2 .btn-success:not(.dt-button) {
    color: #fff !important;
    background: var(--wms-green) !important;
    border-color: var(--wms-green) !important;
}

.ui-template-template_2 .btn-primary:hover,
.ui-template-template_2 .btn-success:not(.dt-button):hover {
    background: var(--wms-green-deep) !important;
    border-color: var(--wms-green-deep) !important;
}

.ui-template-template_2 .btn-warning {
    color: #7a4b00 !important;
    background: #fff3d6 !important;
    border-color: #f3dca3 !important;
}

.ui-template-template_2 .btn-warning:hover {
    background: #ffe9b8 !important;
    border-color: #ebc97b !important;
}

.ui-template-template_2 .btn-info {
    color: #0f4c81 !important;
    background: #e8f2fb !important;
    border-color: #c7dcef !important;
}

.ui-template-template_2 .btn-info:hover {
    background: #d9eaf8 !important;
}

.ui-template-template_2 .btn-danger {
    color: var(--wms-red) !important;
    background: #fff1ef !important;
    border-color: #f2d1cc !important;
}

.ui-template-template_2 .btn-danger:hover {
    color: #fff !important;
    background: var(--wms-red) !important;
    border-color: var(--wms-red) !important;
}

.ui-template-template_2 .btn-secondary,
.ui-template-template_2 .btn-light,
.ui-template-template_2 .btn-default,
.ui-template-template_2 .btn-outline-secondary {
    color: #35423c !important;
    background: #fff !important;
    border-color: var(--wms-line) !important;
}

.ui-template-template_2 .btn-secondary:hover,
.ui-template-template_2 .btn-light:hover,
.ui-template-template_2 .btn-default:hover,
.ui-template-template_2 .btn-outline-secondary:hover {
    background: #f1f4f0 !important;
    border-color: #c9d1ca !important;
}

.ui-template-template_2 .btn-outline-primary {
    color: var(--wms-green) !important;
    background: #fff !important;
    border-color: #b8d3c4 !important;
}

.ui-template-template_2 .btn-outline-primary:hover {
    background: var(--wms-green-soft) !important;
}

.ui-template-template_2 .btn:disabled,
.ui-template-template_2 .btn.disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Table action buttons: compact, equal */
.ui-template-template_2 .table td .btn {
    min-height: 30px;
    padding: 3px 10px;
    border-radius: 7px;
    font-size: 11px;
    white-space: nowrap;
}

.ui-template-template_2 .table td .btn + .btn {
    margin-left: 4px;
}

/* ---- Tables: denser, calmer -------------------------------------------- */

.ui-template-template_2 .table {
    margin-bottom: 0;
    font-size: 12.5px;
}

.ui-template-template_2 .table thead th {
    padding: 10px 12px;
    line-height: 1.3;
    white-space: nowrap;
    vertical-align: middle;
}

.ui-template-template_2 .table td {
    padding: 9px 12px;
    line-height: 1.45;
    border-color: #edf0eb;
}

.ui-template-template_2 .table-bordered,
.ui-template-template_2 .table-bordered th,
.ui-template-template_2 .table-bordered td {
    border-color: #e8ece7 !important;
}

.ui-template-template_2 .table-bordered thead th {
    border-bottom-width: 1px !important;
}

.ui-template-template_2 .table tbody tr {
    transition: background .12s ease;
}

.ui-template-template_2 .table tbody tr:hover {
    background: #f6f9f5;
}

.ui-template-template_2 .table td a:not(.btn) {
    color: var(--wms-green);
    font-weight: 700;
}

.ui-template-template_2 .table td a:not(.btn):hover {
    text-decoration: underline;
}

.ui-template-template_2 .table td.dataTables_empty {
    padding: 44px 16px;
    color: var(--wms-muted);
    text-align: center;
    font-size: 13px;
}

.ui-template-template_2 .table td.dataTables_empty::before {
    display: block;
    margin-bottom: 8px;
    content: "\2205";
    color: #c3ccc5;
    font-size: 26px;
}

/* DataTables responsive "+" control */
.ui-template-template_2 table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
.ui-template-template_2 table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: var(--wms-green);
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    font-size: 13px;
    line-height: 18px;
}

.ui-template-template_2 table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before {
    background: var(--wms-red);
}

.ui-template-template_2 table.dataTable > tbody > tr.child ul.dtr-details > li {
    padding: 6px 0;
    border-bottom: 1px solid #edf0eb;
}

.ui-template-template_2 table.dataTable > tbody > tr.child span.dtr-title {
    min-width: 120px;
    color: var(--wms-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* sort indicators */
.ui-template-template_2 table.dataTable thead .sorting::after,
.ui-template-template_2 table.dataTable thead .sorting_asc::after,
.ui-template-template_2 table.dataTable thead .sorting_desc::after,
.ui-template-template_2 table.dataTable thead .sorting::before,
.ui-template-template_2 table.dataTable thead .sorting_asc::before,
.ui-template-template_2 table.dataTable thead .sorting_desc::before {
    opacity: .25;
}

.ui-template-template_2 table.dataTable thead .sorting_asc::before,
.ui-template-template_2 table.dataTable thead .sorting_desc::after {
    color: var(--wms-green);
    opacity: 1;
}

/* ---- DataTables toolbar ----------------------------------------------- */

.ui-template-template_2 .dataTables_wrapper > .row.mb-2 {
    display: flex;
    margin: 0 0 14px;
    padding: 12px 14px;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    background: #f7f9f6;
    border: 1px solid var(--wms-line);
    border-radius: 12px;
}

.ui-template-template_2 .dataTables_wrapper > .row.mb-2 > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    flex: 0 0 auto;
}

.ui-template-template_2 .dataTables_wrapper > .row.mb-2 > .custom-filter-wrap {
    display: flex;
    flex: 1 1 320px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
}

.ui-template-template_2 .dataTables_wrapper > .row.mb-2 > .col-md-2:last-child {
    margin-left: auto;
}

.ui-template-template_2 .custom-filter-wrap .input-group {
    width: auto;
    min-width: 170px;
    flex: 0 1 auto;
}

.ui-template-template_2 .custom-filter-wrap .input-group .input-group-text {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px 0 0 8px;
    font-size: 11px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ui-template-template_2 .custom-filter-wrap .form-control,
.ui-template-template_2 .custom-filter-wrap .form-select,
.ui-template-template_2 .custom-filter-wrap .select2-container--default .select2-selection--single {
    min-height: 36px;
    height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
}

.ui-template-template_2 .custom-filter-wrap .select2-container {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 150px;
}

.ui-template-template_2 .custom-filter-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 4px 30px 4px 10px;
    font-size: 12px;
    line-height: 26px;
}

.ui-template-template_2 .custom-filter-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_length,
.ui-template-template_2 .dataTables_wrapper .dataTables_filter {
    margin: 0;
    white-space: nowrap;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_filter label {
    display: flex;
    margin: 0;
    align-items: center;
    gap: 6px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_filter input {
    width: 190px;
    min-height: 36px;
    margin: 0;
    padding-left: 30px;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a877f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 10px center no-repeat;
    font-size: 12px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_filter input:focus {
    outline: 0;
    border-color: #6ba487;
    box-shadow: 0 0 0 3px rgba(20, 92, 63, .1);
}

.ui-template-template_2 .dataTables_wrapper .dataTables_length select {
    min-height: 36px;
    margin: 0 6px;
    padding: 0 26px 0 10px;
    background-color: #fff;
    font-size: 12px;
}

.ui-template-template_2 .dt-buttons {
    display: inline-flex;
    gap: 6px;
}

.ui-template-template_2 .dt-buttons .btn,
.ui-template-template_2 .dt-button {
    min-height: 36px;
    padding: 4px 11px;
    color: #35423c !important;
    background: #fff !important;
    border: 1px solid var(--wms-line) !important;
    border-radius: 8px;
    font-size: 11.5px;
}

.ui-template-template_2 .dt-buttons .btn:hover,
.ui-template-template_2 .dt-button:hover {
    color: var(--wms-green) !important;
    background: var(--wms-green-soft) !important;
    border-color: #b8d3c4 !important;
}

.ui-template-template_2 .dt-buttons .btn i,
.ui-template-template_2 .dt-buttons .btn .fe {
    display: inline;
    margin: 0 4px 0 0;
}

/* processing overlay */
.ui-template-template_2 .dataTables_processing {
    top: 50% !important;
    left: 50% !important;
    display: flex;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 16px 10px 40px !important;
    align-items: center;
    color: var(--wms-ink);
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid var(--wms-line) !important;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(20, 48, 36, .14);
    font-size: 12px;
    font-weight: 700;
    transform: translate(-50%, -50%);
}

.ui-template-template_2 .dataTables_processing::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    content: "";
    border: 2px solid var(--wms-green-soft);
    border-top-color: var(--wms-green);
    border-radius: 50%;
    animation: auth-t2-spin .8s linear infinite;
}

/* footer: info + pagination */
.ui-template-template_2 .dataTables_wrapper > .row.mt-2 {
    margin-top: 14px !important;
    align-items: center;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_info {
    padding-top: 0;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: flex-end;
}

.ui-template-template_2 .page-link {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.ui-template-template_2 .page-link:hover {
    color: var(--wms-green-deep);
    background: var(--wms-green-soft);
    border-color: #b8d3c4;
}

.ui-template-template_2 .page-item.disabled .page-link {
    color: #b3bcb6;
    background: #fafbf9;
}

/* ---- Forms ------------------------------------------------------------- */

.ui-template-template_2 fieldset {
    margin-bottom: 18px;
    padding: 16px 18px 6px;
    border: 1px solid var(--wms-line);
    border-radius: 12px;
}

.ui-template-template_2 fieldset > legend {
    float: none;
    width: auto;
    margin: 0 0 6px;
    padding: 0 8px;
    color: var(--wms-green);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ui-template-template_2 .form-control::placeholder {
    color: #9aa59f;
}

.ui-template-template_2 .form-control[readonly],
.ui-template-template_2 .form-control:disabled {
    color: var(--wms-muted);
    background-color: #f1f4f1;
}

.ui-template-template_2 .form-select {
    background-position: right 12px center;
}

.ui-template-template_2 .invalid-feedback,
.ui-template-template_2 label.error {
    color: var(--wms-red);
    font-size: 11.5px;
    font-weight: 600;
}

.ui-template-template_2 .form-control.is-invalid,
.ui-template-template_2 .form-group.error .form-control {
    border-color: var(--wms-red);
}

.ui-template-template_2 .main-content a:focus-visible,
.ui-template-template_2 .main-content button:focus-visible,
.ui-template-template_2 .navbar-vertical a:focus-visible {
    outline: 3px solid rgba(20, 92, 63, .35);
    outline-offset: 2px;
}

/* ---- Stat tiles on list pages (Without job / With job) ----------------- */

.ui-template-template_2 .panel-body > .row:first-child .card {
    margin-bottom: 0;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ui-template-template_2 .panel-body > .row:first-child .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(20, 48, 36, .1);
}

/* ---- Sidebar refinements ---------------------------------------------- */

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12.5px;
}

.ui-template-template_2 .sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.ui-template-template_2 .main-content::-webkit-scrollbar,
.ui-template-template_2 .panel-body::-webkit-scrollbar,
.ui-template-template_2 .card-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.ui-template-template_2 .panel-body::-webkit-scrollbar-thumb,
.ui-template-template_2 .card-body::-webkit-scrollbar-thumb {
    background: #c9d1ca;
    border-radius: 999px;
}

/* ---- Notifications ----------------------------------------------------- */

.ui-template-template_2 .notifyjs-bootstrap-base {
    padding: 12px 16px 12px 40px;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(20, 48, 36, .18);
    font-size: 12.5px;
    font-weight: 700;
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 991.98px) {
    .ui-template-template_2 .workspace-bar {
        min-height: 60px;
        padding: 10px 16px;
    }

    .ui-template-template_2 .workspace-crumbs {
        display: none;
    }

    .ui-template-template_2 .workspace-bar__identity strong {
        font-size: 16px;
    }

    .ui-template-template_2 .dataTables_wrapper > .row.mb-2 > .col-md-2:last-child {
        width: 100%;
        margin-left: 0;
    }

    .ui-template-template_2 .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }

    .ui-template-template_2 .dataTables_wrapper .dataTables_filter label {
        width: 100%;
    }

    .ui-template-template_2 .custom-filter-wrap .input-group {
        width: 100%;
    }

    .ui-template-template_2 .dataTables_wrapper .dataTables_paginate {
        justify-content: center;
        margin-top: 10px;
    }

    .ui-template-template_2 .dataTables_wrapper .dataTables_info {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .workspace-bar {
        display: flex !important;
        min-height: 56px;
    }

    .ui-template-template_2 .workspace-bar__meta {
        display: flex;
        gap: 8px;
    }

    .ui-template-template_2 .workspace-status,
    .ui-template-template_2 .workspace-date,
    .ui-template-template_2 .workspace-profile > span {
        display: none;
    }

    .ui-template-template_2 .workspace-profile {
        padding-left: 0;
        border-left: 0;
    }

    .ui-template-template_2 .panel-heading,
    .ui-template-template_2 .card-header {
        min-height: 0;
        padding: 12px 16px;
    }

    .ui-template-template_2 .panel-body {
        padding: 14px;
    }

    .ui-template-template_2 .dataTables_wrapper {
        min-width: 0;
    }
}

/* ---- Toolbar filters (legacy .input-group-addon markup) ---------------- */

.ui-template-template_2 .dataTables_wrapper > .row.mb-2 > .custom-filter-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.ui-template-template_2 .dataTables_wrapper > .row.mb-2 > .col-md-2:last-child {
    flex: 0 0 auto;
}

.ui-template-template_2 .custom-filter-wrap > .row {
    display: flex;
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.ui-template-template_2 .custom-filter-wrap > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    flex: 1 1 190px;
}

.ui-template-template_2 .custom-filter-wrap .input-group {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: stretch;
}

.ui-template-template_2 .custom-filter-wrap .input-group-addon {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 0 10px;
    align-items: center;
    color: var(--wms-green);
    background: var(--wms-green-soft);
    border: 1px solid var(--wms-line);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ui-template-template_2 .custom-filter-wrap .input-group > .form-select,
.ui-template-template_2 .custom-filter-wrap .input-group > .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.ui-template-template_2 .custom-filter-wrap .input-group > .select2-container {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

.ui-template-template_2 .custom-filter-wrap .input-group > .select2-container .select2-selection--single {
    border-radius: 0 8px 8px 0;
}

/* ---- Icon-action cells: keep buttons on one line ----------------------- */

.ui-template-template_2 .table td:has(> .btn) {
    line-height: 1;
}

.ui-template-template_2 .table td > .btn {
    margin: 0 3px 3px 0 !important;
    vertical-align: middle;
}

.ui-template-template_2 .table td > .btn > .fe:only-child,
.ui-template-template_2 .table td > .btn > em:only-child,
.ui-template-template_2 .table td > .btn > span.fe:only-child {
    font-size: 13px;
}

.ui-template-template_2 .table td > .btn:not(:has(> :not(.fe))):not(:has(> :not(em))) {
    width: 30px;
    padding: 0;
}

.ui-template-template_2 .table td > .btn + .btn {
    margin-left: 0;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .workspace-profile {
        display: none;
    }

    .ui-template-template_2 #statistics-result > .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
    }

    .ui-template-template_2 #statistics-result > .row > [class*="col-"] {
        width: auto;
        max-width: none;
        padding: 0;
    }

    .ui-template-template_2 #statistics-result > .row .card {
        margin-bottom: 0;
    }
}

/* =========================================================================
   Template 2 — sidebar (light enterprise surface, grouped, searchable)
   ========================================================================= */

.ui-template-template_2 {
    --sb-width: 264px;
    --sb-bg: #ffffff;
    --sb-line: #e6eae6;
    --sb-text: #2c3833;
    --sb-muted: #7c877f;
    --sb-icon: #8a958f;
    --sb-hover: #f3f6f3;
    --sb-active-bg: #e6f2ea;
    --sb-active-text: #0f4d33;
    --sb-accent: #145c3f;
}

.ui-template-template_2 .navbar-vertical {
    width: var(--sb-width);
    max-width: var(--sb-width);
    padding: 0 !important;
    overflow: visible;
    background: var(--sb-bg) !important;
    border-right: 1px solid var(--sb-line);
    box-shadow: none;
}

.ui-template-template_2 .navbar-vertical > .container-fluid {
    height: 100vh;
    padding: 0;
}

.ui-template-template_2 .navbar-vertical.navbar-expand-md.fixed-start + .main-content,
.ui-template-template_2 .main-content {
    margin-left: var(--sb-width);
}

/* ---- brand ---------------------------------------------------------- */

.ui-template-template_2 .sidebar-brand {
    width: 100%;
    padding: 16px 16px 0;
}

.ui-template-template_2 .sidebar-brand__link {
    display: flex;
    padding: 0 4px 14px;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--sb-line);
}

.ui-template-template_2 .navbar-brand-img {
    width: 38px !important;
    height: 38px;
    margin: 0 !important;
    padding: 0;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.ui-template-template_2 .sidebar-brand__copy {
    display: grid;
    min-width: 0;
    line-height: 1.15;
}

.ui-template-template_2 .sidebar-brand__eyebrow {
    display: none;
}

.ui-template-template_2 .sidebar-brand__copy strong,
.ui-template-template_2 .sidebar-brand__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .sidebar-brand__copy strong {
    color: var(--sb-text);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.ui-template-template_2 .sidebar-brand__copy strong::before {
    content: none;
}

.ui-template-template_2 .sidebar-brand__copy small {
    margin-top: 2px;
    color: var(--sb-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: none;
}

/* ---- scroll area ----------------------------------------------------- */

.ui-template-template_2 .navbar-vertical .navbar-collapse {
    min-height: 0;
}

.ui-template-template_2 .main-sidebar {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.ui-template-template_2 .main-sidebar::after {
    display: none;
}

.ui-template-template_2 .sidebar-content {
    height: 100%;
    padding: 0 12px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #d5dcd6 transparent;
    scrollbar-width: thin;
}

.ui-template-template_2 .sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.ui-template-template_2 .sidebar-content::-webkit-scrollbar-thumb {
    background: #d5dcd6;
    border-radius: 20px;
}

.ui-template-template_2 .user-panel {
    padding: 0;
}

.ui-template-template_2 .sidebar-content > .navbar-divider,
.ui-template-template_2 .sidebar-content > .navbar-heading,
.ui-template-template_2 .user-panel center {
    display: none;
}

/* ---- menu filter ----------------------------------------------------- */

.ui-template-template_2 .t2-nav-search {
    margin: 12px 0 4px;
}

.ui-template-template_2 .t2-nav-search__box {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0;
    align-items: center;
}

.ui-template-template_2 .t2-nav-search__box > .fe-search {
    position: absolute;
    left: 11px;
    color: var(--sb-icon);
    font-size: 14px;
    pointer-events: none;
}

.ui-template-template_2 .t2-nav-search__box input {
    width: 100%;
    height: 36px;
    padding: 0 34px 0 33px;
    color: var(--sb-text);
    background: #f5f7f5;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12.5px;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.ui-template-template_2 .t2-nav-search__box input::placeholder {
    color: #9aa59f;
}

.ui-template-template_2 .t2-nav-search__box input:focus {
    outline: 0;
    background: #fff;
    border-color: #b8d3c4;
    box-shadow: 0 0 0 3px rgba(20, 92, 63, .1);
}

.ui-template-template_2 .t2-nav-search__box input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.ui-template-template_2 .t2-nav-search__box kbd {
    position: absolute;
    right: 9px;
    padding: 1px 6px;
    color: var(--sb-muted);
    background: #fff;
    border: 1px solid var(--sb-line);
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    pointer-events: none;
}

.ui-template-template_2 .t2-nav-search__box input:focus ~ kbd {
    display: none;
}

/* ---- groups ---------------------------------------------------------- */

.ui-template-template_2 .navbar-vertical .navbar-nav {
    width: 100%;
    margin: 0;
}

.ui-template-template_2 .t2-nav-group {
    margin: 16px 0 4px;
    padding: 0 10px;
}

.ui-template-template_2 .t2-nav-search + .t2-nav-group {
    margin-top: 12px;
}

.ui-template-template_2 .t2-nav-group__label {
    display: block;
    color: var(--sb-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-nav-empty {
    padding: 22px 12px;
    color: var(--sb-muted);
    text-align: center;
    font-size: 12px;
}

/* ---- items ----------------------------------------------------------- */

.ui-template-template_2 .navbar-vertical .navbar-nav .t2-nav-item > .nav-link,
.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link {
    position: relative;
    display: flex;
    min-height: 36px;
    margin: 1px 0;
    padding: 0 10px;
    align-items: center;
    gap: 10px;
    color: var(--sb-text);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: normal;
    box-shadow: none;
    transform: none;
    transition: background-color .12s ease, color .12s ease;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .t2-nav-item > .nav-link::before {
    content: none;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .t2-nav-item > .nav-link:hover,
.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link:hover,
.ui-template-template_2 .navbar-vertical .navbar-nav .show > .nav-link {
    color: var(--sb-active-text);
    background: var(--sb-hover);
    border-color: transparent;
    transform: none;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .t2-nav-item > .nav-link.active,
.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link.active,
.ui-template-template_2 .navbar-vertical .navbar-nav > .nav-item > .nav-link.active {
    color: var(--sb-active-text);
    background: var(--sb-active-bg);
    border-color: transparent;
    box-shadow: none;
    font-weight: 700;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link:focus-visible {
    outline: 3px solid rgba(20, 92, 63, .25);
    outline-offset: -1px;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link > i.fe:first-child,
.ui-template-template_2 .navbar-vertical .t2-nav-item > .nav-link > i.fe:first-child {
    display: grid;
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 20px;
    place-items: center;
    color: var(--sb-icon);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    transition: color .12s ease;
}

.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link:hover > i.fe:first-child,
.ui-template-template_2 .navbar-vertical .navbar-nav .nav-link.active > i.fe:first-child {
    color: var(--sb-accent);
    background: transparent;
    box-shadow: none;
}

.ui-template-template_2 .navbar-vertical .nav-link > span:first-child {
    color: inherit;
}

.ui-template-template_2 .t2-nav-item__label {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .t2-nav-item__caret {
    color: var(--sb-icon);
    font-size: 13px;
    transition: transform .15s ease;
}

.ui-template-template_2 .t2-nav-item > .nav-link[aria-expanded="true"] .t2-nav-item__caret {
    transform: rotate(180deg);
}

.ui-template-template_2 .navbar-vertical .nav-sm {
    margin: 2px 0 6px 20px;
    padding-left: 10px;
    border-left: 1px solid var(--sb-line);
}

.ui-template-template_2 .navbar-vertical .nav-sm .nav-link {
    min-height: 32px;
    padding: 4px 10px;
    color: var(--sb-muted);
    font-size: 12px;
}

/* ---- account footer ---------------------------------------------------- */

.ui-template-template_2 .navbar-vertical .navbar-user {
    display: none !important;
}

.ui-template-template_2 .t2-account {
    padding: 10px 12px 12px;
    border-top: 1px solid var(--sb-line);
    background: #fff;
}

.ui-template-template_2 .t2-account__btn {
    display: flex;
    width: 100%;
    padding: 8px 8px 8px 6px;
    align-items: center;
    gap: 10px;
    color: var(--sb-text);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: left;
    transition: background .12s ease, border-color .12s ease;
}

.ui-template-template_2 .t2-account__btn:hover,
.ui-template-template_2 .t2-account__btn[aria-expanded="true"] {
    background: var(--sb-hover);
    border-color: var(--sb-line);
}

.ui-template-template_2 .t2-account__avatar {
    position: relative;
    flex: 0 0 auto;
}

.ui-template-template_2 .t2-account__avatar .avatar {
    width: 36px;
    height: 36px;
}

.ui-template-template_2 .t2-account__avatar img,
.ui-template-template_2 .t2-account__avatar .avatar-title {
    width: 36px;
    height: 36px;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 10px !important;
    background: var(--sb-active-bg);
    color: var(--sb-accent);
    font-size: 13px;
    font-weight: 800;
}

.ui-template-template_2 .t2-account__avatar > i {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    background: #2ca66f;
    border: 2px solid #fff;
    border-radius: 50%;
}

.ui-template-template_2 .t2-account__copy {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 1px;
}

.ui-template-template_2 .t2-account__copy strong {
    overflow: hidden;
    color: var(--sb-text);
    font-size: 12.5px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .t2-account__copy small {
    overflow: hidden;
    color: var(--sb-muted);
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .t2-account__caret {
    color: var(--sb-icon);
    font-size: 16px;
}

.ui-template-template_2 .t2-account__menu {
    width: 100%;
    min-width: 0;
    margin-bottom: 6px !important;
    padding: 6px;
    border: 1px solid var(--sb-line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(20, 48, 36, .14);
}

.ui-template-template_2 .t2-account__menu-head {
    display: grid;
    margin-bottom: 4px;
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--sb-line);
}

.ui-template-template_2 .t2-account__menu-head strong {
    color: var(--sb-text);
    font-size: 12.5px;
}

.ui-template-template_2 .t2-account__menu-head small {
    overflow: hidden;
    color: var(--sb-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .t2-account__menu .dropdown-item {
    display: flex;
    padding: 8px 10px;
    align-items: center;
    gap: 9px;
    color: var(--sb-text);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
}

.ui-template-template_2 .t2-account__menu .dropdown-item i {
    color: var(--sb-icon);
    font-size: 15px;
}

.ui-template-template_2 .t2-account__menu .dropdown-item:hover {
    color: var(--sb-active-text);
    background: var(--sb-hover);
}

.ui-template-template_2 .t2-account__menu .dropdown-item:hover i {
    color: var(--sb-accent);
}

.ui-template-template_2 .t2-account__menu .t2-account__signout:hover {
    color: var(--wms-red);
    background: #fff1ef;
}

.ui-template-template_2 .t2-account__menu .t2-account__signout:hover i {
    color: var(--wms-red);
}

.ui-template-template_2 .t2-account__menu .dropdown-divider {
    margin: 4px 0;
    border-color: var(--sb-line);
}

/* ---- workspace bar tablet compaction ---------------------------------- */

@media (max-width: 1279.98px) {
    .ui-template-template_2 .workspace-status,
    .ui-template-template_2 .workspace-date {
        display: none;
    }
}

/* ---- toolbar filter cols must wrap, never squash ---------------------- */

.ui-template-template_2 .custom-filter-wrap > .row > [class*="col-"] {
    flex: 1 0 200px;
}

.ui-template-template_2 .custom-filter-wrap .input-group {
    flex-wrap: nowrap !important;
}

/* ---- responsive --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1199.98px) {
    .ui-template-template_2 {
        --sb-width: 240px;
    }

    .ui-template-template_2 .navbar-vertical {
        width: var(--sb-width);
        max-width: var(--sb-width);
    }

    .ui-template-template_2 .navbar-vertical.navbar-expand-md.fixed-start + .main-content,
    .ui-template-template_2 .main-content {
        margin-left: var(--sb-width);
    }
}

@media (min-width: 1200px) {
    .ui-template-template_2 .navbar-vertical.navbar-expand-md.fixed-start + .main-content {
        margin-left: var(--sb-width);
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .navbar-vertical {
        width: 100%;
        max-width: 100%;
        min-height: 60px;
        border-right: 0;
        border-bottom: 1px solid var(--sb-line);
    }

    .ui-template-template_2 .navbar-vertical > .container-fluid {
        height: auto;
        padding: 8px 14px;
    }

    .ui-template-template_2 .navbar-vertical .navbar-toggler {
        color: var(--sb-text);
        border: 1px solid var(--sb-line);
        border-radius: 8px;
    }

    .ui-template-template_2 .navbar-vertical .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%232c3833' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E");
    }

    .ui-template-template_2 .sidebar-brand {
        width: auto;
        padding: 0;
    }

    .ui-template-template_2 .sidebar-brand__link {
        padding: 0;
        border: 0;
    }

    .ui-template-template_2 .navbar-vertical.navbar-expand-md.fixed-start + .main-content,
    .ui-template-template_2 .main-content {
        margin-left: 0;
    }

    .ui-template-template_2 .navbar-vertical form.d-md-none {
        display: none !important;
    }

    .ui-template-template_2 #sidebarCollapse {
        max-height: calc(100vh - 60px);
        padding: 6px 0 14px;
        overflow-y: auto;
        border-top: 1px solid var(--sb-line);
    }

    .ui-template-template_2 #sidebarCollapse .sidebar-content {
        padding: 0 4px;
    }

    .ui-template-template_2 .t2-nav-search__box kbd {
        display: none;
    }

    .ui-template-template_2 .navbar-user.d-md-none .dropdown-menu {
        border: 1px solid var(--sb-line);
        border-radius: 10px;
    }
}

/* ---- Shared header line: sidebar brand + workspace bar = one 64px strip -- */

.ui-template-template_2 {
    --t2-topbar-h: 64px;
}

@media (min-width: 768px) {
    .ui-template-template_2 .sidebar-brand {
        padding: 0 16px;
    }

    .ui-template-template_2 .sidebar-brand__link {
        height: var(--t2-topbar-h);
        padding: 0 4px;
        box-sizing: border-box;
        border-bottom: 1px solid var(--sb-line);
    }

    .ui-template-template_2 .workspace-bar {
        height: var(--t2-topbar-h);
        min-height: 0;
        padding: 0 28px;
        box-sizing: border-box;
        background: #fff;
        border-bottom: 1px solid var(--sb-line);
        backdrop-filter: none;
    }

    .ui-template-template_2 .workspace-crumbs {
        margin-bottom: 2px;
        font-size: 11px;
    }

    .ui-template-template_2 .workspace-bar__identity strong {
        font-size: 17px;
        line-height: 1.2;
    }

    .ui-template-template_2 .workspace-bar__identity strong small {
        padding: 2px 7px;
        font-size: 10px;
    }

    .ui-template-template_2 .t2-nav-search {
        margin-top: 12px;
    }
}

/* =========================================================================
   Template 2 — list-page components (used by Car Management)
   ========================================================================= */

/* stray <br> that pushes every list page down */
.ui-template-template_2 .main-content > .container-fluid > .row > .col-12 > br:first-child {
    display: none;
}

.ui-template-template_2 .main-content > .container-fluid {
    padding-top: 24px;
}

/* sort-mode arrow buttons are meant to stay hidden */
.ui-template-template_2 .btn.btn-sorting.display-hide {
    display: none !important;
}

.ui-template-template_2 .btn.display-hide:not([style*="display: block"]):not([style*="display: inline"]) {
    display: none;
}

/* summary strip + status chips */
.ui-template-template_2 .t2-list-summary {
    display: flex;
    margin: 0 0 16px;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ui-template-template_2 .t2-chip {
    display: inline-flex;
    min-height: 34px;
    padding: 4px 6px 4px 12px;
    align-items: center;
    gap: 8px;
    color: #35423c;
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.ui-template-template_2 .t2-chip:hover {
    background: #f6f9f5;
    border-color: #c9d1ca;
}

.ui-template-template_2 .t2-chip.is-active {
    color: #0f4d33;
    background: var(--wms-green-soft);
    border-color: #b8d3c4;
}

.ui-template-template_2 .t2-chip__count {
    min-width: 26px;
    padding: 2px 7px;
    color: #35423c;
    background: #f1f4f0;
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    text-align: center;
}

.ui-template-template_2 .t2-chip.is-active .t2-chip__count {
    color: #fff;
    background: var(--wms-green);
}

.ui-template-template_2 .t2-chip--ok .t2-chip__label::before,
.ui-template-template_2 .t2-chip--info .t2-chip__label::before,
.ui-template-template_2 .t2-chip--warn .t2-chip__label::before,
.ui-template-template_2 .t2-chip--danger .t2-chip__label::before,
.ui-template-template_2 .t2-chip--muted .t2-chip__label::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    content: "";
    border-radius: 50%;
    vertical-align: 1px;
}

.ui-template-template_2 .t2-chip--ok .t2-chip__label::before { background: #2ca66f; }
.ui-template-template_2 .t2-chip--info .t2-chip__label::before { background: #2f7fd1; }
.ui-template-template_2 .t2-chip--warn .t2-chip__label::before { background: #e0a526; }
.ui-template-template_2 .t2-chip--danger .t2-chip__label::before { background: #c8463a; }
.ui-template-template_2 .t2-chip--muted .t2-chip__label::before { background: #a3ada7; }

.ui-template-template_2 .t2-list-summary__meta {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    gap: 6px;
    color: var(--wms-muted);
    font-size: 12px;
}

.ui-template-template_2 .t2-list-summary__meta i {
    color: var(--wms-green);
}

.ui-template-template_2 .t2-list-summary__meta strong {
    color: var(--wms-ink);
    font-family: Arial, sans-serif;
}

/* badges / pills inside tables */
.ui-template-template_2 .t2-badge {
    display: inline-flex;
    padding: 4px 10px 4px 8px;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ui-template-template_2 .t2-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.ui-template-template_2 .t2-badge--ok { color: #12653f; background: #e6f4ec; border-color: #c6e4d3; }
.ui-template-template_2 .t2-badge--info { color: #1d5a99; background: #e8f1fb; border-color: #c9dcf0; }
.ui-template-template_2 .t2-badge--warn { color: #7a4b00; background: #fff4dc; border-color: #f1dca4; }
.ui-template-template_2 .t2-badge--danger { color: #8a2f25; background: #fdeeec; border-color: #f2cfc9; }
.ui-template-template_2 .t2-badge--muted { color: #5b665f; background: #f1f4f0; border-color: #e0e5e0; }

.ui-template-template_2 .t2-pill {
    display: inline-flex;
    padding: 3px 9px;
    align-items: center;
    gap: 5px;
    color: #7c877f;
    background: #f4f6f3;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ui-template-template_2 .t2-pill--ok {
    color: #12653f;
    background: #e6f4ec;
}

.ui-template-template_2 .t2-muted {
    color: #b3bcb6;
}

/* vehicle cell */
.ui-template-template_2 .t2-vehicle {
    display: grid;
    gap: 2px;
}

.ui-template-template_2 .t2-vehicle strong {
    color: var(--wms-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.ui-template-template_2 .t2-vehicle__bn {
    color: var(--wms-muted);
    font-size: 12px;
}

.ui-template-template_2 .t2-vehicle__model {
    display: inline-flex;
    width: max-content;
    margin-top: 2px;
    padding: 1px 7px 1px 5px;
    align-items: center;
    gap: 4px;
    color: #4f5c56;
    background: #f1f4f0;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
}

.ui-template-template_2 .t2-vehicle__model i {
    font-size: 11px;
}

/* compact link-buttons and icon buttons */
.ui-template-template_2 .t2-links {
    display: inline-flex;
    gap: 4px;
}

.ui-template-template_2 .t2-link-btn {
    display: inline-flex;
    height: 28px;
    padding: 0 9px;
    align-items: center;
    gap: 5px;
    color: #35423c !important;
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 700 !important;
    white-space: nowrap;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.ui-template-template_2 .t2-link-btn:hover {
    color: var(--wms-green) !important;
    background: var(--wms-green-soft);
    border-color: #b8d3c4;
    text-decoration: none !important;
}

.ui-template-template_2 .t2-link-btn i {
    font-size: 13px;
}

.ui-template-template_2 .t2-icon-btn {
    display: inline-grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    color: #4f5c56;
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 7px;
    font-size: 14px;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.ui-template-template_2 .t2-icon-btn:hover,
.ui-template-template_2 .t2-icon-btn.is-open {
    color: var(--wms-green);
    background: var(--wms-green-soft);
    border-color: #b8d3c4;
}

/* car table density + column widths */
.ui-template-template_2 .t2-list-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.ui-template-template_2 .t2-list-table .t2-col-index {
    width: 44px;
    color: var(--wms-muted);
    text-align: center;
}

.ui-template-template_2 .t2-list-table .t2-col-status,
.ui-template-template_2 .t2-list-table .t2-col-gps,
.ui-template-template_2 .t2-list-table .t2-col-qr,
.ui-template-template_2 .t2-list-table .t2-col-history,
.ui-template-template_2 .t2-list-table .t2-col-rate {
    white-space: nowrap;
}

.ui-template-template_2 .t2-list-table .t2-col-year {
    width: 70px;
    font-family: Arial, sans-serif;
}

.ui-template-template_2 .t2-list-table .t2-col-qr {
    width: 56px;
    text-align: center;
}

.ui-template-template_2 .t2-list-table td.t2-col-actions {
    width: 1%;
    white-space: nowrap;
}

.ui-template-template_2 .t2-list-table td.t2-col-actions > .btn {
    width: 30px;
    height: 30px;
    min-height: 0;
    margin: 0 2px 0 0 !important;
    padding: 0;
}

/* QR popover */
.ui-template-template_2 .t2-qr-pop {
    position: absolute;
    z-index: 1080;
    width: 232px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(20, 48, 36, .18);
    text-align: center;
    animation: t2-pop .14s ease;
}

@keyframes t2-pop {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

.ui-template-template_2 .t2-qr-pop__head {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ui-template-template_2 .t2-qr-pop__head strong {
    overflow: hidden;
    color: var(--wms-ink);
    font-size: 12px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-template-template_2 .t2-qr-pop__close {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--wms-muted);
    background: transparent;
    border: 0;
    border-radius: 7px;
}

.ui-template-template_2 .t2-qr-pop__close:hover {
    color: var(--wms-ink);
    background: #f1f4f0;
}

.ui-template-template_2 .t2-qr-pop img {
    display: block;
    margin: 0 auto;
    border: 1px solid var(--wms-line);
    border-radius: 10px;
}

.ui-template-template_2 .t2-qr-pop__actions {
    display: grid;
    margin-top: 10px;
    grid-template-columns: 1fr auto;
    gap: 6px;
}

.ui-template-template_2 .t2-qr-pop__actions .btn {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 11.5px;
}

/* DataTables search box (template-2 language strings drop the label) */
.ui-template-template_2 .dataTables_wrapper .dataTables_filter input {
    width: 240px;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-list-summary__meta {
        width: 100%;
        margin-left: 0;
    }

    .ui-template-template_2 .t2-chip {
        min-height: 30px;
        font-size: 11px;
    }
}

.ui-template-template_2 .t2-chip.is-empty:not(.is-active) {
    opacity: .55;
}

/* =========================================================================
   Template 2 — compact density pass (list pages)
   ========================================================================= */

.ui-template-template_2 .main-content > .container-fluid {
    padding: 14px 20px 24px;
}

.ui-template-template_2 .main-content > .container-fluid > .row > .col-12 > br:first-child + section.content,
.ui-template-template_2 section.content {
    margin-top: 0;
}

.ui-template-template_2 .panel,
.ui-template-template_2 .card {
    margin-bottom: 14px;
}

.ui-template-template_2 .panel-heading,
.ui-template-template_2 .card-header {
    min-height: 50px;
    padding: 8px 16px;
}

.ui-template-template_2 .panel-title,
.ui-template-template_2 .card-header-title {
    font-size: 14px;
}

.ui-template-template_2 .panel-heading .options .btn,
.ui-template-template_2 .card-header .btn {
    min-height: 32px;
    padding: 4px 11px;
    font-size: 12px;
}

.ui-template-template_2 .panel-body {
    padding: 12px 16px 14px;
}

/* footer band shows only while the inline form is open */
.ui-template-template_2 .panel-footer:has(> #dataFormButton.display-hide) {
    display: none;
}

.ui-template-template_2 .panel-footer {
    padding: 10px 16px;
}

/* sort / close buttons sit in the summary row, not on their own line */
.ui-template-template_2 #dataTable > #tableDestroy,
.ui-template-template_2 #dataTable > #tableReload {
    min-height: 30px;
    margin: 0 0 0 8px;
    padding: 3px 10px;
    font-size: 11.5px;
}

/* summary chips */
.ui-template-template_2 .t2-list-summary {
    margin-bottom: 10px;
    gap: 6px;
}

.ui-template-template_2 .t2-chip {
    min-height: 30px;
    padding: 3px 5px 3px 10px;
    font-size: 11.5px;
}

.ui-template-template_2 .t2-chip__count {
    padding: 1px 6px;
    font-size: 10.5px;
}

/* DataTables chrome */
.ui-template-template_2 .dataTables_wrapper > .row.mb-2 {
    margin-bottom: 10px;
    padding: 8px 10px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_length,
.ui-template-template_2 .dataTables_wrapper .dataTables_filter {
    margin-bottom: 8px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_length select,
.ui-template-template_2 .dataTables_wrapper .dataTables_filter input {
    min-height: 32px;
    height: 32px;
}

.ui-template-template_2 .dataTables_wrapper > .row.mt-2 {
    margin-top: 8px !important;
}

.ui-template-template_2 .page-link {
    min-height: 30px;
    min-width: 30px;
    padding: 4px 8px;
}

/* table density */
.ui-template-template_2 .table thead th {
    padding: 8px 10px;
}

.ui-template-template_2 .table td,
.ui-template-template_2 .t2-list-table td {
    padding: 6px 10px;
}

.ui-template-template_2 .table td .btn,
.ui-template-template_2 .t2-list-table td.t2-col-actions > .btn {
    width: 28px;
    height: 28px;
    min-height: 0;
}

.ui-template-template_2 .t2-link-btn {
    height: 26px;
    padding: 0 8px;
    font-size: 11px;
}

.ui-template-template_2 .t2-icon-btn {
    width: 28px;
    height: 28px;
}

.ui-template-template_2 .t2-badge {
    padding: 2px 8px 2px 7px;
    font-size: 11px;
}

.ui-template-template_2 .t2-pill {
    padding: 2px 8px;
    font-size: 11px;
}

/* vehicle cell: two lines (name / bengali + model) */
.ui-template-template_2 .t2-vehicle {
    gap: 1px;
}

.ui-template-template_2 .t2-vehicle strong {
    font-size: 12.5px;
    line-height: 1.3;
}

.ui-template-template_2 .t2-vehicle__bn {
    display: inline;
    font-size: 11.5px;
}

.ui-template-template_2 .t2-vehicle__model {
    display: inline-flex;
    margin: 0 0 0 6px;
    padding: 0 6px 0 4px;
    font-size: 10px;
    vertical-align: 1px;
}

.ui-template-template_2 .t2-vehicle__bn + .t2-vehicle__model {
    margin-top: 0;
}

.ui-template-template_2 .t2-vehicle > .t2-vehicle__bn,
.ui-template-template_2 .t2-vehicle > .t2-vehicle__model {
    grid-row: 2;
}

.ui-template-template_2 .t2-vehicle {
    grid-template-columns: max-content auto;
}

.ui-template-template_2 .t2-vehicle > strong {
    grid-column: 1 / -1;
}

.ui-template-template_2 .t2-vehicle > .t2-vehicle__bn {
    grid-column: 1;
}

.ui-template-template_2 .t2-vehicle > .t2-vehicle__model {
    grid-column: 2;
    justify-self: start;
    align-self: center;
}

/* forms inside panels: a bit tighter too */
.ui-template-template_2 .form-group {
    margin-bottom: 14px;
}

.ui-template-template_2 .panel-heading .options > #tableDestroy,
.ui-template-template_2 .panel-heading .options > #tableReload {
    margin: 0;
}

.ui-template-template_2 .t2-list-summary__meta {
    margin-left: 4px;
    padding: 0 10px;
    min-height: 30px;
    background: #f7f9f6;
    border: 1px dashed var(--wms-line);
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .panel-heading .options {
        flex-wrap: wrap;
    }
}

.ui-template-template_2 .t2-list-summary__meta {
    gap: 5px;
    padding: 0 9px;
}

.ui-template-template_2 .t2-chip__label {
    white-space: nowrap;
}

/* ---- Edge-to-edge density: minimal gutters around page content --------- */

.ui-template-template_2 .main-content > .container-fluid,
.ui-template-template_2 .main-content .header > .container-fluid {
    padding: 10px 12px 16px !important;
}

.ui-template-template_2 section.content {
    padding: 0 !important;
}

.ui-template-template_2 .main-content > .container-fluid > .row.justify-content-center {
    margin-right: 0;
    margin-left: 0;
}

.ui-template-template_2 .main-content > .container-fluid > .row.justify-content-center > .col-12 {
    padding-right: 0;
    padding-left: 0;
}

.ui-template-template_2 section.content > .row {
    margin-right: 0;
    margin-left: 0;
}

.ui-template-template_2 section.content > .row > .col-md-12 {
    padding-right: 0;
    padding-left: 0;
}

.ui-template-template_2 .panel,
.ui-template-template_2 .card {
    margin-bottom: 10px;
}

.ui-template-template_2 .panel-heading,
.ui-template-template_2 .card-header {
    min-height: 44px;
    padding: 6px 12px;
}

.ui-template-template_2 .panel-body {
    padding: 10px 12px 12px;
}

.ui-template-template_2 .t2-list-summary {
    margin-bottom: 8px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_length,
.ui-template-template_2 .dataTables_wrapper .dataTables_filter {
    margin-bottom: 6px;
}

.ui-template-template_2 .dataTables_wrapper > .row.mt-2 {
    margin-top: 6px !important;
}

.ui-template-template_2 .header-body {
    margin-bottom: 12px;
}

.ui-template-template_2 .dashboard-section-title {
    margin-top: 10px;
}

/* ---- DataTables pagination (li.paginate_button > a markup) ------------- */

.ui-template-template_2 .dataTables_paginate .pagination {
    margin: 0;
    gap: 4px;
}

.ui-template-template_2 .dataTables_paginate .paginate_button > a,
.ui-template-template_2 .dataTables_paginate .paginate_button > .page-link {
    display: inline-flex;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    color: #35423c !important;
    background: #fff !important;
    border: 1px solid var(--wms-line) !important;
    border-radius: 8px !important;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.ui-template-template_2 .dataTables_paginate .paginate_button:not(.disabled):not(.active) > a:hover {
    color: var(--wms-green-deep) !important;
    background: var(--wms-green-soft) !important;
    border-color: #b8d3c4 !important;
}

.ui-template-template_2 .dataTables_paginate .paginate_button.active > a {
    color: #fff !important;
    background: var(--wms-green) !important;
    border-color: var(--wms-green) !important;
}

.ui-template-template_2 .dataTables_paginate .paginate_button.disabled > a {
    color: #b3bcb6 !important;
    background: #fafbf9 !important;
    cursor: default;
}

.ui-template-template_2 .dataTables_paginate .paginate_button#tbl-client_ellipsis > a,
.ui-template-template_2 .dataTables_paginate .paginate_button[id$="_ellipsis"] > a {
    background: transparent !important;
    border-color: transparent !important;
}

.ui-template-template_2 .dataTables_paginate .paginate_button.previous > a,
.ui-template-template_2 .dataTables_paginate .paginate_button.next > a {
    font-size: 15px;
}

.ui-template-template_2 .dataTables_paginate .paginate_button > a:focus-visible {
    outline: 3px solid rgba(20, 92, 63, .25);
    outline-offset: 1px;
}

.ui-template-template_2 .dataTables_wrapper .dataTables_info {
    display: flex;
    min-height: 30px;
    align-items: center;
}

/* Dashkit forces 2.25rem side padding via
   `.navbar-vertical-sm:not([style*="display: none"]) ~ .main-content .container-fluid` (!important).
   Match that specificity so the compact gutters win. */
body.ui-template-template_2 .navbar-vertical ~ .main-content > .container-fluid,
body.ui-template-template_2 .navbar-vertical:not([style*="display: none"]) ~ .main-content > .container-fluid,
body.ui-template-template_2 .navbar-vertical-sm:not([style*="display: none"]) ~ .main-content > .container-fluid,
body.ui-template-template_2 .main-content > .container-fluid {
    padding: 10px 12px 16px !important;
}

@media (max-width: 767.98px) {
    body.ui-template-template_2 .navbar-vertical ~ .main-content > .container-fluid,
    body.ui-template-template_2 .navbar-vertical:not([style*="display: none"]) ~ .main-content > .container-fluid,
    body.ui-template-template_2 .navbar-vertical-sm:not([style*="display: none"]) ~ .main-content > .container-fluid,
    body.ui-template-template_2 .main-content > .container-fluid {
        padding: 10px 10px 16px !important;
    }
}

/* =========================================================================
   Template 2 — record detail modal, activity log, inline forms
   ========================================================================= */

.ui-template-template_2 .modal-content {
    border-radius: 14px;
    overflow: hidden;
}

.ui-template-template_2 .modal-header {
    padding: 12px 16px;
}

.ui-template-template_2 .modal-title {
    font-size: 14px;
    font-weight: 800;
}

.ui-template-template_2 .modal-body {
    padding: 16px;
}

.ui-template-template_2 .modal-body .modal-footer {
    margin: 14px -16px -16px;
}

.ui-template-template_2 .modal-body .table {
    margin-bottom: 0;
}

/* detail card */
.ui-template-template_2 .t2-detail__head {
    display: flex;
    margin-bottom: 14px;
    padding-bottom: 14px;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--wms-line);
}

.ui-template-template_2 .t2-detail__media {
    display: grid;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    place-items: center;
    overflow: hidden;
    color: #8a958f;
    background: #f1f4f0;
    border: 1px solid var(--wms-line);
    border-radius: 14px;
    font-size: 28px;
}

.ui-template-template_2 .t2-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ui-template-template_2 .t2-detail__title {
    min-width: 0;
}

.ui-template-template_2 .t2-detail__title h3 {
    margin: 0;
    color: var(--wms-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.ui-template-template_2 .t2-detail__title p {
    margin: 2px 0 0;
    color: var(--wms-muted);
    font-size: 13px;
}

.ui-template-template_2 .t2-detail__tags {
    display: flex;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.ui-template-template_2 .t2-detail__grid {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.ui-template-template_2 .t2-detail__grid > div {
    padding: 10px 12px;
    background: #f8faf8;
    border: 1px solid #eef1ed;
    border-radius: 10px;
}

.ui-template-template_2 .t2-detail__wide {
    grid-column: 1 / -1;
}

.ui-template-template_2 .t2-detail__grid dt {
    margin-bottom: 3px;
    color: var(--wms-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-detail__grid dd {
    margin: 0;
    color: var(--wms-ink);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ui-template-template_2 .t2-detail__foot {
    display: flex;
    margin-top: 14px;
    padding-top: 12px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    border-top: 1px solid var(--wms-line);
}

.ui-template-template_2 .t2-detail__meta {
    margin-left: auto;
    color: var(--wms-muted);
    font-size: 11.5px;
}

/* activity log + servicing history tables inside modals */
.ui-template-template_2 .modal-body .table-striped > tbody > tr:nth-of-type(odd) > * {
    background: #f8faf8;
    box-shadow: none;
}

.ui-template-template_2 .modal-body .table td,
.ui-template-template_2 .modal-body .table th {
    padding: 8px 10px;
    font-size: 12.5px;
}

.ui-template-template_2 .modal-body .receipt-template center img {
    width: 56px;
}

.ui-template-template_2 .modal-body .receipt-template center b {
    display: block;
    margin: 6px 0 2px;
    font-size: 15px !important;
    text-decoration: none;
}

.ui-template-template_2 .modal-body .receipt-template center u {
    text-decoration: none;
}

/* inline form (ADD / EDIT) */
.ui-template-template_2 #dataForm .form-group > label,
.ui-template-template_2 #dataForm .control-label {
    margin-bottom: 5px;
    color: #35423c;
    font-size: 11.5px;
    font-weight: 750;
}

.ui-template-template_2 #dataForm .form-control,
.ui-template-template_2 #dataForm .form-select {
    min-height: 40px;
    font-size: 13px;
}

.ui-template-template_2 #dataForm .form-control.required ~ label.error,
.ui-template-template_2 #dataForm label.error {
    display: block;
    margin-top: 4px;
}

.ui-template-template_2 #dataForm .form-group > label .req,
.ui-template-template_2 #dataForm .form-group:has(.required) > label:not(.error)::after {
    margin-left: 3px;
    content: "*";
    color: var(--wms-red);
}

.ui-template-template_2 #dataForm .fileinput-button {
    position: relative;
    display: inline-flex;
    min-height: 36px;
    padding: 4px 12px;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: #35423c !important;
    background: #fff !important;
    border: 1px dashed #c9d1ca !important;
    border-radius: 8px;
    font-size: 12px;
}

.ui-template-template_2 #dataForm .fileinput-button::before {
    content: "\2191";
    font-weight: 800;
}

.ui-template-template_2 #dataForm .fileinput-button:hover {
    background: #f6f9f5 !important;
    border-color: var(--wms-green) !important;
}

.ui-template-template_2 #dataForm .fileinput-button input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ui-template-template_2 #dataForm .help-block,
.ui-template-template_2 #dataForm .help-block font {
    color: var(--wms-muted) !important;
    font-size: 11.5px;
}

.ui-template-template_2 #dataForm .form-group > br {
    display: none;
}

.ui-template-template_2 #dataForm #image_preview_image {
    max-width: 120px;
    margin-top: 6px;
    border: 1px solid var(--wms-line);
    border-radius: 10px;
}

.ui-template-template_2 .panel-footer #dataFormButton {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.ui-template-template_2 .panel-footer #dataFormButton .loaderExtraDiv {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ui-template-template_2 .panel-footer .btn-add-client,
.ui-template-template_2 .panel-footer #idSubmitData {
    float: none !important;
    min-width: 110px;
}

.ui-template-template_2 .panel-footer #dataFormButton div[style*="clear"] {
    display: none;
}

@media (max-width: 575.98px) {
    .ui-template-template_2 .t2-detail__grid {
        grid-template-columns: 1fr;
    }
}

.ui-template-template_2 #dataForm .form-group > label {
    display: block;
}

.ui-template-template_2 #dataForm .help-block {
    display: block;
    margin-top: 5px;
}

/* =========================================================================
   Template 2 — vehicle servicing history modal
   ========================================================================= */

.ui-template-template_2 .modal-lg {
    max-width: 960px;
}

.ui-template-template_2 .t2-history__head {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ui-template-template_2 .t2-history__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ui-template-template_2 .t2-history__brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ui-template-template_2 .t2-history__eyebrow {
    display: block;
    color: var(--wms-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-history__brand h3 {
    margin: 2px 0 0;
    color: var(--wms-ink);
    font-size: 17px;
    font-weight: 800;
}

.ui-template-template_2 .t2-history__vehicle {
    text-align: right;
}

.ui-template-template_2 .t2-history__vehicle strong {
    display: block;
    color: var(--wms-ink);
    font-size: 14px;
    font-weight: 800;
}

.ui-template-template_2 .t2-history__tags {
    display: flex;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.ui-template-template_2 .t2-history__stats {
    display: grid;
    margin-bottom: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.ui-template-template_2 .t2-history__stats > div {
    padding: 8px 12px;
    background: #f8faf8;
    border: 1px solid #eef1ed;
    border-radius: 10px;
}

.ui-template-template_2 .t2-history__stats span {
    display: block;
    color: var(--wms-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-history__stats strong {
    color: var(--wms-ink);
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.ui-template-template_2 .t2-history__empty {
    display: grid;
    padding: 36px 16px;
    justify-items: center;
    gap: 4px;
    color: var(--wms-muted);
    background: #f8faf8;
    border: 1px dashed var(--wms-line);
    border-radius: 12px;
    text-align: center;
}

.ui-template-template_2 .t2-history__empty i {
    font-size: 26px;
    color: #c3ccc5;
}

.ui-template-template_2 .t2-history__empty strong {
    color: var(--wms-ink);
    font-size: 13.5px;
}

/* per-slip card */
.ui-template-template_2 .t2-slip {
    margin-bottom: 10px;
    border: 1px solid var(--wms-line);
    border-radius: 12px;
    overflow: hidden;
}

.ui-template-template_2 .t2-slip__head {
    display: flex;
    padding: 10px 12px;
    align-items: center;
    gap: 12px;
    background: #f7f9f6;
    border-bottom: 1px solid var(--wms-line);
}

.ui-template-template_2 .t2-slip__index {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    color: #fff;
    background: var(--wms-green);
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 800;
}

.ui-template-template_2 .t2-slip__id {
    display: grid;
    min-width: 120px;
}

.ui-template-template_2 .t2-slip__id strong {
    color: var(--wms-ink);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.ui-template-template_2 .t2-slip__id small {
    color: var(--wms-muted);
    font-size: 11px;
}

.ui-template-template_2 .t2-slip__meta {
    display: flex;
    margin: 0 auto 0 8px;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.ui-template-template_2 .t2-slip__meta dt {
    color: var(--wms-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-slip__meta dd {
    margin: 0;
    color: var(--wms-ink);
    font-size: 12.5px;
    font-weight: 600;
}

.ui-template-template_2 .t2-slip__items {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ui-template-template_2 .t2-slip__items th {
    padding: 7px 12px;
    color: var(--wms-muted);
    background: #fff;
    border-bottom: 1px solid #edf0eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-slip__items td {
    padding: 7px 12px;
    border-bottom: 1px solid #f1f4f0;
    font-size: 12.5px;
    vertical-align: middle;
}

.ui-template-template_2 .t2-slip__items tr:last-child td {
    border-bottom: 0;
}

.ui-template-template_2 .t2-slip__items tbody tr:hover td {
    background: #fbfcfa;
}

.ui-template-template_2 .t2-slip__items .t2-num {
    width: 110px;
    font-family: Arial, sans-serif;
    text-align: right;
    white-space: nowrap;
}

.ui-template-template_2 .t2-slip__items .t2-num small {
    color: var(--wms-muted);
    font-size: 11px;
}

.ui-template-template_2 .t2-slip__part {
    color: var(--wms-ink);
    font-weight: 700;
}

.ui-template-template_2 .t2-slip__status {
    display: inline-block;
    padding: 2px 8px;
    color: #4f5c56;
    background: #f1f4f0;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.ui-template-template_2 .t2-slip__items tr.is-repeat td:first-child {
    box-shadow: inset 3px 0 0 #e0a526;
}

.ui-template-template_2 .t2-slip__repeat {
    display: inline-flex;
    margin-left: 8px;
    padding: 2px 8px;
    align-items: center;
    gap: 5px;
    color: #7a4b00;
    background: #fff4dc;
    border: 1px solid #f1dca4;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ui-template-template_2 .t2-history__foot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ui-template-template_2 .t2-history__legend {
    display: inline-flex;
    margin-right: auto;
    align-items: center;
    gap: 6px;
    color: var(--wms-muted);
    font-size: 11.5px;
}

.ui-template-template_2 .t2-history__legend i {
    color: #e0a526;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-history__head {
        flex-direction: column;
    }

    .ui-template-template_2 .t2-history__vehicle,
    .ui-template-template_2 .t2-history__tags {
        text-align: left;
        justify-content: flex-start;
    }

    .ui-template-template_2 .t2-history__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ui-template-template_2 .t2-slip__head {
        flex-wrap: wrap;
    }

    .ui-template-template_2 .t2-slip__meta {
        width: 100%;
        margin: 4px 0 0;
    }
}

/* =========================================================================
   Template 2 — SweetAlert2 (legacy v3 markup: .swal2-modal / .swal2-icon)
   ========================================================================= */

.ui-template-template_2 .swal2-overlay {
    background: rgba(12, 28, 20, .55) !important;
    backdrop-filter: blur(2px);
}

.ui-template-template_2 .swal2-modal {
    width: 420px !important;
    margin-left: -210px !important;
    padding: 26px 24px 22px !important;
    background: #fff !important;
    border: 1px solid var(--wms-line);
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(20, 48, 36, .28) !important;
    font-family: inherit !important;
    text-align: center;
}

.ui-template-template_2 .swal2-modal h2,
.ui-template-template_2 .swal2-title {
    margin: 12px 0 4px !important;
    color: var(--wms-ink) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.ui-template-template_2 .swal2-modal .swal2-content,
.ui-template-template_2 .swal2-modal p {
    margin: 0 !important;
    color: var(--wms-muted) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.ui-template-template_2 .swal2-modal .swal2-icon {
    width: 64px !important;
    height: 64px !important;
    margin: 4px auto 6px !important;
    border-width: 3px !important;
    font-size: 34px !important;
    line-height: 58px !important;
}

.ui-template-template_2 .swal2-modal .swal2-warning {
    color: #b7791f !important;
    border-color: #f1dca4 !important;
    background: #fff4dc;
}

.ui-template-template_2 .swal2-modal .swal2-error {
    border-color: #f2cfc9 !important;
    background: #fdeeec;
}

.ui-template-template_2 .swal2-modal .swal2-error .line {
    background: var(--wms-red) !important;
}

.ui-template-template_2 .swal2-modal .swal2-success {
    border-color: #c6e4d3 !important;
}

.ui-template-template_2 .swal2-modal .swal2-success .line {
    background: var(--wms-green) !important;
}

.ui-template-template_2 .swal2-modal .swal2-success .placeholder {
    border-color: #c6e4d3 !important;
}

.ui-template-template_2 .swal2-modal .swal2-info,
.ui-template-template_2 .swal2-modal .swal2-question {
    color: #1d5a99 !important;
    border-color: #c9dcf0 !important;
    background: #e8f1fb;
}

.ui-template-template_2 .swal2-modal .pulse-warning {
    animation: none !important;
}

.ui-template-template_2 .swal2-modal .swal2-buttonswrapper,
.ui-template-template_2 .swal2-modal .swal2-actions {
    display: flex !important;
    margin-top: 18px !important;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
}

.ui-template-template_2 .swal2-modal button.swal2-confirm,
.ui-template-template_2 .swal2-modal button.swal2-cancel {
    min-width: 110px;
    min-height: 40px;
    margin: 0 !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ui-template-template_2 .swal2-modal button.swal2-confirm {
    color: #fff !important;
    background: var(--wms-green) !important;
    border: 1px solid var(--wms-green) !important;
}

.ui-template-template_2 .swal2-modal button.swal2-confirm:hover {
    background: var(--wms-green-deep) !important;
}

.ui-template-template_2 .swal2-modal button.swal2-cancel {
    color: #35423c !important;
    background: #fff !important;
    border: 1px solid var(--wms-line) !important;
}

.ui-template-template_2 .swal2-modal button.swal2-cancel:hover {
    background: #f1f4f0 !important;
    border-color: #c9d1ca !important;
}

.ui-template-template_2 .swal2-modal button:focus-visible {
    outline: 3px solid rgba(20, 92, 63, .3) !important;
    outline-offset: 2px;
}

@media (max-width: 479.98px) {
    .ui-template-template_2 .swal2-modal {
        width: calc(100vw - 32px) !important;
        margin-left: calc(-50vw + 16px) !important;
    }
}

/* jQuery Validate marks the control itself with .error */
.ui-template-template_2 #dataForm .form-control.error,
.ui-template-template_2 #dataForm .form-select.error {
    border-color: var(--wms-red);
    background: #fffaf9;
}

.ui-template-template_2 #dataForm .form-control.error:focus,
.ui-template-template_2 #dataForm .form-select.error:focus {
    box-shadow: 0 0 0 3px rgba(183, 70, 58, .14);
}

.ui-template-template_2 #dataForm label.error {
    color: var(--wms-red);
    font-size: 11.5px;
    font-weight: 600;
}

.ui-template-template_2 #dataForm label.error::before {
    margin-right: 4px;
    content: "\26A0";
    font-size: 11px;
}

/* responsive control on the Vehicle column (mobile) */
.ui-template-template_2 table.dataTable.dtr-column.collapsed > tbody > tr > td.t2-col-primary.dtr-control {
    position: relative;
    padding-left: 34px;
}

.ui-template-template_2 table.dataTable.dtr-column.collapsed > tbody > tr > td.t2-col-primary.dtr-control::before {
    position: absolute;
    top: 50%;
    left: 10px;
    display: block;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    color: #fff;
    background: var(--wms-green);
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    content: "+";
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}

.ui-template-template_2 table.dataTable.dtr-column.collapsed > tbody > tr.parent > td.t2-col-primary.dtr-control::before {
    background: var(--wms-red);
    content: "\2212";
}

.ui-template-template_2 table.dataTable > tbody > tr.child td.child {
    padding: 8px 12px 10px;
    background: #f8faf8;
}

.ui-template-template_2 table.dataTable > tbody > tr.child ul.dtr-details > li {
    display: flex;
    padding: 6px 0;
    align-items: center;
    gap: 10px;
}

.ui-template-template_2 table.dataTable > tbody > tr.child span.dtr-data {
    flex: 1;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-list-table .t2-col-index {
        display: none;
    }

    .ui-template-template_2 .t2-vehicle {
        grid-template-columns: 1fr;
    }

    .ui-template-template_2 .t2-vehicle > .t2-vehicle__bn,
    .ui-template-template_2 .t2-vehicle > .t2-vehicle__model {
        grid-column: 1;
        grid-row: auto;
    }

    .ui-template-template_2 .t2-vehicle__model {
        width: auto;
        max-width: 100%;
        margin-left: 0;
        white-space: normal;
    }

    .ui-template-template_2 .t2-vehicle strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

.ui-template-template_2 .t2-vehicle__status {
    display: none;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-vehicle__status {
        display: inline-flex;
        width: max-content;
        margin-top: 4px;
    }

    .ui-template-template_2 .t2-list-table td.t2-col-actions > .btn {
        width: 26px;
        height: 26px;
        margin-right: 2px !important;
    }

    .ui-template-template_2 .t2-list-table td.t2-col-actions {
        padding-right: 6px;
        padding-left: 6px;
    }
}



/* =========================================================================
   Template 2 — mobile: app drawer, card rows, chip slider
   ========================================================================= */

@media (max-width: 767.98px) {

    /* ---- top bar (the fixed navbar becomes a 56px app bar) ------------- */
    .ui-template-template_2 .navbar-vertical {
        position: sticky;
        top: 0;
        z-index: 1040;
        min-height: 56px;
        overflow: visible;
    }

    .ui-template-template_2 .navbar-vertical > .container-fluid {
        display: flex;
        min-height: 56px;
        padding: 0 12px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .ui-template-template_2 .navbar-vertical .navbar-toggler {
        order: 0;
        width: 40px;
        height: 40px;
        padding: 0;
        display: grid;
        place-items: center;
        border-radius: 10px;
    }

    .ui-template-template_2 .sidebar-brand {
        order: 1;
        flex: 1;
        min-width: 0;
    }

    .ui-template-template_2 .sidebar-brand__link {
        height: auto;
        gap: 9px;
    }

    .ui-template-template_2 .navbar-brand-img {
        width: 32px !important;
        height: 32px;
    }

    .ui-template-template_2 .sidebar-brand__copy strong {
        font-size: 13.5px;
    }

    .ui-template-template_2 .sidebar-brand__copy small {
        display: none;
    }

    .ui-template-template_2 .navbar-vertical .navbar-user.d-md-none {
        order: 2;
        margin: 0;
    }

    /* ---- the drawer ----------------------------------------------------- */
    .ui-template-template_2 #sidebarCollapse {
        position: fixed !important;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1060;
        display: flex !important;
        width: min(84vw, 320px);
        max-height: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 0 !important;
        flex-direction: column;
        overflow: hidden !important;
        background: #fff;
        border: 0;
        border-right: 1px solid var(--sb-line);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: translateX(-104%);
        transition: transform .26s cubic-bezier(.2, .8, .2, 1), box-shadow .26s ease;
        visibility: hidden;
    }

    .ui-template-template_2 #sidebarCollapse.collapsing {
        height: 100vh !important;
        transition: transform .26s cubic-bezier(.2, .8, .2, 1);
    }

    body.ui-template-template_2.t2-drawer-open #sidebarCollapse {
        transform: none;
        visibility: visible;
        box-shadow: 24px 0 60px rgba(4, 30, 20, .28);
    }

    body.ui-template-template_2.t2-drawer-open {
        overflow: hidden;
    }

    .ui-template-template_2 .t2-drawer-overlay {
        position: fixed;
        inset: 0;
        z-index: 1055;
        background: rgba(6, 22, 15, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .26s ease;
    }

    body.ui-template-template_2.t2-drawer-open .t2-drawer-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .ui-template-template_2 .t2-drawer-head {
        display: flex;
        min-height: 56px;
        padding: 8px 8px 8px 14px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border-bottom: 1px solid var(--sb-line);
    }

    .ui-template-template_2 .t2-drawer-head__brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ui-template-template_2 .t2-drawer-head__brand img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .ui-template-template_2 .t2-drawer-head__brand strong {
        display: block;
        color: var(--sb-text);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.15;
    }

    .ui-template-template_2 .t2-drawer-head__brand strong::before {
        content: "";
    }

    .ui-template-template_2 .t2-drawer-head__brand small {
        color: var(--sb-muted);
        font-size: 10.5px;
        font-weight: 600;
    }

    .ui-template-template_2 .t2-drawer-close {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        color: var(--sb-muted);
        background: transparent;
        border: 0;
        border-radius: 10px;
        font-size: 18px;
    }

    .ui-template-template_2 .t2-drawer-close:hover {
        color: var(--sb-text);
        background: var(--sb-hover);
    }

    .ui-template-template_2 #sidebarCollapse .main-sidebar {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .ui-template-template_2 #sidebarCollapse .sidebar-content {
        height: 100%;
        padding: 4px 10px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ui-template-template_2 #sidebarCollapse .t2-nav-search {
        margin-top: 10px;
    }

    .ui-template-template_2 #sidebarCollapse .t2-account {
        display: block !important;
        flex: 0 0 auto;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .ui-template-template_2 #sidebarCollapse .t2-account__menu {
        position: fixed !important;
        right: auto !important;
        bottom: 76px !important;
        left: 12px !important;
        width: calc(min(84vw, 320px) - 24px);
        transform: none !important;
    }

    .ui-template-template_2 #sidebarCollapse > .mt-auto {
        display: none;
    }

    /* ---- chip slider ----------------------------------------------------- */
    .ui-template-template_2 .t2-list-summary {
        position: relative;
        margin: 0 -12px 10px;
        padding: 2px 12px 6px;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-left: 12px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    }

    .ui-template-template_2 .t2-list-summary::-webkit-scrollbar {
        display: none;
    }

    .ui-template-template_2 .t2-list-summary > * {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .ui-template-template_2 .t2-list-summary__meta {
        width: auto;
        margin-left: 0;
    }

    .ui-template-template_2 .t2-chip.is-empty:not(.is-active) {
        opacity: .7;
    }

    /* ---- DataTables chrome on phones ------------------------------------- */
    .ui-template-template_2 .dataTables_wrapper > .row.mb-2 {
        padding: 8px 10px;
    }

    .ui-template-template_2 .dataTables_wrapper .dataTables_length {
        display: none;
    }

    .ui-template-template_2 .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }

    /* ---- card rows (car table) ------------------------------------------- */
    .ui-template-template_2 .t2-list-table,
    .ui-template-template_2 .t2-list-table tbody {
        display: block;
        width: 100% !important;
        border: 0;
    }

    .ui-template-template_2 .t2-list-table thead {
        display: none;
    }

    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row {
        display: flex;
        margin-bottom: 8px;
        padding: 10px 12px;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 6px 8px;
        background: #fff;
        border: 1px solid var(--wms-line);
        border-radius: 12px;
        box-shadow: 0 1px 2px rgba(20, 48, 36, .04);
    }

    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row:hover {
        background: #fff;
    }

    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row > td {
        display: block;
        padding: 0;
        border: 0 !important;
        background: transparent;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-index,
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-status {
        display: none;
    }

    /* line 1: vehicle (grows, so nothing else fits beside it) + actions */
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-primary {
        order: 1;
        flex: 1 1 calc(100% - 80px);
        min-width: 0;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-primary .t2-vehicle strong {
        font-size: 13.5px;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-actions {
        order: 2;
        display: grid;
        flex: 0 0 64px;
        grid-template-columns: repeat(2, 30px);
        gap: 4px;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-actions > .btn {
        width: 30px;
        height: 30px;
        margin: 0 !important;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-actions > .btn-sorting {
        display: none !important;
    }

    /* line 2+: meta chips */
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-year,
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-gps,
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-rate,
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-qr,
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-history {
        order: 3;
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-year {
        padding: 0 8px;
        height: 26px;
        color: var(--wms-ink);
        background: #f4f6f3;
        border-radius: 7px;
        font-family: Arial, sans-serif;
        font-size: 11.5px;
        font-weight: 700;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-year::before {
        content: "Year";
        margin-right: 4px;
        color: var(--wms-muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-year .t2-muted {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .ui-template-template_2 .t2-drawer-head,
    .ui-template-template_2 .t2-drawer-overlay {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-year:has(> .t2-muted),
    .ui-template-template_2 .t2-list-table tr.t2-card-row > td.t2-col-rate:has(> .t2-muted) {
        display: none;
    }
}

/* =========================================================================
   Template 2 — phone cards v2 (booking-card style) + drawer consistency
   ========================================================================= */

.ui-template-template_2 .t2-mcard {
    display: none;
}

@media (max-width: 767.98px) {

    /* drawer: same rhythm as the desktop sidebar */
    .ui-template-template_2 #sidebarCollapse .sidebar-content {
        padding: 6px 12px 16px;
        scrollbar-width: none;
    }

    .ui-template-template_2 #sidebarCollapse .sidebar-content::-webkit-scrollbar {
        display: none;
    }

    .ui-template-template_2 .t2-drawer-head {
        height: 64px;
        padding: 0 10px 0 16px;
    }

    .ui-template-template_2 .t2-drawer-head__accent {
        color: var(--sb-accent);
    }

    .ui-template-template_2 #sidebarCollapse .t2-nav-search {
        margin: 12px 0 4px;
    }

    .ui-template-template_2 #sidebarCollapse .t2-account {
        padding: 10px 12px max(12px, env(safe-area-inset-bottom));
    }

    /* rows become cards: only the vehicle cell survives, and it hosts the card */
    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row {
        display: block;
        margin-bottom: 10px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row > td {
        display: none !important;
    }

    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row > td.t2-col-primary {
        display: block !important;
        padding: 0;
    }

    .ui-template-template_2 .t2-list-table tbody tr.t2-card-row > td.t2-col-primary > .t2-vehicle {
        display: none;
    }

    .ui-template-template_2 .t2-mcard {
        display: block;
        padding: 14px 14px 12px;
        background: #fff;
        border: 1px solid var(--wms-line);
        border-radius: 14px;
        box-shadow: 0 1px 2px rgba(20, 48, 36, .04);
    }

    .ui-template-template_2 .t2-mcard__head {
        display: flex;
        margin-bottom: 12px;
        align-items: center;
        gap: 10px;
    }

    .ui-template-template_2 .t2-mcard__icon {
        display: grid;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        place-items: center;
        color: var(--wms-green);
        background: var(--wms-green-soft);
        border-radius: 10px;
        font-size: 16px;
    }

    .ui-template-template_2 .t2-mcard__title {
        display: grid;
        min-width: 0;
        flex: 1;
    }

    .ui-template-template_2 .t2-mcard__title strong {
        overflow: hidden;
        color: var(--wms-ink);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-mcard__title small {
        overflow: hidden;
        color: var(--wms-muted);
        font-size: 11.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-mcard__head .t2-badge {
        flex: 0 0 auto;
    }

    .ui-template-template_2 .t2-mcard__grid {
        display: grid;
        margin: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .ui-template-template_2 .t2-mcard__grid dt {
        margin-bottom: 2px;
        color: var(--wms-muted);
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-mcard__grid dd {
        margin: 0;
        overflow: hidden;
        color: var(--wms-ink);
        font-size: 13px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-mcard__grid dd a {
        color: var(--wms-green);
        font-weight: 800;
    }

    .ui-template-template_2 .t2-mcard__sep {
        color: #c3ccc5;
    }

    .ui-template-template_2 .t2-mcard__ok {
        color: #12653f;
    }

    .ui-template-template_2 .t2-mcard__foot {
        display: flex;
        margin-top: 12px;
        padding-top: 10px;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        border-top: 1px solid #eef1ed;
    }

    .ui-template-template_2 .t2-mcard__actions {
        display: flex;
        margin-right: auto;
        gap: 4px;
    }

    .ui-template-template_2 .t2-mcard__actions > .btn {
        width: 30px;
        height: 30px;
        min-height: 0;
        margin: 0 !important;
        padding: 0;
    }

    .ui-template-template_2 .t2-mcard__actions > .btn-sorting,
    .ui-template-template_2 .t2-mcard__actions > .btn-history,
    .ui-template-template_2 .t2-mcard__actions > .btn-view {
        display: none !important;
    }

    .ui-template-template_2 .t2-mcard__foot > .btn {
        min-height: 32px;
        padding: 4px 11px;
        font-size: 12px;
    }

    .ui-template-template_2 .t2-mcard__foot > .t2-qr-btn.is-open {
        color: var(--wms-green) !important;
        background: var(--wms-green-soft) !important;
        border-color: #b8d3c4 !important;
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-mcard__foot {
        flex-wrap: nowrap;
    }

    .ui-template-template_2 .t2-mcard__foot > .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .ui-template-template_2 .t2-mcard__actions > .btn.t2-qr-btn {
        width: 30px;
        height: 30px;
        min-height: 0;
        padding: 0;
        border-radius: 7px;
    }

    /* card-header actions: one horizontal strip, like the chips */
    .ui-template-template_2 .panel-heading {
        display: block;
    }

    .ui-template-template_2 .panel-heading .options {
        display: flex;
        margin: 8px -16px 0;
        padding: 0 16px 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ui-template-template_2 .panel-heading .options::-webkit-scrollbar {
        display: none;
    }

    .ui-template-template_2 .panel-heading .options > .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .ui-template-template_2 .panel-heading .options > div[style*="clear"] {
        display: none;
    }

    .ui-template-template_2 .panel-heading .options > #optionButton {
        order: -1;
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .panel-heading {
        display: flow-root;
    }

    .ui-template-template_2 .panel-heading .options {
        float: none !important;
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .table td .t2-mcard__foot > .btn,
    .ui-template-template_2 .t2-list-table td .t2-mcard__foot > .btn {
        width: auto;
        height: 32px;
        min-height: 32px;
        padding: 4px 12px;
        font-size: 12px;
    }

    .ui-template-template_2 .table td .t2-mcard__actions > .btn,
    .ui-template-template_2 .t2-list-table td .t2-mcard__actions > .btn {
        width: 30px;
        height: 30px;
    }
}

/* ---- review pass: form error stubs, sort-mode hint, activity-log types --- */

.ui-template-template_2 #dataForm label.error:empty {
    display: none;
}

.ui-template-template_2 .t2-sort-mode #t2CarSummary,
.ui-template-template_2 .t2-sort-mode .t2-list-summary {
    display: none;
}

.ui-template-template_2 .t2-sort-hint {
    display: flex;
    margin: 0 0 12px;
    padding: 10px 14px;
    align-items: center;
    gap: 12px;
    color: #7a4b00;
    background: #fff8e6;
    border: 1px solid #f1dca4;
    border-radius: 10px;
    font-size: 12.5px;
}

.ui-template-template_2 .t2-sort-hint > i {
    font-size: 18px;
}

.ui-template-template_2 .t2-sort-hint strong {
    display: block;
    font-weight: 800;
}

.ui-template-template_2 .t2-sort-mode #tbl-client tbody tr {
    cursor: grab;
}

.ui-template-template_2 .t2-sort-mode #tbl-client tbody tr.ui-sortable-helper {
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 48, 36, .18);
    cursor: grabbing;
}

.ui-template-template_2 .t2-log-type {
    display: inline-block;
    padding: 2px 8px;
    color: #4f5c56;
    background: #f1f4f0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.ui-template-template_2 .t2-log-type--store { color: #12653f; background: #e6f4ec; }
.ui-template-template_2 .t2-log-type--update { color: #1d5a99; background: #e8f1fb; }
.ui-template-template_2 .t2-log-type--delete { color: #8a2f25; background: #fdeeec; }
.ui-template-template_2 .t2-log-type--details { color: #5b665f; background: #f1f4f0; }

.ui-template-template_2 .modal-body .table td.text-nowrap {
    white-space: nowrap;
}

.ui-template-template_2 .modal-body .table thead th {
    white-space: nowrap;
}

/* ---- phones: modals become full-height sheets; SweetAlert centred -------- */
@media (max-width: 767.98px) {
    .ui-template-template_2 .modal-dialog,
    .ui-template-template_2 .modal-dialog.modal-lg,
    .ui-template-template_2 .modal-dialog.modal-dialog-centered {
        width: auto;
        max-width: none;
        min-height: 100%;
        margin: 0;
        align-items: stretch;
    }

    .ui-template-template_2 .modal-content {
        min-height: 100vh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .ui-template-template_2 .modal-header {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
    }

    .ui-template-template_2 .modal-title {
        font-size: 13.5px;
        line-height: 1.35;
    }

    .ui-template-template_2 .modal-body {
        padding: 14px;
    }

    .ui-template-template_2 .modal-body .modal-footer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin: 14px -14px -14px;
        background: #fff;
    }

    .ui-template-template_2 .t2-history__foot {
        flex-wrap: wrap;
    }

    .ui-template-template_2 .t2-history__legend {
        width: 100%;
        margin-right: 0;
    }

    .ui-template-template_2 .t2-history__head {
        gap: 10px;
    }

    .ui-template-template_2 .t2-detail__foot .t2-detail__meta {
        width: 100%;
        margin-left: 0;
    }

    .ui-template-template_2 .swal2-modal {
        left: 16px !important;
        width: calc(100vw - 32px) !important;
        margin-left: 0 !important;
        padding: 22px 18px 18px !important;
    }
}

/* =========================================================================
   Template 2 — Slip Management list
   ========================================================================= */

.ui-template-template_2 .t2-filter-hidden {
    display: none !important;
}

.ui-template-template_2 .t2-list-summary__divider {
    width: 1px;
    height: 22px;
    margin: 0 4px;
    background: var(--wms-line);
}

.ui-template-template_2 .t2-chip--status .t2-chip__label::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    content: "";
    background: #a3ada7;
    border-radius: 50%;
    vertical-align: 1px;
}

.ui-template-template_2 .t2-chip--status.is-active .t2-chip__label::before {
    background: var(--wms-green);
}

/* editable status badge (x-editable anchor inside the badge) */
.ui-template-template_2 .t2-badge--editable {
    cursor: pointer;
}

.ui-template-template_2 .t2-badge--editable a.editable_status {
    color: inherit !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
}

.ui-template-template_2 .t2-badge--editable em {
    margin-left: 2px;
    font-size: 11px;
    opacity: .55;
}

.ui-template-template_2 .t2-badge--editable:hover em {
    opacity: 1;
}

.ui-template-template_2 .t2-badge--editable .editable-container,
.ui-template-template_2 .t2-badge--editable .editableform {
    font-weight: 400;
}

.ui-template-template_2 .editable-container.editable-inline {
    display: inline-flex;
}

.ui-template-template_2 .editableform .form-control {
    min-height: 32px;
    padding: 4px 8px;
    font-size: 12px;
}

.ui-template-template_2 .editableform .editable-buttons .btn {
    min-height: 32px;
    padding: 4px 8px;
}

/* dates cell */
.ui-template-template_2 .t2-dates {
    display: grid;
    gap: 3px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    white-space: nowrap;
}

.ui-template-template_2 .t2-dates small {
    display: inline-block;
    min-width: 52px;
    color: var(--wms-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* priority chip tones (reuses the model-chip base) */
.ui-template-template_2 .t2-prio--danger { color: #8a2f25; background: #fdeeec; }
.ui-template-template_2 .t2-prio--warn { color: #7a4b00; background: #fff4dc; }
.ui-template-template_2 .t2-prio--info { color: #1d5a99; background: #e8f1fb; }

.ui-template-template_2 .t2-locked {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    background: #f4f6f3;
    border-radius: 7px;
    font-size: 14px;
}

.ui-template-template_2 .t2-slip-table .t2-col-section,
.ui-template-template_2 .t2-slip-table .t2-col-file,
.ui-template-template_2 .t2-slip-table .t2-col-history,
.ui-template-template_2 .t2-slip-table .t2-col-print {
    white-space: nowrap;
}

.ui-template-template_2 .t2-slip-table .t2-col-file {
    width: 60px;
    text-align: center;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle .t2-vehicle strong {
    font-size: 12.5px;
    font-weight: 600;
}

/* details modal item table */
.ui-template-template_2 .t2-detail__items {
    margin-top: 14px;
    border: 1px solid var(--wms-line);
    border-radius: 10px;
    overflow: hidden;
}

.ui-template-template_2 .t2-mcard__span2 {
    grid-column: span 2;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-slip-table tbody tr.t2-card-row > td.t2-col-vehicle {
        display: none !important;
    }

    .ui-template-template_2 .custom-filter-wrap > .row > [class*="col-"] {
        flex: 1 1 100%;
    }
}

.ui-template-template_2 .select2-hidden-accessible {
    display: none !important;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle {
    max-width: 320px;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle .t2-vehicle strong {
    white-space: normal;
    overflow-wrap: anywhere;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle {
    min-width: 170px;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle .t2-vehicle,
.ui-template-template_2 .t2-slip-table td.t2-col-primary > .t2-vehicle {
    grid-template-columns: minmax(0, 1fr);
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle .t2-vehicle > *,
.ui-template-template_2 .t2-slip-table td.t2-col-primary > .t2-vehicle > * {
    grid-column: 1;
    grid-row: auto;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle .t2-vehicle strong,
.ui-template-template_2 .t2-slip-table td.t2-col-vehicle .t2-vehicle__bn {
    white-space: normal;
    overflow-wrap: anywhere;
}

.ui-template-template_2 .t2-slip-table td.t2-col-primary > .t2-vehicle > .t2-vehicle__model {
    margin: 2px 0 0;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle {
    min-width: 0;
    max-width: 340px;
}

.ui-template-template_2 .t2-slip-table td.t2-col-status {
    white-space: nowrap;
}

.ui-template-template_2 .t2-slip-table td.t2-col-primary > .t2-vehicle > strong,
.ui-template-template_2 .t2-slip-table td.t2-col-primary > .t2-vehicle > .t2-vehicle__bn {
    white-space: nowrap;
}

.ui-template-template_2 .t2-slip-table th:nth-child(4),
.ui-template-template_2 .t2-slip-table td.t2-col-vehicle {
    width: 30%;
    max-width: none;
}

.ui-template-template_2 .t2-slip-table td.t2-col-section,
.ui-template-template_2 .t2-slip-table td.t2-col-dates {
    width: 1%;
}

.ui-template-template_2 .t2-dates small {
    min-width: 46px;
}

.ui-template-template_2 .t2-slip-table td.t2-col-primary {
    white-space: nowrap;
}

.ui-template-template_2 .t2-dates {
    gap: 2px;
}

.ui-template-template_2 .t2-dates strong {
    color: var(--wms-ink);
    font-size: 12.5px;
    font-weight: 700;
}

.ui-template-template_2 .t2-dates small {
    display: block;
    min-width: 0;
    color: var(--wms-muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ui-template-template_2 .t2-slip-table td.t2-col-index {
    width: 36px;
    padding-right: 6px;
    padding-left: 6px;
}

/* while the inline status editor is open, the badge steps aside */
.ui-template-template_2 .t2-badge--editable:has(.editable-container) {
    padding: 0;
    background: transparent;
    border-color: transparent;
}

.ui-template-template_2 .t2-badge--editable:has(.editable-container) > i,
.ui-template-template_2 .t2-badge--editable:has(.editable-container) > em {
    display: none;
}

.ui-template-template_2 .editableform {
    margin: 0;
}

.ui-template-template_2 .editableform .control-group,
.ui-template-template_2 .editableform .editable-input {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ui-template-template_2 .editableform select.form-control {
    min-width: 170px;
    height: 32px;
}

.ui-template-template_2 .editableform .editable-buttons {
    display: inline-flex;
    margin-left: 6px;
    gap: 4px;
}

.ui-template-template_2 .editableform .editable-buttons .btn {
    width: 32px;
    padding: 0;
    border-radius: 8px;
}

.ui-template-template_2 .editableform .editable-buttons .editable-submit {
    color: #fff !important;
    background: var(--wms-green) !important;
    border-color: var(--wms-green) !important;
}

.ui-template-template_2 .editableform .editable-buttons .editable-cancel {
    color: #35423c !important;
    background: #fff !important;
    border-color: var(--wms-line) !important;
}

.ui-template-template_2 .editableform .editable-error-block {
    color: var(--wms-red);
    font-size: 11.5px;
}

/* inline status editor floats as a popover so the column keeps its width */
.ui-template-template_2 .t2-badge--editable {
    position: relative;
}

.ui-template-template_2 .t2-badge--editable:has(.editable-container) {
    min-width: 96px;
    min-height: 24px;
}

.ui-template-template_2 .t2-badge--editable .editable-container.editable-inline {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(20, 48, 36, .16);
    white-space: nowrap;
}

.ui-template-template_2 .t2-badge--editable .editable-container.editable-inline::before {
    position: absolute;
    top: -6px;
    left: 18px;
    width: 10px;
    height: 10px;
    content: "";
    background: #fff;
    border-top: 1px solid var(--wms-line);
    border-left: 1px solid var(--wms-line);
    transform: rotate(45deg);
}

.ui-template-template_2 .t2-list-table td.t2-col-status {
    overflow: visible;
}

/* =========================================================================
   Template 2 — Estimators (list + manage-slips sub-page)
   ========================================================================= */

.ui-template-template_2 .t2-link-btn--primary {
    color: var(--wms-green) !important;
    background: var(--wms-green-soft);
    border-color: #b8d3c4;
}

.ui-template-template_2 .t2-link-btn--primary:hover {
    color: #fff !important;
    background: var(--wms-green);
    border-color: var(--wms-green);
}

.ui-template-template_2 .t2-badge__icon {
    width: auto;
    height: auto;
    background: transparent;
    font-size: 11px;
}

.ui-template-template_2 .t2-est-table td.t2-col-slips,
.ui-template-template_2 .t2-est-table td.t2-col-doc,
.ui-template-template_2 .t2-est-table td.t2-col-year,
.ui-template-template_2 .t2-est-table td.t2-col-memo {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ui-template-template_2 .t2-est-table td.t2-col-primary {
        width: 34%;
    }

    .ui-template-template_2 .t2-slip-table th:nth-child(4),
    .ui-template-template_2 .t2-slip-table td.t2-col-vehicle {
        width: 30%;
    }
}

/* sub-page header */
.ui-template-template_2 .t2-est-head .panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ui-template-template_2 .t2-back-link {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #4f5c56 !important;
    background: #fff;
    border: 1px solid var(--wms-line);
    border-radius: 8px;
    font-size: 15px;
}

.ui-template-template_2 .t2-back-link:hover {
    color: var(--wms-green) !important;
    background: var(--wms-green-soft);
    border-color: #b8d3c4;
}

.ui-template-template_2 .t2-est-head__crumb {
    color: var(--wms-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ui-template-template_2 .t2-est-stats {
    margin-bottom: 12px;
}

/* vehicle filter row */
.ui-template-template_2 .t2-est-filter {
    align-items: center;
}

.ui-template-template_2 .t2-filter-select {
    display: inline-flex;
    margin: 0;
    align-items: stretch;
    border: 1px solid var(--wms-line);
    border-radius: 9px;
    overflow: hidden;
}

.ui-template-template_2 .t2-filter-select > span:not(.select2-container) {
    display: inline-flex;
    padding: 0 10px;
    align-items: center;
    gap: 6px;
    color: var(--wms-green);
    background: var(--wms-green-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ui-template-template_2 .t2-filter-select > select {
    min-width: 260px;
    height: 34px;
    min-height: 34px;
    padding: 0 30px 0 10px;
    border: 0;
    border-radius: 0;
    font-size: 12.5px;
}

/* editable qty / price cells */
.ui-template-template_2 .t2-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--wms-line);
    border-radius: 8px;
    overflow: hidden;
}

.ui-template-template_2 .t2-qty > input.form-control {
    width: 72px;
    min-height: 34px;
    height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 12.5px;
    text-align: right;
}

.ui-template-template_2 .t2-qty > span {
    display: inline-flex;
    padding: 0 9px;
    align-items: center;
    color: var(--wms-muted);
    background: #f4f6f3;
    font-size: 11px;
    font-weight: 700;
}

.ui-template-template_2 input.form-control.t2-price {
    width: 110px;
    min-height: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 12.5px;
    text-align: right;
}

.ui-template-template_2 .t2-estitem-table td.t2-col-amount {
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.ui-template-template_2 .t2-estitem-table th.t2-num {
    text-align: right;
}

.ui-template-template_2 .t2-estitem-table td.t2-col-qty,
.ui-template-template_2 .t2-estitem-table td.t2-col-price {
    width: 1%;
    white-space: nowrap;
}

.ui-template-template_2 .t2-amount.t2-badge {
    font-family: Arial, sans-serif;
}

.ui-template-template_2 .t2-mcard__grid--edit dd {
    overflow: visible;
    white-space: normal;
}

.ui-template-template_2 .t2-mcard__grid--edit .t2-qty > input.form-control,
.ui-template-template_2 .t2-mcard__grid--edit input.input-unit-price {
    width: 100%;
    min-height: 36px;
    height: 36px;
}

.ui-template-template_2 .t2-mcard__grid--edit input.input-unit-price {
    padding: 0 10px;
    border-radius: 8px;
    text-align: right;
}

.ui-template-template_2 .t2-mcard__grid--edit > div {
    min-width: 0;
}

.ui-template-template_2 .t2-detail__rich {
    font-weight: 500;
    line-height: 1.6;
}

.ui-template-template_2 .t2-detail__rich p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-mobile-action-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 8px;
    }

    .ui-template-template_2 .t2-mobile-action-head .panel-title {
        min-width: 0;
        margin: 0;
        flex: 1 1 auto;
    }

    .ui-template-template_2 .t2-mobile-action-head .options {
        display: flex;
        width: auto;
        max-width: 70%;
        margin: 0 0 0 auto;
        padding: 0;
        flex: 0 1 auto;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        float: none !important;
    }

    .ui-template-template_2 .t2-mobile-action-head .options::-webkit-scrollbar {
        display: none;
    }

    .ui-template-template_2 .t2-mobile-action-head .options > #tableDestroy,
    .ui-template-template_2 .t2-mobile-action-head .options > #tableReload {
        order: -2;
    }

    .ui-template-template_2 .t2-mobile-action-head .options > #optionButton {
        order: -1;
    }

    .ui-template-template_2 .t2-est-head .panel-title {
        flex-wrap: wrap;
    }

    .ui-template-template_2 .t2-est-filter {
        display: grid;
        margin: 0 0 10px;
        padding: 0;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ui-template-template_2 .t2-filter-select > select {
        min-width: 0;
        flex: 1;
    }

    .ui-template-template_2 .t2-est-filter .t2-list-summary__meta {
        display: none;
    }

    .ui-template-template_2 .t2-mcard__grid--edit {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---- Jobs ---------------------------------------------------------------- */
.ui-template-template_2 .t2-job-table td.t2-col-slip,
.ui-template-template_2 .t2-job-table td.t2-col-file,
.ui-template-template_2 .t2-job-table td.t2-col-primary {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ui-template-template_2 .t2-job-table td.t2-col-vehicle {
        width: 34%;
    }
}

.ui-template-template_2 .t2-job-table td.t2-col-vehicle .t2-vehicle {
    grid-template-columns: minmax(0, 1fr);
}

.ui-template-template_2 .t2-job-table td.t2-col-vehicle .t2-vehicle > * {
    grid-column: 1;
    grid-row: auto;
}

.ui-template-template_2 .t2-job-table td.t2-col-vehicle .t2-vehicle strong {
    white-space: normal;
    overflow-wrap: anywhere;
}

.ui-template-template_2 .t2-detail__file {
    margin-top: 14px;
    padding: 8px;
    background: #f8faf8;
    border: 1px solid var(--wms-line);
    border-radius: 12px;
    text-align: center;
}

.ui-template-template_2 .t2-detail__file img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 8px;
}

.ui-template-template_2 .t2-detail__file.is-doc {
    display: none;
}

/* ---- Car makes / models ------------------------------------------------- */
.ui-template-template_2 .t2-make-table td.t2-col-count,
.ui-template-template_2 .t2-model-table td.t2-col-count {
    text-align: right;
    white-space: nowrap;
}

.ui-template-template_2 .t2-model-table td.t2-col-make,
.ui-template-template_2 .t2-model-table td.t2-col-rate {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ui-template-template_2 .t2-make-table td.t2-col-primary,
    .ui-template-template_2 .t2-model-table td.t2-col-primary {
        width: 40%;
    }
}

.ui-template-template_2 .t2-detail__chips {
    display: flex;
    margin-top: 4px;
    flex-wrap: wrap;
    gap: 6px;
}

/* ---- Rate schedule of spare parts --------------------------------------- */
.ui-template-template_2 .t2-filter-select--wide > select {
    min-width: 300px;
}

.ui-template-template_2 .t2-filter-select .select2-container {
    display: inline-block;
    min-width: 300px;
    width: auto !important;
}

.ui-template-template_2 .t2-filter-select .select2-container--default .select2-selection--single {
    min-height: 34px;
    height: 34px;
    background: #fff;
    border: 0;
    border-radius: 0;
}

.ui-template-template_2 .t2-filter-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 4px 30px 4px 10px;
    font-size: 12.5px;
    line-height: 26px;
}

.ui-template-template_2 .t2-filter-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
}

.ui-template-template_2 .t2-rate-table td.t2-col-price {
    text-align: right;
    white-space: nowrap;
}

.ui-template-template_2 .t2-rate-table td.t2-col-model,
.ui-template-template_2 .t2-rate-table td.t2-col-unit {
    white-space: nowrap;
}

.ui-template-template_2 .t2-price-badge a.editable_unit_price {
    font-family: Arial, sans-serif;
}

.ui-template-template_2 .t2-badge--editable .editable-container.editable-inline {
    right: 0;
    left: auto;
}

.ui-template-template_2 .t2-badge--editable .editable-container.editable-inline::before {
    right: 18px;
    left: auto;
}

.ui-template-template_2 .t2-mcard__price a.editable_unit_price {
    color: var(--wms-green);
    font-family: Arial, sans-serif;
    font-weight: 800;
}

.ui-template-template_2 .t2-mcard__price .editable-container.editable-inline {
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.ui-template-template_2 .t2-mcard__price .editable-container.editable-inline::before {
    content: none;
}

@media (min-width: 768px) {
    .ui-template-template_2 .t2-rate-table td.t2-col-primary {
        width: 38%;
    }
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-filter-select--wide {
        width: 100%;
    }

    .ui-template-template_2 .t2-filter-select .select2-container {
        min-width: 0;
        flex: 1;
    }

    .ui-template-template_2 .t2-list-filters {
        display: grid;
    }

    .ui-template-template_2 .t2-list-filters .t2-list-summary__meta {
        display: none;
    }
}

.ui-template-template_2 .t2-list-filters {
    display: flex;
    margin: 0 0 10px;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* =========================================================================
   Consistency pass (v2.9.3): slip list, forms, account pages, states
   ========================================================================= */

/* Slip list: keep the slip number and dates readable at laptop widths. */
.ui-template-template_2 .t2-slip-table td.t2-col-primary {
    min-width: 104px;
}

.ui-template-template_2 .t2-slip-table td.t2-col-primary > .t2-vehicle > .t2-vehicle__bn {
    white-space: normal;
}

.ui-template-template_2 .t2-slip-table td.t2-col-dates {
    min-width: 104px;
}

.ui-template-template_2 .t2-slip-table td.t2-col-vehicle {
    min-width: 150px;
}

/* Legacy toolbar filters stay hidden until DataTables moves them into the toolbar. */
.ui-template-template_2 :not(.custom-filter-wrap) > #custom-section-filter {
    display: none;
}

/* Empty-state text steps aside while a table is loading. */
.ui-template-template_2 .dataTables_wrapper:has(.dataTables_processing:not([style*="none"])) td.dataTables_empty {
    visibility: hidden;
}

/* Validation stubs: never show an empty error label. */
.ui-template-template_2 label.error:empty,
.ui-template-template_2 #dataForm .form-control.required ~ label.error:empty {
    display: none !important;
}

/* Legacy .input-group-addon markup inside forms (quantity steppers, prefixes). */
.ui-template-template_2 .form-group .input-group > .input-group-addon {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    color: var(--wms-muted);
    background: #f4f6f3;
    border: 1px solid var(--wms-line);
    font-size: 12px;
    font-weight: 700;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon:first-child {
    border-right: 0;
    border-radius: 9px 0 0 9px;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon:last-child {
    border-left: 0;
    border-radius: 0 9px 9px 0;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon[style*="padding: 0"] {
    padding: 0 !important;
    border: 0;
    background: transparent;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon .btn {
    min-height: 38px;
    border-radius: 9px;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon:first-child .btn {
    border-radius: 9px 0 0 9px;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon:last-child .btn {
    border-radius: 0 9px 9px 0;
}

.ui-template-template_2 .form-group .input-group:has(> .form-control.input-number) {
    flex-wrap: nowrap;
}

.ui-template-template_2 .form-group .input-group > .form-control.input-number {
    flex: 1 1 48px;
    width: auto;
    min-width: 40px;
    padding-right: 4px;
    padding-left: 4px;
    text-align: center;
    border-radius: 0;
}

.ui-template-template_2 .form-group .input-group > .input-group-addon .btn.minus,
.ui-template-template_2 .form-group .input-group > .input-group-addon .btn.plus {
    min-width: 32px;
    padding: 0 8px;
}

/* Quantity stepper buttons are neutral controls, not destructive actions. */
.ui-template-template_2 .input-group .input-group-addon .btn.minus,
.ui-template-template_2 .input-group .input-group-addon .btn.plus {
    color: var(--wms-ink) !important;
    background: #f4f6f3 !important;
    border: 1px solid var(--wms-line) !important;
}

.ui-template-template_2 .input-group .input-group-addon .btn.minus:hover,
.ui-template-template_2 .input-group .input-group-addon .btn.plus:hover {
    color: var(--wms-green) !important;
    background: var(--wms-green-soft) !important;
}

/* Account pages (profile, password, team) share the panel shell. */
.ui-template-template_2 .t2-profile__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    width: 100%;
}

.ui-template-template_2 .t2-profile__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ui-template-template_2 .t2-profile__tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    color: var(--wms-muted);
    background: transparent;
    border: 1px solid var(--wms-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ui-template-template_2 .t2-profile__tabs a:hover {
    color: var(--wms-green);
    background: var(--wms-green-soft);
    text-decoration: none;
}

.ui-template-template_2 .t2-profile__tabs a.active {
    color: var(--wms-green);
    background: var(--wms-green-soft);
    border-color: var(--wms-green);
}

.ui-template-template_2 .t2-profile .panel-body > .row {
    margin-right: 0;
    margin-left: 0;
}

.ui-template-template_2 .t2-profile .panel-body > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.ui-template-template_2 .t2-profile .panel-body > form > .row {
    margin-right: -8px;
    margin-left: -8px;
}

.ui-template-template_2 .t2-profile .panel-body > form > .row > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

.ui-template-template_2 .t2-profile .panel-body > hr {
    margin: 18px 0 !important;
    border-color: var(--wms-line);
    opacity: 1;
}

.ui-template-template_2 .t2-profile .avatar.avatar-sm {
    width: 48px;
    height: 48px;
}

.ui-template-template_2 .t2-profile .avatar.avatar-sm img {
    width: 48px;
    height: 48px;
    margin: 0 !important;
    object-fit: cover;
}

.ui-template-template_2 .t2-profile h4 {
    font-size: 14px;
    font-weight: 750;
}

.ui-template-template_2 .t2-profile h2 {
    font-size: 17px;
    font-weight: 750;
}

.ui-template-template_2 .t2-profile .card.bg-light {
    background: #f8faf8 !important;
    border: 1px solid var(--wms-line) !important;
    box-shadow: none;
}

.ui-template-template_2 .t2-profile .btn-white {
    background: var(--wms-surface);
    border: 1px solid var(--wms-line);
    color: var(--wms-ink);
}

.ui-template-template_2 .t2-profile .form-control[readonly] {
    background: #f4f6f3;
}

@media (max-width: 767.98px) {
    .ui-template-template_2 .t2-profile .card.ms-md-4 {
        margin-top: 16px;
    }
}

/* Top navigation: keep the workshop brand visible when the sidebar is hidden. */
.ui-template-template_2 .t2-topnav__brand {
    display: none;
}

html[data-wms-navigation="topnav"] .ui-template-template_2 .t2-topnav__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
    padding: 4px 8px 4px 4px;
    color: var(--wms-ink);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.ui-template-template_2 .t2-topnav__brand img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ui-template-template_2 .t2-topnav__brand span {
    color: var(--wms-green);
}

/* Sidebar scroll area: Dashkit gives .navbar-collapse ±1.5rem bleed margins
   (width: 100% + 3rem). With the sidebar's own padding removed that bleed
   painted a white strip over the page content. Pin it to the sidebar. */
@media (min-width: 768px) {
    .ui-template-template_2 .navbar-vertical .navbar-collapse {
        width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .ui-template-template_2 .navbar-vertical .navbar-collapse::before {
        display: none;
    }
}

/* Chrome honours scrollbar-width over ::-webkit-scrollbar; "thin" renders a
   permanent 11px classic bar. Let the 6px custom thumb apply instead. */
.ui-template-template_2 .sidebar-content {
    scrollbar-width: auto;
    scrollbar-color: auto;
}

/* Account menu wrapper: click-only dropdown that opens upward. */
.ui-template-template_2 .t2-account__dropdown {
    position: relative;
}

.ui-template-template_2 .t2-account__dropdown > .dropdown-menu {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 0;
}

/* Auth cover on short desktop viewports: the cover is 100vh and clips, so
   drop the optional blocks before the footer/helpline can be cut off. */
@media (max-height: 700px) and (min-width: 992px) {
    .ui-template-template_2 .auth-t2__cover-body {
        gap: 14px;
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .ui-template-template_2 .auth-t2__points {
        margin-top: 12px;
        gap: 8px 20px;
    }

    .ui-template-template_2 .auth-t2__stats {
        display: none;
    }

    .ui-template-template_2 .auth-t2__cover-copy h1 {
        font-size: clamp(24px, 3vw, 30px);
    }
}

@media (max-height: 560px) and (min-width: 992px) {
    .ui-template-template_2 .auth-t2__points {
        display: none;
    }
}

/* .fe-spin is used on loader icons but the icon font ships no such class. */
.ui-template-template_2 .fe-spin {
    display: inline-block;
    animation: auth-t2-spin .8s linear infinite;
}

.ui-template-template_2 .auth-t2__credit {
    color: var(--wms-green);
    font-weight: 700;
    text-decoration: none;
}

.ui-template-template_2 .auth-t2__credit:hover {
    text-decoration: underline;
}

/* Mobile navigation: use the drawer width, not the desktop navbar's alignment. */
@media (max-width: 767.98px) {
    .ui-template-template_2 #sidebarCollapse {
        width: min(88vw, 360px);
        margin: 0 !important;
        align-items: stretch !important;
        border-radius: 0 20px 20px 0;
    }
    .ui-template-template_2 #sidebarCollapse .t2-drawer-head {
        width: 100%;
        height: auto;
        min-height: 80px;
        padding: max(16px, env(safe-area-inset-top)) 16px 16px;
    }
    .ui-template-template_2 #sidebarCollapse .t2-drawer-close {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border: 1px solid var(--sb-line);
        background: var(--sb-hover);
        color: var(--sb-text);
    }
    .ui-template-template_2 #sidebarCollapse .main-sidebar {
        width: 100%;
        flex: 1 1 0;
        min-height: 0;
        margin: 0;
    }
    .ui-template-template_2 #sidebarCollapse .sidebar-content {
        width: 100%;
        padding: 0 14px 20px;
        overscroll-behavior-y: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--sb-line) transparent;
    }
    .ui-template-template_2 #sidebarCollapse .navbar-nav {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .ui-template-template_2 #sidebarCollapse .t2-nav-search {
        margin: 14px 0 8px;
    }
    .ui-template-template_2 #sidebarCollapse .t2-nav-search__box {
        min-height: 44px;
        border-radius: 12px;
    }
    .ui-template-template_2 #sidebarCollapse .t2-nav-group {
        margin: 20px 0 6px;
        padding: 0 12px;
    }
    .ui-template-template_2 #sidebarCollapse .navbar-nav .nav-link {
        min-height: 46px;
        padding: 10px 12px;
        margin: 2px 0;
        gap: 12px;
        font-size: 14px;
        border-radius: 12px;
    }
    .ui-template-template_2 #sidebarCollapse .t2-account {
        width: 100%;
        margin: 0;
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    }
    .ui-template-template_2 #sidebarCollapse .t2-account__btn {
        min-height: 58px;
        border: 1px solid var(--sb-line);
    }
    .ui-template-template_2 #sidebarCollapse .t2-account__menu {
        left: 14px !important;
        width: calc(min(88vw, 360px) - 28px);
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    }
    .ui-template-template_2 .t2-drawer-overlay {
        background: rgba(8, 20, 15, .36);
        backdrop-filter: blur(3px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ui-template-template_2 #sidebarCollapse,
    .ui-template-template_2 .t2-drawer-overlay { transition: none !important; }
}
