@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --bg-primary: #f6f6f6;
    --primary: #06163a;
    --sidebar-bg: #fff;
    --text-primary: #2d5269;
    --border: #06163a;
    --tr-hover: #e5e5e5;
    --primary-color: #ffffff;
    --toggle-btn-focus: #cccccd;
    --primary-btn-hover: #253352;
    --text-dark: #06163a;
    --link-hover: #007A33;
}

@font-face {
    font-family: "Poppins-SemiBold";
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Poppins-Regular";
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins-SemiBold', sans-serif;
    margin: 0;
    color: var(--text-dark)
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg-primary);
}

.bg-body {
    background-color: var(--bg-primary);
}

.text-primary {
    color: var(--text-primary) !important;
}

    .text-primary:hover {
        color: var(--link-hover) !important;
    }

.app-container {
    padding: 0;
    background: var(--bg-primary);
}

a, .btn-link {
    color: #0366d6;
}

.link {
    color: var(--text-primary) !important;
}

    .link:hover {
        color: var(--link-hover) !important;
    }


/*.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}*/

.btn-secondary {
    color: var(--text-primary);
    background-color: var(--primary);
    border-color: var(--border);
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}
/*


.k-grid .k-grid-content tr.k-master-row {
    background: #e9f1f7 !important;
}

.k-grid .k-grid-content tr.k-alt {
    background: #d1e8f9 !important;
}
*/

.k-table-tbody .k-table-row.k-selected > .k-table-td, .k-table-list .k-table-row.k-selected {
    background-color: #ece0e4 !important;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.KBButtonGrid {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary-color);
    border-radius: 6px !important;
    padding: 5px;
}

    .KBButtonGrid:hover {
        background-color: white !important;
        border-color: #2a2a2a !important;
        color: #2a2a2a !important;
        border: 1px solid #2a2a2a !important;
        border-radius: 6px !important;
    }

#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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .set {
        background-color: darkblue;
        color: white;
        font-weight: bold;
    }
}



.heart-icon.k-checkbox,
.heart-icon.k-checkbox:focus,
.heart-icon.k-checkbox:checked,
.heart-icon.k-checkbox:checked:focus {
    border: none;
    background: none;
    box-shadow: none;
}

    .heart-icon.k-checkbox::before,
    .heart-icon.k-checkbox:checked::before,
    .heart-icon.k-checkbox:indeterminate::before {
        transform: none;
        top: 0;
        left: 0;
        width: auto;
        height: auto;
        font-size: 20px; /* used for dimensions, see the next section */
    }

/* set desired dimensions */
.heart-icon.k-checkbox {
    width: 20px;
    height: 20px;
}

    /* change the font icon glyph to a different one - in this case - a heart icon from the Telerik font
        we also change the colors here to denote states, you can alter this further - like using your own fonts or colors
        */
    .heart-icon.k-checkbox:checked::before {
        content: "\e305";
        color: dimgrey;
    }

    .heart-icon.k-checkbox:indeterminate::before {
        content: "\e300";
        color: #A9A9A9;
        background: none;
    }

    .heart-icon.k-checkbox::before {
        content: "\e304";
        color: dimgrey;
    }

.KBButtonVerySmall {
    background-color: #2a2a2a !important;
    border-color: #2a2a2a !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    width: 80px;
    height: 30px;
    font-size: 11px !important;
    font-weight: bold !important;
}

.KBButtonSmall {
    background-color: green !important;
    border-color: green !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 100px;
    height: 40px;
    font-size: 14px !important;
    font-weight: bold !important;
}

.KBButton {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 150px;
    height: 50px;
    font-size: 20px !important;
    font-weight: bold !important;
}

.KBButtonPGD {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 150px;
    height: 50px;
    font-size: 20px !important;
    font-weight: bold !important;
}

    .KBButtonPGD:hover {
        background-color: var(--primary-btn-hover) !important;
        border-color: var(--primary-btn-hover) !important;
        color: white !important;
        border: none !important;
        border-radius: 12px !important;
        width: 150px;
        height: 50px;
        font-size: 20px !important;
        font-weight: bold !important;
    }

.KBButtonLargePGD {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    width: 200px;
    height: 50px;
}

    .KBButtonLargePGD:hover {
        background-color: var(--primary-btn-hover) !important;
        border-color: var(--primary-btn-hover) !important;
        color: white !important;
        border: none !important;
        border-radius: 12px !important;
        font-weight: bold !important;
        width: 200px;
        height: 50px;
    }

.KBButtonMAGAD {
    background-color: #818286 !important;
    border-color: #818286 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 150px;
    height: 50px;
    font-size: 20px !important;
    font-weight: bold !important;
}

.KBButtonLargeMAGAD {
    background-color: #818286 !important;
    border-color: #818286 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 300px;
    height: 50px;
    font-size: 12px !important;
    font-weight: bold !important;
}

.KBButtonMAHAD {
    background-color: #5C717E !important;
    border-color: #5C717E !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 250px;
    height: 50px;
    font-size: 20px !important;
    font-weight: bold !important;
}

.KBButtonLargeMAHAD {
    background-color: #5C717E !important;
    border-color: #5C717E !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 300px;
    height: 50px;
    font-size: 10px !important;
    font-weight: bold !important;
}

