﻿@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.2.2/font/bootstrap-icons.css");


@font-face {
    font-family: 'InterRegular';
    src: url('../fonts/InterRegular.eot');
    src: url('../fonts/InterRegular.eot') format('embedded-opentype'), url('../fonts/InterRegular.woff2') format('woff2'), url('../fonts/InterRegular.woff') format('woff'), url('../fonts/InterRegular.ttf') format('truetype'), url('../fonts/InterRegular.svg#InterRegular') format('svg');
}

@font-face {
    font-family: 'HeeboLight';
    src: url('../fonts/HeeboLight.eot');
    src: url('../fonts/HeeboLight.eot') format('embedded-opentype'), url('../fonts/HeeboLight.woff2') format('woff2'), url('../fonts/HeeboLight.woff') format('woff'), url('../fonts/HeeboLight.ttf') format('truetype'), url('../fonts/HeeboLight.svg#HeeboLight') format('svg');
}



/** Common Styles **/
body {
    background: #F8F9FE;
}
.cursor {
    cursor: pointer;
}

.login_bg {
/*    background-image: url('../images/login_bg.jpg');
    background-size: cover;*/
    background-color:#FFFFFF;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'InterRegular';
}

    .login_bg::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

.form-floating {
    margin-bottom: 15px;
}

.form-control {
    border: 1px solid #EFEFEF;
}

.input-validation-error {
    border-color: red !important;
}

.form-check {
    margin-top: 15px;
}

    .form-check .form-check-input[type='checkbox'] {
        border: 1px solid #B6B6B6;
        border-radius: 1px;
        height: 20px;
        width: 20px;
        margin-right: 10px;
    }

.fs-12 {
    font-size: 12px !important;
}

.bg-red {
    background-color: #0046FF !important;
    border-color: #0046FF !important;
}

.light-grey {
    color: #B6B6B6;
}

.form-check-input:checked {
    background-color: #0046FF;
    border-color: #0046FF;
}

.btn-height-60 {
    height: 50px;
}

.white_bg {
    background-color: #FFFFFF;
    color: #0046FF;
    border: 1px solid #D91A1A !important;
}

.border-left-2px {
    border-left: 2px solid #F8F9FE;
}

/** Login Page **/

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f7fa;
}

.login-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 448px;
    text-align: center;
}

    .login-card img {
        margin-bottom: 5px;
    }

.form-control {
    height: 50px;
    border-radius: 10px;
    font-size: 15px;
}

.password-wrapper {
    position: relative;
}

.eye-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.error-message {
    font-size: 13px;
    color: red;
    margin-top: 4px;
}

.forgot_pass {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 2rem;
}
.login-btn {
    height: 50px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

.footer-text {
    margin-top: 30px;
    font-size: 13px;
    color: #888;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper .eye-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 1.2rem;
        color: #6c757d; /* muted grey */
    }

        .password-wrapper .eye-icon:hover {
            color: #000; /* darker on hover */
        }

.login-logo {
    max-width: 100%;
    width: auto;
    height: 160px;
    display: block;
    margin: 0 auto 20px auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2)); /* soft shadow */
    transition: transform 0.3s ease, filter 0.3s ease;
}

    .login-logo:hover {
        transform: scale(1.05); /* slight zoom on hover */
        filter: drop-shadow(0px 6px 10px rgba(0, 0, 0, 0.3));
    }

@media (max-width: 768px) {
    .login-logo {
        max-height: 90px;
    }
}




.login-container {
    background-color: #F8F9FE;
    width: 646px;
    min-height: 590px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px #000000;
    padding: 30px 100px;
}

    .login-container img {
        display: block;
        margin: 0 auto;
    }

    .login-container h2 {
        text-align: center;
        color: #0046FF;
        font-family: 'HeeboMedium';
        font-size: 22px;
    }

    .login-container p {
        font-size: 14px;
    }

    .login-container .eye-icon {
        top: 16px;
        right: 15px;
    }

.forgot_link {
    color: #0046FF;
    font-size: 15px;
    text-decoration: none;
    margin-top: 5px;
}

    .forgot_link:hover {
        text-decoration: underline;
    }

