/* Shared styles for Forgot & Reset Password */
body {
  position: relative;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: url("/images/background.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* For reset-password, just use plain white background */
body.reset-mode {
  background: #f8f9fa;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  filter: blur(3px);
  z-index: -1;
}

body.reset-mode::before {
  display: none;
}

/* Main container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-wrapper {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  width: 450px;
  z-index: 1;
}

/* Logo */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-container img {
  max-width: 160px;
  height: auto;
}

/* Form */
.form-group {
  margin-bottom: 18px;
}

label {
  font-weight: bold;
}

input.form-control {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-submit,
.btn-secondary {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  transition: 0.2s ease-in-out;
}

.btn-submit {
  background-color: #007bff;
  color: white;
}

.btn-submit:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
  margin-top: 10px;
}

.btn-secondary:hover {
  background-color: #495057;
  transform: scale(1.03);
}

/* Error & Success Messages */
.alert {
  margin-top: 10px;
  font-size: 14px;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 8px;
  cursor: pointer;
  font-size: 14px;
  color: grey;
}

.toggle-password:hover {
  color: #0056b3;
}