.KBButtonLarge {
    background-color: #CE9F4F !important;
    border-color: #CE9F4F !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 8px !important;
    font-weight: bold !important;
    width: 300px;
    height: 50px;
}

.KBButtonVeryLarge {
    background-color: #CE9F4F !important;
    border-color: #CE9F4F !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    font-size: 12px !important;
    width: 500px;
    height: 50px;
}

    .KBButtonVeryLarge:hover {
        background-color: white !important;
        color: #CE9F4F !important;
        border: 1px solid #CE9F4F !important;
        border-radius: 12px !important;
        font-weight: bold !important;
        width: 500px;
        height: 50px;
    }


.KBButtonVeryLargeMAGAD {
    background-color: #818286 !important;
    border-color: #818286 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    width: 500px;
    height: 50px;
}

    .KBButtonVeryLargeMAGAD:hover {
        background-color: white !important;
        color: #818286 !important;
        border: 1px solid #818286 !important;
        border-radius: 12px !important;
        font-weight: bold !important;
        width: 500px;
        height: 50px;
    }

.KBButtonVeryLargeMAHAD {
    background-color: #5C717E !important;
    border-color: #5C717E !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    width: 500px;
    height: 50px;
}

    .KBButtonVeryLargeMAHAD:hover {
        background-color: white !important;
        color: #5C717E !important;
        border: 1px solid #5C717E !important;
        border-radius: 12px !important;
        font-weight: bold !important;
        width: 500px;
        height: 50px;
    }



.KBFieldStyle {
    font-size: 16px;
    margin-left: 26px;
}

.LoginLink {
    color: #2a2a2a;
    font-weight: bold;
    text-decoration: none;
}

    .LoginLink:hover {
        color: #434543;
        font-weight: bold;
        text-decoration: none;
    }

.footer {
    padding-top: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #C9B29E;
    color: white;
    text-align: center;
    font-size: small;
}

.footermainpage {
    padding-top: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #CE9F4F;
    color: white;
    text-align: center;
    font-size: small;
}

.footerPGD {
    padding-top: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #2a2a2a;
    color: white;
    text-align: center;
    font-size: small;
}

.footerMAGAD {
    padding-top: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #818286;
    color: white;
    text-align: center;
    font-size: small;
}

.footerMAHAD {
    padding-top: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #5C717E;
    color: white;
    text-align: center;
    font-size: small;
}

.MyPageFontColorPGD {
    color: #C9A05C;
}

    .MyPageFontColorPGD:hover {
        color: #C9A05C;
    }

.MyPageFontColorMAHAD {
    color: #A7968F;
}

    .MyPageFontColorMAHAD:hover {
        color: #A7968F;
    }

.MyPageFontColorMAGAD {
    color: #818286;
}

    .MyPageFontColorMAGAD:hover {
        color: #818286;
    }


.myheading {
    color: dimgrey;
}

/*/////////////////*/

* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

#grad1 {
    background-color: : #9C27B0;
    background-image: linear-gradient(120deg, #FF4081, #81D4FA)
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

    #msform fieldset .form-card {
        background: white;
        border: 0 none;
        border-radius: 0px;
        box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
        padding: 20px 40px 30px 40px;
        box-sizing: border-box;
        width: 94%;
        margin: 0 3% 20px 3%;
        position: relative
    }

    #msform fieldset {
        background: white;
        border: 0 none;
        border-radius: 0.5rem;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding-bottom: 20px;
        position: relative
    }

        #msform fieldset:not(:first-of-type) {
            display: none
        }

        #msform fieldset .form-card {
            text-align: left;
            color: #9E9E9E
        }

    #msform input,
    #msform textarea {
        padding: 0px 8px 4px 8px;
        border: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0px;
        margin-bottom: 25px;
        margin-top: 2px;
        width: 100%;
        box-sizing: border-box;
        font-family: montserrat;
        color: #2C3E50;
        font-size: 16px;
        letter-spacing: 1px
    }

        #msform input:focus,
        #msform textarea:focus {
            -moz-box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border: none;
            font-weight: bold;
            border-bottom: 2px solid skyblue;
            outline-width: 0
        }

    #msform .action-button {
        width: 100px;
        background: skyblue;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 0px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px
    }

        #msform .action-button:hover,
        #msform .action-button:focus {
            box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue
        }

    #msform .action-button-previous {
        width: 100px;
        background: #616161;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 0px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px
    }

        #msform .action-button-previous:hover,
        #msform .action-button-previous:focus {
            box-shadow: 0 0 0 2px white, 0 0 0 3px #616161
        }

select.list-dt {
    border: none;
    outline: 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px 3px 5px;
    margin: 2px
}

    select.list-dt:focus {
        border-bottom: 2px solid skyblue
    }

