body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    margin: 0;
    color: #222;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.hero {
    background: #f8fafc;
    padding: 70px 0 40px;
    margin-bottom: 20px;
    text-align: center;
}

.hero-title {
    font-size: 50px;
    color: #0f172a !important;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.hero-text {
    font-size: 22px;
    color: #334155 !important;
    font-weight: 600;
    margin: 18px auto 28px;
    max-width: 850px;
    text-align: center;
    line-height: 1.5;
}

.search-bar {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.search-bar input,
.search-bar select {
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    background: #ffffff;
    color: #111;
    outline: none;
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-bar button {
    padding: 14px 18px;
    border: none;
    background: #111827;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s ease;
}

.search-bar button:hover {
    background: #1f2937;
}

.section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 28px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.category-card {
    background: white;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    color: #1f2937;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-4px);
    background: #eff6ff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #111827;
}

.card-body p {
    margin: 0;
    color: #4b5563;
    line-height: 1.5;
}

.rating {
    color: #f59e0b;
    font-weight: bold;
    margin-top: 12px;
    font-size: 20px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-description {
    line-height: 1.7;
    color: #444;
    margin-top: 15px;
}

.badge-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    color: white;
}

.verified-badge {
    background: #16a34a;
}

.featured-badge {
    background: #f59e0b;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

.detail-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.detail-subtitle {
    color: #666;
    margin-bottom: 8px;
}

.detail-rating {
    color: #f59e0b;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: #2563eb;
}

.btn-success {
    background: #25d366;
}

.btn-dark {
    background: #1f2937;
}

.review-box {
    border-top: 1px solid #eee;
    padding: 16px 0;
}

.review-box h4 {
    margin: 0;
    color: #111827;
}

.review-box p {
    color: #4b5563;
    line-height: 1.6;
}

.logo {
    text-align: center;
    padding: 20px;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-text {
        font-size: 18px;
        padding: 0 10px;
    }

    .search-bar {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .card-body h3 {
        font-size: 18px;
    }
    
}

.search-summary {
    margin-top: -5px;
    margin-bottom: 20px;
    color: #475569;
    font-size: 16px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
    margin: 20px 0 10px;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.business-hero {
    margin-bottom: 24px;
}

.business-hero-image {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.business-hero-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.business-hero-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.business-main-card h1 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 36px;
    color: #0f172a;
}

.business-main-card .detail-subtitle {
    font-size: 18px;
    color: #475569;
}

.business-main-card .detail-description {
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .business-hero-image img {
        height: 220px;
    }

    .business-main-card h1 {
        font-size: 28px;
    }
}

.search-summary {
    margin-top: -5px;
    margin-bottom: 20px;
    color: #475569;
    font-size: 16px;
}

.pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 28px;
}

.page-btn {
    display: inline-block;
    padding: 10px 14px;
    background: white;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    transition: 0.2s ease;
}

.page-btn:hover {
    background: #eff6ff;
}

.active-page {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.empty-state {
    background: white;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: #0f172a;
}

.empty-state p {
    color: #475569;
    margin-bottom: 20px;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.auth-card h1 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0f172a;
}

.auth-subtext {
    color: #64748b;
    margin-bottom: 20px;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form input {
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

.auth-form button {
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.auth-link-row {
    margin-top: 16px;
}

.auth-link-row a {
    color: #2563eb;
    text-decoration: none;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #0f172a;
    color: white;
    padding: 24px;
}

.admin-sidebar h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.admin-welcome {
    color: #cbd5e1;
    margin-bottom: 24px;
}

.admin-nav {
    display: grid;
    gap: 10px;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
}

.admin-nav a:hover {
    background: rgba(255,255,255,0.12);
}

.admin-main {
    background: #f8fafc;
    padding: 28px;
}

.admin-topbar h1 {
    margin-top: 0;
    color: #0f172a;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: white;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.admin-stat-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #475569;
}

.admin-stat-card p {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.admin-panel {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
    color: #475569;
    font-size: 14px;
}

.simple-admin-page {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.simple-admin-page a {
    color: #2563eb;
    text-decoration: none;
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }
}
.admin-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-search-form input {
    flex: 1;
    min-width: 240px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

.admin-search-form button {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mini-btn {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.approve-btn {
    background: #16a34a;
}

.feature-btn {
    background: #f59e0b;
}

.view-btn {
    background: #2563eb;
}

.delete-btn {
    background: #dc2626;
}

.admin-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-form input,
.admin-form select {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

.admin-form button {
    padding: 12px 18px;
    border: none;
    background: #16a34a;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.success-box {
    background: #dcfce7;
    color: #166534;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}
/* ============================= */
/* ADMIN LAYOUT */
/* ============================= */

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #f1f5f9;
}

/* ============================= */
/* SIDEBAR */
/* ============================= */

.admin-sidebar {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: white;
    padding: 24px;
}

.sidebar-top h2 {
    margin: 0;
    font-size: 22px;
}

.admin-welcome {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
}

.admin-nav {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    color: #cbd5f5;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.nav-link.active {
    background: #2563eb;
    color: white;
}

.nav-link.logout {
    margin-top: 20px;
    background: rgba(239,68,68,0.2);
}

.nav-link.logout:hover {
    background: #ef4444;
}

/* ============================= */
/* MAIN AREA */
/* ============================= */

.admin-main {
    padding: 30px;
}

/* ============================= */
/* TOPBAR */
/* ============================= */

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-topbar h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

/* ============================= */
/* STATS */
/* ============================= */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border-left: 5px solid #2563eb;
    transition: 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
}

.admin-stat-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #64748b;
}

.admin-stat-card p {
    font-size: 30px;
    font-weight: bold;
    color: #0f172a;
}

/* ============================= */
/* PANEL */
/* ============================= */

.admin-panel {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

/* ============================= */
/* TABLE */
/* ============================= */

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    text-align: left;
}

.admin-table tr:hover {
    background: #f1f5f9;
}

/* ============================= */
/* SEARCH FORM */
/* ============================= */

.admin-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-search-form input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.admin-search-form button {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* ============================= */
/* FORMS */
/* ============================= */

.admin-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-form input,
.admin-form select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.admin-form button {
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    background: #16a34a;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mini-btn {
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: bold;
}

.approve-btn { background: #22c55e; }
.feature-btn { background: #f59e0b; }
.delete-btn { background: #ef4444; }
.view-btn { background: #3b82f6; }

/* ============================= */
/* ALERTS */
/* ============================= */

.success-box {
    background: #dcfce7;
    color: #166534;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-block.full {
    grid-column: 1 / -1;
}

.form-block label {
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}

.form-block input,
.form-block select,
.form-block textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    font-family: inherit;
    background: white;
}

.form-block textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
    font-weight: 600 !important;
}

.primary-submit-btn {
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
}

.primary-submit-btn:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }
}

.lead-btn {
    background: #7c3aed;
}

.lead-btn {
    background: #7c3aed;
}
.state-search-bar {
    grid-template-columns: 1.4fr 1fr 1fr auto;
}

@media (max-width: 768px) {
    .state-search-bar {
        grid-template-columns: 1fr;
    }
}

.state-search-bar {
    grid-template-columns: 1.4fr 1fr 1fr auto;
}

@media (max-width: 768px) {
    .state-search-bar {
        grid-template-columns: 1fr;
    }
}

.notif-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 6px;
    margin-left:8px;
    border-radius:999px;
    background:#e11d48;
    color:#fff;
    font-size:12px;
    font-weight:700;
    line-height:1;
}

.site-header{
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    position:sticky;
    top:0;
    z-index:999;
}

.site-header-inner{
    max-width:1200px;
    margin:0 auto;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.site-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#0f172a;
}

.site-logo-img{
    width:52px;
    height:52px;
    object-fit:contain;
    border-radius:10px;
    background:#fff;
}

.site-brand-text strong{
    display:block;
    font-size:20px;
    line-height:1.1;
}

.site-brand-text span{
    display:block;
    font-size:12px;
    color:#64748b;
    margin-top:2px;
}

.site-nav{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.nav-btn{
    text-decoration:none;
    padding:10px 14px;
    border-radius:10px;
    background:#0f172a;
    color:#fff;
    font-weight:600;
    font-size:14px;
    display:inline-block;
}

.nav-btn:hover{
    opacity:.92;
}

.nav-btn.active{
    background:#2563eb;
}

.site-footer{
    background:#0f172a;
    color:#cbd5e1;
    margin-top:40px;
}

.site-footer-inner{
    max-width:1200px;
    margin:0 auto;
    padding:34px 20px 20px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:24px;
}

.site-footer h3,
.site-footer h4{
    color:#fff;
    margin-top:0;
}

.site-footer a{
    color:#cbd5e1;
    text-decoration:none;
    display:block;
    margin-bottom:8px;
}

.site-footer a:hover{
    color:#fff;
}

.site-footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding:16px 20px 24px;
    max-width:1200px;
    margin:0 auto;
    font-size:14px;
    color:#94a3b8;
}

.footer-brand{
    display:flex;
    align-items:flex-start;
    gap:12px;
}

.footer-logo-img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:10px;
    background:#fff;
    flex-shrink:0;
}

@media (max-width: 900px){
    .site-header-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .site-footer-inner{
        grid-template-columns:1fr;
    }
}

.site-header{
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    position:sticky;
    top:0;
    z-index:999;
}

.site-header-inner{
    max-width:1200px;
    margin:0 auto;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.site-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#0f172a;
}

.site-logo-img{
    width:52px;
    height:52px;
    object-fit:contain;
    border-radius:10px;
    background:#fff;
}

.site-brand-text strong{
    display:block;
    font-size:20px;
    line-height:1.1;
}

.site-brand-text span{
    display:block;
    font-size:12px;
    color:#64748b;
    margin-top:2px;
}

.site-nav{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.nav-btn{
    text-decoration:none;
    padding:10px 14px;
    border-radius:10px;
    background:#0f172a;
    color:#fff;
    font-weight:600;
    font-size:14px;
    display:inline-block;
}

.nav-btn:hover{
    opacity:.92;
}

.nav-btn.active{
    background:#2563eb;
}

.smart-user-bar{
    background:#f8fafc;
    border-top:1px solid #e5e7eb;
}

.smart-user-bar-inner{
    max-width:1200px;
    margin:0 auto;
    padding:10px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    font-size:14px;
}

.smart-user-bar-inner a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

@media (max-width: 900px){
    .site-header-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}

.site-footer{
    background:#0f172a;
    color:#cbd5e1;
    margin-top:40px;
}

.site-footer-inner{
    max-width:1200px;
    margin:0 auto;
    padding:34px 20px 20px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:24px;
}

.site-footer h3,
.site-footer h4{
    color:#fff;
    margin-top:0;
    margin-bottom:12px;
}

.site-footer a{
    color:#cbd5e1;
    text-decoration:none;
    display:block;
    margin-bottom:8px;
}

.site-footer a:hover{
    color:#fff;
}

.site-footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding:16px 20px 24px;
    max-width:1200px;
    margin:0 auto;
    font-size:14px;
    color:#94a3b8;
}

.footer-brand{
    display:flex;
    align-items:flex-start;
    gap:12px;
}

.footer-logo-img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:10px;
    background:#fff;
    flex-shrink:0;
}

@media (max-width: 900px){
    .site-footer-inner{
        grid-template-columns:1fr;
    }
}


/* ================= MOBILE RESPONSIVENESS ================= */

/* Make stats responsive */
.admin-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
}

.admin-stat-card{
    padding:16px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

/* Tables scroll smoothly on small screens */
.list-table{
    min-width:600px;
}

/* Improve buttons on small screens */
.btn{
    padding:10px 14px;
    font-size:14px;
}

/* Fix dashboard layout for tablets */
@media (max-width: 768px){

    .owner-hero{
        padding:20px;
    }

    .owner-hero h1{
        font-size:22px;
    }

    .owner-hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .owner-hero-actions a{
        width:100%;
        text-align:center;
    }

    .dashboard-card{
        padding:16px;
    }

    .dashboard-card h2{
        font-size:18px;
    }

    /* Reduce table text size */
    .list-table th,
    .list-table td{
        font-size:13px;
        padding:10px 8px;
    }
}

/* Extra small devices (phones) */
@media (max-width: 480px){

    .owner-hero h1{
        font-size:18px;
    }

    .owner-hero p{
        font-size:13px;
    }

    .admin-stat-card h3{
        font-size:14px;
    }

    .admin-stat-card p{
        font-size:16px;
        font-weight:bold;
    }

    /* Stack quick links nicely */
    .quick-links a{
        font-size:14px;
        padding:10px;
    }

    /* Make badges smaller */
    .badge{
        font-size:11px;
        padding:5px 8px;
    }

    /* Make progress bar thinner */
    .subtle{
        font-size:12px;
    }
}



@media (max-width: 768px){
    .admin-shell{
        display: block;
    }

    .admin-sidebar{
        width: 100%;
    }

    .admin-main{
        width: 100%;
        padding: 16px;
    }
}