* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
  background:
    linear-gradient(135deg, #0082c9, #005fa3);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  overflow: hidden;
}

/* Layout */
.page {
  display: flex;
  flex-direction: column;
  width: 400px;
  background: rgba(255 255 255 / 0.97);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  animation: fadeInUp 0.8s ease forwards;
  padding: 30px 40px;
  user-select: none;
  outline: none;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.logo svg {
  margin-right: 10px;
  vertical-align: middle;
}

.logo span {
  font-weight: 700;
  font-size: 24px;
  color: #0082c9;
}

/* Title and subtitle */
h2 {
  margin: 0 0 5px 0;
  font-weight: 700;
  color: #222;
}

.subtitle {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 15px;
}

/* Input groups */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 14px 14px 14px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  background-color: white;
  outline: none;
  user-select: text;
  caret-color: #0082c9;
}

input:focus {
  border-color: #0082c9;
  box-shadow: 0 0 10px rgba(0,130,201,0.3);
  background-color: #f5fbff;
}

/* Floating label */
label {
  position: absolute;
  left: 14px;
  top: 16px;
  font-size: 15px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  background: white;
  padding: 0 6px;
  border-radius: 2px;
}

input:focus + label,
input:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #0082c9;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  background: #0082c9;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 130, 201, 0.4);
  transition: background-color 0.3s ease, transform 0.1s ease;
  user-select: none;
}

button:hover {
  background: #006fa8;
  box-shadow: 0 6px 16px rgba(0, 111, 168, 0.6);
}

button:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(0, 111, 168, 0.5);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0 0 0;
  font-size: 13px;
  color: #777;
  user-select: none;
}