.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

    #progressbar .active {
        color: #000000
    }

    #progressbar li {
        list-style-type: none;
        font-size: 12px;
        width: 25%;
        float: left;
        position: relative
    }

    #progressbar #account:before {
        font-family: FontAwesome;
        content: "\f023"
    }

    #progressbar #personal:before {
        font-family: FontAwesome;
        content: "\f007"
    }

    #progressbar #payment:before {
        font-family: FontAwesome;
        content: "\f09d"
    }

    #progressbar #confirm:before {
        font-family: FontAwesome;
        content: "\f00c"
    }

    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 18px;
        color: #ffffff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px
    }

    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: lightgray;
        position: absolute;
        left: 0;
        top: 25px;
        z-index: -1
    }

    #progressbar li.active:before,
    #progressbar li.active:after {
        background: skyblue
    }

.radio-group {
    position: relative;
    margin-bottom: 25px
}

.radio {
    display: inline-block;
    width: 204;
    height: 104;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px
}

    .radio:hover {
        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3)
    }

    .radio.selected {
        box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1)
    }

.fit-image {
    width: 100%;
    object-fit: cover
}


.stock-info-message {
    font-size: 16px;
    font-weight: bold;
    padding-left: 6px;
    padding-top: 5px;
    margin: 0;
}

.messageimg {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border: solid 1px;
    border-color: lightgray;
    background-color: #fff;
}

.k-table-tbody .k-table-row.k-selected > .k-table-td, .k-table-list .k-table-row.k-selected {
    background-color: var(--tr-hover) !important;
}

.app-brand {
    min-height: 65px;
    overflow: hidden;
    background: var(--sidebar-bg);
    margin: 0 0 1rem 0
}

.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family:;
    --bs-btn-font-size: 0.9rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(24, 24, 25, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}


.btn-outline-danger {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb: 47, 62, 70;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgb(47, 62, 70 / 61%);
    --bs-btn-disabled-color: #6C757D;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6C757D;
    --bs-gradient: none
}

    .btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus {
        box-shadow: 0 0 0 .25rem var( --toggle-btn-focus);
    }

    .btn-check:active + .btn-outline-danger:focus, .btn-check:checked + .btn-outline-danger:focus, .btn-outline-danger.active:focus, .btn-outline-danger.dropdown-toggle.show:focus, .btn-outline-danger:active:focus {
        box-shadow: 0 0 0 .25rem var( --toggle-btn-focus);
    }

.btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-btn-hover);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb: 110, 49, 73;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgb(110 49 73 / 61%);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: var(--toggle-btn-focus);
    --bs-btn-disabled-border-color: var(--toggle-btn-focus)
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color)
}

.btn-primary:focus {
    color: #fff;
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
    box-shadow: 0 0 0 .25rem rgb(var(--bs-btn-focus-shadow-rgb) / 61%);
}

.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
}

.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color)
}


.sidebar-menu > li.active > a [class^=icon-] {
    color: #fff;
    background: var(--text-dark)
}

.sidebar-menu > li.treeview.active:after {
    transform: rotate(-90deg);
    color: var(--text-dark)
}

.sidebar-wrapper {
    background-color: var(--sidebar-bg)
}

.sidebar-menu > li {
    position: relative;
    margin: 0 0 1px 0;
    font-weight: bold;
    border-bottom: 1px solid var(--bg-primary);
}

    .sidebar-menu > li:hover > a {
        color: #262a2d;
        background: var(--bg-primary)
    }

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary)
}

.form-check-input:focus {
    border-color: #f78080;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb))
}

.profile-btn {
    border: 1px solid var(--border);
    background-color: var(--primary-color);
    color: var(--primary);
    padding: 8px;
    border-radius: 8px;
}

    .profile-btn:hover {
        background-color: var(--primary);
        color: var(--primary-color);
    }

.form-control:focus {
    color: var(--text-dark);
    background-color: var(--bg-primary);
    border-color: var(--border);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb))
}

.form-control {
    border: 1px solid var(--primary);
}


#footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5rem;
    overflow: hidden;
}

@keyframes ticker {
    0% {
        transform: translateX(100vw);
    }

    40%, 60% {
        transform: translateX(calc(58vw - 42%));
    }

    100% {
        transform: translateX(-100vw);
    }
}

#footer-bar .ticker-text {
    position: relative;
    white-space: nowrap;
    display: inline-block;
    animation: ticker 10s linear infinite;
}

.app-footer {
    position: fixed;
    /*font-size: .7rem;*/
    padding: .4rem 2.5rem
}



.app-brand .logo {
    max-width: 180px;
    max-height: 100px;
    transition: width 1s ease;
}

.text-warning {
    color: #D4B074;
}

.text-success {
    color: #007A3A;
}

.text-danger {
    color: #C8102E;
}

.smalllabel {
    font-size: 12px;
    font-family: 'Poppins-Regular', sans-serif;
}

.accordion-button:not(.collapsed) {
    color: var(--text-primary);
    background-color: #fff;
    box-shadow: inset 0 calc(-1*1px) 0 var(--text-primary)
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--text-dark);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(83 134 159 / 19%);
}

.tc-1 {
    width: 20%;
}

.tc-2 {
    width: 40%;
}

.tc-3 {
    width: 40%;
}

div > h2 > button.accordianbtn-bg-color {
    background: #e6e6e6;
}

    div > h2 > button.accordianbtn-bg-color:not(.collapsed) {
        background: #e6e6e6;
    }


