/*|===| COLORS & THEMES |===|*/
:root {
    --CCC5B9: #CCC5B9;
    --FFFCF2: #FFFCF2;
    --FCFCFC: #FCFCFC;
    --11182B: #11182B;
    --262F3E: #262F3E;
    --1A2332: #1A2332;
    --403D39: #403D39;
    --BAFF68: #BAFF68;
    --adf358: #adf358;
}

/*|===| GENERAL |===|*/
* {
    padding: 0;
    margin: 0;
}

html { 
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    /* overflow-y: hidden; */

    background-color: var(--11182B);
    color: var(--FFFCF2);

    font-family: "Urbanist", sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: var(--11182B);
}

::-webkit-scrollbar-track {
    background-color: var(--11182B);
}

::-webkit-scrollbar-thumb {
    background-color: var(--403D39); 
    border-radius: 6px;
}

@media screen and (max-width: 600px) {
    ::-webkit-scrollbar { display: none; }
}

/*|===| PLACEMENT |===|*/
.flex { display: flex; }
.flex__center { display: flex; justify-content: center; align-items: center; }
.center { display: block; margin-left: auto; margin-right: auto; }

/*|===| login |===|*/
.login-wrapper {
    height: 100vh; 
    width: 100%;

    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--11182B);
}

.login-welcome {
    height: calc(100% - 100px);
    width: calc(50% - 150px);

    margin: 50px 75px;

    flex-direction: column;
    justify-content: space-between
}

.login-welcome .welcome-text h1 { font-size: 48px; margin-bottom: 25px; }
.login-welcome .welcome-text p { font-size: 16px;  }

.login-form {
    height: calc(100% - 100px);
    width: calc(50% - 100px);
    padding: 50px; 

    background-color: var(--1A2332);
    flex-direction: column;
}

.login-register-btn-wrapper {
    width: 100%;
    justify-content: flex-end;
}

.login-register-btn-wrapper a { height: 30px; text-decoration: none; }
.login-register-btn-wrapper .login-btn { color: var(--FFFCF2); }
.login-register-btn-wrapper .register-btn { color: var(--11182B); margin-left: 15px; }
.login-register-btn-wrapper a p {
    width: 75px; line-height: 30px;
    height: 30px;
    background-color: var(--262F3E);
    text-align: center;
    border-radius: 5px;
}

.login-register-btn-wrapper .register-btn p { 
    background-color: var(--BAFF68);
}

.login-form { 
    flex-direction: column;
    gap: 250px; 
    justify-content: center;
    align-items: center; 
}
.login-form-container { flex-direction: column;}
.lf-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
}
.lf-text p {
    font-size: 16px;
}

.lf-form { margin-top: 100px; flex-direction: column; }

.lf-form input {
    width: 400px;
    line-height: 50px;
    border: none;
    background-color: var(--262F3E);
    color: var(--FFFCF2);
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 25px; 
}

.lf-form input:disabled {
    background-color: var(--403D39);
    color: var(--CCC5B9);
    cursor: not-allowed;
}

.lf-form input[type="submit"] {
    background-color: var(--BAFF68);
    color: var(--11182B);
    cursor: pointer;
}
.lf-form input[type="submit"]:hover {
    background-color: var(--adf358);
}

.lf-footer {
    margin-top: 10px;
    color: var(--CCC5B9);
    font-size: 14px;

    justify-content: space-between;
}
.lf-footer a {
    color: var(--BAFF68);
    text-decoration: none;
}
.lf-footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 600px) {

    .login-welcome  { display: none; }
    
    .login-form { 
        width: calc(100% - 50px); 
        height: auto; 
        padding: 25px; 
        margin: 0; 
        overflow-y: scroll;
    }

    .lf-form input {
        width: calc(100%);
    }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    .login-welcome { width: calc(50% - 50px); margin: 50px 25px; }

    .login-form { 
        width: calc(50% - 50px); 
        height: auto; 
        padding: 25px; 
        margin: 0; 
        overflow-y: scroll;
    }

    .lf-form input {
        width: calc(100%);
    }
}

.lf-pop-up {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(300px - 30px);
    height: auto;

    z-index: 100 !important;

    background-color: var(--262F3E);
    color: var(--FFFCF2);
    border-radius: 5px;

    padding: 15px;
    text-align: center;
}
.lf-pop-up a { color: var(--BAFF68); text-decoration: none; }
.lf-pop-up p { margin-top: 15px; }


/**|===[ dashboard ]===|**/
.platform-wrapper { 
    width: 100vw;
    height: 100vh;

    flex-direction: row;
}

@media screen and (max-width: 600px) {
    .platform-wrapper { 
        flex-direction: column;
    }
}

/***|===| NAVIGATION BAR |===|*/
.nav-bar { 
    width: calc(250px - 30px);
    height: calc(100% - 30px);
    flex-direction: column;
    padding: 15px;

    position: sticky;
    top: 0; 
    left: 0;
}
.logo-container {
    height: auto;
    width: auto;
    text-decoration: none;
}
.text-green { color: var(--BAFF68); }
.text-white { color: var(--FFFCF2); }

