* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background-color: #f4f4f4;
}
.container-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#form-title {
  text-align: center;
  margin: 1.5rem 0;
}

.signup-form,
.signin-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 4px 6px rgba(122, 105, 105, 0.1);
}

input,
select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[type="submit"] {
  background: #28a745;
  color: white;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: #218838;
}

a {
  display: block;
  text-decoration: none;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

#todo-list {
  background: white;
  padding: 2rem;
  margin-top: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logout-btn {
  background-color: red;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.logout-btn:hover {
  background-color: #d32f2f;
}

#msg{
  color: red;
  text-align: center;
  font-size: 80%;
}

ul{
  list-style-type: none;
  padding: 0;
  margin-top: 2rem;  
}

li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

li:last-child{
  border-bottom: none;
}

li button{
  background-color: #dc3545;
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

li button:hover{
  opacity: 0.8;
}

li button.edit{
  background-color: #ffc107;
  margin-right: 5px;
}

.modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content{
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 350px;
  text-align: center;
  position: relative;
}

#closeModalBtn{
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

#closeModalBtn:hover{
  color: #dc3545;
}

#pincode{
  display: none;
}