@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&family=Vazirmatn:wght@100..900&display=swap');

:root{

    --main-color: #014E7C;
    --main-light-color: #B3872F;
    --black: #2f3542;
    --gray: #a4b0be;
    --light-gray: #dfe4ea;
    --ex-light-gray: #f1f2f6;
    --green: #079992;
    --light-green: #38ada9;
    --ex-light-green: #82ccdd;
    --yallow: #fff200;
    --dark-blue: #2C3A47;
    --white: white;
    --red: #EA2027;
    --darkYellow: #ff9f43;
}

@font-face{
    font-family: 'bahij-regular';
    src: url(../fonts/BahijZar-Regular.ttf);
}

html{
    font-size: 80%;
}



body{
    font-family: "Titillium Web", sans-serif !important;
}

*{
    box-sizing: border-box;
}


/* SCROLL DESIGN FOR SALE SEARCH */
::-webkit-scrollbar {
    width: .5rem;
}

::-webkit-scrollbar-track {
    background-color: var(--dark-blue);
}

::-webkit-scrollbar-thumb {
    background-color: var(--green);
    border-radius: 10px;
}


.navbar{
    background-color: var(--ex-light-gray);
}
 
.btn-primary{
    background-color: var(--main-color) !important; 
}
.nav-link{
    background-color: var(--light-gray);
    color: var(--main-color) ;
    border-radius: 5px;;
}
/* .nav-link.active{
    background-color: var(--main-light-color) !important;
    color: var(--white) !important;
} */


.sale_invoice{
    /* border: 2px solid red; */
    height: 70vh;
    overflow: auto;
}

form small{
    color: red;
}

/* NEW CSS */
.sale-cart-section{
    min-height: 600px;
    overflow: hidden;
    box-shadow: 0 5px 10px var(--light-gray);
}
.sale-cart-products{
    overflow: auto;
}

.payment-bottom-section{
    /* border: 3px solid red; */
    height: 150px;
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 10%);
    background-color: var(--ex-light-gray);
    padding: 30px;
}
.login-brand{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--gray);
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}
.login-brand img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1400px)
{
    .payment-bottom-section{
        width: calc(100% - 13%);
    
    }   
}

@media screen and (max-width: 1200px)
{
    .payment-bottom-section{
        width: calc(100% - 15%);
    
    }   
}



@media screen and (max-width: 1092px)
{
    html{
        font-size: 0.5em !important;
    }
}
@media screen and (max-width: 768px)
{
    .payment-bottom-section{
        width: 100%;
        position: relative;
    }   
}

.login-bg{
    background-image: url(../assets/login-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(10px);
    width: 100%;
    height: 100vh;
    position: fixed;
    background-position: center;
    top: 0;
    left: 0;
}

.card{
    border: 0;
    box-shadow: 0px 0px 10px var(--light-gray);
    position: relative;
}

.developer{
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.developer a{
    color: var(--red);
    font-weight: 600;
}
.dash-row  a{  
    text-decoration: none !important;
    color: var(--darkYellow);
    font-weight: bold !important;
}
.profile-img{
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}
.profile-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.sale-search-table{
    background-color: var(--white);
    top: 35px;
    padding: 20px;
    box-shadow: 0px 0px 10px var(--light-gray);
    max-height: 60vh;
    /* border: 2px solid red; */
    z-index: 999;
    width: 100%;
    overflow: auto;
}

.close-bill{
    display: inline-block;
    position: absolute;
    background-color: var(--red);
    color: var(--white);
    padding-top: 2px;
    padding: 1px 3px;
    right: -10px;
    top: -10px;
    cursor: pointer;
    
}
#sale-return-product-cart-body{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    width: 100%;
    z-index: 9999;
}
.form-control:read-only {
    background-color: #e9ecef;
    opacity: 1; 
  }

  .select2-container{
    z-index: 9999 !important;
  }



  .table-container {
    max-height: 400px; /* Set the maximum height for the scrollable area */
    overflow-y: auto;
}

.table-container thead th {
    position: sticky;
    top: 0;
    z-index: 10; /* Ensure the header is above table content */
}

.account_star{
    cursor: pointer;
    font-size: 1.3em;
}