.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 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);
}

.auth-header {
  color: white;
  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 {
  margin: 0;
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}
.auth-header p {
  margin: 0.5rem 0 0;
  opacity: 0.9;
  font-size: 1rem;
  text-align: center;
}

.auth-body {
  padding: 2rem;
}

.auth-logo {
  text-align: center;
  margin-top: 1.5rem;
}
.auth-logo img {
  height: 48px;
  width: auto;
}

.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;
}
.auth-footer a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: block;
}

.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;
}
.form-control:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  outline: none;
}
.form-control.is-invalid {
  border-color: #e74c3c;
}
.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25);
}

.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;
}
.password-field .toggle-password:hover {
  color: #3498db;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #e74c3c;
}

.text-muted {
  color: #6c757d !important;
  font-size: 0.85rem;
}

.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;
  cursor: pointer;
}
.btn svg {
  vertical-align: middle;
  margin-right: 0.5rem;
}

.btn-primary {
  color: #fff;
  background-color: #3498db;
  border-color: #3498db;
}
.btn-primary:hover {
  background-color: #2384c6;
  border-color: #217dbb;
  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-success {
  color: #fff;
  background-color: #2ecc71;
  border-color: #2ecc71;
}
.btn-success:hover {
  background-color: #27ad60;
  border-color: #25a25a;
  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-link {
  font-weight: 500;
  color: #3498db;
  background-color: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
}
.btn-link:hover {
  color: #1d6fa5;
  text-decoration: underline;
}

.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;
}
.alert svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.alert.alert-success {
  color: #155724;
  background-color: #d4edda;
}
.alert.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
}
.alert.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
}

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

.password-request-info {
  margin-bottom: 2rem;
  text-align: center;
}
.password-request-info .icon-container {
  margin-bottom: 1rem;
}
.password-request-info .icon-container svg {
  width: 48px;
  height: 48px;
  color: #3498db;
}

.form-group input[type=email]:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.back-link svg {
  margin-right: 0.5rem;
}
.back-link:hover {
  transform: translateX(-3px);
}
