/* ========== Trang Mật khẩu ========== */
.page-password {
  background: linear-gradient(180deg, #1a2d42 0%, #2d4a6f 30%, #3d5a80 60%, #2d4a6f 100%);
  min-height: 100vh;
}

.password-app {
  position: relative;
  min-height: 100vh;
  padding-bottom: 2rem;
  overflow: hidden;
}

/* Nền */
.password-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(251, 191, 36, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 70% 65%, rgba(245, 158, 11, 0.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.password-year {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(251, 191, 36, 0.12);
  letter-spacing: 0.05em;
  user-select: none;
}

/* Thanh tiêu đề */
.password-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(30, 58, 95, 0.9);
  backdrop-filter: blur(8px);
}

.password-back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.password-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.password-header-placeholder {
  width: 40px;
}

/* Nội dung form */
.password-main {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.password-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.password-intro {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 20px 0;
  line-height: 1.45;
}

.password-field {
  margin-bottom: 16px;
}

.password-field:last-of-type {
  margin-bottom: 24px;
}

.password-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.password-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.password-input-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.password-input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  font-size: 0.95rem;
  color: #1f2937;
  outline: none;
  background: transparent;
}

.password-input::placeholder {
  color: #9ca3af;
}

.password-toggle {
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 1rem;
}

.password-toggle:hover {
  color: #374151;
}

.password-cta {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #22c55e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.password-cta:hover {
  background: #16a34a;
}

.password-cta:active {
  transform: scale(0.98);
}
