/* Prices Page Specific Styles */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.price-table th, .price-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background-color: #004080;
    color: #fff;
    font-weight: bold;
}

.price-table tr:hover {
    background-color: #f8f9fa;
}

.price-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.price-change.positive {
    color: #28a745;
}

.price-change.negative {
    color: #dc3545;
}

.price-change i {
    font-size: 1.2em;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.price-table th:first-child,
.price-table td:first-child {
    padding-left: 1.5rem;
}

.price-table th:last-child,
.price-table td:last-child {
    padding-right: 1.5rem;
}

.section-title {
    color: #004080;
    margin: 2rem 0 1rem;
    font-size: 1.75rem;
}

.last-updated {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .price-table {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        background: none;
        box-shadow: none;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody {
        display: contents;
    }

    .price-table tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        padding: 1rem;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        break-inside: avoid;
        margin-bottom: 0;
    }

    .price-table td {
        display: flex;
        padding: 0.5rem 0;
        text-align: left;
        border: none;
        font-size: 0.95rem;
    }

    .price-table td:first-child {
        font-size: 1.1rem;
        font-weight: bold;
        color: #004080;
        padding-top: 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #eee;
    }

    .price-table td:nth-child(2) {
        font-size: 1.2rem;
        padding-top: 0.75rem;
    }

    .price-table td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: bold;
        width: 40%;
        margin-right: auto;
    }

    .price-change {
        margin-left: auto;
        font-weight: 500;
    }
}