body {
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  /*
  background-image: url('/images/bg-login.jpg');
  */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.login-wrapper {
  width: 100%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.logo-container {
  background-color: #f78da7;
  padding: 1.5rem;
  text-align: center;
}

.logo-container img {
  max-width: 150px;
  display: block;
  margin: 0 auto;
}

.form-container {
  padding: 2rem 1.8rem;
}

h1 {
  font-size: 1.9rem;
  color: #000;
  text-align: center;
  margin-bottom: 1.0rem;
  font-weight: 600;
}

.form-container .mb-3 {
  margin-bottom: 0.75rem;
}

#login-form .form-control {
  height: 48px;
  border-radius: 5px;
}

.input-group .form-control {
  border-right: none;
  border-radius: 5px 0 0 5px !important;
}

.input-group .btn-outline-secondary {
  border-radius: 0 5px 5px 0 !important;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group .btn-outline-secondary i {
  font-size: 1.2rem;
  color: #495057;
}

#error-message {
  margin: 0.25rem 0 0.5rem 0;
}

#error-message:empty {
  margin: 0;
}

#error-message .alert {
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 0.4rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

#error-message .alert i {
  font-size: 0.95rem;
}

.btn-custom {
  background-color: #f78da7;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.85rem;
  font-size: 1.05rem;
  width: 100%;
  transition: all 0.3s;
  margin-top: 0.3rem;
}

.btn-custom:hover:not(:disabled) {
  background-color: #f56276;
  transform: translateY(-1px);
}

.btn-custom:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.link-custom {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 1rem;
}

.link-custom:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-wrapper {
    width: 90%;
  }

  .form-container {
    padding: 1.8rem 1.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
