/* ===== form-submit-lock-1 デモ切替コントロール ===== */
.submit-lock-mode-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #5A6A7A;
}

.submit-lock-mode-label {
  font-weight: 600;
}

.submit-lock-mode-option {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* ===== カード ===== */
.submit-lock-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ===== フィールド ===== */
.submit-lock-field {
  margin-bottom: 16px;
}

.submit-lock-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1A2B3C;
  margin-bottom: 6px;
}

.submit-lock-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1.5px solid #D0D7E0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}

.submit-lock-input:focus {
  border-color: #2B7FE8;
}

/* ===== エラーメッセージ ===== */
.submit-lock-error {
  color: #E53E3E;
  font-size: 13px;
  margin: -8px 0 16px;
}

.submit-lock-error[hidden] {
  display: none;
}

/* ===== 送信ボタン ===== */
.submit-lock-btn {
  width: 100%;
  padding: 12px;
  background: #2B7FE8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
  font-family: inherit;
}

.submit-lock-btn:hover:not(:disabled) {
  background: #1E6ECF;
}

.submit-lock-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* スピナーアニメーション */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-lock-btn-spinner {
  animation: spin 0.8s linear infinite;
}

/* SVGのhidden属性はブラウザによっては効かないことがある（初期非表示の保険） */
.submit-lock-btn-spinner[hidden],
.submit-lock-btn-check[hidden] {
  display: none;
}

/* ===== デモ専用の補足表示 ===== */
.submit-lock-counter {
  margin: 16px 0 4px;
  font-size: 13px;
  color: #5A6A7A;
  text-align: center;
}

.submit-lock-hint {
  margin: 0;
  font-size: 12px;
  color: #5A6A7A;
  text-align: center;
}

/* ===== デモ操作エリア（リセットボタン） ===== */
.demo-controls {
  margin-top: 12px;
}

.reset-btn {
  padding: 6px 16px;
  font-size: 13px;
  color: #5A6A7A;
  background: #fff;
  border: 1.5px solid #D0D7E0;
  border-radius: 6px;
  cursor: pointer;
  font-family: sans-serif;
  transition: background 0.15s, border-color 0.15s;
}

.reset-btn:hover {
  background: #F4F6F9;
  border-color: #9AA5B4;
}

@media (max-width: 480px) {
  .submit-lock-card {
    padding: 24px;
  }
}
