/**
 * 臨時緊急限制樣式。
 */

/* Header：顯示直接註冊連結（蓋過 theme 隱藏 .link-item） */
#block-popupregistrationselection > .content > .link-item {
  display: inline !important;
}

/* Login form 上方紅色訊息 */
.i2-temp-login-red-message {
  color: #c00;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.i2-temp-login-red-message p {
  color: #c00;
  margin: 0;
}

/* Full-page pop-up 長文排版 */
.i2-temp-popup-content .modal-body {
  max-height: min(70vh, 560px);
  overflow-y: auto;
}

.i2-temp-popup-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.i2-temp-popup-body p:last-child {
  margin-bottom: 0;
}

/* Disabled submit 視覺 */
.i2-temp-submit-disabled,
button.i2-temp-submit-disabled,
input.i2-temp-submit-disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* 觸發用 wrapper 不佔版面 */
.i2-temp-popup-wrapper[hidden] {
  display: none !important;
}
