.custom-login-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 0 120px;
}

.custom-login-box {
  width: 430px;
}

.custom-login-title {
  text-align: center;
  color: #214d7c;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.25);
}

.custom-login-box label {
  color: #000000;
  font-weight: 500;
}

.custom-login-box input[type=text],
.custom-login-box input[type=password] {
  height: 44px;
  border: 1px solid #214d7c;
  border-radius: 4px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.captcha-input-wrapper {
  flex: 1;
  margin-bottom: 0;
}

.captcha-image-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-login-button {
  width: 100%;
  height: 56px;
  margin-top: 18px;
  background-color: #214d7c;
  border-color: #214d7c;
  font-weight: 700;
}

.custom-login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.custom-login-links a {
  font-weight: 700;
  font-style: italic;
}

.custom-login-links a:last-child {
  color: red;
}

.custom-login-box .reference-mark.text-warning {
  color: #da1414 !important;
  font-size: 6px;
}

.custom-captcha-group .taglib-captcha {
  display: grid;
  grid-template-columns: 150px 24px 1fr;
  column-gap: 10px;
  align-items: start;
}

.custom-captcha-group .taglib-captcha img {
  grid-column: 1;
  grid-row: 1;
  width: 135px;
  height: 45px;
  object-fit: cover;
  border: 1px solid #333;
  margin-top: 28px;
}

.custom-captcha-group .taglib-captcha .refresh {
  grid-column: 2;
  grid-row: 1;
  margin-top: 36px;
}

.custom-captcha-group .taglib-captcha .form-group {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 18px;
}

.custom-captcha-group .taglib-captcha label {
  display: block;
  margin-bottom: 6px;
  color: #000;
}

.custom-captcha-group .taglib-captcha input.form-control {
  height: 38px;
  border: 1px solid #214d7c;
  border-radius: 4px;
}

/* Message validate không được làm vỡ layout */
.custom-captcha-group .taglib-captcha .form-feedback-item,
.custom-captcha-group .taglib-captcha .form-validator-stack,
.custom-captcha-group .taglib-captcha .help-block,
.custom-captcha-group .taglib-captcha .has-error .form-feedback-item {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: -14px;
  font-size: 12px;
  line-height: 14px;
  color: #da1414;
}