:root {
    --bs-primary: #948a52;
    --bs-primary-rgb: 148,138,82;
    --bs-font-sans-serif: "Work Sans", sans-serif;
}

.sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    width: 250px;
}

.sidebar.show {
    transform: translateX(0);
}

body {
    background: linear-gradient(to right, #948a52, #e1cc53) !important;
}

.btn-primary {
    background-color: #948a52 !important;
    border-color: #948a52 !important;
}

.nav-link {
    color: #948a52 !important;
}

.home > .navbar, .signup > .navbar {
    display: none !important;
}

.home > div > div, .signup > div > div {
    margin-top: 0 !important
}

.btn-map {
    height: 34px;
}

.navbar .container-fluid > div:last-child > button {
    display: none;
}

footer {
    background: #948a52;
    color: #fff;
}

footer a, footer a:hover {
    color: #fff;
}

#form-mapa select {
    height: 72px;
}

.table td {
    overflow-wrap: anywhere;
}

#propriedades label {
    font-size: 14px;
}

@media (max-width: 1600px) {
    #top-counters > div {
        width: 22%;
    }

    #top-counters > div:last-child {
        width: 34%;
    }

    #top-counters > div i {
        font-size: 1.2rem;
    }

    #top-counters .fs-5 {
        font-size: 1rem !important;
    }

    #top-counters .card {
        height: 100%;
    }
}

@media (max-width: 1300px) {
    #top-counters .fs-5 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 1230px) {
    #top-counters .fs-5 {
        font-size: 0.8rem !important;
    }

    #top-counters .card-body {
        padding: 0 15px;
    }
}

@media (max-width: 1100px) {
   #top-counters > div, #top-counters > div:last-child {
        width: 50%;
        height: 80px;
        margin-bottom: 10px;
    }

    #top-counters .fs-5 {
        font-size: 1rem !important;
    }
}

@media (max-width: 900px) {
    .table thead {
        display: none;
    }

    .table {
        display: block;
        width: 100%;
    }

    .table tbody {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .table tr {
        display: block;
        background: #f9f9f9;
        border: 1px solid #ddd;
        padding: 16px;
        width: 300px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
    }

    .table td {
        display: block;
        padding: 4px 0;
    }

    .table td::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #333;
    }

    .table-striped>tbody>tr:nth-of-type(odd)>*, .table-hover>tbody>tr:hover>* {
        background-color: transparent !important;
        box-shadow: none !important;
    }
}

@media (min-width: 768px) {
    .sidebar-open {
        margin-left: 250px;
    }
}

@media (max-width: 700px) {
   #top-counters > div, #top-counters > div:last-child {
        width: 100%;
        min-height: 80px;
        height: auto;
   }
}

@media (max-width: 540px) {
    .pagination  {
        flex-wrap: wrap;
    }

    .pagination .previous, .pagination .next {
        display: none;
    }

    .table td {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 500px) {
    .container-fluid .container-fluid, .container-fluid .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 460px) {
    #filterCollapse form > div > div:last-child {
        width: 100%;
    }
}