﻿body {
    font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    display: flex;
    font-size: 12px;
    height: 100vh !important;
    background-color: #e5e7eb;
    /*overflow: hidden !important;*/
}

:root {
    --branding: #F39200;
    --dark: #1f2531;
    --bg-dark: #17161a;
}

b, strong, .strong {
    font-weight: 500;
}

input {
    height: 38px !important;
}

select {
    height: 38px !important;
}

.e-grid .e-rowcell {
    font-size: 12px;
}

label {
    margin-top: 0px;
}

/* Modified By Nirajan */
:root {
    --sn-background-color: #ffffff;
    --sn-border-color: #f0f0f0;
    --sn-secondary-border-color: #f9fafb;
    --sn-border-radius: 8px;
    --sn-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --sn-text-color: #333;
    --sn-form-title-font-size: 1.5em;
    --sn-font-size: 13px;
    --sn-btn-background-color: #ff8d00;
    --sn-btn-text-color: #ffffff;
    --sn-btn-border-radius: 8px;
    --sn-btn-padding: 10px 12px;
    --sn-btn-font-size: 13px;
    --sn-btn-border: none;
    --sn-btn-hover-background: #ff991c;
    --sn-btn-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --sn-btn-primary-background-color: #ff8d00;
    --sn-btn-primary-hover-background: #ff991c;
    --sn-btn-dark-background-color: #343a40;
    --sn-btn-dark-hover-background: #23272b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sn-btn {
    background-color: var(--sn-btn-background-color) !important;
    color: var(--sn-btn-text-color) !important;
    border: var(--sn-btn-border) !important;
    border-radius: var(--sn-btn-border-radius) !important;
    padding: var(--sn-btn-padding) !important;
    font-size: var(--sn-btn-font-size) !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
    width: 100% !important;
    margin: 0 !important;
}

.e-dlg-header-content {
    padding: 0 !important;
}

.sn-btn:hover {
    background-color: var(--sn-btn-hover-background);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sn-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--sn-btn-background-color);
}

.sn-btn-primary {
    background-color: var(--sn-btn-primary-background-color);
}

    .sn-btn-primary:hover {
        background-color: var(--sn-btn-primary-hover-background);
    }

.sn-btn-dark {
    background-color: var(--sn-btn-dark-background-color) !important;
}

.e-btn.fetch-car-details-btn.e-disabled,
.e-btn.fetch-car-details-btn:disabled,
.e-btn.sn-btn.e-disabled,
.e-btn.sn-btn:disabled {
    background-color: #9aa4b2 !important;
    border-color: #9aa4b2 !important;
    color: #f5f7fa !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.fetch-vehicle-disabled .sn-form-group-container {
    opacity: 0.7;
}

.fetch-vehicle-disabled .e-input,
.fetch-vehicle-disabled .e-input-group,
.fetch-vehicle-disabled .e-ddl,
.fetch-vehicle-disabled .e-control-wrapper,
.fetch-vehicle-disabled .e-btn {
    cursor: not-allowed !important;
}

    .sn-btn-dark:hover {
        background-color: var(--sn-btn-dark-hover-background);
    }

.sn-btn-light {
    background-color: var(--sn-btn-text-color) !important;
    color: var(--sn-btn-dark-background-color) !important;
    border: solid 2px var(--sn-border-color) !important;
}

    .sn-btn-light:hover {
        background-color: var(--sn-background-color);
        color: var(--sn-text-color);
    }


.sn-form-container .e-dialog {
    max-width: 80rem;
}

.sn-form-container.sn-half-width {
    max-width: 80rem;
    margin: auto;
    border: 2px solid var(--sn-border-color) !important;
    border-radius: var(--sn-border-radius) !important;
    padding: 10px !important;
}

.sn-form-group-title h3 {
    margin-bottom: 10px;
    font-size: var(--sn-form-title-font-size) !important;
    color: var(--sn-text-color) !important;
    font-weight: 700 !important;
}

.sn-form-group-container {
    display: flex;
    flex-wrap: wrap;
}

.sn-text-box {
    width: 100% !important
}

.sn-bg-border-color {
    background-color: var(--sn-secondary-border-color) !important;
}

.sn-border-radius {
    border-radius: var(--sn-border-radius) !important;
}

.sn-boxed {
    border: 2px solid var(--sn-border-color) !important;
    border-radius: var(--sn-border-radius) !important;
    padding: 10px !important;
}

.sn-form-control input, .sn-form-control select {
    /*    width: 100% !important;*/
    padding: 10px 12px !important;
    font-size: var(--sn-font-size) !important;
    height: auto !important;
}

.e-popup-form-control * {
    color: var(--sn-text-color) !important;
}

.sn-form-control {
    /*    width: 100% !important;*/
    border: 2px solid var(--sn-border-color) !important;
    border-radius: var(--sn-border-radius) !important;
    font-size: var(--sn-font-size) !important;
    background-color: var(--sn-background-color) !important;
}

    .sn-form-control input, .sn-form-control select {
        height: auto !important;
    }

    .sn-form-control:focus-within {
        border-color: var(--sn-btn-dark-background-color) !important;
        box-shadow: 0 0 0 3px rgba(249, 250, 251, 0.3) !important;
    }

    .sn-form-control:focus,
    .sn-form-control *:focus,
    .sn-form-control:active,
    .sn-form-control *:active {
        outline: none !important;
    }