.btn {
    outline: none;
    font-size: 18px;
    line-height: 29.38px;
    border-radius: 4px;
    font-family: 'HeeboMedium';
    font-weight: 500;
    min-width: 100px;
}

.btn-primary {
    background-color: #0046FF;
    border-color: #0046FF;
    color: white;
    min-width: 100px;
    outline: none;
}

    .btn-primary:hover,
    .btn-primary:active,
    :not(.btn-check) + .btn:active,
    .btn:first-child:active {
        background-color: #FFFFFF;
        color: #0046FF;
        border: 1px solid #0046FF !important;
    }

.btn-outline-primary,
.btn-check:checked + .btn,
.btn.show {
    background-color: #FFFFFF;
    color: #0046FF;
    min-width: 100px;
    outline: none;
    font-size: 18px;
    line-height: 29.38px;
    border-radius: 4px;
    font-family: 'HeeboMedium';
    font-weight: 500;
    border: 1px solid #0046FF !important;
}

    .btn-outline-primary:hover {
        background-color: #0046FF;
        color: #ffffff;
        border: 1px solid #ffffff !important;
    }

.otp_input .form-control {
    width: 55px;
    height: 52px;
    border: 2px solid #000000 !important;
    border-radius: 4px;
    font-size: 26px;
    font-family: 'HeeboLight';
}

    .otp_input .form-control::placeholder {
        font-size: 26px;
        font-weight: 300;
    }
    
    
.otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

    .otp-input {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border: 2px solid #007bff;
    border-radius: 5px;
    outline: none;
    transition: 0.2s;
    }

    .otp-input:focus {
        border-color: #0056b3;
        box-shadow: 0px 0px 5px rgba(0, 91, 187, 0.5);
    }

