@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;900&family=Varela+Round&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Varela Round", sans-serif;
}
body{
  background-color: rgb(239, 226, 255);
  min-height: 100vh;
  width: 100%;
}
#container{
  margin: auto;
  /* border: 1px solid black; */
  min-height: 100vh;
  padding-top: 10px;
  width: 375px;
}
#container header, #divs, #update,#verify{
  border: 1px hidden black;
  background: rgba(255, 255, 255);
  box-shadow: 1px 5px 10px rgba(184, 126, 255, 0.3);
  height: 80px;
  width: 355px;
  margin: auto;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
header h1{
  font-weight: 900;
  color: rgb(1, 0, 36);
}
div#divs{
  margin-top: 1rem;
  height: 60px;
  justify-content: flex-start;
  padding-left: 1rem;
}
div#update{
  margin-top: 1rem;
  height: 500px;
  justify-content: flex-start;
  padding: 1rem;
  align-items: flex-start;
}
div#verify{
  padding: 2rem ;
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}
input[type='file'],input[type='text'],input[type='password']{
  font-size: 1.4rem;
  padding: 10px 0;
  padding-right: 10px;
  font-weight: 500;
  outline: none;
  width: 250px;
  border: none;
}
#search{
  width: 95%;
}
input::file-selector-button,input[type='submit']{
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 10px 16px;
  border: none;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  font-family: "Varela Round", sans-serif;
  background: rgb(111, 49, 255);
  color: white;
  border-radius: 30px;
}
#current-name,#pass{
  background: rgb(239, 226, 255);
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 1rem;
}
#pass{
  letter-spacing: 10px;
  text-align: center;
}
#pass::placeholder{
  letter-spacing: 0;
}
.curr{
  font-size: 1.4rem;
}
input.veri{
  width: 100%;
  font-size: 1.4rem;
}
#divs.data-table{
  min-height: max-content;
  align-items: flex-start;
  padding: 12px;
}
div.image{
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  width: 130px;
  height: 130px;
}
div.img{
  width: 100%;
  margin-top: 10px;
  height: 200px;
}
div.image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
table#data{
  border-collapse: collapse;
  border: none;
  width: 100%;
}
thead#thead{
  background: rgb(239, 226, 255);
}
thead#thead th{
  padding: 12px;
  font-size: 1.2rem;
}
table#data td{
  padding: 1.5rem 0;
  font-size: 1.1rem;
  text-align: center;
  border-bottom: 1px solid rgb(192, 196, 255);
}
#btns{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.btn{
  text-decoration: none;
  background: rgb(111, 49, 255);
  color: white;
  padding: 10px 7px;
  border-radius: 25px;
  font-weight: 600;
}
/* Add styles for fullscreen image overlay */
#imageOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.edit{
  width: 100%;
}
#imageOverlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

#imageOverlay .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
