﻿/* Reset Password Page Styling - matching Login page design */

/* Wrapper pro popup */
.title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 24px;
  font-weight: 600;
  color: #000;
}

/* Form container */
.form {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
  border-radius: 10px;
}

  .form p {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
  }

/* Form fields */
.form-field {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.form-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  font-size: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s;
}

  .form-input:focus {
    outline: none;
    border-color: #4a90e2;
  }

  .form-input::placeholder {
    color: #999;
  }

/* Submit button */
.form-submit {
  width: 100%;
  height: 46px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-gray {
  background: #6c757d;
  color: #fff;
  border: none;
}

  .btn-gray:hover {
    background: #5a6268;
  }

/* Error message */
.form-err {
  margin-top: 16px;
  padding: 12px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 6px;
  color: #c33;
  font-size: 14px;
  display: none;
}

  .form-err.active {
    display: block;
  }

/* Success message */
.form-success {
  max-width: 720px;
  width: 100%;
  margin: 24px auto 0;
  padding: 24px 32px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 10px;
  display: none;
}

  .form-success.active {
    display: block;
  }

  .form-success p {
    font-size: 14px;
    color: #155724;
    margin: 8px 0;
    line-height: 1.6;
  }

    .form-success p:first-child {
      margin-top: 0;
    }

    .form-success p:last-child {
      margin-bottom: 0;
    }

#backToLogin {
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

  #backToLogin:hover {
    color: #4a90e2;
    text-decoration: underline;
  }

.font-small2 {
  font-size: 13px;
}

.link {
  cursor: pointer;
  text-decoration: none;
}

.margin-top-1 {
  margin-top: 16px;
}

/* Validation messages */
.field-validation-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #c33;
}

.field-validation-valid {
  display: none;
}

.input-validation-error {
  border-color: #c33 !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .form,
  .form-success {
    padding: 24px 20px;
    margin: 0 16px;
  }

  .title {
    font-size: 22px;
  }
}
