.property-price-history-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 24px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    font-family: 'Montserrat', system-ui, Arial, sans-serif;
}

.property-price-history-container h2 {
    text-align: left;
    margin: 20px 0 12px 0;
    color: #222;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.property-price-history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Montserrat', system-ui, Arial, sans-serif;
    font-size: 1.05em;
    background: #fff;
    color: #232c53;
    margin-top: 24px;
}

.property-price-history-table th,
.property-price-history-table td {
    padding: 18px 0;
    text-align: center;
    border-bottom: 1px solid #232c53;
    border-right: 1px solid #232c53;
    font-weight: 600;
    font-size: 1.08em;
}
.property-price-history-table th:last-child,
.property-price-history-table td:last-child {
    border-right: none;
}

.property-price-history-table th {
    background: none;
    font-weight: 700;
    color: #232c53;
    text-transform: none;
    font-size: 1.08em;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #232c53;
}

.property-price-history-table tbody tr {
    background: #fff;
    transition: none;
}

.property-price-history-table tbody tr:hover {
    background: #fff;
}

.property-price-history-table tbody tr:nth-child(even) {
    background: #fff;
}

.property-price-history-table td a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.property-price-history-table td a:hover {
    color: #bfa133;
}

.price-increase {
    color: #2e7d32;
    font-weight: 500;
}

.price-decrease {
    color: #c62828;
    font-weight: 500;
}

/* Responsywność */
@media (max-width: 900px) {
    .property-price-history-table,
    .property-price-history-table tbody,
    .property-price-history-table tr,
    .property-price-history-table td,
    .property-price-history-table th {
        display: block;
    }
    .property-price-history-table thead {
        display: none;
    }
    .property-price-history-table tr {
        margin-bottom: 18px;
        border: 1px solid #232c53;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        background: #fff;
    }
    .property-price-history-table td {
        border-bottom: 1px solid #232c53;
        border-right: none;
        text-align: left;
        padding-left: 50%;
        position: relative;
        flex-basis: 100%;
        box-sizing: border-box;
        font-size: 1em;
        font-weight: 600;
        color: #232c53;
    }
    .property-price-history-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: #232c53;
    }
    .property-price-history-table td:nth-of-type(1)::before { content: "Numer"; }
    .property-price-history-table td:nth-of-type(2)::before { content: "Piętro"; }
    .property-price-history-table td:nth-of-type(3)::before { content: "Metraż"; }
    .property-price-history-table td:nth-of-type(4)::before { content: "Szczegóły"; }
    .property-price-history-table td:nth-of-type(5)::before { content: "Status"; }
}