.sn-btn-success {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

.sn-btn-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.sn-btn-warning {
    background-color: #ffc107 !important;
    color: #ffffff !important;
}

.sn-btn-info {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

.sn-btn-muted {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

.sn-low-success-bg {
    background-color: #d4edda !important;
}

.sn-low-warning-bg {
    background-color: #fff3cd !important;
}

.sn-low-danger-bg {
    background-color: #f8d7da !important;
}

.sn-low-info-bg {
    background-color: #cce5ff !important;
}

.sn-low-mute-bg {
    background-color: #f1f1f1 !important;
}

select.sn-form-control option {
    background-color: var(--sn-background-color) !important;
    color: var(--sn-text-color) !important;
    padding: 10px !important;
}

    select.sn-form-control option:hover {
        background-color: var(--sn-btn-dark-background-color) !important;
        color: var(--sn-btn-text-color) !important;
    }

.mh-100 {
    min-height: 100px;
}

.sn-row {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}

.sn-col-1 {
    flex: 0 0 8.3333%;
    padding: 5px;
}

.sn-col-2 {
    flex: 0 0 16.6667%;
    padding: 5px;
}

.sn-col-3 {
    flex: 0 0 25%;
    padding: 5px;
}

.sn-col-4 {
    flex: 0 0 33.3333%;
    padding: 5px;
}

.sn-col-5 {
    flex: 0 0 41.6667%;
    padding: 5px;
}

.sn-col-6 {
    flex: 0 0 50%;
    padding: 5px;
}

.sn-col-7 {
    flex: 0 0 58.3333%;
    padding: 5px;
}

.sn-col-8 {
    flex: 0 0 66.6667%;
    padding: 5px;
}

.sn-col-9 {
    flex: 0 0 75%;
    padding: 5px;
}

.sn-col-10 {
    flex: 0 0 83.3333%;
    padding: 5px;
}

.sn-col-11 {
    flex: 0 0 91.6667%;
    padding: 5px;
}

.sn-col-12 {
    flex: 0 0 100%;
    padding: 5px;
}

/* min width */
@media (min-width: 768px) {
    .sn-col-md-1 {
        flex: 0 0 8.3333%;
    }

    .sn-col-md-2 {
        flex: 0 0 16.6667%;
    }

    .sn-col-md-3 {
        flex: 0 0 25%;
    }

    .sn-col-md-4 {
        flex: 0 0 33.3333%;
    }

    .sn-col-md-5 {
        flex: 0 0 41.6667%;
    }

    .sn-col-md-6 {
        flex: 0 0 50%;
    }

    .sn-col-md-7 {
        flex: 0 0 58.3333%;
    }

    .sn-col-md-8 {
        flex: 0 0 66.6667%;
    }

    .sn-col-md-9 {
        flex: 0 0 75%;
    }

    .sn-col-md-10 {
        flex: 0 0 83.3333%;
    }

    .sn-col-md-11 {
        flex: 0 0 91.6667%;
    }

    .sn-col-md-12 {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .sn-col-md-1,
    .sn-col-md-2,
    .sn-col-md-3,
    .sn-col-md-4,
    .sn-col-md-5,
    .sn-col-md-6,
    .sn-col-md-7,
    .sn-col-md-8,
    .sn-col-md-9,
    .sn-col-md-10,
    .sn-col-md-11,
    .sn-col-md-12 {
        flex: 0 0 100%;
    }
}

/* new css for customer portal */
.sn-sub-title {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-top: 10px;
}

.sn-show-vehicle-detail span {
    display: block;
    font-size: 13px;
    color: #696969;
}

.sn-show-vehicle-detail strong {
    font-weight: 500;
    color: #333;
}

/* new css for file upload */

.sn-dropzone {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 50px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    position: relative;
}

    .sn-dropzone:hover {
        background-color: #f0f0f0;
    }

    .sn-dropzone input[type="file"] {
        display: none;
    }

    .sn-dropzone .sn-upload-icon {
        margin-bottom: 10px;
    }

        .sn-dropzone .sn-upload-icon i {
            font-size: 3em;
            color: #666;
        }

    .sn-dropzone p {
        margin: 0;
        font-size: 1em;
        color: #666;
    }

/* new css for file upload */

.sn-upload {
    /* border: 2px dashed #ccc; */
    border-radius: 4px;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    position: relative;
    background: #031022;
}

    .sn-upload input[type="file"] {
        display: none;
    }

.sn-upload-title {
    font-size: 14px;
    color: rgb(30 64 175 / 1);
    ;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sn-upload-info {
    font-size: 12px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sn-upload .sn-upload-icon {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.5rem;
}

    .sn-upload .sn-upload-icon i {
        color: #fff;
    }

.sn-upload p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.sn-upload-list ul {
    list-style: none;
    padding: 0;
}

    .sn-upload-list ul li {
        align-items: center;
        gap: 0.6rem;
        display: flex;
        font-size: 1rem;
        line-height: 2rem;
    }

        .sn-upload-list ul li i {
            color: rgb(74, 109, 225);
            font-size: 1rem;
        }

.sn-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.sn-upload-preview-item {
    position: relative;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

    .sn-upload-preview-item img {
        width: 100%;
        border-radius: 10px;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

.sn-upload-preview-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.sn-upload-preview-item:hover .sn-upload-preview-remove {
    background: var(--sn-btn-background-color);
    opacity: 1;
}
/* parts assessment */
.sn-border {
    border-top-width: 0.5px;
    border-color: var(--sn-border-color);
}

.sn-bg-gray-100 {
    background-color: var(--sn-secondary-border-color);
}

.sn-font-bold {
    font-weight: 600;
}

.sn-align-right {
    text-align: right;
}

/* new */
.sn-assessment-subtitle {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-top: 10px;
}

.sn-assessment-title {
    font-size: px;
    color: #333;
    font-weight: 700;
    margin-top: 5px;
}

.sn-assessment-muted {
    font-size: 12px;
    color: #808080;
    font-weight: 500;
    display: block;
}

.sn-text-success {
    color: rgb(21 128 61);
}

.sn-text-dark {
    color: #343a40;
}

.sn-accordion .accordion-button:not(.collapsed) {
    background-color: var(--sn-secondary-border-color);
}

.e-acrdn-header-content {
    width: calc(100% - 30px);
}

.e-acrdn-header {
    position: relative;
}

.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon {
    height: 100%;
}

a.btn.btn-control {
    font-size: 14px;
    background: var(--branding);
    border-radius: 5px;
    color: rgb(255, 255, 255) !important;
}

.e-toolbar .e-tbar-btn:hover {
    background: var(--bg-dark) !important;
}

button.btn.btn-control {
    font-size: 14px;
    background: var(--branding);
    border-radius: 5px;
    margin: 0px 5px;
    color: rgb(255, 255, 255) !important;
}

.card-footer button.btn.btn-secondary, .e-flat, .bg-black {
    font-size: 14px;
    background: var(--bg-dark) !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    border: none !important;
}

    .e-btn.bg-blue, .e-btn.e-primary, .card-footer button, .e-flat.e-primary, .form-group .btn.bg-blue {
        font-size: 14px;
        background: var(--branding) !important;
        border-radius: 5px !important;
        font-weight: 600 !important;
        border: none !important;
    }

div[role="dialog"] {
    padding: 1em !important;
}

div.card-body div[role="dialog"] {
    padding: 0em !important;
}

.e-contextmenu-wrapper ul .e-menu-item.e-selected, .e-contextmenu-container ul .e-menu-item.e-selected {
    background-color: var(--branding) !important;
}

.e-dialog .e-btn .e-btn-icon.e-icon-dlg-close, .e-dialog .e-btn.e-dlg-closeicon-btn:hover span {
    font-size: 14px;
    color: rgb(255, 255, 255) !important;
}

.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
    height: 35px;
    width: 35px !important;
    border-radius: 50% !important;
}

.nav-tabs .nav-link.active {
    background: var(--branding) !important;
    border: none !important;
}

input.btn.btn-control {
    font-size: 14px;
    background: var(--branding);
    border-radius: 5px;
    margin: 0px 5px;
    color: rgb(255, 255, 255) !important;
}

.form-control {
    height: calc(1.8em + 0.75rem + 2px);
    font-size: 14px;
    border-radius: 5px !important;
    margin-bottom: 0rem !important;
}

li.breadcrumb-item {
    font-size: 14px;
}

.e-btn, .e-css.e-btn {
    background: var(--dark);
    font-weight: 600;
}

.modal-open .modal {
    height: auto !important;
}

.content-area .icons {
    right: 0px !important;
}

    .content-area .icons.mb-1 span {
        padding: 5px !important;
        border-radius: 50%; /* Keep the circular shape */
        transition: all 0.3s ease;
        margin-right: 5px !important;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 12px;
        width: 12px;
        background-clip: padding-box;
        border: 2px solid #fff; /* White border */
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for base state */
    }

/* Optional hover effect for better interactivity */
/*.content-area .icons.mb-1 span:hover {
    border-color: #FF5733;*/ /* Change border color on hover */
/*box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.15);*/ /* Increase shadow for hover effect */
/*}*/



.form-group-lg .form-control, .form-control {
    background-color: rgb(254, 254, 254);
    border-radius: 1px;
    box-shadow: none;
}

    .form-group-lg .form-control:focus, .form-control:focus {
        outline: 0px;
        box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
    }

.form-group span:first-of-type.required::after {
    color: red;
    content: "*";
    font-size: 85%;
    margin-left: 6px;
}

.login-container {
    display: flex;
    margin: auto;
    border: 1px solid rgb(219, 219, 219);
}

    .login-container .error-message {
        position: absolute;
        left: 0px;
        right: 0px;
    }

    .login-container .left-side {
        width: 450px;
        background: rgb(86, 171, 47);
        color: rgb(255, 255, 255);
        padding: 1em;
        position: relative;
    }

    .login-container .right-side {
        width: 500px;
        background: rgb(246, 249, 252);
        position: relative;
    }

        .login-container .right-side section {
            padding: 4em;
            margin-top: 22px;
        }

.app-wrapper {
    /*margin-left: -15px !important;*/
    height: 100vh;
    gap: 0em 1em;
    width: 100%;
}

    .app-wrapper .e-content-animation {
        transition: margin 0s ease,transform 0s ease;
        display: grid;
        height: 100%;
        grid-template-columns: 0px 1fr;
        grid-template-areas:
            "nav-bar nav-bar"
            "sidebar main";
    }

.app-wrapper1 {
    overflow-y: scroll;
}

.app-wrapper .nav-bar {
    grid-area: nav-bar / nav-bar / nav-bar / nav-bar;
    padding: 2px 15px;
    color: rgb(51, 51, 51) !important;
}

.app-wrapper .side-bar {
    grid-area: sidebar / sidebar / sidebar / sidebar;
    background-color: rgb(229, 239, 248);
    padding-right: 7px;
}

.e-sidebar.e-left.e-open span.e-tgl-collapse-icon.e-icons {
    font-weight: 800 !important;
    font-size: 16px !important;
}

.app-wrapper .main-content {
    grid-area: main / main / main / main;
    position: relative;
    padding: 15px;
    padding-top: 10px !important;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

    .app-wrapper .main-content .page-content {
        display: grid;
        grid-auto-rows: max-content;
        row-gap: 0.7em;
        min-height: auto;
        height: auto;
    }

a.btn.bg-blue.e-link {
    font-size: 14px;
}

@media only screen and (max-width: 768px) {
    .app-wrapper {
        grid-template: "nav-bar" auto "sidebar" auto "main" 1fr / 1fr;
    }

        .app-wrapper .nav-bar {
            padding: 5px;
        }

    nav .logo img {
        max-width: 150px !important;
    }
}

.dashboard-stats {
    display: flex;
    justify-content: space-between;
}

    .dashboard-stats .dashboard-item {
        text-align: center;
        background: rgb(255, 255, 255);
        color: rgb(100, 109, 226);
    }

        .dashboard-stats .dashboard-item i {
            font-size: 4em;
            padding: 1rem 0px;
            display: block;
        }

        .dashboard-stats .dashboard-item header {
            font-size: 3em;
        }

        .dashboard-stats .dashboard-item footer {
            text-align: center;
        }

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.navigation-drawer {
    display: flex;
    flex-direction: column;
}

    .navigation-drawer a {
        font-size: 14px;
        font-weight: 600;
        color: rgb(73, 80, 87) !important;
        text-decoration: none !important;
    }

    .navigation-drawer ul.setting-list {
        background: #fff;
        margin: 0px;
    }

    .navigation-drawer a:hover, .breadcrumb-item a {
        color: #333 !important;
        font-weight: 800;
    }

    .navigation-drawer > section {
        display: flex;
        flex-direction: column;
        /* padding: 15px 0; */
        border-bottom: 1px solid #e9e9e9;
    }

.profile-info {
    padding-left: 15px !important;
    padding-top: 0px !important;
    padding-right: 0px !important;
}

    .profile-info .alert-info {
        color: #fff;
        background-color: #ff7f00;
        border-color: #ff7f00;
        padding: 0px 5px;
        font-weight: 700;
    }

    .profile-info svg {
        left: 35px;
        position: absolute;
        background: #fff;
        border-radius: 50%;
        height: 15px;
        width: 15px;
    }

.navigation-drawer .profile-info {
    margin-bottom: 0px;
    padding: 5px 0px !important;
    FONT-WEIGHT: 200;
}

    .navigation-drawer .profile-info .image {
        /* float: left; */
        /* margin-right: 10px; */
        /* margin-top: 5px; */
        /* width: 40px; */
        /* height: 40px; */
        /* color: #c1c1c1; */
        /* text-align: center; */
        /* border: 2px solid #c1c1c1; */
        /* border-radius: 50%; */
        /* content: '\f067'; */
        /* line-height: 40px; */
        /* font-family: "Font Awesome 5 Free"; */
        /* font-weight: 900; */
    }

    .navigation-drawer .profile-info img {
        margin-right: 10px;
        margin-top: 3px;
        width: 45px;
        height: 45px;
        border: 2px solid #ff7f00;
        border-radius: 50%;
    }

.navigation-drawer header {
    font-size: 0.88em;
    padding: 13px 7px;
}

.navigation-drawer ul {
    list-style: none;
    padding: 0px;
}

    .navigation-drawer ul li {
        font-size: 1.2em;
        margin-bottom: 0px;
        border-radius: 4px;
    }

        .navigation-drawer ul li:hover {
        }

        .navigation-drawer ul li a {
            display: flex;
            height: 100%;
            flex-direction: row;
            justify-content: flex-start;
            text-decoration: none;
            width: 100%;
        }

    .navigation-drawer ul a {
    }

    .navigation-drawer ul li a.active, label:active {
        font-weight: bold;
        color: #000 !important;
    }

    .navigation-drawer ul li a:hover {
        color: rgb(243, 146, 0);
    }

        .navigation-drawer ul li a:hover > i {
            color: rgb(243, 146, 0);
        }

    .navigation-drawer ul li a i {
        padding-right: 15px !important;
        font-size: 20px !important;
        width: 37px !important;
        margin-bottom: 4px;
    }

.nav-bar nav {
    z-index: 999999;
    padding: 2px 15px;
}

.form-inline a {
    color: rgb(255, 255, 255);
}

.environment {
    font-size: 14px;
    background: rgb(50, 47, 47);
    padding: 3px;
    border: 1px solid;
}

.member-image {
    height: 128px;
}

.controls-container {
    display: flex;
    flex-wrap: nowrap;
}

    .controls-container .controls {
        align-self: flex-end;
        margin-left: auto;
    }

.member-profile-info-container {
    display: grid;
    grid-template: "image summary action" 1fr / auto 1fr auto;
    column-gap: 1em;
}

    .member-profile-info-container .profile-image {
        grid-area: image / image / image / image;
        display: block;
        text-align: center;
    }

        .member-profile-info-container .profile-image > * {
            display: block;
            margin: auto;
        }

    .member-profile-info-container .profile-summary {
        grid-area: summary / summary / summary / summary;
    }

        .member-profile-info-container .profile-summary > * {
            display: block;
        }

    .member-profile-info-container .profile-action {
        grid-area: action / action / action / action;
    }

.spinner-grow {
    width: 10rem;
    height: 10rem;
}

@media only screen and (max-width: 768px) {
    .member-profile-info-container {
        grid-template-columns: 1fr;
        grid-template-areas: "image" "summary" "action";
        justify-items: center;
    }

        .member-profile-info-container .profile-summary {
            text-align: center;
        }

    .app-wrapper .nav-bar .right .e-btn {
        padding: 5px;
    }
}

.job-overview > .card {
    border: none !important;
    border-radius: 0px !important;
}

    .job-overview > .card .card-body {
        padding-top: 0px !important;
    }

.map-sidebar {
    min-width: 400px;
    display: none;
    margin-left: 3px;
}

    .map-sidebar.active {
        display: block;
    }

.job-editors {
    display: flex;
    flex-wrap: wrap;
}

    .job-editors > * {
        margin: 1em 0px;
        flex-grow: 1;
        flex-shrink: 0;
    }

.stc-form {
    font-size: 80%;
}

    .stc-form .checkmark {
        display: inline-block;
        border: 1px solid;
        height: 18px;
        width: 18px;
    }

        .stc-form .checkmark + span {
            margin-left: 9px;
        }

    .stc-form .signature {
        display: flex;
        justify-content: space-between;
    }

        .stc-form .signature .date {
            align-self: flex-end;
        }

    .stc-form section {
        display: flex;
        border-width: 2px 2px 0px;
        border-top-style: solid;
        border-right-style: solid;
        border-left-style: solid;
        border-top-color: rgb(229, 239, 248);
        border-right-color: rgb(229, 239, 248);
        border-left-color: rgb(229, 239, 248);
        border-image: initial;
        margin-bottom: 0px;
        border-bottom-style: initial;
        border-bottom-color: initial;
        flex-grow: 1;
    }

        .stc-form section > header {
            display: flex;
            justify-content: space-between;
        }

            .stc-form section > header .controls {
                font-weight: bold;
                background: rgb(65, 114, 0);
                margin-right: -4px;
                padding: 0px 0.5rem;
            }

            .stc-form section > header:first-of-type {
                background: rgb(86, 171, 47);
                color: rgb(255, 255, 255);
                text-transform: uppercase;
                padding: 0px 0.25rem;
                margin: -2px;
            }

    .stc-form .company-detail {
        flex-direction: row;
        padding: 0.58em 1.5em;
    }

        .stc-form .company-detail .logo {
            flex-grow: 1;
            align-self: center;
        }

        .stc-form .company-detail .title {
            flex-grow: 1;
            align-self: center;
        }

        .stc-form .company-detail .contact-detail {
            justify-self: end;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            text-align: right;
        }

    .stc-form .owner-detail {
        display: flex;
        flex-flow: wrap;
        flex-grow: 1;
    }

        .stc-form .owner-detail > div {
            min-width: 350px;
            max-width: 350px;
        }

    .stc-form .mandatory-cec-statement {
        display: flex;
        flex-direction: column;
    }

    .stc-form .mandatory-declaration {
        display: flex;
        flex-direction: column;
    }

.nav-bar nav .form-control {
    width: 235px;
    font-size: 14px;
    min-height: 40px !important;
    height: 28px !important;
    margin: 0px !important;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
}

.card .card-body {
    padding: 10px !important;
}

#app {
    width: 100% !important;
}

.e-multi-select-wrapper.e-down-icon {
    height: calc(1.7em + 0.75rem + 2px);
}

span.e-delim-values.e-delim-view {
    line-height: 39px;
}

.e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input {
    border-color: rgb(206, 212, 218);
    height: 38px !important;
}

.e-multiselect.e-control-container .e-multi-select-wrapper .e-ddl-icon, .e-multiselect.e-control-container.e-input-group .e-multi-select-wrapper .e-ddl-icon {
    margin-top: -2.7em;
    height: calc(1.7em + 0.75rem + 2px);
}

input#textbox-8a2c0f3a-538a-4e55-9910-a53a73c129e9 {
    height: 27px !important;
}

td.e-time-slots span {
    font-size: 12px;
}

.nav-bar nav a {
    color: rgb(255, 255, 255) !important;
}

.navigation-drawer a.active {
    font-weight: 600;
}

.card-body .hide .e-input-group input.e-input {
    height: 38px !important;
}

ol.breadcrumb {
    padding: 4px 0px;
    background: rgb(255, 255, 255);
    margin-top: 0px;
    padding-left: 10px;
    padding-bottom: 5px;
    margin-bottom: 3px;
}

span.e-btn-content {
    font-size: 14px;
    font-weight: 600;
}

header {
}

.card-header header h3 {
    text-align: left;
    float: left;
    margin: 0px;
}

.card-header .top span {
    display: block;
}

.nav-tabs-body .e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input {
    height: 38px !important;
}

.card-header .e-input-group input.e-input {
    height: 38px !important;
}

.e-dialog .e-dlg-content .form-group.btn {
    display: inline-block;
    padding: 0px;
    margin-top: 1%;
}

.card-header {
    background-color: rgb(255, 255, 255);
    padding: 10px !important;
}

.main-content .toggle-btns {
    border-radius: 5px;
    width: 97px;
    height: 25px;
    line-height: 21px;
    top: 0%;
    margin: 3px 15px 11px 25px;
    color: rgb(51, 51, 51);
    background: rgb(243, 146, 0);
    z-index: 999;
    font-size: 15px;
}

    .main-content .toggle-btns label {
        display: inline-flex;
    }

.sn-filter {
    margin-top: -6px;
    display: inline-block;
    padding-right: 6px;
    color: white;
}

.breadcrumb-item.right .toggle-btns:hover {
    background: rgb(51, 51, 51);
}

.breadcrumb-item.right i.fas.fa-angle-double-down {
    display: none;
}

.breadcrumb-item.right i.fas.fa-angle-double-up {
    display: block;
    padding: 0px;
}

#check1 {
    display: none;
}

    #check1:checked ~ .page-content .hide {
        display: none;
    }

    /*  #check1:checked ~ .page-content .card-header {
        display: none;
    }*/

    #check1:checked ~ div .breadcrumb .breadcrumb-item.right .toggle-btns i.fas.fa-angle-double-down {
        padding: 0px;
        display: block !important;
    }

    #check1:checked ~ div .breadcrumb .breadcrumb-item.right .toggle-btns i.fas.fa-angle-double-up {
        display: none !important;
    }

.e-toolbar-items.e-tbar-pos {
    height: 50px;
}

button.e-control.e-btn.e-lib.e-small.e-flat.e-primary.e-icon-btn {
    height: 38px;
    width: 38px;
    line-height: 56px;
}

td.e-rowcell {
    padding: 0px 5px !important;
    height: 40px;
}

th.e-headercell.e-leftalign.e-mousepointer {
    padding: 0px 10px !important;
}

.e-headercelldiv {
    padding: 0px !important;
}

.form-group {
    margin-bottom: 0.3rem !important;
}

.nav-tabs .nav-link {
    color: rgb(51, 51, 51);
    font-size: 14px;
    background: rgb(248, 249, 250);
    border: 1px solid rgb(222, 226, 230);
    margin-right: 2px;
}

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background-color: rgb(33, 150, 243);
        border-color: rgb(33, 150, 243);
        color: rgb(255, 255, 255);
    }

    .nav-tabs .nav-link.disabled {
        color: rgb(173, 181, 189);
        background: rgb(233, 236, 239);
        border-color: rgb(222, 226, 230);
        cursor: not-allowed;
        pointer-events: none;
        opacity: 0.65;
    }

.toggle-btns {
    position: absolute;
    right: 0px;
    font-size: 20px;
    height: 35px;
    width: 30px;
    line-height: 35px;
    text-align: center;
    color: rgb(51, 51, 51);
}

.side-bar .toggle-btns .far.fa-angle-double-left {
    display: block;
}

.side-bar .far.fa-angle-double-right {
    display: none;
}

.toggle-btns i {
    color: rgb(255, 255, 255);
    padding: 5px;
    cursor: pointer;
    font-size: 13px !important;
}

.app-wrapper .side-bar {
    grid-area: sidebar / sidebar / sidebar / sidebar;
    background-color: rgb(248, 249, 250);
    width: 170px;
    position: relative;
    border-right: 1px solid rgb(218, 218, 218);
    transition: left 0.5s ease 0s;
    padding: 0px !important;
    top: 0px !important;
}

.navigation-drawer {
    z-index: 1;
    left: 0px;
    transition-property: left;
    /* height: 95vh; */
    overflow-y: scroll;
    /* width: 170px !important; */
}

.d-flex {
    display: flex;
}

.navigation-drawer i {
    padding-right: 10px;
    font-size: 16px;
    width: 30px;
}

.navigation-drawer .profile-info {
    display: flex !important;
    padding: 10px 5px !important;
}

    .navigation-drawer .profile-info i {
        float: left;
        font-size: 16px;
    }

    .navigation-drawer .profile-info .name {
        /* display: flow !important; */
    }

#check {
    display: none;
}

    #check:checked ~ .side-bar ul {
        width: 30px;
        top: 0%;
    }

    #check:checked ~ .side-bar {
        left: -120px;
    }

    #check:checked ~ .main-content {
        top: 0%;
        margin-left: -125px !important;
    }

    #check:checked ~ .navigation-drawer .profile-info i {
        display: block;
    }

    #check:checked ~ .side-bar a span {
        display: none;
    }

    #check:checked ~ .side-bar .far.fa-angle-double-right {
        display: block;
    }

    #check:checked ~ .side-bar .toggle-btns .far.fa-angle-double-left {
        display: none;
    }

    #check:checked ~ .side-bar a {
        margin-left: 115px;
        width: 100%;
    }

    #check:checked ~ .side-bar .dropbtn a.active {
        margin-left: 143px;
    }

    #check:checked ~ .side-bar a span {
        display: none;
    }

    #check:checked ~ .side-bar .fas.fa-user {
        margin-left: 87px;
        width: 100%;
        padding: 5px 32px;
        margin-top: 0px !important;
    }

        #check:checked ~ .side-bar .fas.fa-user:hover {
            color: rgb(86, 171, 47);
            cursor: pointer;
        }

    #check:checked ~ .side-bar .name {
        display: none;
    }