.logo-container img {
    height: 50px;
    width: auto;
}
.logo-container p {
    font-size: 28px;
    font-weight: 600;
    line-height: 50px;
    margin-left: 25px;
}
.nav-logo {
    margin-top: 15px;
}

.nav-section { 
    width: 100%; 
    margin-top: 50px; 
}

.nav-section h2 { 
    font-size: 22px;
    font-weight: 200;
    margin-bottom: 25px; 
}

.link-list {}
.link-list a i {
    width: 40px; height: 40px;
    border-radius: 5px;
    font-size: 20px;
}
.link-list a {
    text-decoration: none;
    color: var(--CCC5B9);
    font-size: 16px;
    border-radius: 5px;
}
.link-list a p { line-height: 40px; padding-left: 10px; }
.link-list a:hover {
    background-color: var(--262F3E);
    cursor: pointer;
}

.link-list a.active {
    color: var(--BAFF68);
    border-radius: 5px;
}
.link-list a.active i {
    background-color: var(--262F3E);
}

@media screen and (max-width: 600px) {

    .nav-mobile-toggle { 
        position: sticky;
        top: 0;
        width: calc(100% - 50px);
        justify-content: space-between;
        padding: 25px;
    }

    .nav-mobile-toggle a, .nav-toggle-mobile-close a {
        color: var(--CCC5B9);
        font-size: 20px;
        text-decoration: none;
        line-height: 50px;;
    }

    .nav-bar {
        display: none; 
        position: fixed;
        top: 0;
        z-index: 10000 !important;
        background-color: #11182B;
        overflow-y: scroll;
        width: calc(100% - 50px);
        height: calc(100% - 50px);
        padding: 25px;
    }
    .nav-bar .nav-logo { gap: 50px; }
    
}
@media screen and (min-width: 601px){
    .nav-mobile-toggle { display: none; }
    .nav-toggle-mobile-close { display: none; }
}

/***|===| DASHBOARD |===|*/
.dashboard-wrapper { 
    width: calc(100% - 250px - 50px);
    height: calc(100% - 50px);
    padding: 25px;
    overflow-y: scroll; 
    flex-direction: column;
}

.dashboard-announcement-bar {
    width: calc(100% - 50px);
    height: auto;
    background-color: var(--BAFF68);
    color: var(--11182B);
    padding: 25px;
    margin-bottom: 25px;
}
.dashboard-announcement-bar h1 {
    margin-bottom: 15px; 
}
.dashboard-announcement-bar a { color: var(--11182B); }

.dashboard-content { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
    grid-template-rows: auto 1fr;
    margin-top: 25px; 
}

.dashboard-card { 
    height: auto; padding: 25px; 

    background-color: var(--1A2332);
    border-radius: 5px;
    
}
.dc-1 { grid-row: 1; grid-column: 1; height: auto; }
.dc-2 { grid-row: 2; grid-column: 1; }
.dc-3 { grid-row: 1 / span 2; grid-column: 2; }

.dc-content hr { 
    width: 100%;
    height: 1px;
    background-color: var(--403D39);
    border: none;
    margin: 25px 0;
}

.dc-profile .dc-information h3 { margin-bottom: 25px; }
.dc-profile .dc-information div { gap: 25px; }
.dc-profile .dc-information p { gap: 15px; }

.dc-recent-listing .dc-header { 
    align-items: flex-end;
    justify-content: space-between;
}
.dc-recent-listing .dc-header a {
    text-decoration: none;
    color: var(--BAFF68);
    font-size: 16px;
}
.dc-recent-listing .dc-header a:hover {
    text-decoration: underline;
}
.dc-listing-wrapper { 
    flex-direction: column;
    gap: 15px;
}
.dc-information .dashboard-listing {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px;

    border-radius: 5px;

    text-decoration: none;
    color: var(--FFFCF2);
}
.dc-information .dashboard-listing:hover {
    background-color: var(--262F3E);
}

.dc-listing-wrapper .dashboard-listing .listing-details h3 {
    font-size: 20px;
    margin-bottom: 10px; 
}
.dc-listing-wrapper .dashboard-listing .dc-list-details {
    flex-direction: column;
    gap: 5px;
}
.dc-listing-wrapper .dashboard-listing .dc-list-specs {
    flex-direction: row;
    gap: 15px;
}

