/* Container styles */
.pby-container {
    margin: 2em 0;
    font-family: inherit;
}

.pby-year-title {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-size: 1.5em;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 0.25em;
}

/* Table styles */
.pby-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.pby-table thead {
    background-color: #f8f9fa;
}

.pby-table th,
.pby-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    color: #333;
}

.pby-table th {
    font-weight: 600;
}

.pby-table tbody tr:last-of-type td {
    border-bottom: none;
}

.pby-table tbody tr:hover {
    background-color: #fdfdfd;
}

/* Button link */
.pby-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0073aa;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.pby-btn:hover {
    background-color: #005177;
}

/* Responsive styles for smartphones */
@media screen and (max-width: 768px) {
    .pby-table {
        box-shadow: none;
        border: 0;
        background-color: transparent;
    }

    .pby-table thead {
        display: none; /* Hide header on mobile */
    }

    .pby-table tr {
        display: block;
        margin-bottom: 1em;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        padding: 10px;
    }

    .pby-table td {
        display: block;
        text-align: right;
        padding: 10px 5px;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .pby-table td:last-child {
        border-bottom: 0;
    }

    /* Use data-label for mobile headers */
    .pby-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #555;
    }
}
