/* MAIN CSS FOR THE OVERALL LOOKS OF THE APP */


@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

* {
    font-family: "Lexend", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    color: #272727;
    font-size: small;
}

.container {
    max-width: 320px;
    width: 100%;
    padding-bottom: 10px;
    margin: 10px;
    border: #F1E6DF solid;
    border-radius: 10px;
    box-shadow:inset -1px 0px 4px 0px rgba(211, 211, 211, 0.729);
   /*  margin: 0 auto; */ /* This will center the container horizontally */
}

.mainheader{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 36px;
    margin-bottom: 2px;
    
}
.headerleft{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px ;
    padding-left: 2px;
}
h1{
    font-weight:520;
    font-size: 24px;
    color: #00997C;
}
.subheader1{
    width: 160px;
    margin-top: 10px;
    font-size: 8px;
    padding: 3px;
    background-color: #F1E6DF;
    border-radius: 10px;
}

figure{
    padding-top: 24px;
    padding-right: 16px;
    padding-left: 20px;
    padding-bottom: 20px;
    margin-top: 2px;
    margin-left: 6px;
    background-color: #FED18B;
    border-top-left-radius: 3px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 3px;
    box-shadow:inset 2px -2px 6px 0px #ddc49b;

}

.firstback{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FED18B;
    width: 290px;
    margin-left: 12px;
    border-radius: 10px;
    box-shadow:inset 2px -2px 4px 2px #debc84;
}

.secondback{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F1E6DF;
    width: 290px;
    border-radius: 10px;
    padding-top: 16px;
    box-shadow: 0px 6px 4px 0px #ceae7b;
}

/* Targeting the input field */
input[type="text"] {
    /* Adjusting the width relative to its containing element */
    width: 100px; /* You can change this value as needed */
    border-radius: 8px;
    padding-left: 8px;
    border:1px #00CCA5 solid;
    
}

input[type="number"]{
    width: 100px;
    padding-left: 4px;
    border:1px #00997C solid;
    border-radius: 8px;
}

.username label{
    padding-right: 10px;
}

.username{
    display: flex;
    flex-direction: row;
    background-color: #00CCA5;
    padding: 5px 10px;
    width:260px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    box-shadow: 3px 6px 4px 0px #cab3a6;
}

.itemprice{
    display: flex;
   flex-direction: row ;
    justify-content:space-between;
    padding: 5px 10px;
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 3px 6px 6px 0px #cab3a6;
}

.bottom-corner-last{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.bottom-corner-prev{
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}



.itemprice label{
    padding-left: 20px;
}

#useritemadd{
    padding:0px 14px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
    background-color: white; 
    box-shadow: -3px 3px 4px 0px #aa978d;
}

#useritemadd:active{
    background-color: rgb(173, 173, 173);
}

#useritemaddrest{
    padding:0px 14px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
    background-color: #E2CABC; 
    box-shadow: 0px 2px 4px 0px #aa978d;
}

#useritemaddrest:active{
    background-color: #aa978d; 
}

