/* ライセンス一覧全体 */
.license-container {
    width: 90%;
    height: 80vh;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* テーブル部分をスクロール可能に */
.table-wrapper {
    width: 100%;
    height: calc(80vh - 80px);
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;       /* 追加 */
    position: relative;            /* 追加 */   
}

/* テーブル本体 */
.license-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

/* テーブルヘッダー固定 */
.license-table thead th {
    position: sticky;
    top: 0;
    background-color: var(--system-maincolor);
    color: #fff;
    z-index: 2;
    height: 60px;
}

/* 各行の見やすさ */
.license-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.license-table td, .license-table th {
    padding: 10px;
}

/* ボタン */
.download-qr-btn {
    margin-top: 5px;
    background-color: #256AB3;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.download-qr-btn:hover {
    background-color: #1b4f8c;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}