body {
  font-family: Arial, Helvetica, sans-serif;
}

.openbtn {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 110px;
}

.main {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
}

.content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  width: 80%;
  max-width: 400px;
  position: relative;
  animation: zoom 0.4s;
}

@keyframes zoom {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.closebtn {
  position: absolute;
  right: 15px;
  top: 5px;
  font-size: 28px;
  cursor: pointer;
}

.container {
  padding: 16px;
  max-width: 320px;
  margin: 0 auto;
  box-sizing: border-box;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  background: #f1f1f1;
  border: none;
  box-sizing: border-box;
}

.container h2 {
  text-align: center;
}

button {
  padding: 14px;
  background-color: #04AA6D;
  color: white;
  border: none;
  cursor: pointer;
}

.registerbtn {
  background-color: #04AA6D;
}

.switch-text {
  text-align: center;
  margin-top: 15px;
}

.switch-text a {
  color: dodgerblue;
  text-decoration: none;
}