body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
}

/* HEADER */

.header {
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 150px;
    height: 130px;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    border-radius: 50%;
}

.brand h2 {
    margin: 0;
    color: #0d6efd;
    font-size: 28px;
}

.brand span {
    color: #666;
    font-size: 14px;
}

.header nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

/* NAVIGATION */

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

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: .3s;
}

.main-nav a:hover {
    color: #0d6efd;
}

.main-nav .active {
    color: #0d6efd;
}

/* BUTTONS */

.login-btn {
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    font-weight: bold;
    margin-right: 10px;
}

.register-btn {
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 8px;
    background: #0d6efd;
    color: white;
    font-weight: bold;
}

.account-select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.logout-btn {
    padding: 10px 20px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* HERO */
/* HERO */

.hero {
    background:

        linear-gradient(rgba(0, 0, 0, .60),

            rgba(0, 0, 0, .60)),

        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;
    min-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    width: 90%;
    max-width: 1200px;
}

.hero h1 {
    font-size: 58px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero span {
    color: #4ea5ff;
}

.hero p {
    font-size: 22px;
    color: #ddd;
    margin-bottom: 40px;
}

/* HERO STATS */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stat {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 20px 35px;
    min-width: 170px;
}

.hero-stat h3 {
    font-size: 34px;
    margin: 0;
}

.hero-stat span {
    color: white;
    font-size: 15px;
}

/* SEARCH */

.search-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.search-box input,
.search-box select {
    width: 250px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.search-box button {
    padding: 15px 35px;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.search-box button:hover {
    background: #0b5ed7;
}

/* CATEGORIES */
.categories {
    padding: 80px 40px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 25px;
}

.category-card {
    background: #fff;
    padding: 35px 20px;
    border-radius: 18px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

.category-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 10px;
}

.category-card span {
    color: #0d6efd;
    font-weight: bold;
}

.auth-area {
    display: flex;
    justify-content: center;
}


/* ADS */
.ads {
    padding: 80px 40px;
    background: #f7f9fc;
}

#featuredAds {

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

    gap: 35px;
    margin-top: 40px;
}

.ad-grid {
    display: flex;
    gap: 20px;
}

.ad-card {
    background: white;
    padding: 15px;
    border-radius: 15px;
    width: 300px;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 6px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.ad-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 10px rgba(0, 0, 0, 0.08);
}

.ad-card img {
    width: 100%;
    border-radius: 10px;
}

.watch {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 8px;
    margin-top: 10px;
}

/* VIDEO BOX */
.video-box {
    position: relative;
}

.video-box img {
    width: 100%;
    border-radius: 10px;
}

/* PLAY BUTTON */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.verified {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 5px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.call {
    flex: 1;
    background: linear-gradient(45deg, #ff7043, #ff5722);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
}

.whatsapp {
    flex: 1;
    background: linear-gradient(45deg, #25D366, #1ebe5d);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
}

.call,
.whatsapp {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.call:hover,
.whatsapp:hover {
    transform: translateY(-2px);
}

/* MODAL BACKGROUND */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

/* MODAL BOX */
.modal-content {
    position: relative;
    width: 60%;
    margin: 5% auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

/* VIDEO */
.modal video {
    width: 100%;
    border-radius: 10px;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 25px;
    cursor: pointer;
}

/* AUTH PAGE */
.auth-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #e8f5e9, #ffffff);
}

.form-box {
    background: white;
    padding: 30px;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-box h2 {
    margin-bottom: 20px;
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
}

.form-box button {
    width: 100%;
    padding: 10px;
    background: #2e7d32;
    color: white;
    border: none;
    margin-top: 10px;
    cursor: pointer;
}

.form-box span {
    color: #2e7d32;
    cursor: pointer;
}

/* CREATE AD PAGE */
.ad-form-container {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ad-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.ad-form-container input,
.ad-form-container select,
.ad-form-container textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.ad-form-container button {
    width: 100%;
    padding: 12px;
    background: #2e7d32;
    color: white;
    border: none;
    cursor: pointer;
}

/* PROFILE PAGE */
.profile-container {
    max-width: 700px;
    margin: 30px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.profile-header {
    text-align: center;
}

.profile-video video {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}

.profile-desc {
    margin: 15px 0;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.doc-upload {
    margin-top: 30px;
    padding: 15px;
    background: #f1f8f2;
    border-radius: 10px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 900px) {

    /* HEADER */
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* HERO */
    .hero h1 {
        font-size: 38px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input,
    .search-box select,
    .search-box button {
        width: 100%;
    }

    .hero-stat {
        width: 100%;
    }

    /* CATEGORIES */
    .categories {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* ADS GRID */
    .ad-grid {
        flex-direction: column;
        align-items: center;
    }

    .ad-card {
        width: 90%;
    }

    /* FORM */
    .ad-form-container {
        width: 90%;
        margin: 20px auto;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* PROFILE */
    .profile-container {
        width: 90%;
    }

    /* AUTH */
    .form-box {
        width: 90%;
    }

    /* MODAL */
    .modal-content {
        width: 90%;
        margin-top: 20%;
    }
}

/*==========================================
DASHBOARD OVERVIEW
==========================================*/

.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.overview-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.overview-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #16213e;
}

.overview-card p {
    line-height: 1.8;
    color: #555;
}

.overview-card button {
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #0d6efd;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.overview-card button:hover {
    background: #0b5ed7;
}

/* ADMIN PANEL */
.admin-container {
    max-width: 600px;
    margin: 30px auto;
}

.admin-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/*==========================================
USER STATUS BADGES
==========================================*/

.status-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}

.status-active {
    background: #198754;
}

.status-approved {
    background: #198754;
}

.status-pending {
    background: #ffc107;
    color: #222;
}

.status-banned {
    background: #dc3545;
}

.status-rejected {
    background: #6c757d;
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
}

.pending {
    background: orange;
    color: white;
}

.approved {
    background: green;
    color: white;
}

.rejected {
    background: red;
    color: white;
}

.admin-actions {
    margin-top: 15px;
}

.admin-actions button {
    margin-right: 10px;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
}

.approve {
    background: green;
    color: white;
}

.reject {
    background: red;
    color: white;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 18px;
}

.form-box {
    position: relative;
}

/*==========================================
ADMIN LAYOUT
==========================================*/

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f7fb;
}

/*==========================
SIDEBAR
==========================*/

.admin-sidebar {
    width: 270px;
    background: #16213e;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 30px 22px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .12);
    overflow-y: auto;
}

/* LOGO */

.admin-sidebar h2 {
    margin: 0;
    font-size: 32px;
    text-align: center;
    font-weight: 700;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* MENU ITEM */

.admin-sidebar li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    margin-bottom: 10px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

/* HOVER */

.admin-sidebar li:hover {
    background: #0d6efd;
    transform: translateX(6px);
}

/* ACTIVE */

.admin-sidebar li.active {
    background: #0d6efd;
    box-shadow: 0 8px 18px rgba(13, 110, 253, .35);
}


/* SUB TITLE */

.admin-sidebar::after {
    content: "ADMIN PANEL";
    display: block;
    text-align: center;
    color: #8ea6d8;
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 8px;
    margin-bottom: 35px;
}

.admin-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.admin-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 28px;
    color: #16213e;
}

.admin-main h1 {
    font-size: 34px;
    margin-bottom: 30px;
    color: #16213e;
}

/* MAIN */

.admin-main {
    flex: 1;
    margin-left: 270px;
    padding: 45px;
    background: #f5f7fb;
    min-height: 100vh;
}

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

.stat-card {
    background: linear-gradient(135deg, #0d6efd, #3f8cff);
    color: #fff;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(13, 110, 253, .25);
    transition: .3s;
}

.stat-card:hover {
    transform: translateY(-6px);
}

.stat-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.stat-card p {
    margin-top: 18px;
    font-size: 38px;
    font-weight: bold;
}

/* FOOTER */
.footer {
    position: relative;
    color: rgb(11, 11, 11);
    padding-top: 40px;

    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(136, 183, 138, 0.9)),
        url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d") no-repeat center;

    background-size: cover;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.footer-col {
    width: 200px;
    margin: 10px;
}

.footer-col h3,
.footer-col h2 {
    margin-bottom: 10px;
}

.footer-col p {
    margin: 5px 0;
    cursor: pointer;
}

/* add soft glow effect */
.footer::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 10%, transparent 60%);
}

.footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 60%);
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.header a {
    margin-left: 10px;
}

.verification-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.verification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
}

.document-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.document-box {
    background: #f8f9fb;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    border: 1px solid #ececec;
}

.document-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.verification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.approve-btn,
.reject-btn,
.ban-btn {
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: .25s;
}

.approve-btn {
    background: #198754;
    color: #fff;
}

.reject-btn {
    background: #ffc107;
    color: #222;
}

.ban-btn {
    background: #dc3545;
    color: #fff;
}

.approve-btn:hover,
.reject-btn:hover,
.ban-btn:hover {
    transform: translateY(-2px);
}

.admin-search {
    margin-bottom: 25px;
}

.admin-search input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d8dce5;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
}

.admin-search input:focus {
    border-color: #0d6efd;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.admin-table thead {
    background: #16213e;
    color: #fff;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    vertical-align: middle;
    word-break: break-word;
}

.admin-table tr:hover {
    background: #f8faff;
}

.admin-table button {
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 6px;
    font-weight: 600;
}

.admin-table button:first-child {
    background: #0d6efd;
    color: #fff;
}

.admin-table button:last-child {
    background: #dc3545;
    color: #fff;
}

.admin-table th {
    background: #16213e;
    color: #fff;
    font-weight: 600;
}

.admin-table td:last-child {
    white-space: nowrap;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-bar button {
    border: none;
    background: #eef3ff;
    color: #0d6efd;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: .25s;
}

.filter-bar button:hover {
    background: #0d6efd;
    color: #fff;
}

.seller-container {
    padding: 30px;
}

.seller-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.remove-ad {
    background: #f57c00;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
}

.ban-ad {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
}

.ban-user {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
}

.unban-user {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
}

#advertiserDocs {
    margin-top: 15px;
}

#advertiserDocs label {
    display: block;
    text-align: left;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
}

#advertiserDocs input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
}

/* ================================
LATEST ADS
================================ */

.latest-section {
    background: white;
}

/* ================================
WHY STARUNION
================================ */

.why-section {
    padding: 80px 40px;
    background: #eef4fb;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.why-card i {
    font-size: 48px;
    color: #0d6efd;
    margin-bottom: 20px;
}

.why-card h3 {
    margin-bottom: 15px;
}

/* ================================
JOIN
================================ */

.join-section {
    background: #0d6efd;
    color: white;
    text-align: center;
    padding: 90px 30px;
}

.join-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.join-section p {
    max-width: 700px;
    margin: auto auto 35px;
    font-size: 18px;
    line-height: 1.7;
}

.join-section .register-btn {
    background: white;
    color: #0d6efd;
}

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

.market-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.market-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, .15);
}

.market-image {
    position: relative;
}

.market-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0d6efd;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.market-body {
    padding: 25px;
}

.market-body h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 25px;
}

.market-body p {
    margin: 12px 0;
    color: #555;
}

.market-body i {
    color: #0d6efd;
    width: 22px;
}

.details-btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.details-btn:hover {
    background: #0b5ed7;
}

/*==========================================
PUBLIC AD DETAILS PAGE
==========================================*/

.public-ad-page {
    max-width: 1300px;
    margin: 40px auto;
}

.public-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

/*==========================================
IMAGE GALLERY
==========================================*/

.public-gallery {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.main-ad-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.thumb-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.thumb-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
    border: 3px solid transparent;
}

.thumb-image:hover {
    transform: scale(1.05);
    border-color: #0d6efd;
}

/*==========================================
BUSINESS INFO
==========================================*/

.public-info {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.public-info h1 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 38px;
    color: #222;
}

.public-info p {
    font-size: 18px;
    margin: 18px 0;
    line-height: 1.6;
}

.public-info strong {
    color: #0d6efd;
}

/*==========================================
CONTACT BUTTONS
==========================================*/

.contact-buttons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.call-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 16px;
    background: #0d6efd;
    color: #fff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

.call-btn:hover {
    background: #0b5ed7;
}

.whatsapp-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 16px;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

.whatsapp-btn:hover {
    background: #1db954;
}

/*==========================================
VIDEO
==========================================*/

.public-video {
    margin-top: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.public-video h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.public-video video {
    width: 100%;
    border-radius: 15px;
}

/*==========================================
DESCRIPTION
==========================================*/

.public-description {
    margin-top: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.public-description h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.public-description p {
    line-height: 1.8;
    font-size: 17px;
    color: #555;
}

/*==========================================
RELATED ADS
==========================================*/

#relatedAds {
    margin-top: 50px;
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

@media(max-width:900px) {

    .public-top {
        grid-template-columns: 1fr;
    }

    .main-ad-image {
        height: 320px;
    }

    .thumb-image {
        width: 70px;
        height: 70px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .call-btn,
    .whatsapp-btn {
        width: 100%;
    }

}

/*==========================================
SELLER DASHBOARD
==========================================*/

.seller-dashboard {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 25px;
}

.seller-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.seller-top h1 {
    margin: 0;
    font-size: 38px;
}

.seller-top p {
    margin: 8px 0 0;
    color: #666;
}

.dashboard-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dashboard-menu a {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    background: white;
    color: #222;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
}

.dashboard-menu a:hover {
    background: #0d6efd;
    color: white;
}

.dashboard-menu .active {
    background: #0d6efd;
    color: white;
}

.seller-info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    margin-bottom: 35px;
}

.quick-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 35px 0;
}

.quick-btn {
    flex: 1;
    min-width: 240px;
    text-align: center;
    text-decoration: none;
    padding: 18px;
    border-radius: 15px;
    background: #0d6efd;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

.quick-btn:hover {
    background: #0b5ed7;
}

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

.dashboard-section h2 {
    margin-bottom: 25px;
}

.recent-ads-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;
}

.empty-box {
    background: white;
    padding: 50px;
    text-align: center;
    border-radius: 20px;
    color: #777;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

@media(max-width:900px) {

    .dashboard-menu {
        width: 100%;
        justify-content: center;
    }

    .seller-top {
        justify-content: center;
        text-align: center;
    }

    .quick-actions {
        flex-direction: column;
    }
}

/*==========================================
BOTTOM NAVIGATION
==========================================*/

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, .10);
    z-index: 9999;
}

.bottom-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: .3s;
    font-size: 13px;
    font-weight: 600;
}

.bottom-item i {
    font-size: 22px;
}

.bottom-item:hover {
    color: #0d6efd;
}

.bottom-item.active {
    color: #0d6efd;
}

/* Desktop */

@media(min-width:901px) {
    .bottom-nav {
        display: none;
    }
}

/* Mobile */

@media(max-width:900px) {
    body {
        padding-bottom: 80px;
    }
}

/*==========================================
CUSTOM MODAL
==========================================*/

.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-modal-box {
    width: 420px;
    max-width: 90%;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
    animation: modalPop .25s ease;
}

@keyframes modalPop {
    from {
        transform: scale(.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-modal-box h2 {
    margin-top: 0;
    color: #16213e;
}

.custom-modal-box p {
    margin: 20px 0;
    color: #555;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-ok,
.modal-cancel {
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.modal-ok {
    background: #0d6efd;
    color: #fff;
}

.modal-cancel {
    background: #e9ecef;
}