*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f5f5;
}

header{
    background:#FFFFFF;
    padding:20px;
}

.search-area{
    background:#fff;
    padding:20px;
    margin:20px;
}

.search-area input,
.search-area select,
.search-area button{
    width:100%;
    padding:12px;
    margin-bottom:10px;
}

.advertisement{
    background:#ddd;
    padding:50px;
    margin:20px;
    text-align:center;
}

.results{
    background:#fff;
    margin:20px;
    padding:20px;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.auth-card{
    max-width:500px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.auth-card h2{
    margin-bottom:20px;
}

.auth-card label{
    display:block;
    margin-bottom:5px;
    font-weight:bold;
}

.auth-card input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:4px;
}

.auth-card button{
    width:100%;
    padding:14px;
    border:none;
    cursor:pointer;
    background:#0066cc;
    color:#fff;
    border-radius:4px;
    font-size:16px;
}

.auth-card button:hover{
    opacity:.9;
}

.error-box{
    background:#ffeaea;
    border:1px solid #ffbaba;
    color:#cc0000;
    padding:15px;
    margin-bottom:20px;
    border-radius:4px;
}

.error-box p{
    margin:5px 0;
}

.success-box{
    background:#e7ffe7;
    border:1px solid #8bd18b;
    padding:15px;
    margin-bottom:20px;
    border-radius:4px;
    color:#1a7d1a;
	text-align:center;
}

.profile-card{
    background:#fff;
    padding:25px;
    margin-bottom:20px;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.profile-card h2{
    margin-bottom:15px;
}

.profile-card label{
    display:block;
    margin-bottom:5px;
    font-weight:bold;
}

.profile-card input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:4px;
}

.profile-card button{
    background:#0066cc;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:4px;
    cursor:pointer;
}

.profile-card button:hover{
    opacity:.9;
}

textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:4px;
    margin-bottom:15px;
    resize:vertical;
}

select{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:4px;
    margin-bottom:15px;
}

input {
     width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:4px;
    margin-bottom:15px;
}

.page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.search-button {
    margin:5px;
    padding:12px 18px;
    background:#0066cc;
    border-radius:8px;
    color:#fff;
	border: none;
	cursor: pointer;
	
}
.btn-primary{
    display:inline-block;
    margin:0px;
	margin-left:5px;
    background:#0066cc;
    color:#fff;
    text-decoration:none;
    padding:12px 18px;
    border-radius:9px;
	border: none;
	cursor: pointer;
}

.btn-secondary{
    display:inline-block;
    margin:5px;
    padding:12px 18px;
    background:#f2f2f2;
    text-decoration:none;
    border-radius:8px;
    color:#333;
	border: none;
	cursor: pointer;
	
}

.business-card{
    background:#fff;
    padding:20px;
    border-radius:8px;
    margin-bottom:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.business-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.business-info{
    margin-bottom:15px;
}

.business-actions{
    border-top:1px solid #eee;
    padding-top:15px;
}

.status-badge{
    padding:6px 12px;
    border-radius:20px;
    color:#fff;
    font-size:14px;
}

.status-approved{
    background:#28a745;
}

.status-pending{
    background:#f0ad4e;
}

.status-suspended{
    background:#dc3545;
}

.profile-card img{
    display:block;
    margin-bottom:15px;
    border-radius:6px;
    max-width:100%;
    height:auto;
}

.gallery-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.gallery-item{
    background:#fff;
    padding:10px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.gallery-item img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:4px;
}

.delete-btn{
    display:block;
    margin-top:10px;
    text-align:center;
    background:#dc3545;
    color:#fff;
    padding:8px;
    border-radius:4px;
    text-decoration:none;
}

.branch-card{
    border:1px solid #eee;
    padding:15px;
    margin-bottom:15px;
    border-radius:6px;
}

.branch-card h3{
    margin-bottom:10px;
}

.deal-card{
    border:1px solid #eee;
    border-radius:8px;
    padding:15px;
    margin-bottom:20px;
}

.deal-image{
    width:100%;
    max-width:300px;
    border-radius:6px;
    margin-bottom:10px;
}

.stats-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-bottom:20px;
}

.stat-card{
    background:#fff;
    padding:20px;
    text-align:center;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.lead-card{
    border:1px solid #eee;
    padding:15px;
    margin-bottom:20px;
    border-radius:8px;
}

.pricing-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:20px;
}

.pricing-card{
    background:#fff;
    padding:20px;
    border-radius:8px;
    text-align:center;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.subscription-table{
    width:100%;
    border-collapse:collapse;
}

.subscription-table th,
.subscription-table td{
    border:1px solid #ddd;
    padding:10px;
}

.campaign-card{
    border:1px solid #eee;
    border-radius:8px;
    padding:15px;
    margin-bottom:15px;
}

.homepage-header{
	text-align:center;
	margin-bottom:30px;
}

.search-box{
    background:#fff;
    padding:20px;
    border-radius:12px;
	max-width:900px;
    margin:0 auto;
    box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.banner-ad{
    margin:30px 0;
    height:120px;
    background:#f5f5f5;
    border:2px solid #e6e6e6;
	color:#d9d9d9;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.banner-ad img{
    border-radius:8px;
	
}

.results-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(280px,1fr));
    gap:20px;
}

