*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #e0e7ff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.4);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: box-shadow 0.3s ease;
}
.card:focus-within {
  box-shadow: 0 8px 48px 0 rgba(129, 140, 248, 0.6666666667);
  outline: none;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #eef2ff;
  text-align: center;
  letter-spacing: 0.04em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-shadow: 0 0 6px rgba(99, 102, 241, 0.75);
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field {
  position: relative;
  width: 100%;
}

input[type=password],
input[type=text] {
  width: 100%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #eef2ff;
  font-size: 1rem;
  padding: 20px 48px 20px 16px;
  outline-offset: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
input[type=password]:focus,
input[type=text]:focus {
  border-color: #818cf8;
  background-color: rgba(255, 255, 255, 0.08);
  outline-color: #818cf8;
}
input[type=password].error,
input[type=text].error {
  border-color: #f87171 !important;
  background-color: rgba(248, 113, 113, 0.1) !important;
}

label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 1rem;
  pointer-events: none;
  transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  background-color: transparent;
  padding: 0 4px;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

input:not(:-moz-placeholder-shown) + label {
  top: 6px;
  font-size: 0.75rem;
  color: #c7d2fe;
  background-color: rgba(99, 102, 241, 0.25);
  border-radius: 4px;
  -moz-user-select: text;
       user-select: text;
}

input:focus + label,
input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.75rem;
  color: #c7d2fe;
  background-color: rgba(99, 102, 241, 0.25);
  border-radius: 4px;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Material Icons";
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: color 0.3s ease;
}
.toggle-password:focus {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
  color: #a5b4fc;
}
.toggle-password:hover {
  color: #a5b4fc;
}

.error-message {
  font-size: 0.85rem;
  color: #f87171;
  font-weight: 600;
  margin-top: 4px;
  min-height: 20px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.error-message.hidden {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

button[type=submit] {
  position: relative;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
button[type=submit]:hover {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.85);
}
button[type=submit]:focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 3px;
}
button[type=submit]:disabled {
  cursor: not-allowed;
  background: rgba(99, 102, 241, 0.4);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
}
button[type=submit] .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 600ms linear;
  background-color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 0;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
.success-message {
  text-align: center;
  font-size: 1rem;
  color: #4ade80;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.success-message.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .card {
    padding: 32px 24px 40px;
  }
  h1 {
    font-size: 1.75rem;
  }
  input[type=password],
  input[type=text] {
    padding: 18px 44px 18px 14px;
    font-size: 0.95rem;
  }
  label {
    font-size: 0.9rem;
  }
  label:not(:-moz-placeholder-shown) {
    font-size: 0.7rem;
  }
  label:focus,
  label:not(:placeholder-shown) {
    font-size: 0.7rem;
  }
  button[type=submit] {
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 12px;
  }
}/*# sourceMappingURL=change-password-three.css.map */