




/* ================= GLOBAL ================= */

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

body{
    font-family:Arial, sans-serif;
    background:#f5f7fb;
    color:#222;
    line-height:1.5;
}

a{
    text-decoration:none;
}

.container{
    width:95%;
    max-width:1200px;
    margin:20px auto;
}

h1,h2,h3{
    margin-bottom:10px;
}

/* ================= HERO SECTION ================= */

.hero{
    background:#f4f1ea;

    padding:80px 20px;

    text-align:center;

    border-radius:20px;

    margin-top:20px;
}

.hero h1{
    font-size:48px;

    color:#333;

    margin-bottom:20px;
}

.hero p{
    font-size:18px;

    color:#666;

    max-width:700px;

    margin:auto;
}

.hero-buttons{
    margin-top:30px;

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;
}

.hero-buttons a{
    background:#d8d2c5;

    color:#333;

    padding:14px 24px;

    border-radius:14px;

    transition:0.3s;

    font-weight:bold;
}

.hero-buttons a:hover{
    background:#c5beae;
}


/* ================= ALERTS ================= */

.alart{
    padding:15px 20px;

    border-radius:12px;

    margin:20px 0;

    font-weight:bold;

    animation:fadeIn 0.3s ease;
}

.success-alert{
    background:#dcefdc;

    color:#2d5e2d;

    border:1px solid #b8d8b8;
}

.error-alart{
    background:#f8d7da;

    color:#842029;

    border:1px solid #f1aeb5;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* ================= TABLE ================= */

.table-wrapper{

overflow-x:auto;
}

.custom-table{

width:100%;

border-collapse:collapse;
}

.custom-table th,
.custom-table td{

padding:14px;

border-bottom:1px solid #eee;

text-align:left;
}

.custom-table th{

background:#f5f5f5;
}

.used-status{

background:#c94b4b;

color:white;

padding:6px 10px;

border-radius:8px;

font-size:12px;
}

.unused-status{

background:#5c7c5c;

color:white;

padding:6px 10px;

border-radius:8px;

font-size:12px;
}

.success-box{

background:#dff0d8;

padding:14px;

border-radius:10px;

margin-bottom:20px;

color:#3c763d;
}

.page-title{

margin-bottom:25px;
}

/* ================= PROFILE PAGE ================= */

.profile-card{

background:white;

padding:25px;

border-radius:18px;

box-shadow:0 2px 12px rgba(0,0,0,0.08);

margin-bottom:25px;
}

.profile-top{

display:flex;

align-items:center;

gap:20px;

margin-bottom:25px;
}

.profile-avatar{

width:80px;

height:80px;

border-radius:50%;

background:#5c7c5c;

color:white;

display:flex;

align-items:center;

justify-content:center;

font-size:32px;

font-weight:bold;
}

.profile-stats{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(150px,1fr));

gap:15px;
}

.stat-box{

background:#f5f5f5;

padding:20px;

border-radius:14px;

text-align:center;
}

.profile-section{

background:white;

padding:25px;

border-radius:18px;

margin-bottom:25px;

box-shadow:0 2px 12px rgba(0,0,0,0.08);
}

.profile-section form{

display:grid;

gap:15px;
}

.profile-section input,
.profile-section select{

padding:14px;

border:1px solid #ddd;

border-radius:10px;

font-size:15px;
}

.profile-section button{

background:#5c7c5c;

color:white;

border:none;

padding:14px;

border-radius:10px;

cursor:pointer;
}

.history-item{

display:flex;

justify-content:space-between;

align-items:center;

padding:15px 0;

border-bottom:1px solid #eee;
}

.profile-actions{

display:flex;

gap:15px;

flex-wrap:wrap;
}

.profile-btn{

display:inline-block;

padding:12px 20px;

border-radius:10px;

background:#5c7c5c;

color:white;

text-decoration:none;
}

.logout-btn{

background:#c94b4b;
}

/* MOBILE */

@media(max-width:768px){

.profile-top{

flex-direction:column;

text-align:center;
}

.profile-stats{

grid-template-columns:1fr;
}

.history-item{

flex-direction:column;

align-items:flex-start;

gap:10px;
}
}

/* ================= AUTH PAGES ================= */

.auth-container{
    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;
}

