@import url('https://fonts.googleapis.com/css2?family=Your+Preferred+Font');

:root{
    --white1: #ffffff;
    --white2: #f8f8f8;
    --white3: #e9e9e9b1;
        --black1: black;
    --black2: #222222;
    --black3: #2c2c2c;



}
body{
    background-color: var(--black1);
    color: #ffffff;
    font-family: 'Your Preferred Font', sans-serif;
    text-transform: capitalize;
}

.menu0{
    position: fixed;
    top: 10px;
    right: 50px;
    display: flex;
}
.menu{
margin-left: 5px;
 

    background-color: var(--black2)
    ;
    padding: 15px 5px;
    border-radius: 50px;
}
a{
    text-decoration: none;
    color: var(--white1);
}
.menuop{
    cursor: pointer;

    padding: 15px 20px;
    border-radius: 50px;
 
    color: var(--white1);
    border: none;
    font-size: 18px;
    background-color: var(--black2)
    ;
}
.active{

    background-color: var(--black3);
}



h1{
    text-align: center;
   
}



.sec1{
    display: flex;
    width: 94%;
    margin: 3%;
    background-color: var(--black1);
 background-color: #f8f8f812;
    justify-content: center;
    margin-top: 65px;
    border-radius: 15px;
}
.sec2{
    width: 30%;
    margin-right: 3%;
background-color: var(--black2);
    padding: 3% ;
    border-radius: 25px;
    margin: 1%;
}

.sec21{
    background-color: rgba(255, 255, 0, 0);
    width: 100%;
    height: 300px;
    overflow-y: scroll;
}
.sec211{

}
.expred{
 color: red;

}

.sec22{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.sec221{
    display: flex;
    justify-content: space-between;
    margin: 10px 0px;
    font-size: 20px;
}
#disco, #cash{
    width: 100px;
    text-align: right;
}

#tot{

}

#balance{
    color: green;
}
hr{
    width: 100%;
    opacity: 0.4;
}

.sec211{
    display: flex;
    justify-content: space-between;
align-items: center;

}
.sec211 p{
  
}
#quantityc{
    width: 50px;
  height: min-content;
  text-align: right;
}

.sec3{
    border-radius: 25px;
    padding-left: 3%;
    height: 800px;
    overflow-y: scroll;
    margin: 1%;
    background-color: #dedede10;
    width: 55%;
    
}
.sec3::-webkit-scrollbar {
    width: 0; /* This will hide the scrollbar in webkit browsers */
}
.sec21::-webkit-scrollbar {
    width: 0; /* This will hide the scrollbar in webkit browsers */
}

#emailForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    
}

 input[type="number"], input[type="text"],  input[type="email"]{
    font-size: 18px;
    background-color: var(--black3);
    background-color: --;
    border: none;
    border-radius: 50px;
   margin-bottom:10px;
   width: 100%;
   padding: 10px 20px;
   color: var(--white1);
   width: 94%;
}
input[type="submit"] {
    font-size: 18px;
    background-color: var(--black3);
    border: none;
    border-radius: 50px;
   margin-bottom: 5px;
   width: 100%;
   padding: 10px 20px;
   color: var(--white1);
   cursor: pointer;
   margin-bottom: 20px;
   margin-top: 20px;

}


#loading-spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    stockition: absolute;
    z-index: 9999999;
 
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


 #search{
    width: 200px;
    color: white;
 }
 #bsearch{
    width: 200px;
    color: white;
 }
#price, #barcode, #uses, #phone, #site, #stone, #cname{
    color: var(--white1);
    background-color: var(--black3);

 }
 #addlinkcontent{
    width: 94%;
    background-color: var(--black3);
 }


 /* upload form */
.uploadsec1,.addparagraph, .addlink{
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    background-color: #000000d5;
    z-index: 10;
    top: 0;
    left: 0;
}
.uploadsec3, .uploadsec4, .uploadsec5{
    background-color: var(--black2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;

}
.hidden{
    display: none;

}
.af-close{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11;
    font-size: 20px;
    cursor: pointer;
    color: white;
}

.addqbtn{
    cursor: pointer;
    margin-top: 30px;
    padding: 15px 20px;
    border-radius: 50px;
    background-color: var(--black3);
    color: var(--white1);
    border: none;
    font-size: 18px;
}
.deletebtn{
    cursor: pointer;
    margin-top: 30px;
    padding: 15px 20px;
    border-radius: 50px;
    background-color: red;
    color: var(--white1);
    border: none;
    font-size: 18px;
  
}



/* table */

table {
    border-collapse: collapse;

    margin: 20px 0;



}

th, td {

    padding: 8px;
    text-align: left;

}
td:is([data-type='integer']) {
    text-align: right;
  }

th {
    background-color:var(--black3);
    color: var(--white1);
 

}
tr{
    cursor: pointer;
}
tr:hover {
    background-color: #c42c2c;
}

.checkoutbtncon{
    position: fixed;
    bottom: 10px;
    right: 10px;

}
.cancelbtn{
    width: 150px;
    height: 50px;
    background-color: var(--black3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 20px;
    cursor: pointer;
}
.checkoutbtn{
    width: 150px;
    height: 50px;
    background-color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 20px;
    margin-top: 10px;
    cursor: pointer;

}

.printrs{
    top: 0;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.664);
    gap: 5px;
}
.printrs .checkoutbtn{
    margin-top: 0;
}
.tot2{
    font-weight: 600;
}
.bold{
    font-weight: 600;
}