
/******* AUTHENTICATION STYLES ********/

/* .auth_form input {
  height: 2.5rem;
  font-size: 1rem;
} */

/* settings for managing mobile vs desktop */
@media (max-width: 1000px) {

  body{
    font-size: 1rem; /* 1.5rem for mobile */
  }
  .auth_form .form-control  {
    height: 5vh;         /* 8% of viewport height */
    font-size: 1rem; 
    /* margin-top :5%; */
    /* margin-bottom :5%; */
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .auth_form .submit_btn{
    height: 5vh;         /* 8% of viewport height */
    font-size: 1rem; 
  }
  
  h2{
    font-size: 2rem;
  }
  h1{
    font-size: 2rem;
  }
  h3{
    font-size: 1rem;
  }
  
}
/* .auth_header{
  width:100%;
  display: flex;
  justify-content: center;
} */

.auth_wrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  padding: 10%;
  gap:10px;
  width:100vw;
  height: 80vh;
}

.auth_container{
  /* align-self: center;
  justify-self: center; */
  /* margin:10%; */
  /* display: flex; */
  width: 80%;
  height: 80%;
}


/******* GENERAL STYLES ********/

* { 
  box-sizing: border-box;
}


#root {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}


.list_view_container{
  width:80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content:center; */
  height: 90vh;
  margin: 10px;
  max-height: 90vh;
  gap:10px
}



.store_view_container{
  height: 50%;
}
.shopping_list_container , .aisle_controls_list{
  width: 100%;  /* Takes up 80% of the viewport width */
  /* max-width: 1200px;  Optional: set a max width */
  /* max-height: 800px;  Optional: set a max height */
  max-height: calc(100% - 20px);;
  overflow-y: scroll; 
  border: 1px solid #ccc;  /* Just for visibility */
  border-radius: 2%;
  /* padding: 10px; */
  /* align-items: center; */

}

.table{
  width:100%;  
  align-content: center;
}

td,th{
  text-align: center;
}



.add_item_form{
  width:100%;
  gap: 5px;
}

.btn{
  line-height: 1.25;
  min-width: 30%;
  white-space: nowrap;
  align-content: center;
}



.page_title_text{
  /* height: 100; */
  min-width: 50%;
  padding-left: 10px;
  padding-right: 10px;
  font-size:20px;
  color: black;
  border-style: inset;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
}

.header_container,.slot_container_row{
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1%;
  align-self: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.fifty_height{
  height: 50%;
  min-height: 50%;
  max-height: 50% ;
}

.forty_height{
  height: 40%;
  min-height: 40%;
  max-height: 40% ;
}

.fifty_height{
  height: 50%;
}

.seventy_height{
  height: 70%;
  max-height: 70%;
}

.min_fifty_height{
  min-height: 50%;
}

.min_sixty_height{
  min-height: 60%;
}

.min_eighty_height{
  min-height: 80%;
}

.min_hundred_height{
  min-height: 100%;
}

.min_thirty_width{
  min-width: 30%;
}


.hundred_width{
  width:100%;
  max-width: 100%;
}

.eighty_height{
  height: 80%;
  max-height: 80%;
}

.eighty_width{
  width:80%;
  max-width: 80%;
}

.ninety_height{
  height: 90%;
  max-height: 90%;
}

.hundred_height{
  height:100%;
  max-height: 100%;
}

.flex_space{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex_left{
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.flex_between{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  padding-right: 2%;
  padding-left: 2%;
}

.general_list{
  max-height: calc(100% - 20px);;
  overflow-y: scroll;
  border: 1px solid #ccc;  /* Just for visibility */
  border-radius: 2%;
  flex-direction: column;
}

.general_list_item{
  border: 1px solid rgba(0, 0, 0, .125);
}

.flex_around{
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1%;
  margin-top: 1%;
  margin-bottom: 1%;
  width: 100%;
}
.store_buttons{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1%;
  margin-top: 1%;
  margin-bottom: 1%;
  width: 30%; 
}


.store_buttons button {
  width: 100%;
}


ul{
  margin-bottom: 0;
}

.small_button{
  /* height: 50%; */
  line-height: 100% !important;
  min-width: 30px;
  width:5%;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  border-color: white ;
  /* font-weight: 100; */
    display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold;
}

.item_crossed_compile_view{
  background-color:pink;
}

.item_crossed_list_view_full, .item_crossed_list_view_half{
  text-decoration: line-through;
  color:grey;
}

.item_crossed_history_view{
  /* text-decoration: line-through; */
  color:red;
}

.crossed{
  background-color:pink;
}

.inline_button{
  min-width:35%;
  width: auto;
}

.store_build_controls{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width:100%;
  border: 1px solid #ccc;  /* Just for visibility */
  border-radius: 2%;
}

.bordered{
  border: 1px solid #ccc !important;  /* Just for visibility */
  border-radius: 2%;
}

.colour_cube{
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border-style: solid;
  display: inline-block;
}

.slot_name_container{
  display: flex;
  align-items: center;  
  justify-content: left;
  gap: 10px
}