ul.setting-list {
    list-style: none;
    padding: 0px;
}



@media (max-width: 1200px) {
    .e-grid .e-headercontent, .e-grid .e-gridcontent, .e-grid .e-summaryrow {
        overflow-x: scroll;
    }

    .e-grid .e-headercell, .e-grid .e-detailheadercell, .e-gridcontent table colgroup col {
        width: 150px !important;
    }

    .e-summarycell.e-templatecell {
        width: 75px;
        font-size: 12px;
    }

    .e-summarycell.e-templatecell {
        text-align: right !important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 780px) {
    a.btn.btn-control {
        margin-bottom: 3px;
        width: 100%;
    }

    .dotted {
        display: block;
    }

    .e-dlg-container {
        padding: 0px 20px;
    }

    button.btn.btn-control {
        margin: 0px 0px 5px;
        width: 100%;
    }

    .toggle-btns.dotted {
        margin-right: 10px;
        display: block !important;
    }

    .username {
        margin-right: 10%;
        float: right;
    }

        .username p {
            margin-bottom: 0px;
        }

    .navigation-drawer {
        /* display: none !important; */
    }

    #dotted:checked ~ .app-wrapper .side-bar .navigation-drawer {
        display: block !important;
        padding-top: 25px !important;
    }

    /*ol.breadcrumb {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }*/
    .e-sidebar.e-close {
        height: 52px;
        overflow: hidden;
    }

    .e-bigger.e-grid.e-row-responsive .e-gridcontent td::before {
        position: relative;
        font-weight: 600;
        width: 50%;
        display: inline-block;
        margin-right: 5px;
    }

    .e-bigger.e-grid.e-row-responsive .e-gridcontent td {
        border: 0.5px solid rgba(141, 141, 141, 0.13) !important;
    }

    .e-sidebar.e-close + div.main-part {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

        .e-sidebar.e-close + div.main-part .navbar {
            margin-left: 70px;
        }

    .app-wrapper {
        margin-left: 0px !important;
    }
}

.e-input-group input.e-input {
    height: 27px !important;
}

button.e-control {
    width: auto;
}

.e-btn:active .app-wrapper {
    grid-template-columns: 40px 1fr;
    height: 100vh;
    /* grid-template:
        "nav-bar nav-bar" 4em
        "sidebar main" 1fr / 160px 1fr; */
    gap: 0em 1em;
    width: 100%;
    margin-left: 1%;
}

.navigation-drawer li#toggle {
    list-style: none;
    font-size: 18px;
    font-weight: 800 !important;
    padding: 3px 10px;
    display: inline-block;
}

