body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-container {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 188, 212, 0.1), rgba(0, 151, 167, 0.1)), url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.login-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.login-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  margin: 0 1rem;
  animation: fadeInUp 0.6s ease-out;
}

.card-body {
  padding: 0;
  background: transparent;
}

.back-to-home .btn-back {
  color: #0891b2;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.back-to-home .btn-back:hover {
  color: #0e7490;
  text-decoration: none;
  transform: translateX(-2px);
}

.back-to-home .btn-back:hover i {
  transform: translateX(-3px);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header .login-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.login-header h1 {
  color: #00bcd4;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.login-header .subtitle {
  color: #666;
  margin-bottom: 0;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form .form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control-user {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control-user:focus {
  border-color: #00bcd4;
  box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.15);
  outline: none;
}

.form-control-user.is-invalid {
  border-color: #dc3545;
}

.password-input-container {
  position: relative;
}

.password-input-container .form-control-user {
  padding-right: 3rem;
}

.password-toggle-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.password-toggle-btn:hover {
  color: #00bcd4;
  background-color: rgba(0, 188, 212, 0.1);
}

.password-toggle-btn:focus {
  outline: none;
  color: #00bcd4;
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2);
}

.password-toggle-btn i {
  font-size: 1rem;
}

.btn-user {
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  border: none;
  transition: all 0.3s ease;
  color: white;
}

.btn-user:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  color: white;
}

.btn-user:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.invalid-feedback {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.login-extras {
  margin-top: 2rem;
  text-align: center;
}

.login-extras hr {
  margin: 1.5rem 0;
  border-color: #e9ecef;
}

.login-extras a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.login-extras a:hover {
  color: #0097a7;
  text-decoration: underline;
}

.login-footer {
  background: rgba(0, 0, 0, 0.1);
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.login-footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.login-footer strong {
  font-weight: 600;
}

.alert {
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-header h1 {
    font-size: 1.75rem;
  }
}

.letter-spacing-5 {
  letter-spacing: 5px;
}