@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html,
body {
    font-family: "Montserrat", sans-serif;
    scrollbar-width: thin;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0071c1;
}

/* Global Button Overrides for Minimalism */
/* Primary Action (Save, Submit, Login) - Minimal Green */
.btn-primary,
.btn-success,
.btn-info {
    background-color: #2E7D32 !important;
    /* Forest Green */
    border-color: #2E7D32 !important;
    color: white !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
    background-color: #1B5E20 !important;
    /* Darker Green */
    border-color: #1B5E20 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2) !important;
}

/* Destructive Action - Coke Red */
.btn-danger {
    background-color: #E51A22 !important;
    border-color: #E51A22 !important;
    color: white !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background-color: #d1121a !important;
    border-color: #d1121a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 26, 34, 0.2) !important;
}

/* Secondary Action (Cancel, Back) - Light Gray or Outline */
.btn-secondary {
    background-color: #f0f0f0 !important;
    border-color: #dcdcdc !important;
    color: #444 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #e0e0e0 !important;
    color: #222 !important;
    transform: translateY(-1px);
}

/* Outline Action - Minimal Green Text */
.btn-outline-primary {
    color: #2E7D32 !important;
    border-color: #2E7D32 !important;
    border-radius: 6px !important;
    background: transparent !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
}

.btn-outline-primary:hover {
    background-color: #2E7D32 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2) !important;
}

option:checked,
option:hover {
    box-shadow: 0 0 10px 100px rgba(241, 17, 17, 0.6);
}

.TitleBox {
    background-color: #1BAECE;
    padding: 3px;
    border-radius: 4px;
    font-size: 13px;
    color: white;
    font-weight: 600;
    min-width: 110px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: black;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #ffffff;
}

.select2-container--default .select2-selection--single {
    border: 1px solid;
    height: 30px !important;
    border-color: var(--color-dark-variant) !important;
}

.dropdown-content {
    max-height: 200px;
    width: 100%;
    overflow-y: auto;
    position: absolute;
    z-index: 100;
    flex-direction: column;
    background-color: #f7f7f7;
    margin: 50px 0;
    padding-bottom: 10px;
    border: 1px solid #ebe2e2;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.15rem #f11111;
}

.mobileSideMenu .sidebar {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 1000;
    /* background-color: rgba(128, 128, 128, 0.4); */
    width: 100%;
    top: 0;
}

.mobileSideMenu .newSideMenu {
    height: 100px;
    width: calc(92%/3);
    align-items: center;
}

.form-control:focus {
    box-shadow: 0 0 3px rgba(241, 17, 17, 0.6);
    border-color: var(--color-primary);
}

