@charset "UTF-8";
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 2rem;
  height: 100%;
}
@media (max-width: 767px) {
  .auth-container {
    padding: 1.5rem;
    min-height: auto;
  }
}

.auth-card {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: all 0.3s ease;
}
.auth-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
@media (max-width: 576px) {
  .auth-card {
    max-width: 100%;
    border-radius: 8px;
  }
  .auth-card:hover {
    transform: none;
  }
}

.auth-header {
  color: black;
  padding: 1.75rem 2rem;
  position: relative;
}
.auth-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2c3e50);
}
.auth-header h1, .auth-header h2, .auth-header h3, .auth-header h4 {
  color: #333;
  margin: 0;
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media (max-width: 576px) {
  .auth-header h1, .auth-header h2, .auth-header h3, .auth-header h4 {
    font-size: 1.3rem;
  }
}
.auth-header p {
  margin: 0.5rem 0 0;
  opacity: 0.9;
  font-size: 1rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@media (max-width: 576px) {
  .auth-header p {
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .auth-header {
    padding: 1.5rem 1.5rem;
  }
}

.auth-body {
  padding: 2rem;
  background-color: #ffffff;
}
@media (max-width: 576px) {
  .auth-body {
    padding: 1.5rem;
  }
}

.auth-logo {
  text-align: center;
  margin-top: 1.5rem;
}
.auth-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.2s ease;
}
.auth-logo img:hover {
  transform: scale(1.05);
}
@media (max-width: 576px) {
  .auth-logo img {
    height: 40px;
  }
}

.auth-footer {
  text-align: center;
  padding: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #f8f9fa;
}
.auth-footer p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
}
@media (max-width: 576px) {
  .auth-footer p {
    font-size: 0.85rem;
  }
}
.auth-footer a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.auth-footer a:hover {
  text-decoration: underline;
  color: #2980b9;
}
.auth-footer a:focus {
  outline: 2px solid rgba(52, 152, 219, 0.3);
  outline-offset: 2px;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.95rem;
}
@media (max-width: 576px) {
  .form-group label {
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .form-group {
    margin-bottom: 1.25rem;
  }
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.form-control::-moz-placeholder {
  color: #a0aec0;
  opacity: 1;
}
.form-control::placeholder {
  color: #a0aec0;
  opacity: 1;
}
.form-control:hover:not(:focus) {
  border-color: #cbd5e0;
}
.form-control:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  outline: none;
  background-color: #ffffff;
}
.form-control.is-invalid {
  border-color: #e74c3c;
}
.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25);
}
@media (max-width: 576px) {
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
  }
}

.password-field {
  position: relative;
}
.password-field .toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  background: none;
  border: none;
  padding: 0;
  font-size: 1rem;
  z-index: 5;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.password-field .toggle-password:hover {
  color: #3498db;
  background-color: rgba(52, 152, 219, 0.1);
}
.password-field .toggle-password:focus {
  outline: 2px solid rgba(52, 152, 219, 0.3);
  outline-offset: 2px;
}
.password-field .toggle-password:active {
  transform: translateY(-50%) scale(0.95);
}
@media (max-width: 576px) {
  .password-field .toggle-password {
    right: 0.875rem;
    font-size: 0.9rem;
    width: 22px;
    height: 22px;
  }
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #e74c3c;
  font-weight: 500;
}
@media (max-width: 576px) {
  .invalid-feedback {
    font-size: 0.8rem;
  }
}

.text-muted {
  color: #6c757d !important;
  font-size: 0.85rem;
  line-height: 1.4;
}
@media (max-width: 576px) {
  .text-muted {
    font-size: 0.8rem;
  }
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.btn svg {
  vertical-align: middle;
  margin-right: 0.5rem;
}
.btn:focus {
  outline: none;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn:disabled:hover {
  transform: none;
}
@media (max-width: 576px) {
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
  }
}

.btn-primary {
  color: #fff;
  background-color: #3498db;
  border-color: #3498db;
}
.btn-primary:hover:not(:disabled) {
  background-color: #2980b9;
  border-color: #2471a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.25);
}
.btn-primary:focus {
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.5);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-success {
  color: #fff;
  background-color: #2ecc71;
  border-color: #2ecc71;
}
.btn-success:hover:not(:disabled) {
  background-color: #27ae60;
  border-color: #229954;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.25);
}
.btn-success:focus {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.5);
}
.btn-success:active {
  transform: translateY(0);
}

.btn-link {
  font-weight: 500;
  color: #3498db;
  background-color: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
}
.btn-link:hover {
  color: #2980b9;
  text-decoration: underline;
}
.btn-link:focus {
  outline: 2px solid rgba(52, 152, 219, 0.3);
  outline-offset: 2px;
}

