body {
  min-height: 100vh;
  background: #f4f7fb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-wrapper {
  width: 100%;
  max-width: 460px;
}

.login-card {
  background: #fff;
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: none;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 240px;
  height: 240px;
  background: rgba(13, 110, 253, 0.06);
  border-radius: 50%;
}

.brand-logo {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0d6efd, #3a86ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.25);
}

.brand-logo i {
  color: #fff;
  font-size: 34px;
}

.login-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 10px;
}

.login-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 34px;
  font-size: 15px;
}

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 10px;
}

.form-control {
  height: 56px;
  border-radius: 16px;
  border: 1px solid #d9e2ef;
  padding-left: 18px;
  font-size: 15px;
  transition: all 0.25s ease;
  background: #fff;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .12);
}

.btn-login {
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d6efd, #3a86ff);
  border: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.form-check-label {
  color: #6c757d;
  font-size: 14px;
}

.forgot-link {
  color: #0d6efd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

.alert-custom {
  border: none;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.alert-custom i {
  font-size: 24px;
  margin-top: 1px;
}

.alert-danger-custom {
  background: rgba(220, 53, 69, 0.08);
  color: #b02a37;
}

.alert-success-custom {
  background: rgba(25, 135, 84, 0.08);
  color: #146c43;
}

.alert-warning-custom {
  background: rgba(255, 193, 7, 0.12);
  color: #997404;
}

.alert-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.bottom-text {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #6c757d;
}

@media (max-width: 576px) {
  .login-card {
    padding: 30px 22px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