.resend-link {
    color: red;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

    .resend-link:hover {
        text-decoration: underline;
    }

@media (max-width: 767px) {
    .login-container {
        padding: 20px;
        margin: 10px;
    }
}

/** Dashboard Css **/
.menusection li {
    margin: 5px 0px;
}

    .menusection li a {
        color: black;
        font-size: 16px;
        font-weight: 500;
        padding: 5px 10px;
        line-height: 30px;
    }

        .menusection li a:hover,
        .menusection li a.active,
        .menusection li a:focus {
            background-color: #0046FF !important;
            color: #fff;
        }

    .menusection li ul {
        margin: 10px 0px;
    }

        .menusection li ul li {
            margin: 0px 0px;
            padding: 0px 10px;
        }

            .menusection li ul li a {
                font-size: 15px;
                margin-left: 10px;
            }

                .menusection li ul li a:hover,
                menusection li ul li a:focus,
                .menusection li ul li a.active {
                    background-color: transparent !important;
                    color: #0046FF;
                }

                .menusection li ul li a::before {
                    font-size: 50px;
                    content: ".";
                    line-height: 0px;
                }

    .menusection li i::before {
        vertical-align: middle;
    }

.download_btn {
    margin-right: 15px;
}

    .download_btn .btn {
        border-radius: 4px;
        padding: 10px 30px;
        font-size: 12px;
        line-height: 14.52px;
    }

    .download_btn .dropdown-toggle::after {
        margin-left: 10px;
    }

._title {
    color: #000000;
    font-family: 'HeeboMedium';
    font-size: 24px;
}

.table th,
.table td {
    padding: 10px;
    min-width: 150px;
    border: 0px;
}

.table thead {
    background: #ffcacd;
}

.table th {
    background-color: #ffcacd !important;
    white-space: nowrap;
    height: 50px;
}

.table td {
    border-bottom: 1px solid #FFD9DB;
    white-space: nowrap;
    font-size: 14px;
}

    .table td .btn {
        background: #116d151f;
        width: 80px;
        text-transform: uppercase;
        font-size: 12px;
        padding: 8px 14px 8px 14px;
        border-radius: 4px;
        font-size: 500;
    }

    .table td .btn-warning {
        background-color: rgba(255, 184, 0, 0.2);
        color: #FFB800;
        border: 1px solid transparent;
    }

.pagination {
    justify-content: flex-end;
    margin-top: 10px;
}

    .pagination .page-item {
        margin: 0px 5px;
    }

        .pagination .page-item .page-link {
            border: 1px solid transparent;
            color: #3F3F3F;
        }

        .pagination .page-item.active .page-link {
            background-color: #E41D28;
            border-color: #E41D28;
            color: #fff;
        }

.accordion-button:not(.collapsed),
.accordion-button:hover {
    background-color: #E41D28;
    border-color: #E41D28;
    color: #fff;
}

.nav-tabs {
    border-bottom: 0.5px solid #676566;
    justify-content: space-between;
}

    .nav-tabs .nav-item a {
        padding: 0px 65px 10px;
    }

    .nav-tabs .nav-link.active,
    .nav-tabs .nav-link:hover {
        border-top: 1px solid transparent !important;
        border-left: 1px solid transparent !important;
        border-right: 1px solid transparent !important;
        border-bottom: 2px solid #e41d28 !important;
        color: #e41d28 !important;
    }

    .nav-tabs .nav-link {
        color: #676566 !important;
        font-size: 14px !important;
        font-family: 'HeeboMedium';
        font-weight: 400 !important;
        border-bottom: none;
        border-radius: 0;
    }

.bg-white-tabs {
    background-color: #ffffff;
    padding: 15px;
}

.tab-content .form-control,
.tab-content .form-select,
.modal-body .form-control {
    height: 44px;
    border: 1px solid #DADADA;
    border-radius: 2px;
}

.tab-content label {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
}

.modal-body {
    max-width: 978px;
    /*height: 642px;*/
}

.rating {
    display: inline-block;
    font-size: 1.5rem;
}

    .rating input {
        display: none;
    }

    .rating label {
        cursor: pointer;
        color: #000;
    }

        .rating label:before {
            content: '\2605';
        }

    .rating input:checked ~ label {
        color: #ffc107;
    }

.tab-content .accordion-item {
    border: 0px;
}

@media (max-width: 991px) {
    .tab-content > .tab-pane {
        display: block;
        opacity: 1;
    }
}

._notification_dropdown .dropdown-menu {
    border-radius: 0px;
    width: 200px;
    padding: 10px;
}

._notification_dropdown li {
    border-bottom: 1px solid #cfcfcf;
    padding-top: 8px;
}

    ._notification_dropdown li:last-child {
        border-bottom: 1px solid transparent;
    }

    ._notification_dropdown li:first-child {
        padding-top: 0px;
    }

    ._notification_dropdown li a {
        text-decoration: none;
    }

    ._notification_dropdown li ._new_message {
        color: #E41D28;
        font-size: 9px;
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

    ._notification_dropdown li .text-muted {
        font-size: 9px;
        margin-bottom: 8px;
    }

    ._notification_dropdown li img {
        margin-top: 5px;
    }

._red_dot {
    top: 0px;
    background-color: #0046FF;
    width: 8px;
    height: 8px;
    border: 1px solid #000000;
    border-radius: 50%;
    right: 13px;
}

.accordion-collapse .btn-primary,
.modal-footer .btn-primary,
.accordion-collapse .btn-outline-primary {
    /* font-size: 12px !important; */
}

@media only screen and (min-width: 992px) and (max-width: 1420px) {
    .nav-tabs {
        justify-content: space-between;
    }

        .nav-tabs .nav-item a {
            padding: 0px 10px 10px;
        }
}

#main {
    transition: margin-left .5s;
    margin-left: 250px;
}

.logo {
    width: 98px;
}

.sidemenu .logo_sec .logo {
    width: 48px;
}

.sidemenu .logo_sec img:last-child {
    display: none;
}

.sidemenu .logo_sec img,
.sidemenu .nav-pills .nav-link img {
    margin: auto;
}

.sidemenu ul#menu span,
.sidemenu ul#menu ul {
    display: none;
}
#mySidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto; 
    transition: all 0.4s ease;
    background: #fff;
    margin-bottom: 0;
    padding-bottom: 1rem;
}


.fs-14 {
    font-size: 14px;
}

