/* ===============================
   UI INPUT COMPONENT
================================ */

/* Wrapper */
.ui-input-group {
  position: relative;
  width: 100%;
  display: block;
}

/* Input Field */
.ui-input {
  width: 100%;
  background-color: #eeebe5;
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 400;
  color: #0c0c0a;
  line-height: 1.8;
  outline: none;
  transition:
    border 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.ui-input:hover {
  background-color: #ebe7e1;
}

.ui-input:focus:not(.error) {
  border-color: black;
}

/* Floating Label */
.ui-input-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #918d8a;
  pointer-events: none;
  transition: 0.2s ease;
  padding: 0 4px;
}

/* Float when focused */
.ui-input:focus + .ui-input-label {
  top: 8px;
  transform: none;
  font-size: 12px;
  color: #918d8a;
}

/* Float when filled */
.ui-input:not(:placeholder-shown) + .ui-input-label {
  top: 8px;
  transform: none;
  font-size: 12px;
  color: #918d8a;
}
/* Helper text hidden by default */
.ui-input-helper {
  display: none;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.3;
  color: #f5395e;
}

.ui-input-helper {
  display: none;
}

.ui-input-helper.is-error {
  display: block;
}
/* Error State */
.ui-input.error {
  border: 1px solid #f5395e;
}

/* Error Text */
.ui-input-error {
  font-size: 13px;
  color: #f5395e;
  display: none;
  margin-top: 4px;
}

/* Suggestion state (optional) */
.ui-input-error.suggestion {
  color: #918d8a;
}
.password-guide {
  margin-top: 8px;
  font-size: 13px;
  color: #9ca3af;
}

.password-guide ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.password-guide li {
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.password-guide li.valid {
  color: #22c55e;
  font-weight: 500;
}
