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

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden; /* prevent scrolling */
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #e6f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  /* full viewport height for safe areas */
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container - split layout */
.container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  max-width: 900px;
  width: 100%;
  background: rgba(15, 32, 39, 0.85);
  border-radius: 18px;
  -webkit-backdrop-filter: saturate(200%) blur(30px);
          backdrop-filter: saturate(200%) blur(30px);
  box-shadow: 0 12px 32px rgba(16, 80, 243, 0.5);
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  /* limit height and prevent overflow scroll */
  max-height: 100vh;
}

/* Left illustration */
.illustration {
  position: relative;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}

.illustration img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.6);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -o-object-fit: contain;
     object-fit: contain;
}

.illustration figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: rgba(199, 210, 254, 0.8);
  font-size: 0.85rem;
  font-style: italic;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}

/* Right form */
.form-section {
  padding: 32px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: relative;
  /* scroll disabling by fitting content inside */
  overflow: hidden;
}

.form-section h1 {
  font-weight: 800;
  font-size: 2rem;
  margin: 0;
  color: #e0e7ff;
  letter-spacing: 0.05em;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  text-shadow: 0 0 8px #3b82f6;
  white-space: nowrap;
}

/* Success message */
.success-message {
  position: absolute;
  top: 8px;
  left: 48px;
  right: 48px;
  background-color: rgba(37, 99, 235, 0.8666666667);
  color: #d1fae5;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.7333333333);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: 10;
}

.success-message.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Form */
form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Floating label input fields */
.field {
  position: relative;
  width: 100%;
}

input[type=password],
input[type=text] {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 2.5px solid rgba(59, 130, 246, 0.75);
  border-radius: 14px;
  color: #dbeafe;
  font-size: 1rem;
  padding: 18px 52px 18px 18px;
  outline: none;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 4px 0 transparent;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  max-height: 54px;
  line-height: 1.2;
  box-sizing: border-box;
}

input[type=password]:focus,
input[type=text]:focus {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 12px 3px rgba(59, 130, 246, 0.7333333333);
}

input.error {
  border-color: #f87171 !important;
  background-color: rgba(252, 165, 165, 0.168627451) !important;
  box-shadow: 0 0 12px 3px rgba(248, 113, 113, 0.4980392157) !important;
}

input.valid {
  border-color: #34d399 !important;
  background-color: rgba(187, 247, 208, 0.168627451) !important;
  box-shadow: 0 0 10px 3px rgba(52, 211, 153, 0.631372549) !important;
}

/* Floating labels */
label {
  position: absolute;
  left: 18px;
  top: 60%;
  transform: translateY(-130%);
  font-weight: 600;
  font-size: 1rem;
  color: rgba(219, 234, 254, 0.7);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: transparent;
  padding: 0 6px;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

input:not(:-moz-placeholder-shown) + label {
  top: 6px;
  font-size: 0.75rem;
  color: #93c5fd;
  background-color: rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  -moz-user-select: text;
       user-select: text;
}

input:focus + label,
input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.75rem;
  color: #93c5fd;
  background-color: rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}

/* Show/hide password toggle */
.toggle-password {
  font-family: "Material Icons";
  font-size: 24px;
  position: absolute;
  right: 14px;
  top: 40%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(147, 197, 253, 0.8);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.3s ease, background-color 0.3s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.toggle-password:hover,
.toggle-password:focus-visible {
  color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.2);
  outline: none;
}

.toggle-password:focus-visible {
  box-shadow: 0 0 8px 2px rgba(59, 130, 246, 0.7333333333);
}

/* Error message */
.error-message {
  font-size: 0.85rem;
  color: #fca5a5;
  font-weight: 600;
  margin-top: 6px;
  min-height: 22px;
  transition: opacity 0.25s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.error-message.hidden {
  height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Submit button */
button[type=submit] {
  font-weight: 700;
  font-size: 1.2rem;
  padding: 18px 20px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(125deg, #2563eb, #3b82f6);
  color: #eff6ff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.6666666667);
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

button[type=submit]:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.8666666667);
}

button[type=submit]:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}

button[type=submit]:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  color: #d1d5db;
}

/* Ripple effect */
button[type=submit] .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 600ms linear;
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 0;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
/* Responsive - mobile stack layout */
@media (max-width: 760px) {
  html,
  body {
    overflow: auto; /* enable scroll if needed on small mobile to avoid clipping */
  }
  body {
    height: auto;
    padding: 0;
  }
  .container {
    grid-template-columns: 1fr;
    border-radius: 18px;
    max-height: none;
    min-height: 100vh;
  }
  .illustration {
    border-radius: 0 0 18px 18px;
    padding: 30px 20px 44px;
    order: 2;
    max-height: 40vh;
    min-height: 260px;
    overflow: hidden;
  }
  .illustration img {
    max-height: 100%;
  }
  .form-section {
    padding: 36px 24px 40px;
    order: 1;
    overflow: visible;
    min-height: auto;
  }
  .success-message {
    left: 24px;
    right: 24px;
    top: 4px;
  }
}/*# sourceMappingURL=change-password-four.css.map */