/* ------------------------------------------------------------------
   第三方登录（Facebook）前端样式
   与后台 Element UI 视觉保持一致：4px 圆角、40px 控件高度、14px 正文
   ------------------------------------------------------------------ */

.vz-oauth-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 14px;
  color: #9aa4b2;
  font-size: 12px;
  letter-spacing: .04em;
}
.vz-oauth-or::before,
.vz-oauth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8ebf0;
}

.vz-fb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: #1877f2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease;
}
.vz-fb-btn:hover { background: #1466d6; }
.vz-fb-btn:active { background: #125abf; }
.vz-fb-btn:focus-visible { outline: 2px solid #1877f2; outline-offset: 2px; }
.vz-fb-btn[disabled] { opacity: .6; cursor: default; }

.vz-fb-f {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #1877f2;
  font: 700 14px/1 "Segoe UI", Arial, sans-serif;
  padding-bottom: 2px;
}

.vz-oauth-hint {
  margin: 10px 0 0;
  color: #8b95a3;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* -------------------------- 提示条 -------------------------- */
.vz-oauth-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 99999;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff;
  border-left: 4px solid #e04b4b;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .16);
  color: #2b3440;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.vz-oauth-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.vz-oauth-toast.is-ok { border-left-color: #076147; }

/* -------------------------- 账号绑定卡片 -------------------------- */
.vz-oauth-card {
  margin-top: 18px;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  background: #fff;
}
.vz-oauth-card__head {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}
.vz-oauth-card__head small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 12px;
  color: #8b95a3;
}
.vz-oauth-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}
.vz-oauth-row + .vz-oauth-row { border-top: 1px solid #f5f7fa; }
.vz-oauth-row__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1877f2;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.vz-oauth-row__main { flex: 1; min-width: 0; }
.vz-oauth-row__title { font-size: 13.5px; color: #1f2937; font-weight: 600; }
.vz-oauth-row__meta {
  margin-top: 3px;
  font-size: 12px;
  color: #8b95a3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vz-oauth-row__btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid #d7dce3;
  background: #fff;
  color: #374151;
  font-size: 12.5px;
  cursor: pointer;
}
.vz-oauth-row__btn:hover { border-color: #b9c0ca; background: #fafbfc; }
.vz-oauth-row__btn.is-primary { background: #1877f2; border-color: #1877f2; color: #fff; }
.vz-oauth-row__btn.is-primary:hover { background: #1466d6; border-color: #1466d6; }
.vz-oauth-row__btn[disabled] { opacity: .55; cursor: default; }

@media (max-width: 600px) {
  .vz-oauth-row { flex-wrap: wrap; }
  .vz-oauth-row__btn { width: 100%; margin-top: 6px; }
}