.auth-card{
    background:white;

    width:100%;

    max-width:420px;

    padding:35px;

    border-radius:20px;

    box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

.auth-card h1{
    text-align:center;

    margin-bottom:25px;

    color:#333;
}

.auth-card p{
    text-align:center;

    color:#777;

    margin-bottom:20px;
}

.auth-card button{
    width:100%;

    background:#b8aa8c;

    color:white;

    font-weight:bold;
}

.auth-card button:hover{
    background:#a69676;
}

/* ================= FOOTER ================= */

.footer{
    margin-top:40px;

    padding:30px;

    text-align:center;

    color:#777;

    font-size:14px;
}

/* ================= FEATURE SECTION ================= */

.features{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    margin-top:40px;
}

.feature-card{
    background:white;

    padding:25px;

    border-radius:18px;

    box-shadow:0 2px 10px rgba(0,0,0,0.06);

    text-align:center;
}

.feature-card h3{
    margin-bottom:12px;

    color:#333;
}

.feature-card p{
    color:#666;
}



/* ================= NAVBAR ================= */

/* ================= NAVBAR ================= */

.navbar{
    background:  #222;

    color: white;

    padding: 15px 20px;

    display: flex;

    justify-content: space-between;

       margin: auto;

}
    border-bottom:1px solid #ddd;
}

.navbar-logo{
    color:red;
    font-size:250px;
    font-weight:bold;
}

