* {
    box-sizing: border-box;
}
.center-data {
    max-width: 100%;
    margin: 2rem 5rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
table *,
table a {
    font-size: 2rem;
}

/* -------------------------------------------- */
/* real-estate-projects */
/* --------------------------------------------- */

section#real-estate-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
section#real-estate-projects > div {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    height: 100%;
}
section#real-estate-projects div div.image {
    height: 300px;
    position: relative;
}
section#real-estate-projects div div.image img {
    height: 100%;
    filter: brightness(70%);
}
section#real-estate-projects div div.image:hover img {
    filter: brightness(100%);
}
section#real-estate-projects > div .image p {
    position: absolute;
    color: var(--dull-white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}
section#real-estate-projects > div p.price {
    bottom: 0rem;
    left: 2rem;
}
section#real-estate-projects > div p.status {
    top: 1.5rem;
    right: 2rem;
    background-color: var(--sharp-red);
}
section#real-estate-project > .project {
    border: 2px solid var(--blue);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 0px 1rem var(--dull-blue);
}
section#real-estate-project > .project > img {
    border-radius: 12px;
}
p.detail_status {
    color: var(--dull-white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: var(--sharp-red);
}
p.detail_price {
    font-size: 2.2rem;
    color: var(--blue);
    text-shadow: 1px 1px 0.1rem grey;
}
.project-info {
    margin-top: 1.2rem;
}
@media (max-width: 1200px) {
    section#real-estate-projects {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
@media (max-width: 700px) {
    section#real-estate-projects {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
}
/* -------------------------------------------- */
/* dashboard-styles */
/* --------------------------------------------- */

div.dashboard {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #123, var(--blue));
    color: var(--dull-white);
    width: 100%;
    margin: 0;
}
div.dashboard h1 {
    font-size: 5rem;
}
div.dashboard div a,
section#featured_prop a {
    background-color: var(--sharp-red);
    color: var(--dull-white);
    text-decoration: none;
    padding: 1rem 5rem;
    font-size: 2.3rem;
    margin: 2rem 1rem;
    box-shadow: 2px 2px 0.1rem grey;
    border-radius: 6px;
}

div.dashboard div a:hover,
section#featured_prop a:hover {
    background-color: var(--blue);
    box-shadow: 0px 0px 0.5rem var(--dull-red);
}

/* -------------------------------------------- */
/* featured properties styles here */
/* --------------------------------------------- */
section#featured_prop {
    margin-bottom: 0px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
section#featured_prop > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
section#featured_prop h2 {
    margin-bottom: 3rem;
}
@media (max-width: 400px) {
    section#featured_prop h2 {
        font-size: 25px;
        margin-bottom: 1rem;
    }
}
@media (max-width: 1000px) {
    section#featured_prop {
        flex-direction: column;
        justify-content: flex-start;
        align-items: start;
        margin: 30px;
    }
}
section#featured_prop a {
    margin: 0.5rem;
}
/* -------------------------------------------- */
/* manage-styles */
/* --------------------------------------------- */
div.manage h2 {
    color: var(--sharp-red);
    text-shadow: 0px 0px 0.3rem #123;
}
tbody,
td,
tfoot,
th,
thead,
tr {
    background: #123 !important;
    color: var(--dull-white) !important;
    padding: 1rem !important ;
}
thead tr th {
    font-size: 2.5rem;
    color: var(--dull-red) !important;
}
.manager.center-data {
    margin: 0px !important;
}
.search-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
    width: 100%;
    flex-wrap: wrap;
    max-width: 1100px; 
    margin: 0 auto; 
}

.search-form .form-group {
    flex: 1 1 150px; 
}

.search-form .form-group select {
    padding: 2px 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box; }

.search-form button {
    padding: 5px 30px;
    font-size: 16px;
    background-color: var(--blue);
    color: var(--dull-white);
    border-radius: 4px;
    border: none;
    outline: none;
}

section#form_sec {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
@media (max-width: 1100px) {
    .search-form {
        gap: 20px;
    }
    .search-form .form-group select {
        width: 100%;
    }
}
.status-buttons {
    display: flex;
    justify-content: center;
}

.status-button {
    padding: 10px 30px;
    margin: 0 2px;
    font-size: 16px;
    background-color: var(--sharp-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.status-button:hover{
    background-color: var(--dull-red);
}
.status-button.active {
    background-color: var(--blue);
}