@media(max-width:767px) {
    #mySidebar {
        background: rgb(0 0 0 / 50%);
        width: 100% !important;
    }

        #mySidebar.sidemenu {
            display: none !important;
        }

    #main {
        margin-left: 0px !important;
    }



    #mySidebar > div {
        background: #fff;
        width: 250px;
    }
}

/*spinner css start*/

/*Loader Style */
@keyframes loader {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.spinner-center {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    position: fixed; /* Change from absolute to fixed */
    top: 0; /* Ensure it starts at the top of the viewport */
    left: 0; /* Ensure it starts at the left of the viewport */
    z-index: 999999999;
    padding: 0;
    margin: 0;
}

.loader div {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 20px solid #4c51bf;
    border-top-color: transparent;
    border-radius: 50%;
}

.loader div {
    animation: loader 1s linear infinite;
    top: 100px;
    left: 100px
}

.spinner {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
}

.loader {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
}

    .loader div {
        box-sizing: content-box;
    }
.whiteBgSection {
    background: var(--white-color);
    padding: 10px;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .layoutSection {
        padding: 20px;
    }

    .whiteBgSection {
        padding: 20px;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)
    }

    50% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)
    }

    75%, 100% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)
    }
}
/*spinner css end*/
.closeImg {
    position: absolute;
    top: -5px;
    right: -5px;
}
.btn-upload {
    background-color: #f6f6f6;
    font-size: var(--font-8);
    font-weight: var(--fontWeight-400);
    color: #4d4d4d;
    height: 48px;
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 15px;
    white-space: nowrap;
    min-width: 128px;
}

    .btn-upload:hover {
        background-color: #f6f6f6;
    }

/* Make entire page white and center login */
body.login_bg {
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* full screen height */
    margin: 0;
}

/* Login container styled as a card */
.login-container {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* same card width as screenshot */
    text-align: center;
}
/* Make page white and center the card */
body.login_bg {
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

/* Keep only ONE .login-container definition – this one should be last */
.login-container {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* --- Floating label compatibility with our global .form-control override --- */
.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    height: calc(3.5rem + 2px) !important; /* restore Bootstrap's height */
    padding: 1rem .75rem !important; /* restore Bootstrap's padding */
    line-height: 1.25;
}

.form-floating > label {
    padding: .5rem .75rem !important;
}

/* Make placeholder transparent so label is visible inside input */
.form-floating .form-control::placeholder {
    color: transparent !important;
}

/* Nice invalid state */
.form-control.is-invalid {
    border-color: #dc3545;
}

/*Product*/

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #f9fafb;
}

    .form-input:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    }

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive {
    background-color: #fee2e2;
    color: #b91c1c;
}

.status-discontinued {
    background-color: #fef3c7;
    color: #b45309;
}

.search-highlight {
    background-color: #fffbeb;
    font-weight: 600;
}
.action-btn {
    transition: all 0.2s ease;
}

    .action-btn:hover {
        transform: scale(1.1);
    }

.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
#clearSearchBtn i {
    pointer-events: none;
}
#searchInput {
    padding-right: 2.5rem; 
}

#searchInput:focus + #clearSearchBtn {
    display: block;
}
.menu-item.active {
    background-color: #4f46e5; /* Indigo */
    color: #FFFFFF;
    font-weight: 600;
}

    .menu-item.active i {
        color: #FFFFFF;
    }
#btnAddPermission i {
    display: flex;
    align-items: center;
}
th.sortable {
    white-space: nowrap; /* prevent wrapping */
    text-align: left; /* keep text aligned */
    vertical-align: middle; /* proper alignment */
}

    th.sortable .sort-icon {
        display: inline-flex;
        align-items: center;
        margin-left: 6px; /* spacing between text and icon */
    }



.pageSelect {
    border: 1px solid #666;
}
/*#productListSection .flex.items-center {
    position: relative;*/ /* creates stacking context */
    /*z-index: 0;*/ /* ensures it stays below menu bar */
/*}*/
.view-icon i {
    color: #009688 !important; /* Light teal */
}

.view-icon:hover i {
    color: #00695c !important; /* Darker teal */
}