.nav-links{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.nav-links a{
    color:#444;
    background:#ebe7de;
    padding:10px 16px;
    border-radius:12px;

    transition:0.3s;

    font-size:14px;
}

.nav-links a:hover{
    background:#d8d2c5;
    color:black;
}


/* ================= CARD ================= */

.card{
    background:white;
    padding:20px;
    border-radius:14px;
    margin-bottom:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

/* ================= FORMS ================= */

form{
    margin-top:10px;
}

input,
textarea,
select{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:10px;
    margin-bottom:12px;
    font-size:15px;
}

textarea{
    min-height:120px;
    resize:vertical;
}

button{
    background:#0d6efd;
    color:white;
    border:none;
    padding:12px 18px;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
    font-size:15px;
}

button:hover{
    opacity:0.9;
}

/* ================= LISTINGS ================= */

.listing-card{
    margin-bottom:25px;
}

.listing-description{
    margin-top:12px;
    margin-bottom:12px;
    color:#333;
    line-height:1.7;
    
    column-width:100%;
    column-gap:30px;
    max-height:200px;
	overflow-x:auto;
    
}

.listing-time{
    color:gray;
    font-size:13px;
    margin-bottom:10px;
}

/* ================= MULTIPLE IMAGES ================= */

.listing-images{
    display:flex;
    gap:10px;
    overflow-x:auto;
    margin-top:15px;
    padding-bottom:10px;
width:100%;
    height:100%;
	
}

.listing-thumb{
    width:80%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:0.3s;
    flex-shrink:0;
    border:2px solid #eee;
}

.listing-thumb:hover{
    transform:scale(1.03);
}

/* ================= FILTER FORM ================= */

.filter-form{
    display:flex;
    gap:10px;
    margin-bottom:20px;
    flex-wrap:wrap;
    background:white;
    padding:15px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.filter-form input,
.filter-form select{
    flex:1;
    min-width:180px;
    margin-bottom:0;
}


/* ================= BROKER DASHBOARD ================= */

.dashboard-section{
    margin-top:30px;
}

.dashboard-title{
    margin-bottom:20px;

    color:#444;

    font-size:26px;
}

/* GRID VIEW */

.dashboard-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:20px;
}

/* LISTING CARD */

.dashboard-listing{
    background:white;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 2px 8px rgba(0,0,0,0.05);

    transition:0.3s;

    max-width:360px;
}

.dashboard-listing:hover{
    transform:translateY(-3px);
}

/* MAIN IMAGE */

.dashboard-main-image{
    width:100%;
    height:120px;

    object-fit:cover;

    border-radius:12px 12px 0 0;
}

/* CONTENT */

.dashboard-content{
    padding:18px;
}

.dashboard-content h3{
    margin-bottom:10px;

    color:#333;
}

.dashboard-content p{
    color:#666;

    margin-bottom:8px;
}

/* ACTIONS */

.dashboard-actions{
    display:flex;

    gap:10px;

    margin-top:15px;

    flex-wrap:wrap;
}

/* SMALL BUTTONS */

.small-btn{
    padding:8px 14px;

    border-radius:10px;

    font-size:13px;

    border:none;

    cursor:pointer;

    transition:0.3s;
}

/* DONE BUTTON */

.done-btn{
    background:#e7e1d4;

    color:#555;
}

.done-btn:hover{
    background:#d8d0bf;
}

/* EDIT BUTTON */

.edit-btn{
    background:#dce8d5;

    color:#355b2f;
}

.edit-btn:hover{
    background:#c8dbbf;
}

/* REQUESTS BUTTON */

.request-btn{
    background:#d8e2ef;

    color:#315173;
}

.request-btn:hover{
    background:#c4d6ea;
}




/* ================= DASHBOARD STATS ================= */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
    margin-bottom:25px;
}

.stat-card{
    background:white;
    border-radius:14px;
    padding:20px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.stat-card h3{
    font-size:30px;
    color:#0d6efd;
}

.stat-card p{
    margin-top:8px;
    color:#555;
}

/* ================= ACTIVITY FEED ================= */

.activity-feed{
    margin-top:20px;
}

.activity-item{
    background:white;
    padding:15px;
    border-radius:12px;
    margin-bottom:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.activity-item small{
    color:gray;
}

/* ================= TABLES ================= */

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:10px;
    overflow:hidden;
}

th,
td{
    padding:12px;
    border-bottom:1px solid #eee;
    text-align:left;
}

th{
    background:#0d6efd;
    color:white;
}

/* ================= ALERTS ================= */

.success{
    background:#d1e7dd;
    color:#0f5132;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
}

.error{
    background:#f8d7da;
    color:#842029;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
}





/* ================= SEARCH PAGE ================= */

.search-card{

background:white;

padding:25px;

border-radius:16px;

margin-bottom:30px;

box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.search-card form{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));

gap:15px;
}

.search-card input,
.search-card select{

padding:12px;

border:1px solid #ddd;

border-radius:10px;

font-size:15px;
}

.search-card button{

background:#5c7c5c;

color:white;

border:none;

padding:14px;

border-radius:10px;

cursor:pointer;

font-size:16px;
}

.search-card button:hover{

opacity:0.9;
}




/* ================= SINGLE LISTING ================= */

.single-listing-card{

background:white;

border-radius:18px;

overflow:hidden;

padding:20px;

box-shadow:0 2px 12px rgba(0,0,0,0.08);
}

.single-main-image{

width:100%;

height:500px;

object-fit:cover;

border-radius:4px;

margin-bottom:5px;
}

.gallery-row{

display:flex;

gap:10px;

overflow-x:auto;

margin-bottom:20px;
}

.gallery-thumb{

width:110px;

height:90px;

object-fit:cover;

border-radius:10px;

cursor:pointer;

transition:0.3s;
}

.gallery-thumb:hover{

transform:scale(1.05);
}

.single-content h1{

font-size:32px;

margin-bottom:10px;
}

.single-price{

font-size:28px;

font-weight:bold;

color:#5c7c5c;

margin-bottom:15px;
}

.single-description{

line-height:1.8;

margin-top:20px;

color:#444;
}

/* MOBILE */

@media(max-width:768px){

.single-main-image{

height:280px;
}

.single-content h1{

font-size:24px;
}

.single-price{

font-size:22px;
}

.gallery-thumb{

width:80px;

height:70px;
}
}






/* ================= MOBILE ================= */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        align-items:flex-start;
    }

    .nav-links{
        width:100%;
        justify-content:flex-start;
    }

    .nav-links a{
        font-size:13px;
        padding:8px 10px;
    }

    .listing-thumb{
        width:80%;
        height:80%;
    }

    .filter-form{
        flex-direction:column;
    }

    .filter-form input,
    .filter-form select,
    .filter-form button{
        width:100%;
    }

    .stats-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:500px){

    .stats-grid{
        grid-template-columns:1fr;
    }

    .listing-thumb{
        width:80%;
        height:80%;
    }

    button{
        width:100%;
    }
}