/* ===========================
   VHB Common UI (All Pages)
   =========================== */

/* Card */
.vhb-card {
  max-width: 560px;
  margin: 32px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.vhb-card-header {
  background: #1672f3;
  color: #fff;
  padding: 18px 22px;
  font-size: 22px;
  font-weight: 800;
}

.vhb-card-body {
  padding: 22px;
}

/* Inputs */
.vhb-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 14px 0 8px;
  color: #1c1c1c;
}

.vhb-input,
.vhb-input:focus {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #d7dce3;
  padding: 10px 14px;
  outline: none;
  box-shadow: none;
}

.vhb-input:focus {
  border-color: #1672f3;
  box-shadow: 0 0 0 4px rgba(22, 114, 243, 0.12);
}

/* Password eye wrapper */
.vhb-field {
  position: relative;
}

.vhb-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.75;
}

.vhb-eye:hover {
  opacity: 1;
}

/* Row under password */
.vhb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14px;
}

.vhb-row a {
  text-decoration: none;
  color: #1672f3;
}

.vhb-row a:hover {
  text-decoration: underline;
}

/* Button */
.vhb-btn-primary {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  background: #1672f3;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
}

.vhb-btn-primary:hover {
  filter: brightness(0.95);
}

/* Footer */
.vhb-footer {
  margin-top: 14px;
  font-size: 14px;
  color: #6b7280;
}

.vhb-footer a {
  color: #1672f3;
  text-decoration: none;
  font-weight: 700;
}

.vhb-footer a:hover {
  text-decoration: underline;
}
/* ===== Common Alert ===== */
.vhb-alert {
  display: none;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* ===== Error (RED) ===== */
.vhb-alert-error {
  display: block;
  color: #b42318;
  background-color: #fdecea;
  border: 1px solid #f5c2c7;
}

/* ===== Success (GREEN – future use) ===== */
.vhb-alert-success {
  display: block;
  color: #0f5132;
  background-color: #d1e7dd;
  border: 1px solid #badbcc;
}

.vhb-alert.show {
  display: block;
}

.vhb-alert.info {
  background: #e7f1ff;
  color: #084298;
  border: 1px solid #b6d4fe;
}

/* Utility */
.vhb-hidden {
  display: none !important;
}