.navigation-drawer span.e-icons.e-menu {
    font-weight: 800;
    font-size: 30px;
    cursor: pointer;
    line-height: inherit;
}

.navigation-drawer label {
    font-size: 14px;
    margin: 0;
    padding: 8px 0 9px;
    position: relative;
    z-index: 9;
    cursor: pointer;
}
/* end of dockbar icon Style */

.e-sidebar.e-dock.e-close span.e-text {
    display: none;
}

.e-sidebar.e-dock.e-close .profile-info {
    padding: 10px 4px !important;
}

.e-sidebar.e-dock.e-open span.e-text {
    display: inline-block;
}

.e-sidebar.e-dock.e-close .name {
    display: none !important;
}

.e-sidebar.e-dock.e-close li#toggle {
    text-align: center;
}

    .e-sidebar.e-dock.e-close li#toggle .navigation-drawer > section > ul.setting-list {
        margin-left: 0;
    }



.navigation-drawer section:active {
    background: #333;
}

.e-accordion .e-acrdn-item.e-select > .e-acrdn-header {
    background: #f8f8f8;
    margin: 0px;
    padding: 7px 10px;
}

.e-sidebar .e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header {
    background: #333333 !important;
}

.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header {
    background: #f8f8f8 !important;
}

.e-sidebar .e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header a {
    color: #fff !important;
}

.e-sidebar .e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header span {
    color: #fff !important;
}

.e-sidebar.e-dock.e-close span.e-tgl-collapse-icon.e-icons {
    display: none !important;
}

.e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-content {
    padding: 10px 15px !important;
}

.size-medium .bm-header {
    padding: 0px !important;
}

.size-medium .card {
    margin-top: 1rem !important;
}

.controls a.btn.btn-control {
    margin: 0 5px !important;
}

.e-item label, btn.span, .e-dlg-content label {
    height: 25px;
    padding: 10px 0 !important;
}

.price-list {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dfdfdf;
}

.top input {
    height: 38px !important;
    border: 1px solid #dadada;
    border-radius: 5px;
    padding: 10px;
}

.badge-light.text-dark h5 {
    font-size: 15px;
    font-weight: 800;
}

.e-sidebar.e-left.e-close.e-dock {
    transition-duration: 0s !important;
    overflow: hidden;
    overflow-y: scroll;
}

.e-sidebar.e-left.e-open.e-dock.e-blazor-dock, .e-sidebar.e-right.e-open.e-dock.e-blazor-dock {
    transition-duration: 0s !important;
}



.toast {
    display: none;
    padding: 1.5rem;
    color: #fff;
    z-index: 1;
    position: absolute;
    width: 25rem;
    top: 2rem;
    border-radius: 1rem;
    left: 50%;
    margin-top: 10% !important;
}

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex;
    flex-direction: row;
    animation: fadein 1.5s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*.main-part {
    padding-left: 15px;
}*/

