body {
    padding-top: 200px;
    font-family: "century-gothic", sans-serif;
}

#bird {
    max-width: 265px;
    z-index: 99;
}

/* status dots */
.status-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.status-free {
    background-color: #A4C08E;
}

.status-taken {
    background-color: #c03221;
}

/* sorting */
.wohnen-table th {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sort-arrows {
    display: inline-block;
    width: 10px;
    text-align: center;
}


.sort-arrows::before {
    content: "▲";
    display: block;
    font-size: 7px;
    line-height: 8px;
}

.sort-arrows::after {
    content: "▼";
    display: block;
    font-size: 7px;
    line-height: 8px;
}

th.sort-asc .sort-arrows::before {
    opacity: 1;
}

th.sort-asc .sort-arrows::after {
    opacity: 0.2;
}

th.sort-desc .sort-arrows::before {
    opacity: 0.2;
}

th.sort-desc .sort-arrows::after {
    opacity: 1;
}

.isometry-container {
    height: 320px;
}

.isometry {
    width: 15%;
    transition: width 0.3s ease;
    cursor: pointer;
}
.isometry.active {
    width: 60%;
    max-height: 320px;
}

.isometry svg, .isometry img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floor, g[id^="roof"] {
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-transition: all .6s ease;
    -ms-transition: all .6s ease;
}

.floor.moveup, g[id^="roof"].moveup  {
    -ms-transform: translate(0, -50px);
    transform: translate(0, -50px);
    -webkit-transform: translate(0, -50px);
}

.floor > .flat.active-flat, .floor > .flat.active-flat, .floor > .flat.active-flat * {
    fill: #c03221 !important;
    stroke: #fff !important;
}

.flat-row:hover td {
    background: #a0b186;
}

.flat-row[data-type="urban"]:hover td {
    background: #4B7D8C;
    color: white;
}

.flat-row[data-type="urban"]:hover td a {
    color: white;
}

.ui-slider-handle.ui-corner-all.ui-state-default {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    left: -7px;
    top: -9px;
    background-color: #BA6D61;
}

.ui-slider-handle.ui-corner-all.ui-state-default:focus-visible {
    border: none;
    outline: none;
}

.ui-slider-range.ui-corner-all.ui-widget-header {
    background-color: #BA6D61;
    height: 3px;
}

.ui-widget.ui-widget-content {
    height: 3px;
}

/* Scroll container */
.wohnen-table-wrap {
    max-height: 300px;
    overflow-y: auto;
}

/* Sticky header */
.wohnen-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff; /* MUST be solid */
}

/* Optional: prevent header jump */
.wohnen-table {
    border-collapse: collapse;
    width: 100%;
}

.wohnen-table td, .wohnen-table th, .wohnen-table td a {
    color: #504C44;
    font-weight: 300;
    line-height: 1.6;
    white-space: nowrap;
    font-size: 15px;
    padding: 4px;
    text-decoration: none;
}

.wohnen-table td {
    border-top: 1px solid #000000;
}

.range-values {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.price-range-wrap label {
    font-size: 18px;
    color: #BA6D61;
}

.range-left, .range-right {
    font-size: 13px;
    font-weight: 300;
    color: #BA6D61;
}

#filter-rooms-container label, #available-filter label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    color: #BA6D61;
}

#arbeiten input[type="checkbox"] {
    appearance: none;
    position: relative;
    width: 17px;
    height: 17px;
    background: rgba(210, 210, 210, 0.5);
    border: 1px solid rgba(119, 119, 119, 0.5);
    border-radius: 0;
}

.garden_info {
    font-size: 20px;
}

.flats-legend {
    font-size: 14px;
    color: #BA6D61;
}

#arbeiten input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 2px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    border-radius: 0;
    transform: rotate(-52deg);
    width: 13px;
    height: 8px;
}

@media only screen and (min-width: 768px) {
    .filter-sliders {
        min-width: 500px;
    }
}