body.public-auth {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}
.public-auth .public-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f7;
}
.public-auth .brand {
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}
.public-auth .public-btn {
  background: #6366f1;
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 1rem;
}
.public-auth .public-btn:hover {
  background: #4f46e5;
}
.public-auth .muted-link {
  color: #6b7280;
}
.public-auth .muted-link a {
  color: #4f46e5;
  text-decoration: none;
}
.public-auth .muted-link a:hover {
  text-decoration: underline;
}
.btn-transparent {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  text-decoration: none;
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

/* Hover */
.btn-transparent:hover,
.btn-transparent:focus {
  background-color: #ffffff;
  border-color: #cfcfcf;
}

/* Active */
.btn-transparent:active {
  transform: translateY(1px);
}

/* Disabled dạng link */
.btn-transparent.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.form-input.error, .form-control.error {
  border-color: #dc3545 !important;
  border: 2px solid;
}

.error-msg {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.error-msg.active {
  display: block;
}

.required-star {
  color: red;
}

.input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
    color: #777;
}

.toggle-password:hover {
    color: #333;
}

.text-truncate {
    max-width: 150px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