.business-card{
    background:#fff;
    border-radius:8px;
    padding:15px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.business-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:6px;
}

.business-card a{
    color:inherit;
    text-decoration:none;
}

.business-card h3{
    font-size:16px;
    margin-top:10px;
}

.no-results{
    background:#fff;
    padding:30px;
    border-radius:8px;
    text-align:center;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.loading-results{
    background:#ffffff;
    padding:30px;
    text-align:center;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.search-error{
    background:#fff3f3;
    color:#c0392b;
    padding:20px;
    border-radius:8px;
    text-align:center;
    border:1px solid #e6b0aa;
}

.business-banner img{
    width:100%;
    border-radius:8px;
    margin-bottom:20px;
}

.business-logo{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:10px;
}

.business-profile{
    text-align:center;
    margin-bottom:30px;
}

.business-meta{
    margin-top:10px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(200px,1fr));
    gap:15px;
}

.gallery-grid img{
    width:100%;
    border-radius:8px;
}

.branch-card{
    border:1px solid #eee;
    padding:15px;
    border-radius:8px;
    margin-bottom:15px;
}

.category-header{
    text-align:center;
    margin-bottom:30px;
}

.category-header h1{
    margin-bottom:10px;
}
.homepage-header h1 {
	font-size:30px;
}
.header-title {
	font-size:30px;
	width:100%;
	text-align:center;
	
}
.header-nav { 
	width:100%;
	margin:0px;
	padding:0px;
	text-align:center;
}

table{
    border-collapse:collapse;
}

table th,
table td{
    padding:10px;
    border:1px solid #ddd;
    text-align:left;
}

table th{
    background:#f5f5f5;
}

.business-header{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.badge{
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    text-transform:uppercase;
}

.badge.free{
    background:#e5e5e5;
}

.badge.featured{
    background:#ffd700;
}

.badge.premium{
    background:#28a745;
    color:#fff;
}

.badge.sponsored{
    background:#ff5722;
    color:#fff;
}

.stats-bar{

    display:flex;
    justify-content:center;
    gap:40px;

    background:rgba(90,90,90);

    backdrop-filter:blur(6px);

    border:1px solid rgba(60,60,60);

    border-radius:10px;

    padding:15px;

    margin:25px auto;

    max-width:700px;
}

.stat-item{
    text-align:center;
    min-width:120px;
}

.stat-item strong{
    display:block;

    font-size:28px;
    font-weight:700;

    color:#fff;
    line-height:1.2;
}

.stat-item span{
    display:block;

    font-size:14px;
    color:#ddd;

    margin-top:5px;
}

.hero-search{

    background-image:url('../../newsv.png');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    border-radius:12px;

    margin-bottom:30px;

    position:relative;

    overflow:hidden;
}

.hero-overlay{

    background:rgba(0,0,0,0.2);

    padding:60px 30px;

    text-align:center;

    color:#fff;
}

.hero-overlay h1{

    margin:0 0 15px;

    font-size:40px;

    font-weight:700;
	text-shadow:2px 2px 6px rgba(0,0,0,0.5);
}

.hero-overlay p{
    margin-bottom:25px;
    font-size:18px;
	text-shadow:2px 2px 6px rgba(0,0,0,0.5);
}

@media (max-width:768px){

    .stats-bar{
        gap:20px;
        padding:15px;
    }

    .stat-item{
        min-width:90px;
    }

    .stat-item strong{
        font-size:22px;
    }
	.hero-overlay h1{
		font-size:22px;
	}
	.hero-overlay p{
		font-size:12px;
	}
	.stat-item span{
		font-size:12px;
	}
}

/* =====================================
   ADMIN SETTINGS
===================================== */

.profile-card form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.profile-card h2{
    margin-top:30px;
    padding-bottom:10px;
    border-bottom:1px solid #ddd;
}

.profile-card label{
    font-weight:600;
    margin-top:10px;
}

.profile-card input,
.profile-card select,
.profile-card textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:14px;
    box-sizing:border-box;
}

.profile-card textarea{
    min-height:100px;
    resize:vertical;
}

.profile-card hr{
    margin:30px 0;
    border:0;
    border-top:1px solid #eee;
}

.btn-primary{
    background:#28a745;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
    width:fit-content;
}

.btn-primary:hover{
    opacity:0.9;
}

.success-message{
    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;
    padding:12px;
    margin-bottom:20px;
    border-radius:6px;
}

.error-message{
    background:#f8d7da;
    color:#721c24;
    border:1px solid #f5c6cb;
    padding:12px;
    margin-bottom:20px;
    border-radius:6px;
}

/* =====================================
   ADMIN DASHBOARD CARDS
===================================== */

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.dashboard-card{
    display:block;

    background:#ffffff;

    padding:25px;

    border-radius:10px;

    border:1px solid #e5e5e5;

    text-decoration:none;

    color:inherit;

    box-shadow:0 2px 8px rgba(0,0,0,0.05);

    transition:all 0.2s ease;
}

.dashboard-card:hover{
    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,0,0,0.10);
}

.dashboard-card h3{
    margin:0 0 10px;
}

.dashboard-card p{
    margin:0;
    color:#666;
    font-size:14px;
}