/**
 * ログイン訴求モーダル - スタイル定義
 */

/* ============================================================
   オーバーレイ・コンテナ
   ============================================================ */
.c-login-prompt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.c-login-prompt-modal.is-open {
  display: flex;
}

.c-login-prompt-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

/* ============================================================
   ダイアログ本体
   ============================================================ */
.c-login-prompt-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 36px;
  width: min(460px, calc(100vw - 32px));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   閉じるボタン
   ============================================================ */
.c-login-prompt-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}

.c-login-prompt-modal__close:hover {
  background: #f0f0f0;
  color: #333;
}

/* ============================================================
   コンテンツ
   ============================================================ */
.c-login-prompt-modal__body {
  text-align: center;
}

.c-login-prompt-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.c-login-prompt-modal__desc {
  font-size: 14px;
  color: #555;
  margin: 0 0 28px;
  line-height: 1.6;
  text-align: left;
}

/* ============================================================
   アクションボタン
   ============================================================ */
.c-login-prompt-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-login-prompt-modal__btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s;
}

.c-login-prompt-modal__btn:hover {
  opacity: 0.82;
}

.c-login-prompt-modal__btn--login {
  background: #03a9f4;
  color: #fff;
}

.c-login-prompt-modal__btn--register {
  background: #fff;
  color: #03a9f4;
  border: 2px solid #03a9f4;
}
