/* Reset & global styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

body {
  background: linear-gradient(135deg, #0056b3, #14274e);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #0f2440;
}

.container {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(14, 30, 64, 0.25);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top right, rgba(0, 86, 179, 0.15), transparent);
  z-index: 0;
}

.container > * {
  position: relative;
  z-index: 1;
}

h2 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 18px;
  color: #0f2440;
}

.notify {
  background: rgba(235, 244, 255, 0.9);
  border-left: 5px solid #0056b3;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #23436b;
}

.note {
  background-color: #0056b3;
  padding: 4px 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 10px;
  letter-spacing: 0.5px;
}

label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #183356;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cdd7e1;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
  outline: none;
}

.password-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
}

.password-wrapper input {
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #7688a4;
  transition: color 0.3s, transform 0.2s;
}

.toggle-password:hover {
  color: #0056b3;
  transform: translateY(-50%) scale(1.1);
}

.toggle-password.active {
  color: #0056b3;
}

.save {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 22px;
  font-size: 0.92rem;
  color: #2c3e55;
  flex-wrap: wrap;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.save .forgot {
  text-decoration: none;
  color: #0056b3;
  font-weight: 600;
}

.save .forgot:hover {
  text-decoration: underline;
}

button {
  width: 100%;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0056b3, #1f7ae5);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 36, 64, 0.18);
}

.account-type {
  margin: 10px 0 22px;
  padding: 12px 14px;
  border: 1px dashed #b9c7d6;
  border-radius: 10px;
  background: #f6f9ff;
  color: #1d2f4a;
}

.account-type p {
  font-weight: 600;
  margin-bottom: 8px;
}

.account-type label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  font-weight: 500;
  cursor: pointer;
}

.account-type input[type="radio"] {
  accent-color: #0056b3;
}

@media (max-width: 480px) {
  body {
    padding: 18px;
  }

  .container {
    padding: 28px 22px;
  }

  h2 {
    font-size: 1.6rem;
  }

  .save {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
