/* Cubicle Diagnosis 用CSS（STEP3：バナー＆モーダルの基本スタイル） */

/* 右下バナー */
.cdb-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 280px;
  font-size: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.cdb-inner {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px 16px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
  position: relative;
}

.cdb-close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.cdb-eyecatch {
  font-size: 12px;
  margin: 0 0 4px;
  color: #e67e22;
}

.cdb-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
}

.cdb-button {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 8px 0;
  background: #27ae60;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* モーダル */
.cdm-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cdm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.cdm-content {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 420px;
  width: calc(100% - 32px);
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.cdm-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.cdm-question-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}
