﻿:root {
    --gap: 12px;
    --accent: #2563eb;
    --muted: #666
}

body {
    font-family: Inter, system-ui, Arial, sans-serif;
    margin: 18px;
    color: #111;
    background: #f9fafb
}

.card {
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(17,24,39,0.06)
}

.table-wrap {
    width: 100%;
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse
}

th, td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee
}

th {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap
}

td {
    font-size: 14px
}

tr:hover td {
    background: #f9fbff
}


/* Responsive Mobile Styles */
@media (max-width:820px) {
    table {
        display: block;
        width: 100%
    }

    thead {
        display: none
    }

    tbody {
        display: block;
        width: 100%
    }

    tr {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: var(--gap);
        background: #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04)
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border: none
    }

        td::before {
            content: attr(data-label);
            font-weight: 600;
            color: var(--muted);
            flex: 1;
            text-align: left
        }

        td .value {
            flex: 2;
            text-align: right;
            font-weight: 500;
            color: #111
        }
}


.container {
    max-width: 1100px;
    margin: 0 auto
}

h2 {
    margin-bottom: 16px;
    font-size: 20px;
    color: #111
}
