﻿.btn-animation {
    background: var(--gradient-main) !important;
    border: none !important;
}

.sidebar-wrapper .logo-wrapper {
    background: var(--theme-color) !important;
    padding: 10px 15px !important;
}


.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
    background: linear-gradient(-45deg, var(--theme-color), var(--theme-color-secondary), var(--theme-color)) !important;
}


:root {
    --theme-color: #667eea !important;
    --theme-color-secondary: #764ba2;
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.theme-color {
    color: var(--theme-color) !important;
}

.btn-success {
    background: var(--gradient-main) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
}

    .btn-success:hover, .btn-success:focus, .btn-success:active {
        background: var(--gradient-main) !important;
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
        color: white !important;
    }

.btn-primary {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.field-validation-error {
    width: 100%;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: .975em;
    color: #dc3545;
}

    .field-validation-error span {
        display: none;
        width: 100%;
        margin-top: .5rem;
        margin-bottom: .5rem;
        font-size: .975em;
        color: #dc3545;
    }

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #dc3545 !important;
}

.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #198754 !important;
}

.bootstrap-select:has(select.is-invalid) .dropdown-toggle {
    border: 1px solid #dc3545 !important;
}

.nav-item.tab-has-error .nav-link.active:before {
    content: "";
    position: absolute;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fff'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fff' stroke='none'/%3e%3c/svg%3e");
    background-position: right .75rem center, center right 2.25rem !important;
    background-size: 18px !important;
    background-repeat: no-repeat;
    border-color: rgba(220, 53, 69, 0) !important;
    z-index: 1;
    width: 30px;
    height: 30px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.nav-item.tab-has-error .nav-link:before {
    content: "";
    position: absolute;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-position: right .75rem center, center right 2.25rem !important;
    background-size: 18px !important;
    background-repeat: no-repeat;
    border-color: rgba(220, 53, 69, 0) !important;
    z-index: 1;
    width: 30px;
    height: 30px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

ul.submenu-content {
    padding-left: 20px;
}

.k-grid-content ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 15px;
    font-size: 20px;
}

.vertical-tabs .nav-pills {
    border: none
}

@media(max-width: 991px) {
    .vertical-tabs .nav-pills {
        display: flex;
        flex-wrap: unset;
        position: relative;
        top: 0;
        flex-direction: unset !important;
        gap: 15px;
        margin-bottom: 20px;
        overflow-x: auto;
        overflow-y: hidden
    }
}

.vertical-tabs .nav-pills .nav-item {
    display: block;
    width: 100%;
    position: relative;
    background-color: #f8f8f8;
    margin: 0 0 6px
}

.horizontal-tabs .nav-pills .nav-item {
    display: inline-block !important;
    width: auto;
    position: relative;
    background-color: #f8f8f8;
    margin: 0 0 6px;
    padding: 0px 10px;
}

    .horizontal-tabs .nav-pills .nav-item + .nav-item {
        margin: 0px 0px !important;
    }

@media(max-width: 991px) {
    .vertical-tabs .nav-pills .nav-item {
        display: inline-block;
        /*width: max-content;*/
        margin: 0
    }
}

.vertical-tabs .nav-pills .nav-item.is-invalid {
    border-color: rgba(0,0,0,0);
    border: none !important;
    padding-right: 0 !important;
    background-image: unset
}

@media(max-width: 991px) {
    .vertical-tabs .nav-pills .nav-item.is-invalid .nav-link {
        padding-right: 40px !important
    }
}

.vertical-tabs .nav-pills .nav-item.is-invalid .nav-link:before {
    content: "";
    position: absolute;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='15' height='15' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-position: right .75rem center,center right 2.25rem !important;
    background-size: 18px !important;
    background-repeat: no-repeat;
    border-color: rgba(220,53,69,0) !important;
    z-index: 1;
    width: 30px;
    height: 30px;
    right: 0;
    top: 50%;
    transform: translateY(-50%)
}

.vertical-tabs .nav-pills .nav-item.is-invalid .nav-link.active:before {
    filter: invert(1) brightness(100)
}

.vertical-tabs .nav-pills .nav-item .nav-link {
    width: 100%;
    text-align: left;
    border-radius: 0;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #212529;
    font-size: calc(14px + 2*(100vw - 320px)/1600);
    font-weight: 500
}

@media(max-width: 991px) {
    .vertical-tabs .nav-pills .nav-item .nav-link {
        padding: calc(8px + 2*(100vw - 320px)/1600) calc(12px + 2*(100vw - 320px)/1600);
        gap: 8px;
        white-space: nowrap
    }
}

.vertical-tabs .nav-pills .nav-item .nav-link:after {
    display: none
}

.vertical-tabs .nav-pills .nav-item .nav-link.active {
    background: linear-gradient(-45deg,var(--theme-color),#009289);
    border-radius: 6px;
    font-weight: 500;
    color: #fff
}

.vertical-tabs .nav-pills .nav-item + .nav-item {
    margin-top: 8px
}

@media(max-width: 991px) {
    .vertical-tabs .nav-pills .nav-item + .nav-item {
        margin-top: 0
    }
}

.vertical-tabs .tab-content {
    border-left: 1px dashed #ddd;
    padding-left: 24px;
    height: 100%
}

[dir=rtl] .vertical-tabs .tab-content {
    padding-left: 0;
    padding-right: 24px;
    border-left: none;
    border-right: 1px dashed #ddd
}

@media(max-width: 991px) {
    [dir=rtl] .vertical-tabs .tab-content {
        border-right: none;
        padding-right: 0
    }

    .vertical-tabs .tab-content {
        border-top: 1px dashed #ddd;
        padding-top: 20px;
        border-left: none;
        padding-left: 0
    }
}

@media(min-width: 576px) {
    .vertical-tabs .tab-content .tab-pane .input-error > .row > div:first-child {
        width: 25%
    }

    .vertical-tabs .tab-content .tab-pane .input-error > .row > div:last-child {
        width: 75%
    }
}

/* Notification alert */

/* Base Notification Box */
.notify-alert {
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

    /* Icon Styling */
    .notify-alert i {
        font-size: 18px;
    }

/* Success */
.alert-success.notify-alert {
    background: #d1f2e8 !important;
    color: #0f6848 !important;
    border-left: 5px solid #0f6848 !important;
}

/* Danger / Error */
.alert-danger.notify-alert {
    background: #f8d7da !important;
    color: #842029 !important;
    border-left: 5px solid #842029 !important;
}

/* Warning */
.alert-warning.notify-alert {
    background: #fff3cd !important;
    color: #664d03 !important;
    border-left: 5px solid #664d03 !important;
}

/* Info */
.alert-info.notify-alert {
    background: #cff4fc !important;
    color: #055160 !important;
    border-left: 5px solid #055160 !important;
}

/* Close Button Style */
.notify-alert .close {
    font-size: 22px;
    font-weight: bold;
    opacity: 0.6;
    margin-left: auto;
}

    .notify-alert .close:hover {
        opacity: 1;
    }

/* Animation override – optional */
.animated {
    animation-duration: 0.1s !important;
}
/* Progress bar container */
.notify-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(0,0,0,0.1); /* light background */
}

/* Actual progress bar */
.notify-progress-bar {
    height: 100%;
    width: 0%;
    background: #009289; /* Bootstrap primary */
    transition: width 0.2s linear;
}



.thumbnailbox {
    max-width: 200px;
    text-align: center;
    padding: 10px 10px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 10px;
}

.thumbnailboxwithshadow {
    max-width: 250px;
    text-align: center;
    padding: 10px 10px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    -webkit-box-shadow: 0 8px 6px -6px rgb(97, 97, 97);
    -moz-box-shadow: 0 8px 6px -6px rgb(97, 97, 97);
    box-shadow: 0 8px 6px -6px rgb(97, 97, 97);
    margin-bottom: 10px
}

    .thumbnailbox img, .thumbnailboxwithshadow img {
        max-width: 100%;
    }

.dragwithme, .dontdrag {
    background-color: #000;
    padding: 5px 0px;
    color: #fff;
    margin-bottom: 5px;
}

.imageposition.badge.badge-light {
    color: #000;
    font-weight: bold;
}

.dragwithme span:first-child {
    text-align: left !important;
    width: 80%;
}

.dragwithme span:last-child {
    text-align: right !important;
}

.dontdrag span:first-child {
    text-align: left !important;
    width: 80%;
}

.dontdrag span:last-child {
    text-align: right !important;
}


.alreadyuploadedfilesbox {
    display: block;
    width: 100%;
    margin: 0 auto 25px auto;
    padding: 25px;
    color: #97A1A8;
    background: #eee;
    border: 2px dashed #C8CBCE;
    text-align: center;
    -webkit-transition: box-shadow 0.3s, border-color 0.3s;
    -moz-transition: box-shadow 0.3s, border-color 0.3s;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.removeimage {
    color: #ef3f3e;
    font-size: 16px;
}

/* Actions Box container */


/* Buttons inside the action box */
.bootstrap-select .bs-actionsbox .btn-group button {
    width: 48%;
    border-radius: 0;
    padding: 8px 0;
    margin: 2px 2px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    /* YOUR THEME COLOR */
    background-color: #36655f !important;
    border-color: #36655f !important;
    display: inline-block;
}

    /* Hover state */
    .bootstrap-select .bs-actionsbox .btn-group button:hover {
        opacity: 0.85;
    }

/* Remove extra spacing */
.bootstrap-select .btn-group .bs-actionsbox .btn {
    margin: 0 !important;
}

.bs-searchbox .is-valid {
    background-image: none !important;
}

.bootstrap-select .bs-ok-default:after {
    color: #36655f !important;
    font-size: 14px !important;
}

/* Slider button in kendo */
.multi-action {
    position: relative;
}

.action-button {
    width: 46px;
    height: 46px;
    margin: auto;
    border-radius: 50%;
    border: 0;
    outline: 0;
    background: #fff;
    font-size: 24px;
    border: 1px solid #eee;
    z-index: 2;
    color: #555;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actions {
    position: absolute;
    list-style: none inside none;
    margin: 0 auto 0;
    padding: 0;
    width: auto;
    float: left;
    background-color: transparent;
    top: -1px;
    left: -40px;
    right: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
    /*.leftshift.actions {left:-16px;}*/

    .actions a {
        position: absolute;
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 0;
        margin: 0;
        transition: all 0.3s;
        transform: scale(0.3);
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.action-button.active ~ .actions a {
    transition: all 0.3s;
    transform: scale(1);
}

    .action-button.active ~ .actions a button {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0px;
    }

    .action-button.active ~ .actions a:nth-child(1) {
        margin-left: -47px;
    }

    .action-button.active ~ .actions a:nth-child(2) {
        margin-left: -95px;
    }

    .action-button.active ~ .actions a:nth-child(3) {
        margin-left: -143px;
    }

    .action-button.active ~ .actions a:nth-child(4) {
        margin-left: -191px;
    }

    .action-button.active ~ .actions a:nth-child(5) {
        margin-left: -239px;
    }

    .action-button.active ~ .actions a:nth-child(6) {
        margin-left: -287px;
    }

    .action-button.active ~ .actions a:nth-child(7) {
        margin-left: -335px;
    }

    .action-button.active ~ .actions a:nth-child(8) {
        margin-left: -383px;
    }

.actions a button.btn:not(.btn-link):not(.btn-circle) i.font-14 {
    top: 0px;
}

.actions a button {
    transition: all 0.3s;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
}
/* end Slider Button*/

.bootstrap-select > .dropdown-toggle {
    padding: calc(10px + (12 - 10) * ((100vw - 320px) / (1920 - 320))) 10px !important;
    color: #898989 !important;
}


.required-asterisk {
    color: red;
    font-weight: bold;
    margin-left: 3px;
}


/* Box */
.boardered-box {
    border: 1px solid #d1d1d1;
    padding: calc(15px + (20 - 15) * ((100vw - 320px) / (1920 - 320)));
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    border-radius: 5px;
    background-color: rgba(220, 53, 69, 0);
    position: relative;
}

.box-right-action {
    position: absolute;
    right: 1px;
    top: 0px;
    background-color: red;
    color: #fff;
    padding: 3px 14px;
    border-radius: 0px 5px 0px 0px;
    width: auto;
}

/* autocomplete */
.autocomplete-suggestions {
    margin-top: 20px;
    background-color: #fff;
    width: 100%;
    padding: 5px 15px 15px;
    box-shadow: 0 0 8px #eee;
    border-radius: 10px;
    max-height: 260px;
    overflow: auto;
    transform: translateY(-20px);
    transition: all .5s ease;
}

.autocomplete-suggestion {
    font-size: 14px;
    color: #555;
    padding: 9px 10px;
    background-color: #f9f9f6;
    border-radius: 100px;
    margin-bottom: 3px;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    background-color: #667eea;
    color: #fff;
    font-size: 16px;
    padding: 5px 5px 5px 15px;
    border-radius: 5px 5px;
    margin-bottom: 3px;
}

    .autocomplete-group strong {
        display: block;
        border-bottom: 1px solid #000;
    }
.page-wrapper .page-header .header-wrapper .search-full .form-group::before {
    background: var(--gradient-main) !important;
}
.clickable-row {
    cursor: pointer;
}

    .clickable-row:hover {
        background-color: #fbfcf7;
    }



.status-overdue span, .status-danger span, .status-failed span, .status-out_of_stock span {
    background-color: rgba(226,36,84,.15);
    color: #e22454;
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

.status-completed span, .status-delivered span, .status-in_stock span, .status-success span {
    background-color: rgba(47,135,51,.15);
    color: #2f8733
}

.status-completed span, .status-delivered span, .status-in_stock span, .status-pending span, .status-success span {
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

.status-pending span, .status-due span {
    background-color: rgba(205,71,0,.15);
    color: #000;
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

.status-processing span {
    background-color: rgba(0,119,179,.15);
    color: #0077b3;
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

.status-refund span {
    background-color: rgba(217,83,79,.15)
}

.status-refund span, .status-rejected span {
    color: #d9534f;
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

.status-rejected span {
    background-color: rgba(217,83,79,.1490196078)
}

.status-approved span {
    background-color: rgba(47,135,51,.1490196078);
    color: #2f8733
}

.status-approved span, .status-canceled span {
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

.status-canceled span {
    background-color: rgba(0,0,0,.15);
    color: #000
}

.status-awaiting_for_approval span {
    background-color: rgba(126,126,126,.15);
    color: #7e7e7e
}

.status-awaiting_for_approval span, .status-order-status span {
    padding: 5px 10px;
    text-transform: capitalize;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400
}

/* FORCE header alignment */
.k-grid th.text-center > .k-link {
    display: flex !important;
    justify-content: center !important;
}

.k-grid th.text-right > .k-link {
    display: flex !important;
    justify-content: flex-end !important;
}

.k-grid th.text-left > .k-link {
    display: flex !important;
    justify-content: flex-start !important;
}


/* For Kendo Row backgroud based on number of times record updated*/
.one-time-update {
    background-color: #e2f5e7 !important;
    color: #000 !important;
}

.two-time-update {
    background-color: #fbf2c3 !important;
    color: #000 !important;
}

.three-time-update {
    background-color: #f5c982 !important;
    color: #000 !important;
}