#sn-spinner .e-spinner-pane {
    background: #fffc;
    z-index: 99999 !important;
}

    #sn-spinner .e-spinner-pane .e-spinner-inner .e-spin-bootstrap {
        fill: #ff8600;
        stroke: #ff8600;
        height: 50px !important;
        height: 50px !important;
    }

.main-part .nav-bar.navbar {
    flex-wrap: nowrap;
    height: 52px;
}

.navbar-brand {
    margin-right: 0;
    padding: 0 !important;
}

.e-grid .e-gridcontent {
    min-height: 50vh;
}

.e-grid .e-ccdlg .e-cc-chbox {
    display: none;
}

.e-grid .e-ccdlg .e-ccul-ele {
    margin-top: 0 !important;
}

.e-grid .e-ccdlg li.e-cclist {
    padding: 7px 5px;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.page-content .card {
    height: auto;
    min-height: calc(100vh - 90px);
}

    .page-content .card .card {
        min-height: auto;
    }

.card .page-content .card {
    min-height: auto;
}

.sn-table-wrap {
    width: 100%;
    min-height: 70vh;
    height: 100%;
}

.sn-tabs .e-toolbar {
    border: 1px solid #dee2e6 !important;
    max-width: calc(100% - 2px);
}

.sn-tabs .e-toolbar-items {
    background-color: #e9ecef !important;
}

.sn-tabs .e-toolbar-item .e-tab-text {
    color: #495057 !important;
}

.sn-tabs .e-toolbar-item.e-active {
    background-color: white;
}

.sn-tabs .e-tab-header::before {
    background-color: #e9ecef;
}

.sn-tabs .card {
    border-radius: 0 !important;
}

@media only screen and (max-width: 768px) {
    .e-dialog .e-btn .e-btn-icon.e-icon-dlg-close,
    .e-dialog .e-btn .e-btn-icon.e-icon-dlg-close:hover {
        color: #212529 !important;
    }

    .e-dlg-header-content .e-dlg-header .e-res-custom-element .e-res-filter-clear-btn {
        margin-top: 0 !important;
        padding: 5px 10px !important;
    }

        .e-dlg-header-content .e-dlg-header .e-res-custom-element .e-res-filter-clear-btn .e-btn-icon {
            color: white !important;
            margin-top: 0 !important;
        }

    .sn-table-wrap .e-popup.e-popup-open.e-dialog {
        height: auto !important;
    }

    .e-bigger .e-responsive-dialog .e-dlg-header-content .e-dlg-header .e-res-custom-element .e-res-apply-btn, .e-bigger.e-responsive-dialog .e-dlg-header-content .e-dlg-header .e-res-custom-element .e-res-apply-btn {
        padding: 5px 10px !important;
        color: white !important;
        margin-bottom: 0;
    }

    .e-bigger .e-responsive-dialog .e-dlg-header-content .e-dlg-header .e-res-custom-element .e-btn, .e-bigger.e-responsive-dialog .e-dlg-header-content .e-dlg-header .e-res-custom-element .e-btn {
        color: white !important;
    }

    .sn-bar-btn {
        margin-left: 0 !important;
    }
}

.e-dialog .e-grid .e-gridcontent {
    min-height: auto !important;
}

.sn-disable {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

input[type="checkbox"] {
    height: 15px !important;
    width: 15px !important;
}

div[aria-label="dropdownlist"] {
    max-height: initial !important;
}

#header {
    position: fixed;
    min-height: 51px;
    top: 0;
}

.profile-info {
    margin-top: 51px;
}

.sn-clientType {
    display: flex;
}

    .sn-clientType div:first-child {
        margin-right: 20px;
    }

.e-dropdownbase .e-list-item.e-item-focus,
.e-dropdownbase .e-list-item.e-active,
.e-dropdownbase .e-list-item.e-active.e-hover,
.e-dropdownbase .e-list-item.e-hover {
    background-color: #e9ecef !important;
}

.job-card.sn-active {
    background: #f3920052 !important;
}

/* Firefox */
* {
    scrollbar-width: thin; /* Options: auto, thin, none */
}

/* WebKit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px; /* Adjust to desired width */
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scroll thumb */
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Scroll track color */
}


.sn-carousel {
    width: 100%;
    /*    max-width: 600px;*/
    /* background:#000; */
    margin: auto;
    /*    border-radius: 88px;*/
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    padding-bottom: 0px; /* more space for thumbnail scrollbar */
    position: relative;
}

    .sn-carousel .carousel,
    .sn-carousel .carousel-inner,
    .sn-carousel .carousel-item {
        /*        height: 350px;*/
    }

    .sn-carousel .zoomable {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: grab;
        user-select: none;
        transition: transform .2s ease-out;
    }

    /* thumbnails - now scrollable */
    .sn-carousel .thumbs {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        overflow-x: auto;
        padding: 10px;
        display: flex;
        justify-content: center;
        gap: 8px;
        scrollbar-width: none; /* hide scrollbar for Firefox */
    }

        .sn-carousel .thumbs::-webkit-scrollbar {
            display: none;
        }
        /* hide scrollbar for Chrome */
        .sn-carousel .thumbs img {
            flex: 0 0 auto;
            width: 60px;
            height: 40px;
            object-fit: cover;
            border: 2px solid #ccc;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.7;
            transition: all 0.2s;
        }

            .sn-carousel .thumbs img.active-thumb {
                border-color: #007bff;
                opacity: 1;
            }

/* responsive tweaks */
@media (max-width:768px) {
    .sn-carousel .carousel,
    .sn-carousel .carousel-inner,
    .sn-carousel .carousel-item {
        height: 250px;
    }

    .sn-carousel .thumbs img {
        width: 50px;
        height: 35px;
    }
}

@media (max-width:480px) {
    .sn-carousel .carousel,
    .sn-carousel .carousel-inner,
    .sn-carousel .carousel-item {
        height: 200px;
    }

    .sn-carousel .thumbs img {
        width: 40px;
        height: 30px;
    }
}

.schedule-cell-dimension.e-schedule .e-vertical-view .e-time-cells-wrap table td, .schedule-cell-dimension.e-schedule .e-vertical-view .e-work-cells {
    height: 45px !important;
}
/*.e-schedule .e-schedule-table .e-time-cells-wrap,
.e-schedule .e-schedule-table .e-time-cells-wrap {
    height: auto !important;
}*/

.e-sidebar .e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header {
    background: #333333 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PinnacleShopifyOnboarding  –  global layout guarantee
   These rules mirror the .razor.css isolation file and ensure the
   component renders correctly regardless of CSS isolation state.
   ═══════════════════════════════════════════════════════════════════ */

/* Shell */
.ob-shell {
    display: flex !important;
    height: calc(100vh - 140px);
    min-height: 480px;
    overflow: hidden;
    background: #f1f5f9;
}

/* ── Left nav ──────────────────────────────────────────── */
.ob-nav {
    width: 260px !important;
    flex-shrink: 0 !important;
    background: #0f172a !important;
    color: #94a3b8 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
}

.ob-nav-brand {
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ob-nav-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f7921e !important;
}

.ob-nav-title {
    margin: 4px 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc !important;
    line-height: 1.3;
}

.ob-nav-progress-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}

.ob-nav-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: #f7921e;
    transition: width 0.5s ease;
}

.ob-nav-progress-label {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: #94a3b8 !important;
    font-weight: 600;
}

.ob-nav-list {
    list-style: none;
    margin: 0;
    padding: 12px 10px;
    flex: 1;
    overflow-y: auto;
}

.ob-nav-item {
    width: 100%;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: transparent !important;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    color: #94a3b8 !important;
    margin-bottom: 2px;
}

.ob-nav-item:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #f1f5f9 !important;
}

.ob-nav-item-active {
    background: rgba(247,146,30,0.12) !important;
    color: #f8fafc !important;
    border-left: 3px solid #f7921e !important;
    padding-left: 9px !important;
}

.ob-nav-num {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #94a3b8 !important;
}

.ob-nav-item-active .ob-nav-num {
    background: #f7921e !important;
    color: #fff !important;
}

.ob-nav-label {
    flex: 1;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.3;
    color: #f7921e !important;
}

.ob-nav-item-active .ob-nav-label {
    color: #fff !important;
}

.ob-nav-footer {
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Main area ─────────────────────────────────────────── */
.ob-main {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
    min-width: 0;
}

.ob-content {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
}

/* ── Top bar ───────────────────────────────────────────── */
.ob-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Mobile menu button ────────────────────────────────── */
.ob-mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: #334155;
    flex-shrink: 0;
}

