/* Reset and base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #89cfe1, #5ea9dd);
  color: #002f44;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  height: 100vh;
  padding: 20px;
}
.login-container {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  width: 100%;
  max-width: 350px;
  padding: 30px 30px 40px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
h1 {
  margin: 0 0 15px 0;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  letter-spacing: 1.4px;
  color: #03407a;
}
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  font-size: 0.9rem;
  color: #03407a;
  user-select: none;
}
.input-wrapper {
  position: relative;
}
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: 8px;
  border: 1.8px solid #5ea9dd;
  font-size: 1rem;
  background: #f0f8ff;
  color: #03407a;
  transition: border-color 0.3s ease, background 0.3s ease;
}
input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #7aacc9;
}
input[type="text"]:focus,
input[type="password"]:focus {
  background: #d9f1ff;
  outline: none;
  border-color: #0b5ed7;
  box-shadow: 0 0 10px 1px rgba(11, 94, 215, 0.7);
  color: #03407a;
}
.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b5ed7;
  user-select: none;
}
.toggle-password svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0b5ed7;
}
button.login-btn {
  margin-top: 10px;
  background: #0b5ed7;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(11, 94, 215, 0.7);
  transition: background 0.3s ease;
}
button.login-btn:hover,
button.login-btn:focus {
  background: #0843a4;
  outline: none;
}
.forgot-password {
  margin-top: 18px;
  text-align: center;
}
.forgot-password button {
  background: none;
  border: none;
  color: #0b5ed7;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.forgot-password button:hover,
.forgot-password button:focus {
  color: #0843a4;
  outline: none;
}
/* Responsive for mobile */
@media (max-width: 400px) {
  body {
    padding: 15px 12px;
  }
  .login-container {
    padding: 24px 24px 32px 24px;
  }
}
