
/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ROOT VARIABLES */
:root{
    --primary:#0F172A;
    --secondary:#D4AF37;
    --white:#FFFFFF;
    --light:#F8FAFC;
    --shadow:0 10px 30px rgba(0,0,0,.1);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--light);
}

   /* DASHBOARD LAYOUT */

.dashboard-container{
    display:grid;
    grid-template-columns:280px 1fr;
    min-height:100vh;
}

   /* SIDEBAR */

.sidebar{
    background:var(--primary);
    padding:30px;
}

.logo{
    text-align:center;
    margin-bottom:50px;
}

.logo img{
    width:70px;
    margin-bottom:10px;
}

.logo h2{
    color:var(--secondary);
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    margin-bottom:20px;
}

.sidebar ul li a{
    color:white;
    text-decoration:none;
    display:block;
    padding:12px;
    border-radius:8px;
    transition:.3s;
}

.sidebar ul li a:hover{
    background:rgba(255,255,255,.1);
}

.sidebar i{
    margin-right:10px;
}


   /* MAIN CONTENT */

.main-content{
    padding:40px;
}

.dashboard-header{
    margin-bottom:40px;
}

.dashboard-header h1{
    color:var(--primary);
}

.dashboard-header p{
    color:#666;
}

   /* DASHBOARD SECTIONS */

.dashboard-section{
    background:white;
    padding:30px;
    margin-bottom:30px;
    border-radius:15px;
    box-shadow:var(--shadow);
}

.dashboard-section h2{
    margin-bottom:20px;
    color:var(--primary);
}

   /* PROPERTY GRID */

.property-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.property-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.property-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.property-info{
    padding:15px;
}

.property-info h3{
    color:var(--secondary);
}

   /* LISTINGS TABLE */

.listing-row{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    padding:15px;
    border-bottom:1px solid #eee;
}

   /* MESSAGE BOX */

.message-box{
    background:#f5f5f5;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
}

   /* PROFILE FORM */

.profile-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.profile-form input{
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
}

.profile-form button{
    background:var(--primary);
    color:white;
    border:none;
    padding:14px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
}

.profile-form button:hover{
    background:var(--secondary);
    color:var(--primary);
}


.footer{
    background:var(--primary);
    color:#fff;
    padding-top:60px;
    border-top:3px solid var(--secondary);
}

.footer-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    padding-bottom:40px;
}

.footer h3,
.footer h4{
    color:var(--secondary);
    margin-bottom:15px;
}

.footer p{
    color:#ccc;
    line-height:1.8;
}

.footer-links ul{
    list-style:none;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    text-decoration:none;
    color:#ccc;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--secondary);
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    padding:20px;
    color:#aaa;
}


   /* RESPONSIVE */

@media(max-width:992px){

    .dashboard-container{
        grid-template-columns:1fr;
    }

    .sidebar{
        text-align:center;
    }

}

@media(max-width:768px){

    .main-content{
        padding:20px;
    }

    .listing-row{
        grid-template-columns:1fr;
        gap:10px;
    }

}