body {
    background-color: #1a1a1a;
    color: #fff;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 10px;
}

.pagination a {
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    border: 1px solid #555;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #333;
}

.pagination a.active {
    background-color: #b8860b;
    color: #fff;
    border-color: #b8860b;
}

.pagination a:hover:not(.active) {
    background-color: #555;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .pagination a {
        padding: 8px 14px;
        font-size: 14px;
    }

    .re-collapsible-content {
        max-height: 0;
    }
}

#selected-developers {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

#selected-developers li {
    background-color: #444;
    color: white;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 5px;
}

#developer-list .re-filter-option.hidden {
    display: none;
}

.current-page {
}

.pagination-link {
}

.real-estate-container {
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto;
    max-width: 1400px;
    padding: 0 20px;
    gap: 30px;
}

.re-filter-toggle {
    display: none;
    background-color: #b8860b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 16px;
}

.re-filter-panel {
    max-height: none;
    transition: max-height 0.3s ease-out;
}

@media (max-width: 768px) {
    .re-filter-panel {
        max-height: 0;
        overflow: hidden;
        display: none;
    }
}

.re-filter-panel {
    width: 320px;
    padding: 20px;
    background-color: #222;
    border-radius: 12px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.re-filter-section {
    margin-bottom: 15px;
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 8px;
}

.re-offer-type-filter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.re-offer-type-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.re-offer-type-filter label:hover {
    background-color: #444;
}

.re-offer-type-filter input[type="checkbox"] {
    margin: 0;
}

.re-filter-header {
    font-weight: bold;
    margin-bottom: 8px;
    color: #ddd;
}

.re-price-input {
    padding: 8px;
    margin-right: 8px;
    border: 1px solid #555;
    border-radius: 6px;
    background-color: #333;
    color: white;
    width: calc(100% - 10px);
    box-sizing: border-box;
}

.re-property-listings {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.re-collapsible {
    background-color: #444;
    color: white;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.re-collapsible:hover {
    background-color: #555;
}

.re-collapsible.active, .re-collapsible:focus {
    background-color: #555;
}

.re-collapsible-content {
    padding: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #333;
    border-radius: 6px;
    display: none;
}

.re-filter-option {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.re-filter-option input[type="checkbox"] {
    margin-right: 10px;
}

.re-filter-label {
    cursor: pointer;
    color: #ddd;
}

.re-search-btn {
    background-color: #b8860b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.re-search-btn:hover {
    background-color: #a07509;
}

.re-main-content {
    flex: 1;
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
    box-sizing: border-box;
}

.re-header {
    margin-bottom: 20px;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skeleton-container {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skeleton-line {
    width: 100%;
    height: 10px;
    background-color: #444;
    border-radius: 5px;
}

.re-search-controls {
    display: flex;
    margin-bottom: 20px;
    gap: 15px;
}

.re-sort-by {
    padding: 10px;
    border: 1px solid #555;
    border-radius: 6px;
    background-color: #333;
    color: white;
    font-size: 15px;
}

.re-search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 6px;
    background-color: #333;
    color: white;
    font-size: 15px;
}

.re-property-listings > div {
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .real-estate-container {
        margin: 1px;
    }

    .re-filter-toggle {
        display: block;
    }

    .re-filter-panel {
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: #2a2a2a;
        margin-bottom: 15px;
        padding: 15px;
    }

    .re-filter-panel.active {
        max-height: none;
    }

    .re-main-content {
        width: 100%;
        padding: 15px;
    }
}

.re-property-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2a2a2a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.05);
}

.re-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}

@media (min-width: 768px) {
    .re-property-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

.re-property-card:hover {
    transform: translateY(-8px);
}

.re-property-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #1a1a1a;
}

.re-property-image img {
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0.95;
}

.re-property-card:hover .re-property-image img {
    transform: scale(1.05);
    opacity: 1;
}

@media (min-width: 768px) {
    .re-property-image {
        width: 30%;
        height: auto;
        margin-bottom: 0;
        margin-right: 15px;
    }
}

.re-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.re-property-card:hover .re-property-image img {
    transform: scale(1.05);
}

.re-new-launch {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(184, 134, 11, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.re-property-details {
    padding: 0 10px;
    flex: 1;
}

.re-property-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #fff;
    transition: color 0.3s ease;
    font-weight: 600;
    line-height: 1.3;
}

.re-property-title:hover {
    color: #FFD700;
}

.re-property-card:hover .re-property-title {
    color: #b8860b;
}


.re-location {
    color: #aaa;
    margin-bottom: 8px;
    font-size: 15px;
}

.re-property-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.re-spec {
    color: #bbb;
}

.re-buttons {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
    gap: 25px;
    padding: 10px 0;
}

.re-btn {
    background-color: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.re-btn:hover {
    background-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}

.re-btn i {
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .re-buttons {
        gap: 5px;
    }
}

.re-btn {
    background-color: #444;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
}

.re-btn i {
    margin-right: 5px;
}

.re-btn:hover {
    background-color: #555;
}

.re-developer-logo {
    position: absolute;
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    background-color: rgba(51, 51, 51, 0.95);
    padding: 8px;
    top: 15px;
    right: 15px;
    border: 2px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.re-property-card:hover .re-developer-logo {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.3);
}
