/* ここから 共通定義にあって良さそう */
.om-button-xlarge {
  width: 250px;
  height: 40px;
}
.om-button-large {
  width: 200px;
  height: 40px;
}
.om-button-medium {
  width: 120px;
  height: 40px;
}

.om-black-button {
  background-color: #333333;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  border: none;
}
.om-black-button:hover {
  background-color: #707070;
  cursor: pointer;
  color: #ffffff;
}

.om-white-button {
  background-color: #ffffff;
  color: #333333;
  border-radius: 5px;
  font-weight: bold;
  border: 1px solid #333333 !important;
}
.om-white-button:hover {
  background-color: #f7f9fa;
  cursor: pointer;
}
/* ここまで */

/* 1. オーバーレイ: 画面全体を覆い、背景を暗くする */
.om-modal-overlay {
    /* 画面全体に固定配置 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景を半透明の黒にする */
    background-color: rgba(0, 0, 0, 0.7);
    /* 最前面に表示 */
    z-index: 99999;
    /* コンテンツを中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
    /* スクロールが必要な場合に備える */
    overflow-y: auto; 
}

/* MFA 本人確認ダイアログ */
.om-mfa-modal {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 90%;
    margin: 20px auto;
}

#modal-title {
    background-color: transparent;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333; border-bottom: 1px solid #eeeeee;
}

/* 3. モーダル内のフォーム要素 */
[data-modal="om-mfa-challenge-modal"] input[type="text"] {
    width: 100%;
    box-sizing: border-box; /* paddingやborderをwidthに含める */
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: left; /* 6桁コードの入力を中央に寄せる */
}

/* 4. アクションボタンの配置 */
.om-modal-actions {
    display: flex;
    justify-content: flex-end; /* ボタンを右寄せ */
    gap: 10px; /* ボタン間のスペース */
    margin-top: 20px;
}

/* 5. モバイルでのボタン調整 (任意) */
@media (max-width: 600px) {
    .om-modal-actions {
        flex-direction: column; /* モバイルでは縦に並べる */
        gap: 8px;
    }
    .om-modal-actions button {
        width: 100%; /* ボタンを幅いっぱいに広げる */
        padding: 12px;
        line-height: 1; /* ボタン内のテキストの高さを調整 */
    }
}

body.is-modal-open .sidebar h2,
body.is-modal-open .sidebar h3 {
    /* 💡 背景色を透明にする(テーマの色が残るので) */
    background-color: transparent;
}


.om-note {
  color: #666;
  line-height: 1.6;
  position: relative;
  padding-left: 1.2em;
}

.om-note::before {
  content: "ℹ︎";
  position: absolute;
  left: 0;
  color: #888;
}