@charset "UTF-8";

/* token claim 一覧
------------------------------- */

/* 一覧全体のラッパ */
.claimList-wrap {
    width: 80%;
    max-width: 900px;
    margin: 5% auto 10%;
    color: #371d03;
    font-family: 'Noto Serif JP', serif;
}

/* リスト本体 */
.claimList {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 3px solid #c8a86b;
    border-radius: 10px;
    background-color: #f3e7cd;
    overflow: hidden;
}

/* 1行（見出し・データ共通） */
.claimList-row {
    display: flex;
    align-items: center;
    padding: 2.2% 4%;
    font-size: clamp(11px, 1.5vw, 18px);
    font-weight: 700;
}

/* 見出し行 */
.claimList-header {
    background-color: #5b3a18;
    color: #f6ecd6;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* データ部分は10件を超えたらスクロール（上限の高さはJSで先頭10行分に設定） */
.claimList-body {
    overflow-y: auto;
}

/* スクロールバーの見た目（任意・対応ブラウザのみ） */
.claimList-body::-webkit-scrollbar {
    width: 8px;
}
.claimList-body::-webkit-scrollbar-thumb {
    background-color: #c8a86b;
    border-radius: 4px;
}

/* データ行の区切り線・交互背景 */
.claimList-body .claimList-row {
    border-top: 1px solid #d9c49a;
}

.claimList-body .claimList-row:nth-child(even) {
    background-color: #ece0c4;
}

/* 各列 */
.claim-col-date {
    flex: 2;
    text-align: left;
}

.claim-col-amount {
    flex: 1.3;
    text-align: right;
    white-space: nowrap;
}

.claim-col-status {
    flex: 1;
    text-align: right;
    white-space: nowrap;
}

/* 状況の色分け */
.claim-status-1 { color: #c87a00; }   /* 申請済み（未配布） */
.claim-status-2 { color: #2e7d32; }   /* 配布済み */
.claim-status-8 { color: #777777; }   /* 取消 */
.claim-status-9 { color: #c0392b; }   /* 配布失敗 */

/* データが無いときの表示 */
.claimList-empty {
    text-align: center;
    padding: 8% 4%;
    color: #6b5326;
    font-weight: 700;
    font-size: clamp(12px, 1.6vw, 18px);
}

/* 説明文 */
.claimList-note {
    text-align: center;
    margin: 3% auto 0;
    width: 80%;
    color: #371d03;
    font-weight: 600;
    font-size: clamp(11px, 1.4vw, 16px);
    line-height: 1.6;
}

/* 交換所上部のMCHCクレーム期限の注意文（色は本文と同じ） */
.exchange-deadline-notice {
    display: inline-block;
    margin-top: 0.6em;
}

/* クレーム確認ダイアログ内の利用規約同意文言 */
.claim-terms-text {
    display: inline-block;
    margin-top: 0.6em;
    font-size: 0.82em;
    line-height: 1.5;
    opacity: 0.85;
}

.claim-terms-link {
    color: #c87a00;
    text-decoration: underline;
    font-weight: 700;
}

.claim-terms-link:hover {
    color: #a86400;
}

/*********************************************************
 モバイル版 命令（800px以下）
 *********************************************************/
@media (max-width: 800px) {
    .claimList-row {
        font-size: 12px;
        padding: 3% 4%;
    }
}
