/* ========= Mawjood brand tokens (sampled from MAjood full logo.png) ========== */
:root {
    --mawjood-navy: #112660;
    --mawjood-navy-deep: #0f2156;
    --mawjood-navy-light: #142c6b;
    --mawjood-cyan: #86e5f6;
    --mawjood-cyan-tint: #e3f7fb;
}

.nav-sidebar > .nav-item > .nav-link.active {
    color: #fff !important;
    border-left: 3px solid var(--mawjood-cyan);
}

.btn-primary,
.create-account-btn {
    background-color: var(--mawjood-navy) !important;
    border-color: var(--mawjood-navy) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.create-account-btn:hover {
    background-color: var(--mawjood-navy-deep) !important;
    border-color: var(--mawjood-navy-deep) !important;
}

.text-primary { color: var(--mawjood-navy) !important; }
.badge-primary, .bg-info { background-color: var(--mawjood-cyan) !important; color: var(--mawjood-navy) !important; }

/* ========= theme ========== */
.sidebar-dark-lightblue .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-lightblue .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #112660 !important;
}

.text-lightblue {
    color: #112660 !important;
}

.bg-gradient-primary {
    background: #0f2156 linear-gradient(180deg, #112660, #142c6b) repeat-x !important;
}

.bg-gradient-primary.btn:hover {
    background: #0f2156 linear-gradient(180deg, #142c6b, #0f2156) repeat-x !important;
    border-color: #142c6b !important;
}

.bg-primary {
    background: #112660 !important;
}

.btn-lightblue {
    color: #112660 !important;
}

a {
    color: #112660;
}

.btn-lightblue:hover {
    background: #0f2156 linear-gradient(180deg, #142c6b, #0f2156) repeat-x !important;
    border-color: #0f2156 !important;
}

.sidebar-light-lightblue {
    background-color: #e3f7fb !important;
    box-shadow: none !important;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    background-color: aliceblue !important;
}

.elevation-3 {
    background: aliceblue !important;
}

.preloader {
    background-color: aliceblue !important;
}

/* ========= theme end ========== */

.site-logo-placeholder {
    width: auto;
    max-width: 260px;
    max-height: 80px;
}

.user-cart {
    .card {
        height: 400px;
    }

    .qty {
        width: 45px;
        float: left;
    }
}

.order-product {
    .item {
        float: left;
        border: 1px solid #ccc;
        border-radius: 3px;
        background: #fff;
        margin: 0 2px 4px 2px;

        img {
            width: 100px;
            height: 100px;
            max-width: 100%;
        }

        h5 {
            font-size: 13px;
            text-align: center;
        }
    }
}

.product-list {
    .product-img {
        max-width: 70px;
        max-height: 70px;
    }
}
/* for fixing select2 input field desgine issue */
 .select2-container--default .select2-selection--single {
     height: calc(1.5em + 0.75rem + 2px) !important;
 }


/* Custom large size for the switch toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    /* Decreased width */
    height: 20px;
    /* Decreased height */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    /* Decreased size */
    width: 16px;
    /* Decreased size */
    left: 2px;
    /* Adjusted position */
    bottom: 2px;
    /* Adjusted position */
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #667fe4;
}

input:focus+.slider {
    box-shadow: 0 0 1px #667fe4;
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    /* Adjusted for new size */
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 20px;
    /* Adjusted for new size */
}

.slider.round:before {
    border-radius: 50%;
}
/* login page primary button (frontend style.min.css uses #0876fd) */
.create-account-btn {
    background: var(--mawjood-navy) !important;
    transition: all 250ms ease-in-out !important;
}
.create-account-btn:hover {
    background: var(--mawjood-navy-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(17, 38, 96, 0.28);
}
