body {
    font-family: Arial;
    margin: 0;
    background: #f4f6f9;
}

/* NAVBAR */
.topbar {
    background: #222;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
       margin: auto;
}

.logo {
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    margin: auto;
    width: 10%;
}

/* CONTAINER */
.container {
    width: 95%;
    max-width: 900px;
    margin: auto;
    padding: 15px;
}


/* ACTION BUTTON GROUP */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* space between buttons */
}

/* BUTTON IMPROVEMENT */
button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* BUTTON HOVER */
button:hover {
    background: #0056b3;
}


/* CARDS */
.card {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
}

/* ACTION BUTTON GROUP */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* space between buttons */
}

/* LISTING IMAGE */
.listing-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.main-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
}

.thumb-img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}



/* FULLSCREEN MODAL */
.img-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modalImg {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}


/* BUTTON */
button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 6px;
}

/* STATUS */
.status-pending { color: orange; }
.status-approved { color: green; }
.status-rejected { color: red; }

/* MOBILE NAVBAR FIX */
@media (max-width: 600px) {

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }

    .nav-links a {
        font-size: 12px;
        padding: 5px 8px;
        background: #333;
        border-radius: 5px;
    }

}

/* ================= DASHBOARD STATS ================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 28px;
    margin: 0;
    color: #007bff;
}

.stat-card p {
    margin-top: 8px;
    color: #555;
}

/* ================= ACTIVITY FEED ================= */

.activity-feed {
    margin-top: 20px;
}

.activity-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.activity-item small {
    color: gray;
}