@charset "utf-8";

/* =========================================================
   system-message.css

   対象画面:
   - DirectAccess.aspx
   - ReserveError.aspx

   役割:
   - システムメッセージ系のフルスクリーン表示
   - タイトル、本文、補足リストの見た目
========================================================= */

.system-message-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    background: #f5f7fb;
}

.system-message-card {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

.system-message-card-error {
    border: 1px solid #f0d2d2;
}

.system-message-card-timeout {
    border: 1px solid #d7e1f3;
}

.system-message-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.system-message-badge-timeout {
    background: #eef2ff;
    color: #3348b6;
}

.system-message-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #1f2937;
    text-align: center;
    line-height: 1.5;
}

.system-message-text {
    font-size: 16px;
    line-height: 1.9;
    color: #4b5563;
    margin: 0 0 18px;
    text-align: center;
}

.system-message-notes {
    margin: 0;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.system-message-notes ul {
    margin: 0;
    padding-left: 1.2em;
}

.system-message-notes li {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

.system-message-close-note {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #6b7280;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .system-message-page {
        padding: 20px 12px;
    }

    .system-message-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .system-message-title {
        font-size: 24px;
    }

    .system-message-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .system-message-notes {
        padding: 16px;
    }

    .system-message-notes li,
    .system-message-close-note {
        font-size: 14px;
    }
}

/* 予約画面共通テーマに合わせたシステムメッセージ */
body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 82% 4%, rgba(199, 221, 255, 0.52), transparent 28rem),
        linear-gradient(180deg, #fbfdff 0, #f2f6fb 100%);
    color: #0d2b55;
}

.system-message-page {
    min-height: 100vh;
    background: transparent;
}

.system-message-card {
    border: 1px solid #dce6f2;
    box-shadow: 0 12px 30px rgba(24, 55, 96, 0.10);
}

.system-message-card::before {
    content: "!";
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    border: 2px solid #1757d5;
    border-radius: 50%;
    color: #1757d5;
    font-size: 26px;
    font-weight: 800;
}

.system-message-title {
    color: #0d2b55;
}

.system-message-notes {
    border-color: #c9daf6;
    background: linear-gradient(135deg, #ffffff, #f4f8ff);
}