@media (max-width: 680px) {
    .ob-nav { display: none !important; }
    .ob-mobile-menu-btn { display: inline-flex !important; }
    .ob-topbar { padding: 12px 16px; }
    .ob-content { padding: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   Scrap Yield pages — design system (matches Bolt prototype)
   ═══════════════════════════════════════════════════════════════════ */

/* Page header */
.sy-page-header { margin-bottom: 1.25rem; }
.sy-page-header h4 { font-size: 1.25rem; font-weight: 700; color: #1e293b; margin-bottom: 0.2rem; }
.sy-page-header p  { color: #64748b; font-size: 0.82rem; margin: 0; }


/* ── Card (rounded-2xl, shadow-sm) ── */
.sy-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 12px;
}
.sy-card.form-card { border: 2px solid #fde68a; }  /* amber-200 for edit form */

/* ── Field label (uppercase, small, gray) ── */
label.sy-lbl {
    display: block;
    font-size: 0.68rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    margin-bottom: 3px;
}

/* ── Within-form section head (GRAY, not amber) ── */
.sy-sub-head {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1.1rem;
    margin-bottom: 0.65rem;
}
.sy-sub-head.mt-0 { margin-top: 0; }

/* ── Tab bar: white-active on slate-100 container ── */
.sy-tab-bar {
    display: flex; gap: 4px; padding: 4px;
    background: #f1f5f9; border-radius: 12px;
    width: fit-content; margin-bottom: 1rem;
}
.sy-tab2 {
    padding: 6px 16px; border-radius: 8px;
    font-size: 0.78rem; font-weight: 600;
    color: #64748b; background: transparent;
    border: none; cursor: pointer; transition: all .12s; line-height: 1.4;
}
.sy-tab2:hover { color: #374151; }
.sy-tab2.active { background: #fff; color: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* ── Full-width tab bar (record detail) ── */
.sy-tab-full { display: flex; background: #f1f5f9; border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 1rem; }
.sy-tab-full .sy-tab2 { flex: 1; text-align: center; }

/* ── Towing row ── */
.sy-towing-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }

/* ── Add link ── */
.sy-add-link {
    background: none; border: none; font-size: 0.80rem; font-weight: 600;
    color: #374151; cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; gap: 3px;
}
.sy-add-link:hover { color: #f59e0b; }

/* ── Shipping table ── */
.sy-shipping-table { max-width: 500px; }
.sy-shipping-table td, .sy-shipping-table th { vertical-align: middle; border-color: #f1f5f9; }
.sy-shipping-table th { font-size: 0.72rem; font-weight: 700; color: #94a3b8; }
.sy-shipping-table td:first-child { font-size: 0.82rem; color: #374151; }

/* ── Dark info / formula card ── */
.sy-info-card { background: #1e293b; border-radius: 16px; padding: 18px 22px; color: #94a3b8; font-size: 0.80rem; margin-top: 1rem; }
.sy-info-title { color: #f8fafc; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.sy-formula { color: #f59e0b; font-weight: 600; font-size: 0.82rem; margin-bottom: 4px; }

/* ── Collapsible section (assessment form) ── */
.sy-collapse {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 12px;
}
.sy-collapse-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px; cursor: pointer; background: transparent;
    border: none; width: 100%; text-align: left; transition: background .12s;
}
.sy-collapse-head:hover { background: #f8fafc; }
.sy-collapse-icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 12px;
    background: #fef3c7; color: #d97706;
    margin-right: 12px; flex-shrink: 0; font-size: 1rem;
}
.sy-collapse-title { font-size: 0.92rem; font-weight: 600; color: #1e293b; }
.sy-collapse-body { padding: 4px 22px 22px; border-top: 1px solid #f8fafc; }

/* ── Section head with icon (record detail) ── */
.sy-section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; margin-top: 4px; }
.sy-section-head span { font-size: 0.65rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Detail chip grid ── */
.sy-chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 4px; }
.sy-chip { display: flex; flex-direction: column; border-radius: 12px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; }
.sy-chip.accent { background: #fffbeb; border-color: #fde68a; }
.sy-chip-lbl { font-size: 0.65rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; }
.sy-chip-val { font-size: 0.8rem; font-weight: 600; color: #1e293b; }
.sy-chip.accent .sy-chip-val { color: #92400e; }

/* ── Hero card (record detail) ── */
.sy-hero { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.07); padding: 20px 22px; margin-bottom: 12px; }
.sy-hero-title { font-size: 1.15rem; font-weight: 700; color: #0f172a; line-height: 1.3; }
.sy-hero-badge { display: inline-flex; padding: 2px 8px; border-radius: 8px; font-size: 0.7rem; font-weight: 600; margin-right: 4px; margin-top: 4px; }
.sy-hero-badge.amber { background: #fef3c7; color: #92400e; }
.sy-hero-badge.slate { background: #f1f5f9; color: #475569; }
.sy-hero-badge.blue  { background: #eff6ff; color: #1d4ed8; }
.sy-max-label { font-size: 0.65rem; font-weight: 700; color: #16a34a; text-transform: uppercase; letter-spacing: 0.07em; }
.sy-max-value { font-size: 1.15rem; font-weight: 900; color: #15803d; }
.sy-gross-label { font-size: 0.65rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.07em; }
.sy-gross-value { font-size: 0.85rem; font-weight: 700; color: #475569; }

/* ── Custom records table ── */
.sy-table-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.07); overflow: hidden; }
.sy-table { width: 100%; font-size: 0.82rem; border-collapse: collapse; }
.sy-table thead { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.sy-table th { padding: 12px 16px; font-size: 0.65rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; text-align: left; }
.sy-table th.right { text-align: right; }
.sy-table td { padding: 13px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.sy-table tbody tr:last-child td { border-bottom: none; }
.sy-table tbody tr { cursor: pointer; transition: background .1s; }
.sy-table tbody tr:hover { background: #fffbeb; }
.sy-dt-tag { display: inline-block; padding: 2px 6px; border-radius: 6px; background: #f1f5f9; color: #475569; font-size: 0.70rem; font-weight: 500; margin: 1px; }
.sy-market-tag { display: inline-block; padding: 2px 6px; border-radius: 6px; font-size: 0.70rem; font-weight: 600; }
.sy-market-tag.uae   { background: #dbeafe; color: #1d4ed8; }
.sy-market-tag.my    { background: #d1fae5; color: #065f46; }
.sy-market-tag.scrap { background: #f1f5f9; color: #475569; }
.sy-search-wrap { position: relative; flex: 1; }
.sy-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; font-size: 14px; }
.sy-search-inp {
    width: 100%; padding: 10px 16px 10px 36px;
    border-radius: 12px; border: 1px solid #e2e8f0;
    background: #fff; font-size: 0.82rem; color: #1e293b;
    transition: border-color .15s, box-shadow .15s;
    height: auto !important;
}
.sy-search-inp:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,.2); }
.sy-search-inp::placeholder { color: #94a3b8; }

/* ── Dismantle type toggle buttons ── */
.sy-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.sy-type-toggle {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc;
    color: #475569; font-size: 0.82rem; font-weight: 500; text-align: left;
    cursor: pointer; transition: all .12s; width: 100%;
}
.sy-type-toggle:hover { border-color: #fde68a; background: #fffbeb; }
.sy-type-toggle.active { background: #f59e0b; border-color: #f59e0b; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.sy-radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sy-type-toggle.active .sy-radio-dot::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ── Scenario colored panels ── */
.sy-scenario-panel { border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.sy-scenario-panel .s-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.sy-scenario-panel .s-head .s-title { font-size: 0.88rem; font-weight: 700; color: #fff; }
.sy-scenario-panel .s-body { background: #fff; padding: 16px; }
.sy-scenario-panel.c0 { border: 2px solid #f59e0b; } .sy-scenario-panel.c0 .s-head { background: #f59e0b; }
.sy-scenario-panel.c1 { border: 2px solid #3b82f6; } .sy-scenario-panel.c1 .s-head { background: #3b82f6; }
.sy-scenario-panel.c2 { border: 2px solid #10b981; } .sy-scenario-panel.c2 .s-head { background: #10b981; }
.sy-scenario-panel.c3 { border: 2px solid #8b5cf6; } .sy-scenario-panel.c3 .s-head { background: #8b5cf6; }
.sy-scenario-panel.c4 { border: 2px solid #f43f5e; } .sy-scenario-panel.c4 .s-head { background: #f43f5e; }
.sy-scenario-panel.c5 { border: 2px solid #06b6d4; } .sy-scenario-panel.c5 .s-head { background: #06b6d4; }

/* ── Weight input + badge pair ── */
.sy-weight-row { display: flex; align-items: center; gap: 8px; }
.sy-w-badge { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.sy-w-badge.has { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.sy-w-badge.empty { background: #f8fafc; border: 1px solid #e2e8f0; color: #cbd5e1; }

/* ── Engine category toggle ── */
.sy-cat-toggle { display: flex; gap: 8px; flex-wrap: wrap; }
.sy-cat-btn {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px;
    border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc;
    color: #475569; font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: all .12s;
}
.sy-cat-btn:hover { border-color: #94a3b8; }
.sy-cat-btn.active-black { background: #1e293b; border-color: #1e293b; color: #fff; }
.sy-cat-btn.active-white { background: #fff; border-color: #475569; color: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* ── Best yield — one card per market + Full Scrap, wraps to fit any market count ── */
.sy-yield-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 8px; overflow-x: auto; }
.sy-yield-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; text-align: center; min-width: 0; }
.sy-yield-label { font-size: 0.68rem; color: #64748b; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.sy-yield-gross { font-size: 1.05rem; font-weight: 700; color: #1e293b; }
.sy-yield-net   { font-size: 0.85rem; font-weight: 600; color: #15803d; margin-top: 3px; }

/* ── Costing hint ── */
.sy-costing-hint { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; font-size: 0.78rem; color: #475569; margin-top: 4px; }

/* ── Photo placeholder ── */
.sy-photo-area { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sy-photo-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 96px; height: 96px; border-radius: 12px; border: 2px dashed #e2e8f0;
    background: #f8fafc; color: #94a3b8; font-size: 0.7rem; font-weight: 600; cursor: pointer;
    transition: border-color .12s, background .12s;
}
.sy-photo-placeholder:hover { border-color: #f59e0b; background: #fffbeb; }
.sy-photo-thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid #e2e8f0; }

/* ── Submit full-width ── */
.sy-submit-btn {
    width: 100%; padding: 14px; border-radius: 12px; background: #f59e0b; color: #fff;
    font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer;
    transition: background .15s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sy-submit-btn:hover:not(:disabled) { background: #d97706; }
.sy-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── New branch button (amber, matches prototype) ── */
.sy-new-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: 10px;
    background: #f59e0b; border: none; color: #fff;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: background .12s; box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.sy-new-btn:hover { background: #d97706; }
.sy-new-btn span { font-size: 1.05rem; line-height: 1; }

/* ── Default branch badge ── */
.sy-default-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: #fef3c7; color: #d97706; font-size: 0.70rem; font-weight: 700;
    padding: 2px 8px; border-radius: 999px; border: 1px solid #fde68a; margin-left: 6px;
}

/* ── Input fields inside sy pages: slate-50 bg, rounded-xl ── */
.sy-collapse-body .form-control,
.sy-collapse-body select.form-control,
.sy-card .form-control,
.sy-card select.form-control,
.sy-form-card .form-control,
.sy-form-card select.form-control {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    border-radius: 10px !important;
}
.sy-collapse-body .form-control:focus,
.sy-card .form-control:focus,
.sy-form-card .form-control:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 2px rgba(245,158,11,.15) !important;
}

/* ── Dark "Fetch Car Details" button ── */
.sy-fetch-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 10px;
    background: #1e293b; border: none; color: #fff;
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: background .12s; margin-top: 2px;
}
.sy-fetch-btn:hover:not(:disabled) { background: #334155; }
.sy-fetch-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Branch summary card ── */
.sy-branch-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sy-branch-card.is-default { background: #fffbeb; border: 2px solid #fde68a; }
.sy-branch-card-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 20px 10px; }
.sy-branch-card-name { font-weight: 700; font-size: 0.95rem; color: #1e293b; }
.sy-branch-card-meta { color: #64748b; font-size: 0.75rem; margin-top: 3px; }
.sy-branch-card-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sy-branch-card-divider { border: none; border-top: 1px solid #f1f5f9; margin: 0 20px 10px; }
.sy-branch-card.is-default .sy-branch-card-divider { border-color: #fde68a30; }
.sy-price-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 12px; }
.sy-price-tag { font-size: 0.73rem; color: #64748b; background: #f1f5f9; padding: 2px 7px; border-radius: 6px; }
.sy-price-tag span { color: #94a3b8; }
.sy-price-tag strong { color: #1e293b; font-weight: 600; }
.sy-shipping-section { padding: 8px 20px 14px; border-top: 1px solid #f1f5f9; }
.sy-branch-card.is-default .sy-shipping-section { border-top-color: #fde68a30; }
.sy-shipping-label { font-size: 0.65rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.sy-shipping-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.sy-shipping-chip {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.73rem; color: #1d4ed8;
    background: #eff6ff; border: 1px solid #bfdbfe;
    padding: 2px 8px; border-radius: 6px;
}
.sy-shipping-chip span { color: #3b82f6; }
.sy-shipping-chip strong { font-weight: 700; }

/* ── Inline edit form card ── */
.sy-form-card {
    background: #fff;
    border: 2px solid #fde68a;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}
.sy-form-card-head {
    padding: 12px 20px;
    font-size: 0.68rem; font-weight: 700;
    color: #94a3b8; text-transform: uppercase; letter-spacing: .08em;
    border-bottom: 1px solid #fde68a40;
}
.sy-form-card-body { padding: 16px 20px 20px; }

/* ── Company-wide exchange rates: editable table + live-rate side panel ── */
@media (max-width: 900px) {
    .sy-fx-layout { grid-template-columns: 1fr !important; }
}

.sy-fx-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.sy-fx-table th {
    text-align: left; font-size: 0.68rem; font-weight: 700; color: #94a3b8;
    text-transform: uppercase; letter-spacing: .04em;
    padding: 0 10px 8px; border-bottom: 1px solid #f1f5f9;
}
.sy-fx-table td { padding: 8px 10px; border-bottom: 1px solid #f8fafc; vertical-align: middle; }
.sy-fx-market-cell { font-size: 0.83rem; font-weight: 600; color: #1e293b; white-space: nowrap; }

.sy-fx-copy-btn {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.72rem; font-weight: 600; color: #1d4ed8;
    background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px;
    padding: 5px 10px; white-space: nowrap; cursor: pointer;
    transition: background .15s ease;
}
.sy-fx-copy-btn:hover:not(:disabled) { background: #dbeafe; }
.sy-fx-copy-btn:disabled { color: #cbd5e1; background: #f8fafc; border-color: #f1f5f9; cursor: not-allowed; }

/* Live Exchange Rates side panel — a visually distinct "reference board" */
.sy-fx-board {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 18px 18px 8px;
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.35);
    color: #e2e8f0;
}
.sy-fx-board-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.sy-fx-board-title { font-size: 0.92rem; font-weight: 700; color: #f8fafc; }
.sy-fx-board-subtitle { font-size: 0.68rem; color: #94a3b8; margin-top: 2px; }
.sy-fx-refresh-btn {
    background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.25);
    color: #cbd5e1; border-radius: 8px; width: 30px; height: 30px;
    font-size: 0.95rem; line-height: 1; cursor: pointer; flex-shrink: 0;
    transition: transform .2s ease, background .15s ease;
}
.sy-fx-refresh-btn:hover { background: rgba(148, 163, 184, 0.22); transform: rotate(90deg); }

.sy-fx-board-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.sy-fx-board-row:last-of-type { border-bottom: none; }

.sy-fx-badge {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: .02em;
}
.sy-fx-board-info { flex: 1; min-width: 0; }
.sy-fx-board-currency {
    font-size: 0.82rem; font-weight: 700; color: #f8fafc;
    display: flex; align-items: center; gap: 6px;
}
.sy-fx-pref-pill {
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    color: #052e16; background: #4ade80; border-radius: 999px; padding: 1px 7px;
}
.sy-fx-board-meta {
    font-size: 0.7rem; color: #94a3b8; margin-top: 2px;
    display: flex; align-items: center; gap: 5px;
}
.sy-fx-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.sy-fx-dot-ok { background: #4ade80; }
.sy-fx-dot-pending { background: #fbbf24; }
.sy-fx-dot-failed { background: #f87171; }
.sy-fx-board-rate {
    flex-shrink: 0; font-size: 0.95rem; font-weight: 700; color: #f8fafc;
    font-variant-numeric: tabular-nums;
}
.sy-fx-board-empty { font-size: 0.78rem; color: #94a3b8; padding: 8px 0 16px; }

/* Optional "show all rates" expand toggle + panel, per market */
.sy-fx-expand-btn {
    flex-shrink: 0; width: 24px; height: 24px; margin-left: 2px;
    background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.25);
    color: #cbd5e1; border-radius: 6px; font-size: 0.65rem; line-height: 1; cursor: pointer;
}
.sy-fx-expand-btn:hover:not(:disabled) { background: rgba(148, 163, 184, 0.25); }
.sy-fx-expand-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.sy-fx-expand-panel {
    background: rgba(15, 23, 42, 0.55); border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px; padding: 8px; margin: 0 0 10px 48px;
}
.sy-fx-expand-search {
    width: 100%; box-sizing: border-box; background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 7px;
    color: #f1f5f9; font-size: 0.75rem; padding: 6px 9px; margin-bottom: 6px;
}
.sy-fx-expand-search::placeholder { color: #64748b; }
.sy-fx-expand-search:focus { outline: none; border-color: #6366f1; }
.sy-fx-expand-list { max-height: 220px; overflow-y: auto; }
.sy-fx-expand-item {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.75rem; color: #cbd5e1; padding: 4px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    font-variant-numeric: tabular-nums;
}
.sy-fx-expand-item span:first-child { font-weight: 600; color: #e2e8f0; }
.sy-fx-expand-empty { font-size: 0.75rem; color: #64748b; padding: 6px 2px; }

/* ── Set default / action buttons ── */
.sy-action-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; border-radius: 8px;
    border: 1px solid #e2e8f0; background: #fff;
    font-size: 0.73rem; font-weight: 600; color: #475569;
    cursor: pointer; transition: all .12s;
}
.sy-action-btn:hover { border-color: #f59e0b; color: #d97706; background: #fffbeb; }
.sy-action-btn.danger:hover { border-color: #fca5a5; color: #dc2626; background: #fef2f2; }

/* ── Record detail branch bar ── */
.sy-branch-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 12px;
    margin-bottom: 10px;
}
.sy-branch-bar-label { font-size: 0.65rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0; }
.sy-branch-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sy-branch-pill {
    padding: 4px 12px; border-radius: 8px; border: 1px solid #e2e8f0;
    background: #f1f5f9; font-size: 0.78rem; font-weight: 600; color: #475569;
    cursor: pointer; transition: all .12s;
}
.sy-branch-pill.active { background: #1e293b; border-color: #1e293b; color: #fff; }
.sy-branch-pill:hover:not(.active) { border-color: #94a3b8; }

/* ── Scenario weight 2-col ── */
.sy-weight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Photo tile (shared: detail + upload component) ── */
.sy-photo-tile {
    position: relative;
    width: 80px; height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.sy-photo-tile-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity .12s;
}
.sy-photo-tile:hover .sy-photo-tile-img { opacity: .85; }
.sy-tile-done {
    position: absolute;
    top: 4px; left: 4px;
    width: 18px; height: 18px;
    background: rgba(22,163,74,.85);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px;
}
.sy-photo-area { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Detail-view photo grid + tiles (carousel-enabled) ── */
/* Fixed ~96px thumbnails that wrap, so they don't stretch huge on a wide detail page. */
.sy-detail-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 96px);
    gap: 8px;
    margin-bottom: 12px;
}
@media (max-width: 480px) { .sy-detail-photo-grid { grid-template-columns: repeat(auto-fill, 80px); } }
.sy-detail-photo-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    cursor: pointer;
}
.sy-detail-photo-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity .12s;
}
.sy-detail-photo-tile:hover .sy-detail-photo-img { opacity: .8; }
.sy-detail-photo-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.32);
    opacity: 0; transition: opacity .15s;
    border-radius: 10px;
}
.sy-detail-photo-tile:hover .sy-detail-photo-overlay { opacity: 1; }
@media (max-width: 768px) { .sy-detail-photo-overlay { opacity: 1; } }


/* ═══════════════════════════════════════════════════════════════════
   Scrap Yield — Syncfusion control theming
   The prototype uses flat slate-50 / rounded / amber-focus inputs and
   amber buttons. Syncfusion controls render as .e-input-group / .e-btn,
   which the .form-control rules above never reach, so they keep the
   default bootstrap5 look. These scoped overrides bring SfNumericTextBox
   and SfButton in line WITHOUT changing the control types.
   ═══════════════════════════════════════════════════════════════════ */

/* ── SfNumericTextBox (and any e-input-group) → flat slate-50 field ── */
.sy-collapse-body .e-input-group.e-control-wrapper,
.sy-card .e-input-group.e-control-wrapper,
.sy-form-card .e-input-group.e-control-wrapper,
.sy-form-card-body .e-input-group.e-control-wrapper,
.sy-towing-row .e-input-group.e-control-wrapper {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden;
}
.sy-collapse-body .e-input-group input.e-input,
.sy-card .e-input-group input.e-input,
.sy-form-card .e-input-group input.e-input,
.sy-form-card-body .e-input-group input.e-input,
.sy-towing-row .e-input-group input.e-input {
    background: transparent !important;
    border: none !important;
    height: 34px !important;
    font-size: 0.85rem !important;
    color: #1e293b !important;
    padding-left: 10px !important;
}
.sy-collapse-body .e-input-group input.e-input::placeholder,
.sy-card .e-input-group input.e-input::placeholder,
.sy-form-card .e-input-group input.e-input::placeholder,
.sy-form-card-body .e-input-group input.e-input::placeholder,
.sy-towing-row .e-input-group input.e-input::placeholder { color: #94a3b8 !important; }

/* Focus ring (amber) */
.sy-collapse-body .e-input-group.e-control-wrapper.e-input-focus,
.sy-card .e-input-group.e-control-wrapper.e-input-focus,
.sy-form-card .e-input-group.e-control-wrapper.e-input-focus,
.sy-form-card-body .e-input-group.e-control-wrapper.e-input-focus,
.sy-towing-row .e-input-group.e-control-wrapper.e-input-focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 2px rgba(245,158,11,.18) !important;
}
/* Kill the bootstrap5 bottom-border accent Syncfusion draws on focus */
.sy-collapse-body .e-input-group:not(.e-float-icon-left)::before,
.sy-collapse-body .e-input-group:not(.e-float-icon-left)::after,
.sy-card .e-input-group::before, .sy-card .e-input-group::after,
.sy-form-card .e-input-group::before, .sy-form-card .e-input-group::after,
.sy-form-card-body .e-input-group::before, .sy-form-card-body .e-input-group::after,
.sy-towing-row .e-input-group::before, .sy-towing-row .e-input-group::after {
    display: none !important;
}
/* Hide spin buttons to match the prototype's clean number fields */
.sy-collapse-body .e-input-group .e-spin-up,
.sy-collapse-body .e-input-group .e-spin-down,
.sy-card .e-input-group .e-spin-up, .sy-card .e-input-group .e-spin-down,
.sy-form-card .e-input-group .e-spin-up, .sy-form-card .e-input-group .e-spin-down,
.sy-form-card-body .e-input-group .e-spin-up, .sy-form-card-body .e-input-group .e-spin-down,
.sy-towing-row .e-input-group .e-spin-up, .sy-towing-row .e-input-group .e-spin-down {
    display: none !important;
}

/* ── Normalise plain inputs/selects to the same height as the numeric fields ── */
.sy-collapse-body .form-control,
.sy-card .form-control,
.sy-form-card .form-control {
    font-size: 0.85rem !important;
    min-height: 36px;
}
.sy-collapse-body .form-control-sm,
.sy-form-card .form-control-sm { min-height: 36px; height: 36px; }

/* ── SfButton theming (scoped) ───────────────────────────────────── */
/* Primary → amber (Save Branch, New Assessment) */
.sy-form-card-body .e-btn.e-primary,
.sy-toolbar .e-btn.e-primary {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.08) !important;
}
.sy-form-card-body .e-btn.e-primary:hover,
.sy-toolbar .e-btn.e-primary:hover {
    background: #d97706 !important;
    border-color: #d97706 !important;
}
/* Secondary (refresh icon, View) → white with slate border */
.sy-toolbar .e-btn:not(.e-primary):not(.e-danger),
.sy-table .e-btn:not(.e-primary):not(.e-danger) {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.sy-toolbar .e-btn:not(.e-primary):not(.e-danger):hover,
.sy-table .e-btn:not(.e-primary):not(.e-danger):hover {
    border-color: #f59e0b !important;
    color: #d97706 !important;
    background: #fffbeb !important;
}
.sy-table .e-btn { border-radius: 8px !important; padding: 4px 14px !important; }
/* Danger (remove towing location) → subtle red outline */
.sy-towing-row .e-btn.e-danger {
    background: #fff !important;
    border: 1px solid #fecaca !important;
    color: #ef4444 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.sy-towing-row .e-btn.e-danger:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

/* Offshore portal — generic os-* primitives shared across the Offshore pages
   (Sales, Storage, Container Expense Type, Customers, Bulk Payment, Cash Flow,
   Container drill-down). Promoted out of OffshoreSalesPage.razor's inline
   <style> block so every consumer gets them, not just Sales. */
.os-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.os-head-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.os-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.os-views.sy-tab-bar {
    margin-bottom: 0;
}

.os-views .sy-tab2.active {
    background: var(--branding);
    color: #fff;
}

.os-views .sy-tab2 i {
    margin-right: 4px;
}

.os-filters {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.os-filter-field {
    min-width: 170px;
}

.os-register-filters {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.os-mode-toggle.sy-tab-bar {
    margin-bottom: 0;
}

.os-record-count {
    color: #64748b;
    font-size: 0.8rem;
    padding-bottom: 6px;
}

.os-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .os-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.os-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    text-align: left;
    transition: border-color .12s, background .12s;
}

button.os-tile:hover {
    background: #fff;
    border-color: var(--branding);
}

.os-tile.active {
    background: #fff;
    border-color: var(--branding);
    border-left-color: var(--branding);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.os-tile-due {
    cursor: default;
    border-left-color: #1e40af;
    background: #eff6ff;
}

.os-tile-due .os-tile-value {
    color: #1e40af;
}

/* Non-interactive display tile (KPI stat, not a filter button) — Storage/
   Container-drill-down pages use these instead of clickable register tiles. */
.os-tile-static {
    cursor: default;
}

.os-tile-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.os-tile-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin-top: 2px;
}

.os-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.os-chip-green { background: #d1fae5; color: #065f46; }
.os-chip-amber { background: #fef3c7; color: #92400e; }
.os-chip-blue  { background: #dbeafe; color: #1d4ed8; }
.os-chip-red   { background: #fee2e2; color: #991b1b; }
.os-chip-slate { background: #f1f5f9; color: #475569; }

.os-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 20px;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    color: #64748b;
}

.os-empty i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.os-empty-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.os-empty-hint {
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Offshore portal — shared right-side slide-in drawer shell (create/edit forms),
   replacing separate create/edit pages. Promoted out of CreateInvoiceDrawer.razor
   so every drawer (Container Expense Type, Customers, ...) reuses the same shell;
   only content-specific rules (e.g. .os-totals, .os-line-*) stay inline per-drawer. */
.os-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.os-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 72vw;
    max-width: 1500px;
    min-width: 340px;
    background: #ffffff;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    animation: osSlideIn 0.3s ease forwards;
}

.os-drawer-panel.os-drawer-narrow {
    width: 38vw;
    max-width: 620px;
}

.os-drawer-panel.os-drawer-wide {
    width: 82vw;
    max-width: 1800px;
}

@keyframes osSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.os-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f4;
    flex-shrink: 0;
}

.os-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
}

.os-drawer-footer {
    border-top: 1px solid #eef1f4;
    padding: 14px 22px;
    flex-shrink: 0;
}

