/* Page layout για να κολλήσει το footer κάτω */
body.page-user-password {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.page-user-password main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Reset Password Container - Full width */
.resetPasswordContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

/* Reset Password Card Container */
.resetPasswordCardContainer {
  display: flex;
  justify-content: center;
  background-color: #ffffff !important;
  max-width: 35rem;
  width: 100%;
  border: none !important;
  margin: 0 auto;
  padding: 2rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
}

.resetPasswordCardContainer form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Logo */
.syncLogo {
  padding: 1rem;
  width: 50%;
  margin: 0 auto 1.2rem auto;
}

/* Submit button */
.resetPasswordCardContainer .form-submit {
  width: 100%;
  height: 3rem;
  background-color: #00597A;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.resetPasswordCardContainer .form-submit:hover {
  background-color: #0077A1;
  color: #fff;
}

/* Back to login link */
.resetPasswordCardContainer .back-to-login-link {
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5rem;
  color: #717491;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.resetPasswordCardContainer .back-to-login-link:hover {
  text-decoration: underline;
  color: #00597A;
}

/* Form elements */
.resetPasswordCardContainer .form-floating > label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
}

.resetPasswordCardContainer .text-end a {
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5rem;
  color: #717491;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resetPasswordCardContainer .text-end a:hover {
  text-decoration: underline;
  color: #00597A;
}

form .form-actions {
  align-self: auto;
}

body.page-user-password #user-pass #edit-actions {
  margin-top: 1.25rem;
}

body.page-user-password #user-pass #edit-actions #edit-submit {
  width: 100% !important;
}

body.page-user-password .mb-3 {
  margin-bottom: 0 !important;
}

body.page-user-password h1.title {
  display: none;
}