@charset "utf-8";

/* クリック不可日の見た目 */
.fc-disabled-day {
  opacity: 0.35;
  pointer-events: none;
}

/* 選択した日のハイライト */
.fc-selected-day {
  outline: 2px solid #333;
  outline-offset: -2px;
  border-radius: 6px;
}

/* ===== モーダル ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;              /* 閉 */
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.modal-backdrop.is-open {
  display: flex;              /* 開 */
}

.modal {
  width: min(520px, 92vw);    /* 少しゆったり */
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  padding: 18px 20px 16px;
}

/* ヘッダー */
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-title {
  font-weight: 700;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ★フォームの塊を中央に寄せる */
.modal-body {
  display: flex;
  justify-content: center; /* 横中央 */
}

/* ★フォーム幅の基準（これで“塊”が中央に見える） */
.modal-body form {
  width: 100%;
  max-width: 360px;         /* 好みで 320〜380 */
}

/* 入力行 */
.field {
  margin: 12px 0;
}

.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  opacity: .85;
  text-align: left;         /* 文字は左寄せ */
}

.field input,
.field select {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 10px;
  text-align: left;
  box-sizing: border-box;
}

/* ボタン */
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.actions button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.2);
  background: #fff;
  cursor: pointer;
}