.btn-block {
  display: block;
  width: 100%;
}

.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.alert svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.alert.alert-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.alert.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}
.alert.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
}
@media (max-width: 576px) {
  .alert {
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-animation {
  animation: fadeIn 0.5s ease-out forwards;
}

@media (max-width: 576px) {
  .auth-container {
    padding: 1rem;
  }
  .auth-card {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card,
  .btn,
  .form-control,
  .toggle-password,
  .auth-logo img {
    transition: none;
    animation: none;
  }
  .auth-animation {
    animation: none;
  }
}
@media (prefers-contrast: high) {
  .form-control {
    border-width: 2px;
  }
  .btn {
    border-width: 2px;
  }
  .alert {
    border-width: 2px;
  }
}
@media print {
  .auth-container {
    background: white !important;
    padding: 0;
  }
  .auth-card {
    background: white !important;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .auth-header {
    background: #f5f5f5 !important;
    color: #000 !important;
  }
  .btn {
    display: none;
  }
  .form-control {
    border: 1px solid #ccc !important;
    background: white !important;
    color: #000 !important;
  }
}
.password-request-info {
  margin-bottom: 2rem;
  text-align: center;
}
.password-request-info .icon-container {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.password-request-info .icon-container svg {
  width: 48px;
  height: 48px;
  color: #3498db;
}
@media (max-width: 576px) {
  .password-request-info .icon-container svg {
    width: 42px;
    height: 42px;
  }
}
.password-request-info .icon-container .icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(52, 152, 219, 0.3);
}
@media (max-width: 576px) {
  .password-request-info .icon-container .icon-wrapper {
    width: 70px;
    height: 70px;
  }
}
.password-request-info .info-text {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .password-request-info .info-text {
    font-size: 0.9rem;
  }
}

.password-request-form .form-group {
  margin-bottom: 1.5rem;
}
.password-request-form .form-group input[type=email]:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}
.password-request-form .form-group input[type=email]:valid {
  border-color: #2ecc71;
}
.password-request-form .form-group input[type=email]:invalid:not(:-moz-placeholder-shown) {
  border-color: #e74c3c;
}
.password-request-form .form-group input[type=email]:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}
.password-request-form .form-group .email-validation {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.password-request-form .form-group .email-validation.valid {
  color: #2ecc71;
}
.password-request-form .form-group .email-validation.valid::before {
  content: "✓";
  font-weight: bold;
}
.password-request-form .form-group .email-validation.invalid {
  color: #e74c3c;
}
.password-request-form .form-group .email-validation.invalid::before {
  content: "✗";
  font-weight: bold;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.95rem;
}
.back-link svg {
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}
.back-link:hover {
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateX(-3px);
  text-decoration: none;
  color: #2980b9;
}
.back-link:hover svg {
  transform: translateX(-2px);
}
.back-link:focus {
  outline: 2px solid rgba(52, 152, 219, 0.3);
  outline-offset: 2px;
  text-decoration: none;
}
@media (max-width: 576px) {
  .back-link {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
}

.password-request-success .success-message {
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}
.password-request-success .success-message .success-title {
  color: #2ecc71;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.password-request-success .success-message .success-text {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 576px) {
  .password-request-success .success-message {
    padding: 1.25rem;
    margin: 1.25rem 0;
  }
  .password-request-success .success-message .success-title {
    font-size: 1rem;
  }
  .password-request-success .success-message .success-text {
    font-size: 0.9rem;
  }
}

.info-section {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background-color: rgba(52, 152, 219, 0.05);
  border: 1px solid rgba(52, 152, 219, 0.15);
  border-radius: 8px;
}
.info-section .info-title {
  font-weight: 600;
  color: #3498db;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.info-section .info-text {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 576px) {
  .info-section {
    margin: 1.25rem 0;
    padding: 1rem;
  }
  .info-section .info-title {
    font-size: 0.9rem;
  }
  .info-section .info-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .password-request-info {
    margin-bottom: 1.5rem;
  }
  .password-request-info .icon-container {
    margin-bottom: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-link,
  .icon-wrapper {
    transition: none;
  }
  .back-link:hover {
    transform: none;
  }
  .back-link:hover svg {
    transform: none;
  }
}
@media (prefers-contrast: high) {
  .password-request-info .icon-container svg {
    color: #2980b9;
  }
  .back-link {
    border: 2px solid #3498db;
  }
  .info-section {
    border-width: 2px;
  }
}