@media screen and (max-width: 400px) {
    .dc-recent-listing .dc-header { 
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .dc-listing-wrapper .dashboard-listing { flex-direction: column; gap: 15px; } 
}

@media screen and (max-width: 600px) {
    .dashboard-wrapper { 
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        padding: 15px;
    }   
    .dashboard-card { padding: 10px; }
}

@media screen and (min-width: 601px) and (max-width: 700px) {
    .dc-listing-wrapper .dashboard-listing { flex-direction: column; gap: 15px; }  
}

@media screen and (max-width: 870px) {
    .dashboard-content { 
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .dc-1 { grid-row: 1; grid-column: 1; }
    .dc-2 { grid-row: 2; grid-column: 1; }
    .dc-3 { grid-row: 3; grid-column: 1; }
}

@media screen and (min-width: 871px) and (max-width: 1100px) {
    .dc-listing-wrapper .dashboard-listing { flex-direction: column; gap: 15px; }  
}

@media screen and (max-width: 1150px) {
    .dc-information .dc-info-details { flex-direction: column;}
}


/***|===| LISTINGS PAGE |===|*/
.listing-dashboard-filter { 
    width: calc(100% - 50px);
    height: auto;
    padding: 25px;
    background-color: var(--1A2332);
    border-radius: 5px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.listing-dashboard-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: auto;
    gap: 25px;
}

.listing-dashboard-wrapper .ld-listing {
    flex-direction: column;
    color: var(--FCFCFC);
    text-decoration: none;
    height: 100%;
}

.ld-listing-image {
  width: 100%;
  overflow: hidden;
}
.listing-dashboard-wrapper .ld-listing-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover
}

.ld-listing-details { 
    flex-direction: column;

    padding: 10px;
    gap: 10px;

    background-color: var(--262F3E);
    border-radius: 0 0 5px 5px;

    /* height: 100%; */
}
.ld-listing-specs .dc-list-specs { gap: 15px; }
.ld-listing-specs .dc-list-specs p { gap: 5px; }

/***|===| LISTING INFO PAGE |===|*/
.property-info-wrapper { 
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 25px;
}
.dashboard-card.pi-specs { background-color: transparent; }
.dashboard-card.pi-photos {
    display: flex;
    flex-direction: column;
    height: auto; 
    overflow: hidden;
    padding: 0;
    margin: 0;

    background-color: transparent;
}

.property-photo-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.dc-list-specs .dc-list-price {
    flex-direction: column;
    gap: 5px;
}
.pi-specs .dc-list-specs { gap: 25px; }
.dc-list-specs .dc-list-price p { color: var(--BAFF68); }
.pi-specs .dc-list-specs { margin-top: 15px; }
.dc-list-specs p { gap: 10px; }

.pi-description li { margin-left: 25px; }

.pi-account-upgrade {
    text-align: center;
}
.pi-account-upgrade a {
    text-decoration: none;
    color: var(--BAFF68);
    font-size: 16px;
}
.pi-account-upgrade a:hover {
    text-decoration: underline;
}

.pi-spec-wrapper { 
    justify-content: space-between;
}
.pi-spec-left { flex-direction: column; gap: 15px; }
.pi-spec-right { gap: 50px; }
.pi-spec-right .dc-list-agent {
    flex-direction: column;
    justify-content: space-between;
}
.pi-spec-right .dcl-agent {
    flex-direction: column;
    gap: 5px;
}
.dc-list-agent a {
    text-decoration: none;
    text-align: center;
    color: var(--11182B);
}
.dc-list-agent a p {
    width: 100px;
    line-height: 35px;
    background-color: var(--BAFF68);
    border-radius: 5px;
}
.dc-list-agent a:hover p {
    background-color: var(--adf358);
}
.property-info-wrapper .dc-list-specs { gap: 50px; }
.property-info-wrapper .dc-list-specs .dcl-spec {
    flex-direction: column;
    gap: 5px;
}

.dc-list-share { gap: 15px; }
.dcl-share {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background-color: var(--BAFF68);
    font-size: 18px;

    color: var(--11182B);
    text-decoration: none;
}
.dcl-share:hover {
    background-color: var(--adf358);
}

.dc-property-map { 
    margin: 0; padding: 0;
    background-color: transparent;
}
.dc-property-map iframe {
    width: 100%;
    height: 400px; 
    border: none;
    /* display: block; */
}

@media screen and (max-width: 1000px) {
    .pi-spec-wrapper { flex-direction: column; gap: 15px; }
    .pi-spec-left .dc-list-specs { flex-flow: row wrap; gap: 25px; }
    .pi-spec-right { margin-top: 15px; }
    .dc-list-agent { gap: 15px; }
}

/***|===| ADD PROPERTY PAGE |===|*/
.add-property-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 25px;
}

.add-property-dashboard .dashboard-card hr {
    width: 100%;
    height: 1px;
    background-color: var(--403D39);
    border: none;
    margin: 25px 0;
}

.add-property-dashboard input {
    min-width: 200px;
    max-width: 400px;
    width: 100%;
    line-height: 35px; 
    border: none;
    background-color: var(--262F3E);
    color: var(--FFFCF2);
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 25px; 
}

.add-property-dashboard .dashboard-card div { 
    justify-content: space-between;
    flex-flow: row wrap;
}

.add-property-dashboard .submit-button {
    justify-content: center;
}
.add-property-dashboard .submit-button button {
    width: 200px;
    height: 50px;
    background-color: var(--BAFF68);
    color: var(--11182B);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.add-property-dashboard .submit-button button:hover {
    background-color: var(--adf358);
}

.add-property-dashboard .submit-button button:disabled {
    background-color: var(--403D39);
    color: var(--CCC5B9);
    cursor: not-allowed;
}
.add-property-dashboard input:disabled {
    background-color: var(--403D39);
    color: var(--CCC5B9);
    cursor: not-allowed;
}

