* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  height: 100dvh;
  display: grid;
  place-items: center;
  background-color: #ccefe7;
  overflow: hidden;
}

.capsule {
  position: absolute;
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

.capsule:nth-child(1) {
  width: 120px;
  height: 120px;
  left: 3%;
  top: 12%;
  background-image: linear-gradient(
    #d0d0d0 50%,
    #ffffff 50%
  );
}

.capsule:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 8%;
  bottom: 9%;
  animation-delay: 4s;
  background-image: linear-gradient(
    #4da6ff 50%,
    #9ab8d7 50%
  );
}

.capsule:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 70%;
  bottom: 3%;
  animation-delay: 3s;
  background-image: linear-gradient(
    #ff0000 50%,
    #b08b8b 50%
  );
}

.capsule:nth-child(4) {
  width: 70px;
  height: 70px;
  right: 8%;
  top: 45%;
  animation-delay: 1.5s;
  background-image: linear-gradient(
    #f7dc4b 50%,
    #cad260 50%
  );
}

.capsule:nth-child(5) {
  width: 90px;
  height: 90px;
  right: 42%;
  top: 5%;
  animation-delay: 5s;
  background-image: linear-gradient(
    #252525 50%,
    #3a3a3a 50%
  );
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-24px);
  }
}

.container {
  width: min(920px, 92vw);
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.72);
  border: 3px solid #ffffff;
  border-radius: 34px;
  box-shadow: 0 25px 60px rgba(40, 120, 105, 0.22);
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.form-area {
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  overflow-y: scroll;
  max-height: 87dvh;
}

.tabs {
  display: flex;
  background: #e9fbf7;
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.tabs button {
  flex: 1;
  border: none;
  padding: 12px;
  border-radius: 999px;
  background: transparent;
  color: #4b756d;
  font-weight: 700;
  cursor: pointer;
}

.tabs button.active {
  background: #7edbc8;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(58, 166, 144, 0.28);
}

.form {
  display: none;
  animation: pop 0.35s ease;
}

.form.active {
  display: block;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form h2 {
  color: #24584f;
  margin-bottom: 8px;
  font-size: 30px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #3a6a61;
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #d7f3ed;
  border-radius: 18px;
  outline: none;
  font-size: 15px;
  background: #fbfffe;
  transition: 0.2s;
}

.field input:focus {
  border-color: #7edbc8;
  box-shadow: 0 0 0 5px rgba(126, 219, 200, 0.22);
}

.submit {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #55cdb8, #39bca4);
  color: white;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(57, 188, 164, 0.32);
  transition: 0.2s;
}

.submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(57, 188, 164, 0.38);
}

.non-login {
  padding: 30px 0 0;
}

.non-login a {
  color: #4da6ff;
}

@media (max-width: 760px) {
  .container {
    grid-template-columns: 1fr;
  }

  .form-area {
    padding: 36px 26px;
  }

  .capsule:nth-child(1) {
    width: 70px;
    height: 70px;
    left: 8%;
    top: 8%;
  }

  .capsule:nth-child(2) {
    width:80px;
    height: 80px;
    left: 12%;
    bottom: 2%;
  }

  .capsule:nth-child(4) {
    width: 65px;
    height: 65px;
    right: 8%;
    top: 5%;
  }

  .capsule:nth-child(5) {
    width: 80px;
    height: 80px;
    right: 35%;
    top: 3%;
  }
}

.maintenance {
	font-size: max(20px, 3.5vw);
	text-align: center;
}