/* Corrected Vendor Dashboard */
/* REPLACE the previous vendor dashboard CSS block. Keep the global theme unchanged. */
.main {
    min-width: 0;
}

.vendor-dashboard {
    --vendor-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 1rem 3.5rem;
    font-family: var(--vendor-font);
    color: var(--text-dark, #06163a);
    container-type: inline-size;
    container-name: vendor-dashboard;
}

.vendor-dashboard-heading {
    margin: 0 0 1.1rem;
}

.vendor-dashboard .vendor-dashboard-title {
    margin: 0;
    font-family: 'Poppins-SemiBold', var(--vendor-font);
    font-size: clamp(1.25rem, 1.7vw, 1.8rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vendor-dashboard .vendor-dashboard-subtitle {
    margin: .3rem 0 0;
    font-family: var(--vendor-font);
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text-primary, #2d5269);
}

.vendor-dashboard-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.vendor-dashboard .vendor-summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    min-height: 7rem;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 10px;
    background: var(--primary-color, #fff);
    color: var(--text-dark, #06163a);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    font-family: var(--vendor-font);
    text-decoration: none;
    transition: box-shadow .2s ease;
}

    .vendor-dashboard .vendor-summary-card:hover {
        color: var(--text-dark, #06163a);
        text-decoration: none;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    }

    .vendor-dashboard .vendor-summary-card:focus-visible {
        outline: 2px solid var(--primary, #06163a);
        outline-offset: 3px;
    }

.vendor-summary-icon {
    flex: 0 0 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
}

.vendor-dashboard .vendor-summary-icon .k-font-icon {
    font-size: 1.75rem;
}

.vendor-summary-icon--total {
    background-color: #5dd1ff;
}

.vendor-summary-icon--pending {
    background-color: #bfaaff;
}

.vendor-summary-icon--approved {
    background-color: #84A98C;
}

.vendor-summary-icon--rejected {
    background-color: #ffbfbf;
}

.vendor-summary-text {
    display: block;
    min-width: 0;
}

.vendor-summary-label {
    display: block;
    font-size: .875rem;
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.vendor-summary-value {
    display: block;
    margin-top: .2rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vendor-summary-hint {
    display: block;
    margin-top: .25rem;
    font-size: .75rem;
    line-height: 1.45;
    color: var(--text-primary, #2d5269);
    overflow-wrap: anywhere;
}

.vendor-dashboard .vendor-dashboard-tiles {
    padding: 0;
    background: transparent;
    min-width: 0;
    max-width: 100%;
    align-items: stretch;
}

.vendor-dashboard .vendor-panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    background: var(--primary-color, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    overflow: hidden;
}

    .vendor-dashboard .vendor-panel > .k-card-header {
        padding: .9rem 1rem;
        background: var(--primary-color, #fff);
    }

.vendor-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
}

.vendor-dashboard .vendor-panel-heading h3 {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    font-family: var(--vendor-font);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-dark, #06163a);
}

    .vendor-dashboard .vendor-panel-heading h3 .k-font-icon {
        font-size: 1.1rem;
    }

.vendor-dashboard .vendor-panel-link {
    flex-shrink: 0;
    color: var(--text-primary, #2d5269);
    font-family: var(--vendor-font);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

    .vendor-dashboard .vendor-panel-link:hover {
        color: var(--link-hover, #007A33);
        text-decoration: underline;
    }

.vendor-panel-count {
    flex-shrink: 0;
    color: var(--text-primary, #2d5269);
    font-size: .75rem;
}

.vendor-dashboard .vendor-panel > .k-card-body {
    min-width: 0;
    min-height: 0;
    padding: .85rem 1rem 1rem;
    overflow: hidden;
}

.vendor-dashboard .vendor-dashboard-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-family: var(--vendor-font) !important;
    font-size: .8125rem;
}
    /* Explicit cell fonts prevent a surrounding Telerik/theme rule from restoring serif text.
   Do not apply this to .k-font-icon, which requires its own icon font. */
    .vendor-dashboard .vendor-dashboard-grid .k-table-th,
    .vendor-dashboard .vendor-dashboard-grid .k-table-td,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-header th,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-content td,
    .vendor-dashboard .vendor-dashboard-grid .k-pager {
        font-family: var(--vendor-font) !important;
        font-size: .8125rem;
        line-height: 1.5;
    }

    .vendor-dashboard .vendor-dashboard-grid .k-table-th,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-header th {
        padding: .65rem .75rem;
        font-weight: 600;
        color: var(--text-primary, #2d5269);
    }

    .vendor-dashboard .vendor-dashboard-grid .k-table-td,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-content td {
        padding: .55rem .75rem;
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vendor-dashboard .vendor-dashboard-grid .k-grid-content {
        overflow-x: auto;
    }

    .vendor-dashboard .vendor-dashboard-grid .k-pager {
        padding: .5rem .65rem;
    }

.vendor-dashboard .vendor-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 1.65rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
}
/* Badge tints use the existing chart/accent palette. */
.vendor-dashboard .vendor-status--pending {
    background: rgba(255, 192, 0, .18);
    color: var(--text-dark, #06163a);
}

.vendor-dashboard .vendor-status--approved {
    background: rgba(132, 169, 140, .2);
    color: #278200;
}

.vendor-dashboard .vendor-status--rejected {
    background: rgba(255, 191, 191, .38);
    color: #D51923;
}

.vendor-dashboard .vendor-status--neutral {
    background: var(--bg-primary, #f6f6f6);
    color: var(--text-primary, #2d5269);
}

.vendor-dashboard .vendor-row-action.k-button {
    min-width: 4.2rem;
    padding: .25rem .65rem;
    border: 1px solid var(--text-primary, #2d5269);
    border-radius: 5px;
    background: var(--primary-color, #fff);
    color: var(--text-primary, #2d5269);
    font-family: var(--vendor-font);
    font-size: .75rem;
    line-height: 1.4;
    box-shadow: none;
}

    .vendor-dashboard .vendor-row-action.k-button:hover {
        background: var(--bg-primary, #f6f6f6);
        color: var(--text-dark, #06163a);
    }

    .vendor-dashboard .vendor-row-action.k-button:focus-visible {
        outline: 2px solid var(--primary, #06163a);
        outline-offset: 2px;
    }

.vendor-dashboard .vendor-panel--status > .k-card-body {
    container-type: inline-size;
    container-name: vendor-status;
}

.vendor-status-overview {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.vendor-status-chart {
    position: relative;
    flex: 1 1 55%;
    min-width: 0;
}

.vendor-chart-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--text-dark, #06163a);
}

    .vendor-chart-center strong {
        font-size: 1.65rem;
        line-height: 1.2;
        font-variant-numeric: tabular-nums;
    }

    .vendor-chart-center span {
        margin-top: .15rem;
        font-size: .8rem;
    }

.vendor-status-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 45%;
    min-width: 0;
}

    .vendor-status-legend li {
        display: grid;
        grid-template-columns: .65rem minmax(0, 1fr) auto;
        align-items: center;
        gap: .5rem;
        padding: .45rem 0;
        font-size: .75rem;
        line-height: 1.4;
    }

    .vendor-status-legend strong {
        font-size: .9rem;
        font-variant-numeric: tabular-nums;
    }

.vendor-legend-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
}

.vendor-dashboard-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 1rem;
    color: var(--text-primary, #2d5269);
    text-align: center;
}

@media (min-width: 768px) {
    .main > div.vendor-dashboard {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .vendor-dashboard-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .vendor-dashboard {
        padding-inline: .5rem;
    }

    .vendor-dashboard-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }

    .vendor-dashboard .vendor-summary-card {
        min-height: 6rem;
        padding: .85rem;
    }

    .vendor-dashboard .vendor-panel > .k-card-header {
        padding: .75rem;
    }

    .vendor-dashboard .vendor-panel > .k-card-body {
        padding: .65rem .75rem .75rem;
    }

    .vendor-dashboard .vendor-panel-heading h3 {
        font-size: .9rem;
    }

    .vendor-dashboard .k-pager-info {
        display: none;
    }

    .vendor-panel-count {
        display: none;
    }
}
/* Sidebar-aware safeguard; 860px is intentionally below the old 1100px stacking rule. */
@container vendor-dashboard (max-width: 860px) {
    .vendor-dashboard-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-dashboard .vendor-dashboard-tiles {
        grid-template-columns: minmax(0, 1fr) !important;
    }

        .vendor-dashboard .vendor-dashboard-tiles > .vendor-panel {
            grid-column: 1 / -1 !important;
        }
}

@container vendor-dashboard (max-width: 460px) {
    .vendor-dashboard-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }
}

@container vendor-status (max-width: 360px) {
    .vendor-status-overview {
        flex-direction: column;
        gap: .25rem;
    }

    .vendor-status-chart {
        flex: none;
        width: 100%;
    }

    .vendor-status-legend {
        flex: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: .85rem;
    }

        .vendor-status-legend li {
            font-size: .7rem;
        }
}

@media (prefers-reduced-motion: reduce) {
    .vendor-dashboard .vendor-summary-card {
        transition: none;
    }
}
/* REPLACE the previous vendor dashboard CSS block. Keep the global theme unchanged. */
.main {
    min-width: 0;
}

.vendor-dashboard {
    --vendor-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 1rem 3.5rem;
    font-family: var(--vendor-font);
    color: var(--text-dark, #06163a);
    container-type: inline-size;
    container-name: vendor-dashboard;
}

.vendor-dashboard-heading {
    margin: 0 0 1.1rem;
}

.vendor-dashboard .vendor-dashboard-title {
    margin: 0;
    font-family: 'Poppins-SemiBold', var(--vendor-font);
    font-size: clamp(1.25rem, 1.7vw, 1.8rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vendor-dashboard .vendor-dashboard-subtitle {
    margin: .3rem 0 0;
    font-family: var(--vendor-font);
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text-primary, #2d5269);
}

.vendor-dashboard-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.vendor-dashboard .vendor-summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    min-height: 7rem;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 10px;
    background: var(--primary-color, #fff);
    color: var(--text-dark, #06163a);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    font-family: var(--vendor-font);
    text-decoration: none;
    transition: box-shadow .2s ease;
}

    .vendor-dashboard .vendor-summary-card:hover {
        color: var(--text-dark, #06163a);
        text-decoration: none;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    }

    .vendor-dashboard .vendor-summary-card:focus-visible {
        outline: 2px solid var(--primary, #06163a);
        outline-offset: 3px;
    }

.vendor-summary-icon {
    flex: 0 0 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
}

.vendor-dashboard .vendor-summary-icon .k-font-icon {
    font-size: 1.75rem;
}

.vendor-summary-icon--total {
    background-color: #5dd1ff;
}

.vendor-summary-icon--pending {
    background-color: #bfaaff;
}

.vendor-summary-icon--approved {
    background-color: #84A98C;
}

.vendor-summary-icon--rejected {
    background-color: #ffbfbf;
}

.vendor-summary-text {
    display: block;
    min-width: 0;
}

.vendor-summary-label {
    display: block;
    font-size: .875rem;
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.vendor-summary-value {
    display: block;
    margin-top: .2rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vendor-summary-hint {
    display: block;
    margin-top: .25rem;
    font-size: .75rem;
    line-height: 1.45;
    color: var(--text-primary, #2d5269);
    overflow-wrap: anywhere;
}

.vendor-dashboard .vendor-dashboard-tiles {
    padding: 0;
    background: transparent;
    min-width: 0;
    max-width: 100%;
    align-items: stretch;
}

.vendor-dashboard .vendor-panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    background: var(--primary-color, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    overflow: hidden;
}

    .vendor-dashboard .vendor-panel > .k-card-header {
        padding: .9rem 1rem;
        background: var(--primary-color, #fff);
    }

.vendor-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
}

.vendor-dashboard .vendor-panel-heading h3 {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    font-family: var(--vendor-font);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-dark, #06163a);
}

    .vendor-dashboard .vendor-panel-heading h3 .k-font-icon {
        font-size: 1.1rem;
    }

.vendor-dashboard .vendor-panel-link {
    flex-shrink: 0;
    color: var(--text-primary, #2d5269);
    font-family: var(--vendor-font);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

    .vendor-dashboard .vendor-panel-link:hover {
        color: var(--link-hover, #007A33);
        text-decoration: underline;
    }

.vendor-panel-count {
    flex-shrink: 0;
    color: var(--text-primary, #2d5269);
    font-size: .75rem;
}

.vendor-dashboard .vendor-panel > .k-card-body {
    min-width: 0;
    min-height: 0;
    padding: .85rem 1rem 1rem;
    overflow: hidden;
}

.vendor-dashboard .vendor-dashboard-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-family: var(--vendor-font) !important;
    font-size: .8125rem;
}
    /* Explicit cell fonts prevent a surrounding Telerik/theme rule from restoring serif text.
   Do not apply this to .k-font-icon, which requires its own icon font. */
    .vendor-dashboard .vendor-dashboard-grid .k-table-th,
    .vendor-dashboard .vendor-dashboard-grid .k-table-td,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-header th,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-content td,
    .vendor-dashboard .vendor-dashboard-grid .k-pager {
        font-family: var(--vendor-font) !important;
        font-size: .8125rem;
        line-height: 1.5;
    }

    .vendor-dashboard .vendor-dashboard-grid .k-table-th,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-header th {
        padding: .65rem .75rem;
        font-weight: 600;
        color: var(--text-primary, #2d5269);
    }

    .vendor-dashboard .vendor-dashboard-grid .k-table-td,
    .vendor-dashboard .vendor-dashboard-grid .k-grid-content td {
        padding: .55rem .75rem;
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vendor-dashboard .vendor-dashboard-grid .k-grid-content {
        overflow-x: auto;
    }

    .vendor-dashboard .vendor-dashboard-grid .k-pager {
        padding: .5rem .65rem;
    }

.vendor-dashboard .vendor-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 1.65rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
}
/* Badge tints use the existing chart/accent palette. */
.vendor-dashboard .vendor-status--pending {
    background: rgba(255, 192, 0, .18);
    color: var(--text-dark, #06163a);
}

.vendor-dashboard .vendor-status--approved {
    background: rgba(132, 169, 140, .2);
    color: #278200;
}

.vendor-dashboard .vendor-status--rejected {
    background: rgba(255, 191, 191, .38);
    color: #D51923;
}

.vendor-dashboard .vendor-status--neutral {
    background: var(--bg-primary, #f6f6f6);
    color: var(--text-primary, #2d5269);
}

.vendor-dashboard .vendor-row-action.k-button {
    min-width: 4.2rem;
    padding: .25rem .65rem;
    border: 1px solid var(--text-primary, #2d5269);
    border-radius: 5px;
    background: var(--primary-color, #fff);
    color: var(--text-primary, #2d5269);
    font-family: var(--vendor-font);
    font-size: .75rem;
    line-height: 1.4;
    box-shadow: none;
}

    .vendor-dashboard .vendor-row-action.k-button:hover {
        background: var(--bg-primary, #f6f6f6);
        color: var(--text-dark, #06163a);
    }

    .vendor-dashboard .vendor-row-action.k-button:focus-visible {
        outline: 2px solid var(--primary, #06163a);
        outline-offset: 2px;
    }

.vendor-dashboard .vendor-panel--status > .k-card-body {
    container-type: inline-size;
    container-name: vendor-status;
}

.vendor-status-overview {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.vendor-status-chart {
    position: relative;
    flex: 1 1 55%;
    min-width: 0;
}

.vendor-chart-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--text-dark, #06163a);
}

    .vendor-chart-center strong {
        font-size: 1.65rem;
        line-height: 1.2;
        font-variant-numeric: tabular-nums;
    }

    .vendor-chart-center span {
        margin-top: .15rem;
        font-size: .8rem;
    }

.vendor-status-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1 1 45%;
    min-width: 0;
}

    .vendor-status-legend li {
        display: grid;
        grid-template-columns: .65rem minmax(0, 1fr) auto;
        align-items: center;
        gap: .5rem;
        padding: .45rem 0;
        font-size: .75rem;
        line-height: 1.4;
    }

    .vendor-status-legend strong {
        font-size: .9rem;
        font-variant-numeric: tabular-nums;
    }

.vendor-legend-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
}

.vendor-dashboard-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 1rem;
    color: var(--text-primary, #2d5269);
    text-align: center;
}

@media (min-width: 768px) {
    .main > div.vendor-dashboard {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .vendor-dashboard-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .vendor-dashboard {
        padding-inline: .5rem;
    }

    .vendor-dashboard-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }

    .vendor-dashboard .vendor-summary-card {
        min-height: 6rem;
        padding: .85rem;
    }

    .vendor-dashboard .vendor-panel > .k-card-header {
        padding: .75rem;
    }

    .vendor-dashboard .vendor-panel > .k-card-body {
        padding: .65rem .75rem .75rem;
    }

    .vendor-dashboard .vendor-panel-heading h3 {
        font-size: .9rem;
    }

    .vendor-dashboard .k-pager-info {
        display: none;
    }

    .vendor-panel-count {
        display: none;
    }
}
/* Sidebar-aware safeguard; 860px is intentionally below the old 1100px stacking rule. */
@container vendor-dashboard (max-width: 860px) {
    .vendor-dashboard-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-dashboard .vendor-dashboard-tiles {
        grid-template-columns: minmax(0, 1fr) !important;
    }

        .vendor-dashboard .vendor-dashboard-tiles > .vendor-panel {
            grid-column: 1 / -1 !important;
        }
}

@container vendor-dashboard (max-width: 460px) {
    .vendor-dashboard-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }
}

@container vendor-status (max-width: 360px) {
    .vendor-status-overview {
        flex-direction: column;
        gap: .25rem;
    }

    .vendor-status-chart {
        flex: none;
        width: 100%;
    }

    .vendor-status-legend {
        flex: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: .85rem;
    }

        .vendor-status-legend li {
            font-size: .7rem;
        }
}

@media (prefers-reduced-motion: reduce) {
    .vendor-dashboard .vendor-summary-card {
        transition: none;
    }
}
/* Unconfirmed users: scoped toolbar wrapping. */
.vendor-dashboard .vendor-panel--unconfirmed-users .vendor-panel-heading {
    flex-wrap: wrap;
}

.vendor-dashboard .vendor-panel--unconfirmed-users .k-grid-toolbar {
    flex-wrap: wrap;
    gap: .5rem;
}

.vendor-dashboard .vendor-panel--unconfirmed-users .k-grid-search {
    max-width: 100%;
}

@container vendor-dashboard (max-width: 460px) {
    .vendor-dashboard .vendor-panel--unconfirmed-users .k-grid-toolbar .k-toolbar-spacer {
        display: none;
    }

    .vendor-dashboard .vendor-panel--unconfirmed-users .k-grid-search {
        width: 100%;
        flex: 1 1 100%;
    }
}

.vendor-panel-heading .k-font-icon {
    color: #262a2d;
}

/* Append to site.css. Scoped to this section; existing theme colors are retained. */
.outbound-document-section {
    --outbound-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    min-width: 0;
    margin-bottom: 1.25rem;
    font-family: var(--outbound-font);
    color: var(--text-dark, #06163a);
}

.outbound-document-header {
    gap: 1rem;
    margin-bottom: 1rem;
}

    .outbound-document-header h4 {
        margin: 0;
    }

.outbound-upload-panel {
    min-width: 0;
    padding: 1.1rem;
    border-radius: 10px;
    background: var(--primary-color, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    container-type: inline-size;
    container-name: outbound-upload;
}

.outbound-upload-heading {
    margin: 0 0 1rem;
    color: var(--text-dark, #06163a);
    font-size: 1rem;
    line-height: 1.4;
}

.outbound-upload-fields {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 1.25rem;
}

.outbound-upload-field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
}

    .outbound-upload-field label,
    .outbound-upload-label {
        margin: 0;
        font-size: .875rem;
        font-weight: 600;
        line-height: 1.4;
    }

    .outbound-upload-field .k-input,
    .outbound-upload-field .k-upload,
    .outbound-upload-actions .k-button,
    .outbound-document-header .k-button {
        font-family: var(--outbound-font);
        font-size: .8125rem;
    }

.outbound-upload-control {
    min-width: 0;
    width: 100%;
}

    .outbound-upload-control .k-upload {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .outbound-upload-control .k-dropzone {
        min-height: 7.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: .75rem;
        padding: 1rem;
        box-sizing: border-box;
    }

    .outbound-upload-control .k-dropzone-hint {
        white-space: normal;
        text-align: center;
    }

    .outbound-upload-control .k-file-name {
        overflow-wrap: anywhere;
    }

.outbound-upload-field .k-textarea,
.outbound-upload-field textarea {
    min-height: 7.5rem;
    box-sizing: border-box;
}

.outbound-upload-hint,
.outbound-remarks-meta {
    color: var(--text-primary, #2d5269);
    font-size: .75rem;
    line-height: 1.5;
}

.outbound-remarks-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem .75rem;
}

.outbound-upload-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-primary, #f6f6f6);
}

    .outbound-upload-actions > .k-button {
        flex-shrink: 0;
        min-width: 7rem;
    }

@media (max-width: 991.98px) {
    .outbound-upload-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .outbound-upload-vendor {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .outbound-upload-panel {
        padding: .85rem;
    }

    .outbound-upload-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .outbound-upload-actions {
        flex-wrap: wrap;
    }

        .outbound-upload-actions > .k-button {
            margin-left: auto;
        }
}
/* Also respond to available content space when a sidebar is open. */
@container outbound-upload (max-width: 900px) {
    .outbound-upload-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .outbound-upload-vendor {
        grid-column: 1 / -1;
    }
}

@container outbound-upload (max-width: 560px) {
    .outbound-upload-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .outbound-upload-actions {
        flex-wrap: wrap;
    }

        .outbound-upload-actions > .k-button {
            margin-left: auto;
        }
}

/* =========================================================
   LICENSE RENEWAL PAGE
   ========================================================= */

.license-page {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 28px 32px 40px;
    box-sizing: border-box;
}


/* =========================
   PAGE HEADER
   ========================= */

.license-page-header {
    margin-bottom: 20px;
}

.license-page-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #151d44;
}

.license-page-subtitle {
    margin: 7px 0 0;
    font-size: 14px;
    color: #6b7280;
}


/* =========================
   MAIN CARD
   ========================= */

.license-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


/* =========================
   INVALID LICENSE ALERT
   ========================= */

.license-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 24px;
    border: 1px solid #f1c5c5;
    border-radius: 7px;
    background: #fff7f7;
}

.license-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dc3545;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.license-alert-title {
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: 600;
    color: #9f2424;
}

.license-alert-text {
    font-size: 13px;
    line-height: 1.5;
    color: #6b3434;
}


/* =========================
   ACTIVE LICENSE ALERT
   ========================= */

.license-card .alert-success {
    margin-bottom: 24px;
    padding: 15px 18px;
    border: 1px solid #b7dfc1;
    border-radius: 7px;
    background: #eefaf1;
    color: #28653a;
}


/* =========================
   SECTIONS
   ========================= */

.license-section {
    padding: 4px 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eceff3;
}

    .license-section:last-of-type {
        margin-bottom: 0;
    }

.license-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #151d44;
}

.license-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #555d69;
    font-size: 18px;
}


/* =========================
   FORM FIELDS
   ========================= */

.license-field {
    min-width: 0;
}

.license-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}


/* Telerik input consistency */

.license-card .k-input,
.license-card .k-textbox,
.license-card .k-textarea {
    border-color: #d9dee5;
    border-radius: 5px;
}

    .license-card .k-input:focus-within,
    .license-card .k-textbox:focus-within,
    .license-card .k-textarea:focus-within {
        border-color: #9da4ad;
    }


/* License token textarea */

.license-card .k-textarea {
    width: 100%;
}

.license-card textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.5;
    resize: vertical;
}


/* =========================
   LICENSE INFORMATION GRID
   ========================= */

.license-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}


    /* readonly Telerik inputs */

    .license-form-grid .k-input,
    .license-form-grid .k-textbox {
        min-height: 38px;
    }

    .license-form-grid input[readonly] {
        background: #f8f9fa;
        color: #374151;
    }


/* =========================
   ERROR MESSAGE
   ========================= */

.license-error {
    padding: 12px 14px;
    border: 1px solid #efc2c2;
    border-radius: 6px;
    background: #fff7f7;
    color: #b42318;
    font-size: 13px;
}


/* =========================
   ACTION AREA
   ========================= */

.license-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 4px;
}

.license-renew-button {
    min-width: 160px;
    min-height: 40px;
    padding: 8px 18px !important;
    border-radius: 5px !important;
    font-weight: 600;
}


    /* Keep your existing Telerik theme.
   Only improve structure/spacing. */

    .license-renew-button .k-icon {
        margin-right: 4px;
    }


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1200px) {

    .license-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 768px) {

    .license-page {
        padding: 20px 16px 30px;
    }

    .license-card {
        padding: 18px;
    }

    .license-page-title {
        font-size: 25px;
    }

    .license-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .license-actions {
        justify-content: stretch;
    }

    .license-renew-button {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .license-page {
        padding: 15px 10px 25px;
    }

    .license-card {
        padding: 14px;
        border-radius: 7px;
    }

    .license-page-title {
        font-size: 22px;
    }
}