*{
  margin: 0;
  padding: 0;
}

body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgb(189, 183, 110);
}

.container{
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  min-height: 44vh;
  width: 40vh;
}

form{
  margin-top: 2rem 0 1rem 0;
}

form select,button,input {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 0.75rem;
}

form input {
  border: 1px solid lightgray;
  font-size: 1rem;
  height: 3rem;
  padding-left: 0.5rem;
}

.dropdown{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.dropdown i{
  font-size: 1.5rem;
  margin-top: 1rem;
}

.select-container img {
  max-width: 2rem;
}

.select-container{
  display: flex;
  width: 6rem;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  border: 1px solid lightgray;
}

.select-container select{
  font-size: 1rem;
  width: auto;
}

.msg{
  margin: 2rem 0 2rem 0;
}

form button{
  height: 3rem;
  background-color: darkmagenta;
  color: white;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Toggle switch style */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider:before {
  transform: translateX(25px);
}

/* Dark mode styles */
body.dark {
  background-color: #121212;
  color: white;
}

body.dark .container {
  background-color: #1e1e1e;
  border: 1px solid #444;
}

body.dark input,
body.dark select {
  background-color: #2c2c2c;
  color: white;
  border: 1px solid #666;
}

.footer {
  width: 100%;
  padding: 15px 0;
  background-color: #f1f1f1;
  color: #333;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #ccc;
  position: fixed;
  bottom: 0;
  left: 0;
}

/* Dark Mode Support */
body.dark .footer {
  background-color: #1e1e1e;
  color: #ccc;
  border-top: 1px solid #444;
}

