html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-container, .login-container {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  width: 260px;
  padding: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  animation: slide-up 0.4s ease-out;
}

.login-header {
  text-align: center;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.signin-container img,
.login-container img {
  width: 50px;
  height: auto;
  display: block;
  margin: 0 auto 12px auto;
}

.login-form .form-floating {
  margin-bottom: 6px;
}

.form-control {
  font-size: 0.87rem;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
  font-size: 0.85rem;
  color: #aaa;
}

.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  outline: none;
}

.checkbox {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: #555;
}

.checkbox label {
  font-weight: 400;
}

button.btn-success {
  font-size: 0.85rem;
  padding: 7px;
  border-radius: 6px;
  font-weight: 500;
  background-color: #28a745;
  border: none;
  transition: all 0.2s ease;
}

button.btn-success:hover {
  background-color: #218838;
  transform: scale(1.01);
}

.card-footer {
  font-size: 0.8rem;
  color: #555;
  margin-top: 10px;
  text-align: center;
}

.card-footer a {
  color: #28a745;
  text-decoration: none;
  font-weight: 500;
}

.card-footer a:hover {
  text-decoration: underline;
}

@keyframes slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