.exMenu {
    padding: 4px;
    height: 25px;
    width: 25px;
    border: 1px solid red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.exMenu span {
    color: red;
    transition: all 0.3s ease-in-out;
}

.exMenu:hover {
    background-color: #F11111;
}

.exMenu:hover span {
    color: white;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Redesigned minimal light body */
.mainBodyContainer {
    flex: 1;
    min-height: 100vh;
    background-color: #f5f7fa;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    /* Removed old frame.png background */
}

.showSidebar.material-icons-sharp {
    display: none;
}

.form-switch .form-check-input:checked {
    background-color: var(--color-primary)
}

.setting_container {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: var(--color-white);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    /*margin: 0 10px;*/
}

.setting_right {
    /* width: 20%; */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    min-height: 60vh;
    overflow-y: scroll;
}

/*
.setting_left {
    width: 80%;
    padding: 1.5rem
}*/

.sideInfo {
    color: var(--company-name);
    font-weight: 700;
    font-size: 16px;
}

.solids {
    width: 100%;
    height: 2px;
    flex-shrink: 0;
    background: radial-gradient(50% 50% at 50% 50%, #123F6B 0%, rgba(18, 63, 107, 0.00) 100%);
}

.bottomBar {
    background: radial-gradient(100% 50% at 0% 50%, #123F6B 0%, rgba(18, 63, 107, 0.00) 100%);
    width: 100%;
    height: 2px;
    flex-shrink: 0;
}

.right-body {
    margin: 1% 0;
}

.general_setup {
    color: var(--company-name);
    display: flex;
    justify-content: center;
    height: 40px;
    align-items: center;
    font-weight: 500;
}

.general_setup:hover {
    color: var(--color-info-dark);
}

/*.settings-item {
    text-align: left;
    height: 40px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    margin:0 10px;
}

    .settings-item:hover {
        color: rgb(163, 163, 162)
    }*/

.edits {
    background-color: var(--color-white);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
    transition: height 0.5s;
    overflow: hidden;
    border-radius: 15px;
    padding: 1%;
}

.LinkIndicator {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    color: var(--color-primary);
}

.inputs label {
    width: 30%;
    font-size: 12px;
    color: var(--color-dark);
    font-weight: 500;
}

.form-control {
    border: 1px solid #90abc5;
    padding: 0 20px;
    height: 25px;
    /*  font: 400 15px/48px "Roboto", sans-serif;*/
    color: #5f6771;
    box-shadow: none;
    outline: none;
    width: 90%;
    border-radius: 8px;
}

.label-title {
    text-align: start;
    width: 40%;
    font-size: 12px;
}

.action-button {
    background: #2E7D32;
    /* Minimal Green */
    color: white;
    border-radius: 6px;
    /* Minimal radius */
    cursor: pointer;
    min-width: 100px;
    /* Slightly smaller min-width */
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    /* Reset line-height */
    padding: 8px 16px;
    /* Standard padding */
    border: none;
    /* No border */
    margin: 0 5px;
    text-transform: none;
    /* remove UPPERCASE if desired, or keep */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: none;
}

.action-button:hover {
    background-color: #1B5E20;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

/* ... existing code ... */

.logoutBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    min-width: 80px;
    background-color: #FF342B;
    /* Could unify to #E51A22 */
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    /* Consistent with other buttons */
    transition: all 0.2s ease;
    border: none;
    box-shadow: none;
}

.logoutBtn:hover {
    background-color: #d1121a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 26, 34, 0.2);
}

/*.toggle-button {
    height: 30px;
    background-color: blue;
}*/
.bi.bi-x-lg {
    height: 22px;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff4646;
    color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

.bi.bi-x-lg:hover {
    background-color: red;
    transform: scale(1.05);
}

.table {
    border-radius: 15px;
}

.table thead tr th:first-child {
    border-radius: 15px 0 0 0;
}

.table thead {
    border-radius: 15px;
}

.table thead tr {
    border-radius: 15px;
    font-size: 14px;
}

.table thead tr th:last-child {
    border-radius: 0 15px 0 0;
}

.table thead tr th {
    background-color: var(--company-name);
    color: var(--color-white);
    padding-left: 10px;
}

.table {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.table tbody tr td {
    padding-left: 10px;
    font-size: 12px;
}

.table tbody tr {
    padding-left: 10px;
    font-size: 12px;
}

.modal {
    --bs-modal-zindex: 2015;
}

/* Backdrop must sit above the app header (2000) and below the modal (2015). */
.modal-backdrop {
    --bs-backdrop-zindex: 2010;
}

.modal-content {
    --bs-modal-zindex: 2150;
}

.modal-confirmation {
    --bs-modal-zindex: 2150 !important;
}

/*  .item-container {
                            display: none;
                        } */
.powerBtn {
    position: relative;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    background-color: white;
    justify-content: center;
    cursor: pointer;
    height: 25px;
    width: 25px;
}

.powerBtn .material-icons-outlined {
    transition: all 0.5s ease-in-out;
}

.powerBtn:hover .material-icons-outlined {
    transform: scale(1.2);
}

.powerBtn:hover .popLog {
    display: block;
}

.CDashCount {
    font-size: 15px;
    font-weight: 800;
    color: forestgreen;
}

.PDashCount {
    font-size: 15px;
    font-weight: 800;
    color: #e99922;
}

.CDashCountTitle {
    font-size: 11px;
    font-weight: 600;
    color: #099709;
}

.PDashCountTitle {
    font-size: 11px;
    font-weight: 600;
    color: #e99922;
}

.QCpendingCount {
    width: 50%;
    border-right: 1px solid;
    border-color: rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, hsla(0, 100%, 99%, 1) 0%, hsla(0, 100%, 93%, 1) 100%);
    padding: 2px;
}

.QCCompleteCount {
    width: 50%;
    border-left: 1px solid;
    border-color: rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, hsla(124, 100%, 92%, 1) 0%, hsla(113, 100%, 98%, 1) 100%);
    padding: 2px;
}

.DashCard:hover .QCpendingCount,
.DashCard:hover .QCCompleteCount {
    background: none;
}

.label-title.calenderNeed {
    position: relative;
}

/*.label-title.calenderNeed::before {
        content: "\ebcc";
        position: absolute;
        right: 8px;
        top: 32px;
        transform: translateY(-50%);
        font-size: 22px;*/
/* pointer-events: none;*/
/*color: #b32222;
        font-family: Material Symbols Outlined;
        cursor: pointer;
    }*/

.popLog {
    display: none;
    position: absolute;
    padding: 3px 10px;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
    background-color: aliceblue;
    border-radius: 3px;
    z-index: 10;
    top: -22px;
}

.popLog span {
    font-size: 12px;
    font-weight: 500;
}

/* Redesigned Dash Container */
.Dash-Container {
    padding: 1.5rem;
    animation: slideInRightToLeft 0.5s ease-out;
    margin: 1.5rem 1rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Softer, diffuse shadow */
    border-radius: 16px;
    background-color: white;
    /* border: 1px solid rgba(0,0,0,0.02); Removed border for cleanness */
    /* Removed old background image */
}

@keyframes slideInRightToLeft {
    from {
        transform: translateY(20px);
        /* Changed to small vertical slide */
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Minimal Glassmorphism Top Bar with Coke Branding */
.botlerTopBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    background: linear-gradient(135deg, #E51A22 0%, #B31419 100%);
    position: sticky;
    top: 0;
    margin: 0;
    z-index: 2000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(229, 26, 34, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.botlerTopBar:hover {
    box-shadow: 0 12px 40px rgba(229, 26, 34, 0.3), 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f01c25 0%, #c4161c 100%);
}

.cokeLogo {
    display: flex;
    align-items: center;
}

.cokeLogo img {
    height: 40px;
    /* Slightly smaller for minimal look */
    /* filter: invert(1); Removed to show original logo color */
}

/* .cokeLogo p styles removed as we use structured spans now */

.botlerTopBar .PageName {
    font-size: 20px;
    /* Smaller, more minimal */
    font-weight: 600;
    /* Lighter weight */
    color: #444;
    /* Dark Gray instead of White */
    font-family: "Montserrat", sans-serif;
    /* Cleaner font */
    letter-spacing: 0.5px;
}

.weather {
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    height: 42px;
    padding: 0 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.weather:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.weather img {
    /*   height: 45px;*/
    width: 50px;
    /* Adjusted size */
}

.weatherCenter {
    margin: 0 8px;
}

.weatherCenter span {
    color: #ffffff;
    /* White text for better contrast on red/glass */
    font-size: 11px;
    font-weight: 600;
    opacity: 0.95;
}

.toast-container {
    --bs-toast-zindex: 2090 !important;
}

.temp {
    color: #ffffff;
    font-weight: 700;
    margin: 0 6px;
    align-items: center;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0.95;
}

.logoutBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    ;
    min-width: 80px;
    background-color: #FF342B;
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.5s ease;
}

.Dash-Container .topDash h3 {
    font-size: 18px;
    color: #1E1E1E;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.Dash-Container .topDash p {
    font-size: 13px;
    color: #1E1E1E;
    font-weight: 500;
    display: flex;
    align-items: center;
}


.ClickBox {
    display: flex;
    align-content: center;
    padding: 3px;
    background-color: #a19d9d;
    border-radius: 4px;
    margin: 3px;
    cursor: pointer;
}

.ClickBox .material-icons-outlined {
    font-size: 18px;
    color: white;
}

.correct {
    background-color: #248524 !important;
}

.notcorrect {
    background-color: #d92727 !important;
}

.DashCard {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    /* Softer shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 4px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    cursor: pointer;
    border: none;
    /* Clean look */
}

.DashCard:hover {
    border-radius: 12px;
    /* Keep radius */
    transform: translateY(-3px);
    /* Subtler lift */
    box-shadow: 0 15px 35px rgba(229, 26, 34, 0.15);
    /* Red diffuse glow */
    background: white;
    /* Keep white */
    /* border-bottom: 3px solid #E51A22; Removed for softer look, relying on glow */
}

.DashCard:hover span {
    color: #E51A22 !important;
    /* Text turns red */
}

.DashCard img {
    height: 40px;
    width: 40px;
    margin-bottom: 10px;
}

/* Minimal Flat Button */
.downButton {
    color: white;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    /* Slightly rounded, not pill */
    background-color: #E51A22;
    /* Coke Red */
    font-size: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

.downButton:hover {
    background-color: #d1121a;
    /* Darker red */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 26, 34, 0.2);
    color: white;
}

.Dash-Container b {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: inline-block;
    margin-bottom: 24px;
    /* Space below page title */
}

.Dash-Container .filterCard {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(229, 26, 34, 0.3);
    /* Soft red accent border */
}

.Dash-Container .table-responsive {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Soft sleek shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.Dash-Container .quickgrid {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    /* very subtle border */
    overflow: hidden;
    /* Ensure headers respect border radius */
}

/* Minimal Button Overrides */
.Dash-Container .btn-primary,
.Dash-Container .btn-success {
    background-color: #2e7d32;
    /* Solid minimal green for 'Get Data' buttons */
    border: none;
    border-radius: 6px;
    box-shadow: none;
    color: white;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    padding: 0.4rem 1rem;
}

.Dash-Container .btn-primary:hover,
.Dash-Container .btn-success:hover {
    background-color: #1b5e20;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    /* Very subtle lift */
    transform: translateY(-1px);
}

.Dash-Container .btn-primary:active,
.Dash-Container .btn-success:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Minimal Form Inputs */
.Dash-Container .form-control,
.Dash-Container .form-select,
.Dash-Container .filter-input {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8fafc;
    box-shadow: none;
    transition: all 0.2s ease;
    padding: 0.375rem 0.75rem;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

.Dash-Container .form-control:focus,
.Dash-Container .form-select:focus,
.Dash-Container .filter-input:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.4);
    background-color: #f8fafc;
    /* Keep matching minimal background on focus */
    outline: none;
}

/* Fix Datepicker inner inputs so borders don't double up */
.Dash-Container .np-datepicker {
    padding: 0;
    /* Remove padding from wrapper to let inner elements control spacing */
    background-color: #f8fafc;
}

.Dash-Container .np-datepicker input {
    border: none;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    box-shadow: none;
    outline: none;
    height: 32px;
}

.Dash-Container .np-datepicker span.material-icons-outlined {
    cursor: pointer;
    color: #64748b;
    /* Slate icon */
}

/* Select2 Minimal Overrides */
.Dash-Container .select2-container--default .select2-selection--single {
    border: 1px solid #e2e8f0 !important;
    /* Force override bold default borders */
    border-radius: 6px !important;
    background-color: #f8fafc !important;
    height: 34px !important;
    /* Match form-control height */
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.Dash-Container .select2-container--default.select2-container--open .select2-selection--single,
.Dash-Container .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #cbd5e1 !important;
    box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.4) !important;
    background-color: #f8fafc !important;
    /* Keep matching minimal background on focus */
}

.Dash-Container .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #334155;
    line-height: 32px;
    /* Align text vertically */
    padding-left: 0.75rem;
    font-size: 13px;
}

.Dash-Container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

/* Minimal Dropdown Menu */
.select2-dropdown {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* Soft, minimal floating shadow */
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #cbd5e1;
    outline: none;
    box-shadow: none;
}

.select2-results__option {
    font-size: 13px;
    color: #334155;
    padding: 6px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f1f5f9;
    /* Slate gray highlight instead of blue */
    color: #334155;
    /* Keep text dark for minimal look */
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e2e8f0;
    color: #334155;
}

.Dash-Container .quickgrid thead {
    background-color: #f1f5f9;
    /* Crisper Slate gray */
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Global Smooth Animations */
body {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.Dash-Container .quickgrid[theme=default] .col-title {
    background-color: #f1f5f9;
    color: #334155;
    /* Darker slate for contrast */
    font-weight: 700;
    /* Bolder to stand out */
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.Dash-Container .quickgrid thead th {
    background-color: #f1f5f9 !important;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
    /* Thicker border to anchor the header */
}

.Dash-Container .quickgrid thead th,
.Dash-Container .quickgrid td {
    height: 40px;
    /* Slightly taller for more breathing room */
    color: #374151;
    /* Darker body text */
}

.Dash-Container .quickgrid tr {
    border-bottom: 1px solid #f3f4f6;
    /* Very subtle row divider */
}

.Dash-Container .notice {
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Softer notice shadow */
    padding: 12px;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    transition: all 0.3s ease-in-out;
}

.Dash-Container .notice:hover {
    transform: translateX(2px);
}

.Dash-Container .notice .notitle {
    font-weight: 600;
    font-size: 13px;
    margin: 3px 0;
}

.Dash-Container .notice .titleBody {
    font-size: 12px;
    font-weight: 400;
    color: #1E1E1E;
}

.displayForm {
    display: flex;
    align-items: center;
    margin: 2px 0;
}

.displayForm .titleForm {
    font-weight: 600;
    font-size: 12px;
    color: black;
    width: 40%
}

.displayForm .bodyForm {
    font-weight: 500;
    font-size: 12px;
    color: black;
}

.iigsTable {
    width: 100%;
}

.iigsTable tbody tr {
    border-bottom: none;
}

.iigsTable tr td .itd {
    display: flex;
    align-items: center;
}

.iigsTable .form-control {
    height: 25px;
    font-size: 11px;
}

.iigsTable tr td {
    color: black;
    font-size: 11px;
    font-weight: 500;
}

.iigsTable tr td span {
    color: black;
    font-size: 11px;
    font-weight: 500;
}

.itd .material-icons-outlined,
.iigsTable tr td span.material-icons-outlined {
    font-size: 18px;
    color: #3A7BD5;
    cursor: pointer;
}

.iigsTable tr td span.uploadFile {
    height: 25px;
    padding: 2px 0;
    border-radius: 0 5px 5px 0;
    border: 1px dashed;
}

.iigsTable tr td span.standard1 {
    font-size: 12px;
    font-weight: 600;
    color: #4B465C;
}

.iigsTable tr td span.standard2 {
    font-size: 11px;
    font-weight: 500;
    color: #3A7BD5;
}

.TaskIndContainer {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, hsl(0deg 0% 92.13%) 0%, hsl(0deg 0% 85.04%) 100%);
    position: relative;
}

.TaskInd {
    position: absolute;
    left: 0;
    width: 50%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, hsla(129, 76%, 47%, 1) 0%, hsla(120, 100%, 95%, 1) 100%);
}

.textarea textarea {
    height: 80px;
}

.iigsNav .rawMaterialNav .activeNav {
    padding: 2px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.5s ease-in;
    background-color: #B01818;
    color: white;
    margin-right: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.iigsNav .rawMaterialNav .rawnavItem {
    padding: 2px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    color: black;
    min-width: 200px;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.5s ease-in;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.iigsCheck {
    display: flex;
    align-items: center;
}

.iigsCheck.form-switch .form-check-input {
    width: 4em;
    margin-right: 4px;
    height: 19px;
    margin-left: 0 !important;
}

.iigsCheck.form-switch {
    padding-left: 0px !important;
}

.Dash-Container .iigsCheck.form-switch input[type="checkbox"]:checked::before {
    top: 1px;
    left: 9px;
    height: 13px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #B01818;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: #fff;
}


.Dash-Container input[type="checkbox"]:hover {
    border-color: #B01818;
}


.Dash-Container input[type="checkbox"]:checked {
    background-color: #B01818;
    border-color: #B01818;
}


.Dash-Container input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.Dash-Container .menucheck .custom-checkbox:checked::before {

    left: 5px !important;
    width: 5px !important;
    height: 12px !important;
}

.Dash-Container .quickgrid tbody tr:hover {
    background-color: #fffafb;
    /* Ultra-light red/pink for subtle feedback */
}

.topDash .UserD {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.inputForms {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 20px;
}

.inputForms .label-title {
    width: 100%;
    color: #191818;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 2px;
}

.inputForms .form-control {
    -webkit-appearance: auto;
    appearance: auto;
    height: 35px;
    padding: .175rem .5rem;
    font-weight: 500;
    outline: none;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    width: 95%;
    border-color: rgba(0, 0, 0, 0.3);
    /*  box-shadow: none !important;*/
}

.Sort {
    background-color: #F1DFDF;
    height: 30px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
}

.prevDet .form-control {
    height: 30px;
    font-size: 13px;
    border-radius: 4px;
}

.logoutBtn:hover {
    background-color: #fd0b00;
    border-radius: 2px;
}

.active-setting {
    color: var(--color-dark);
}

.toggle-button {
    display: none;
}

.activeSetting {
    background-color: var(--color-primary) !important;
}

.activeSetting span,
.activeSetting i {
    color: white !important;
}

.menucheck {
    display: flex;
    align-items: center;
}

.menucheck .custom-checkbox {
    height: 18px;
    width: 18px;
    border-color: var(--color-primary);
}

.menucheck .custom-checkbox:checked {
    background-color: var(--color-primary);
}

.form-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(229, 26, 34, 0.3);
    /* Soft red accent border */
    --bs-gutter-x: 0 !important;
}

.rawMaterialNav {
    display: flex;
    justify-content: start;
}

.rawMaterialNav .rawnavItem {
    padding: 8px 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-weight: 600;
    color: black;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.5s ease-in;
}

.rawMaterialNav .rawnavItem:hover {
    background-color: #B01818;
    color: white !important;
}

.rawMaterialNav .activeNav {
    padding: 8px 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-weight: 600;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.5s ease-in;
    background-color: #B01818;
    color: white;
}

.rawMaterialNav .rawnavItem:last-child {
    border-radius: 0 8px 0 0;
}

.rawMaterialNav .rawnavItem:first-child {
    border-radius: 8px 0 0 0;
}

.createBatch .form-control {
    height: 25px;
}

.createBatch .form-control .material-icons-outlined {
    font-size: 20px;
}

.createBatch .btn {
    height: 23px;
    font-size: 12px;
}

.MR .hr .hr-sub {
    border: 1px solid;
}

/*.MR .hr-sub .material-icons-outlined {
    color: #2ad12e;
}
.MR .hr-sub span {
    color: #0f7612;
}
.MR .hr-sub:hover {
    background-color: #3dad40;
}*/
@media only screen and (max-width: 1400px) {

    .leaveTable tr th,
    .leaveTable tr td {
        font-size: 11px;
    }

    /*  .settings-item {
        text-align: left;
        height: 40px;
        font-size: 12px;
        font-weight: 600;
        color: var(--color-primary);
        cursor: pointer;
    }*/
    .sideInfo {
        font-size: 13px;
    }

    .activeSetting {
        color: rgb(163, 163, 162);
    }

    .CDashCount {
        font-size: 14px;
        font-weight: 700;
        color: forestgreen;
    }

    .PDashCount {
        font-size: 14px;
        font-weight: 700;
        color: #e99922;
    }

    .CDashCountTitle {
        font-size: 10px;
        font-weight: 500;
        color: #099709;
    }

    .PDashCountTitle {
        font-size: 10px;
        font-weight: 500;
        color: #e99922;
    }
}

.UserNotify img {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.notifyLog {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #e1f0f3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-count {
    top: 1px;
    right: -13px;
    box-shadow: 0 0 6px rgb(116, 14, 14, 0.4);
}

.popUpNotify {
    display: flex;
    visibility: hidden;
    opacity: 0;
    flex-direction: column;
    position: absolute;
    background-color: white;
    right: 6px;
    box-shadow: 0 0px 7px rgba(11, 11, 15, 0.4);
    top: 20px;
    border-radius: 6px;
    /*  transition:all 0.1s ease;*/
}

.popUpItems {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.popUpUser:hover {
    background-color: #f3f3f3;
}

.popUpUser {
    border-bottom: 1px solid;
    border-color: rgba(12, 25, 25, 0.12);
    width: 260px;
    padding: .5rem !important;
    border-radius: 6px;
}

.popUpNotification {
    border-bottom: 1px solid;
    border-color: rgba(12, 25, 25, 0.12);
    width: 360px;
    padding: .5rem !important;
}

.UserNotify:hover .popUpNotify {
    opacity: 0;
    transform: translateX(100px);
    animation: slideIn 0.6s forwards;
    visibility: visible;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notify-text {
    text-align: justify;
}

.user-mail {
    word-wrap: break-word;
    word-break: break-word;
}

@media screen and (max-width:650px) {
    .mainBodyContainer {
        width: 98%;
    }

    .cokeLogo img {
        height: 30px;
    }

    .cokeLogo p {
        color: white;
        font-size: 14px;
        color: white;
        font-weight: 700;
        font-family: "Lato", sans-serif;
        white-space: nowrap;
        line-height: 16px;
    }

    .popUpNotification {
        width: 250px;
    }

    .mobileSideMenu {
        height: 100%;
        position: absolute;
        width: 100vw !important;
        display: flex;
        background-color: rgba(128, 128, 128, 0.8);
        top: 70px;
        left: 50%;
        transform: translate(-50%, 0%);
        display: flex;
        justify-content: center;
        z-index: 101;
        transition: visibility 0.5s ease;
        padding: 25px;
    }

    .mobileSideMenu .sidebar {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        z-index: 1000;
        /*  background-color:white;*/
    }

    .newSideMenu {
        height: 100px;
        width: calc(90%/3);
        align-items: center;
    }

    .aside {
        display: none;
    }

    .appTopBar .searchbar {
        display: none;
    }

    .showSidebar.material-icons-sharp {
        display: block;
    }

    #SystemDate {
        display: none;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 30px !important;
    }

    .select2-container--default .select2-selection--single {
        height: 30px !important;
    }

    .inputForm .select2-container {
        height: 30px;
        width: 97% !important;
    }

    .inputForm .select2-container {
        height: 30px;
        width: 97% !important;
    }
}

/* ====== Coca-Cola Fizz Loader ====== */
.minimal-loader-container,
.coke-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 20000;
    gap: 16px;
}

/* Fizz Bubbles — like carbonation rising in a glass */
.coke-fizz {
    position: relative;
    width: 60px;
    height: 60px;
}

.coke-fizz .bubble {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #E51A22, #ff4444);
    opacity: 0;
    animation: fizz-rise 2s ease-in-out infinite;
}

.bubble.b1 {
    width: 10px;
    height: 10px;
    left: 12px;
    animation-delay: 0s;
}

.bubble.b2 {
    width: 14px;
    height: 14px;
    left: 28px;
    animation-delay: 0.3s;
}

.bubble.b3 {
    width: 8px;
    height: 8px;
    left: 42px;
    animation-delay: 0.6s;
}

.bubble.b4 {
    width: 6px;
    height: 6px;
    left: 6px;
    animation-delay: 0.9s;
}

.bubble.b5 {
    width: 12px;
    height: 12px;
    left: 36px;
    animation-delay: 1.2s;
}

@keyframes fizz-rise {
    0% {
        transform: translateY(0) scale(0.3);
        opacity: 0;
    }

    20% {
        opacity: 0.9;
        transform: translateY(-10px) scale(1);
    }

    80% {
        opacity: 0.6;
        transform: translateY(-50px) scale(0.8);
    }

    100% {
        opacity: 0;
        transform: translateY(-65px) scale(0.2);
    }
}

/* Progress Bar — red Coke fill */
.coke-loader-bar {
    width: 120px;
    height: 3px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.coke-loader-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #E51A22, #ff4444);
    border-radius: 4px;
    animation: coke-fill 1.5s ease-in-out infinite;
}

@keyframes coke-fill {
    0% {
        width: 0%;
        margin-left: 0;
    }

    50% {
        width: 60%;
        margin-left: 20%;
    }

    100% {
        width: 0%;
        margin-left: 100%;
    }
}

/* Loading Text */
.coke-loader-text {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    animation: coke-text-pulse 2s ease-in-out infinite;
}

@keyframes coke-text-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@media screen and (min-width:1600px) {
    .displayForm {
        margin: 4px 0;
    }

    .iigsNav {
        margin-top: 15px !important;
    }

    .displayForm .titleForm {
        font-size: 16px;
    }

    .displayForm .bodyForm {
        font-size: 16px;
    }

    .iigsNav .rawMaterialNav .activeNav {
        font-size: 15px;
        font-weight: 500;
        min-width: 270px;
        padding: 3px 10px;
    }

    .iigsNav .rawMaterialNav .rawnavItem {
        font-size: 15px;
        font-weight: 500;
        min-width: 270px;
        padding: 3px 10px;
    }

    .iigsCheck.form-switch .form-check-input {
        width: 5em;
        height: 25px;
    }

    .iigsCheck .form-check-label {
        font-size: 16px;
    }

    .iigsTable tr td {
        font-size: 16px;
        font-weight: 500;
        padding: 3px 10px;
    }

    .iigsTable tr td span {
        color: black;
        font-size: 16px;
        font-weight: 500;
    }

    .iigsTable tr td span.standard1 {
        font-size: 17px;
        font-weight: 600;
        color: #4B465C;
    }

    .iigsTable tr td span.standard2 {
        font-size: 16px;
        font-weight: 500;
        color: #3A7BD5;
    }

    .iigsTable .form-control {
        height: 35px;
        font-size: 16px;
    }

    .Dash-Container .iigsCheck.form-switch input[type="checkbox"]:checked::before {
        top: 2px;
        left: 12px;
        height: 16px;
    }

    .iigsTable thead th {
        font-size: 18px;
    }
}

#qcreport {
    display: none;
}

#gatetestreport {
    display: none;
}

@media print {
    body {
        margin: 0;
        padding: 0;
    }

    #qcreport {
        display: block;
    }

    #gatetestreport {
        display: block;
    }

    .QCHeader {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: bold;
    }

    .DOc-No {
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .displayForm .titleForm {
        font-weight: 600;
        font-size: 12px;
        color: black;
        width: 40%;
    }

    .displayForm .bodyForm {
        font-weight: 500;
        font-size: 12px;
        color: black;
    }

    .headerDetail {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

@media screen and (min-width:992px) {
    .Dash-Container .col-lg-2 {
        width: 20% !important;
    }
}

@media screen and (max-width:1024px) {
    .iigsNav .rawMaterialNav .activeNav {
        font-size: 11px;
        font-weight: 500;
        min-width: 60px;
        padding: 2px 5px;
    }

    .iigsNav .rawMaterialNav .rawnavItem {
        font-size: 11px;
        font-weight: 500;
        min-width: 60px;
        padding: 2px 5px;
    }

    .rawMaterialNav.lcc {
        overflow: auto;
    }

    .iigsNav .rawMaterialNav.lcc .activeNav,
    .iigsNav .rawMaterialNav.lcc .rawnavItem {
        min-width: 105px !important;
        font-size: 11px !important;
        padding: 2px 7px;
    }


}

/* Global Minimal Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* Slate gray */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    /* Darker slate on hover */
}

/* Nepali DatePicker Minimal Overrides */
div#ndp-nepali-box,
div.ndp-nepali-box {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    background-color: #ffffff !important;
    padding: 10px !important;
    font-family: inherit !important;
}

/* Header */
.ndp-header {
    background: transparent !important;
    border: none !important;
    color: #334155 !important;
    font-weight: 600 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 8px !important;
}

/* Nav Buttons */
.ndp-next,
.ndp-prev {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 6px !important;
}

.ndp-next:hover,
.ndp-prev:hover {
    background: #e2e8f0 !important;
}

/* Select Dropdowns inside Header */
#currentMonth #ndp-month-select,
#currentMonth #ndp-year-select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    background-color: #f8fafc !important;
    color: #334155 !important;
    padding: 2px 4px !important;
}

/* Table Cells */
div#ndp-nepali-box table,
div.ndp-nepali-box table {
    border-spacing: 4px !important;
}

div#ndp-nepali-box td.ndp-date,
div.ndp-nepali-box td.ndp-date {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #334155 !important;
    border-radius: 4px !important;
}

div#ndp-nepali-box td.ndp-date a,
div.ndp-nepali-box td.ndp-date a {
    color: #334155 !important;
    font-weight: 400 !important;
}

div#ndp-nepali-box td.ndp-date:hover,
div.ndp-nepali-box td.ndp-date:hover {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

/* Current Date */
div#ndp-nepali-box td.ndp-current,
div.ndp-nepali-box td.ndp-current {
    background: transparent !important;
    border: 1px solid #F40009 !important;
    border-radius: 4px !important;
}

div#ndp-nepali-box td.ndp-current a,
div.ndp-nepali-box td.ndp-current a {
    color: #F40009 !important;
    font-weight: 600 !important;
}

/* Selected Date */
div#ndp-nepali-box td.ndp-selected,
div.ndp-nepali-box td.ndp-selected {
    background: #F40009 !important;
    border: 1px solid #F40009 !important;
    border-radius: 4px !important;
}

div#ndp-nepali-box td.ndp-selected a,
div.ndp-nepali-box td.ndp-selected a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Chevron Fix */
.ndc-chevron::before {
    border-color: #64748b !important;
}

/* Minimal Button Colors */
.btn-primary,
.btn-Primary {
    background-color: #E51A22 !important;
    /* Coke Red */
    border-color: #E51A22 !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(229, 26, 34, 0.2) !important;
    transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-Primary:hover {
    background-color: #c4151c !important;
    /* Darker red */
    border-color: #c4151c !important;
    box-shadow: 0 4px 8px rgba(229, 26, 34, 0.3) !important;
    transform: translateY(-1px);
}

.btn-success {
    background-color: #10b981 !important;
    /* Soft minimal green */
    border-color: #10b981 !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2) !important;
    transition: all 0.2s ease;
}

.btn-success:hover {
    background-color: #059669 !important;
    /* Darker green */
    border-color: #059669 !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3) !important;
    transform: translateY(-1px);
}

.btn-info {
    background-color: #3b82f6 !important;
    /* Soft minimal blue */
    border-color: #3b82f6 !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important;
    transition: all 0.2s ease;
}

.btn-info:hover {
    background-color: #2563eb !important;
    /* Darker blue */
    border-color: #2563eb !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3) !important;
    transform: translateY(-1px);
}

/* Custom Grid Column Filter Styles - Soft Red Theme */
.grid-filter-wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 3px !important;
}

.bb-grid-filter {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    padding: 0 !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    border: 1px solid #e8a3a3 !important;
    background-color: #fdeeee !important;
    color: #a94442 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0 !important;
    transition: all 0.2s ease !important;
}

.bb-grid-filter:hover,
.bb-grid-filter:focus,
.bb-grid-filter.show {
    background-color: #f8d7da !important;
    border-color: #d9534f !important;
    color: #843534 !important;
}

.bb-grid-filter::after {
    display: none !important;
}

.bb-grid-filter .filter-symbol-text {
    font-size: 9px !important;
    margin-left: 1px !important;
    font-weight: bold !important;
    color: #c9302c !important;
}

.grid-filter-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    border: 1px solid #e8a3a3 !important;
    background-color: #fdeeee !important;
    color: #333333 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.grid-filter-input:focus {
    background-color: #ffffff !important;
    border-color: #d9534f !important;
    box-shadow: 0 0 0 0.15rem rgba(217, 83, 79, 0.25) !important;
    outline: none !important;
}

/* Grid Header & Body Cell Alignment and Padding Uniformity */
.bb-table thead tr th,
.table thead tr th,
.bb-table tbody tr td,
.table tbody tr td {
    padding: 8px 10px !important;
    text-align: left !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.bb-table thead tr th,
.table thead tr th {
    font-weight: 700 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    width: auto !important;
    min-width: 120px !important;
}

/* SN column centering */
.bb-table thead tr th:first-child,
.bb-table tbody tr td:first-child {
    text-align: center !important;
    min-width: 50px !important;
    max-width: 60px !important;
}

.col-cf-under-bank {
    min-width: 210px !important;
}

.col-cf-approved {
    min-width: 140px !important;
}

.col-cf-received {
    min-width: 160px !important;
}
/* Focus indicator: soft red glow so the user can see which field is active (inputs, selects, select2/AutoCompleteSelect). Placed last to override the grey .Dash-Container focus rules. */
.form-control:focus,
.form-select:focus,
.filter-input:focus,
.Dash-Container .form-control:focus,
.Dash-Container .form-select:focus,
.Dash-Container .filter-input:focus,
.modal .form-control:focus,
.modal .form-select:focus,
.Dash-Container .select2-container--default.select2-container--open .select2-selection--single,
.Dash-Container .select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(229, 26, 34, 0.55);
    box-shadow: 0 0 0 3px rgba(229, 26, 34, 0.15), 0 0 8px rgba(229, 26, 34, 0.2);
    outline: none;
}

/* The grey select2 focus rule above uses !important, so the red glow needs it too. */
.Dash-Container .select2-container--default.select2-container--open .select2-selection--single,
.Dash-Container .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgba(229, 26, 34, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(229, 26, 34, 0.15), 0 0 8px rgba(229, 26, 34, 0.2) !important;
    background-color: #fff !important;
}