.userbutton{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: small;
    
    
    
}
.itembuttoncol{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.itembutton{
    display: flex;
    flex-direction: row;
}

.addbuttons{
    padding-bottom: 15px;
}

.friend{
    padding: 4px;
    background-color: #00CCA5;
    box-shadow: inset 0px 2px 3px 0px #01ab8c;
}

.buttonuser1{
    padding:4px 10px 4px 10px;
    background-color: white;
    border-top-left-radius:20px ;
    border-bottom-left-radius: 20px;
    box-shadow: 0px 2px 4px 0px #aa978d;
}

.buttonuser1:active{
    background-color: rgb(173, 173, 173);
}

.buttonuser2{
    padding:4px 10px 4px 10px;
    background-color: white;
    border-top-right-radius:20px ;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 2px 4px 0px #aa978d;
}   

.buttonuser2:active{
    background-color: rgb(173, 173, 173);
}

.calctax{
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px ;
    background-color: #F1E6DF;
    box-shadow: 5px 8px 6px 0px #ceae7b;
/*     box-shadow: 0px 12px 8px 0px #ceae7b; */
}

.buttoncalc{
    padding: 3px 90px;
    margin-top: 10px;
    background-color:#00CCA5;
    border: none;
    color: white;
    border-radius: 5px;
    box-shadow:2px 2px 0px 0 #3c635c;
}

.buttoncalcClicked{
    color: #3c635c;
    background-color:#87b8af;
}

.buttoncalc:active {
    background-color: #009e7a; /* Even darker color when active */
    box-shadow: inset -1px -1px 0px 0 #3c635c; /* Simulating button press */
}

.summ{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gt{
    font-size: larger;
    font-weight: 500;
    color: #00997C;
    padding-bottom:5px ;
}

.bgtotal{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px;
    height: 28px;
    background-color: white;
    border-radius: 5px;
    box-shadow: inset 0px 2px 2px 1px #d8b782;
}

.total{
    padding-top: 2px;
    font-size: large;
}

.spint{
 background-color:#F1E6DF;
 padding: 2px 10px;
 border-top-right-radius: 5px;
 border-top-left-radius: 5px;
 box-shadow: 2px 6px 6px 0px #d1b07c;
 /* box-shadow: -2px 6px 6px 0px #d1b07c; */
}

.align{
    display: flex;
    flex-direction: column;
    align-items: end;
}

 .totalfriends{
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    margin-bottom:3px ;
    height: 29px;
    width: 230px;
    padding: 6px 20px;
    background-color: #F1E6DF;
    border-radius: 5px;
    box-shadow: -2px 6px 6px 0px #d1b07c;
}/* 
   width: 230px;
    height: 29px;
    background-color: #F1E6DF;
    padding: 6px;
    margin-bottom:3px ;
    border-radius: 5px;
}
 */
.totalfriends label{
    background-color: #F1E6DF;
    width: 115px;
}

.totalfriends p{
    padding-left: 10px;
    background-color:white;
    height: 16px;
    width: 115px;
    border-radius: 5px;

}

.resetall{
    margin:5px;
    margin-bottom: 16px;
    padding: 3px 40px;
    background-color:#FC7059;
    color: white;
    border: none;
    /* color: white; */
    border-radius: 5px;
    box-shadow:2px 2px 0px 0 #3c635c;
}
/* 
.resetall a{
    text-decoration: none;
    color: #272727;
} */
.resetall:active{
    background-color:#b96b60;
    box-shadow:inset -1px -1px 0px 0 #3c635c;
}

.disclaimer{
    text-align: center;
    font-size: xx-small;
    padding: 5px 15px;
}

.notification {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center ;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 228px;
    height: 171px;
    background-color: #F1E6DF;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: -3px 6px 4px 0px #706f6f;
    
  }

  .notification img{
    width: 90px;
    height: 90px;
    border-radius: 10px;
  }

  .notification p{
    padding-top: 10px;
    font-size: large;
  }

  .notificationUser {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center ;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 228px;
    height: 171px;
    padding-top: 12px;
    background-color: #F1E6DF;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: -3px 6px 4px 0px #706f6f;
  }

  .notificationUser img{
    width: 183px;
    height: 102px;
    border-radius: 10px;
  }

  .notificationUser p{
    font-size: larger;
  }

  .notiUserButton{
    margin-top: 4px;
    width: 72px;
    height: 19px;
    background-color: #8BFFA4;
    border-color: #8BFFA4;
    border-radius: 5px;
    padding-bottom: 20px;
  }

  .notificationItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center ;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 228px;
    height: 171px;
    padding-top: 12px;
    background-color: #F1E6DF;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: -3px 6px 4px 0px #706f6f;
    
  }

  .notificationItem img{
    width: 183px;
    height: 74px;
    /* border-radius: 10px; */
  }

  .notificationItem p{
    padding-top:10px ;
    font-size: larger;
  }

  .notiItemButton{
    margin-top: 4px;
    padding-bottom: 20px;
    width: 72px;
    height: 19px;
    background-color: #8BFFA4;
    border-color: #8BFFA4;
    border-radius: 5px;
  }


  .black{
    position: fixed;
    background-color: rgba(90, 90, 90, 0.576);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    z-index: 9995;
  }
  .image{
    width: 50px;
    height: 50px;
  }


 /*  /////////////////// */
 .rows{
    display: flex;
    flex-direction: row;
 }
 .box1{
    width: 30px;
    height: 30px;
    background-color: #F1E6DF;
 }

 .box1a{
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: 30px;
    height: 30px;
    background-color: #FED18B;
    border-top-right-radius: 10px;
    box-shadow: inset 3px 6px 4px 0px #ceae7b;
 }
 .box2{
    width: 30px;
    height: 30px;
    background-color: #F1E6DF;
 }

 .box2a{
    display: flex;
    flex-direction: column-reverse;
    justify-content:end;
    align-items: end;
    width: 30px;
    height: 30px;
    background-color: #FED18B;
    border-top-left-radius: 10px;
    box-shadow: inset 4px 6px 8px 0px #ceae7b;
 }

 .box1b{
    width: 20px;
    height: 20px;
    background-color: #FED18B;
    box-shadow: -3px 3px 5px 8px #FED18B;
 }

 .box2b{
    width: 20px;
    height: 20px;
    background-color: #FED18B;
    box-shadow: 3px 4px 6px 8px #FED18B;
 }