/* ==========================================
   TargoMax - Main Stylesheet
   ========================================== */

:root {
    --bp-primary: #2563eb;
    --bp-primary-dark: #1d4ed8;
    --bp-secondary: #64748b;
    --bp-success: #16a34a;
    --bp-warning: #f59e0b;
    --bp-danger: #dc2626;
    --bp-light: #f8fafc;
    --bp-dark: #1e293b;
    --bp-border: #e2e8f0;
    --bp-shadow: 0 1px 3px rgba(0,0,0,.1);
    --bp-shadow-lg: 0 10px 25px rgba(0,0,0,.1);
    --bp-radius: 12px;
    --bp-radius-sm: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bp-dark);
    color: var(--bp-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
    background: var(--bp-light);
}

/* Navbar */
.navbar { box-shadow: var(--bp-shadow); }
.bg-primary { background-color: var(--bp-primary) !important; }
.btn-warning { background: var(--bp-warning); border-color: var(--bp-warning); color: #000; font-weight: 600; }
.btn-warning:hover { background: #d97706; border-color: #d97706; }

/* Search */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--bp-border);
    border-radius: 0 0 var(--bp-radius-sm) var(--bp-radius-sm);
    box-shadow: var(--bp-shadow-lg);
    z-index: 1050;
    max-height: 300px;
    overflow-y: auto;
}
.search-suggestions .suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--bp-border);
}
.search-suggestions .suggestion-item:hover { background: var(--bp-light); }

/* Category Cards - Homepage Grid */
.category-card {
    background: white;
    border-radius: var(--bp-radius);
    padding: 16px 10px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    border: 1px solid var(--bp-border);
    text-decoration: none;
    color: var(--bp-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    height: 100%;
    min-height: 120px;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--bp-shadow-lg);
    color: var(--bp-primary);
    border-color: var(--bp-primary);
}
.category-card .cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2px;
    transition: transform .2s;
}
.category-card:hover .cat-icon { transform: scale(1.1); }
.category-card i:not(.cat-icon i) {
    font-size: 2rem;
    color: var(--bp-primary);
    margin-bottom: 8px;
    display: block;
}

/* Category color themes */
.cat-color-1  { background: #dbeafe; color: #2563eb; }
.cat-color-2  { background: #fce7f3; color: #db2777; }
.cat-color-3  { background: #e0e7ff; color: #4f46e5; }
.cat-color-4  { background: #fef3c7; color: #d97706; }
.cat-color-5  { background: #d1fae5; color: #059669; }
.cat-color-6  { background: #ede9fe; color: #7c3aed; }
.cat-color-7  { background: #cffafe; color: #0891b2; }
.cat-color-8  { background: #fee2e2; color: #dc2626; }
.cat-color-9  { background: #ecfccb; color: #65a30d; }
.cat-color-10 { background: #fce4ec; color: #e91e63; }
.cat-color-11 { background: #e8eaf6; color: #3f51b5; }
.cat-color-12 { background: #fff3e0; color: #e65100; }
.cat-color-13 { background: #e8f5e9; color: #2e7d32; }
.cat-color-14 { background: #f5f5f5; color: #616161; }

/* All-Categories page */
.category-list-card {
    background: white;
    border-radius: var(--bp-radius);
    border: 1px solid var(--bp-border);
    overflow: hidden;
    transition: box-shadow .2s;
}
.category-list-card:hover { box-shadow: var(--bp-shadow-lg); }
.category-list-card .cat-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--bp-border);
}
.category-list-card .cat-header .cat-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 1.3rem; }
.category-list-card .sub-list {
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.category-list-card .sub-item {
    padding: 6px 0;
    font-size: .875rem;
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}
.category-list-card .sub-item:hover { color: var(--bp-primary); }
.category-list-card .sub-item .count { color: #94a3b8; font-size: .75rem; margin-left: auto; }
.category-list-card .cat-footer {
    padding: 8px 20px 12px;
    border-top: 1px solid var(--bp-border);
}

/* Ad Cards */
.ad-card {
    background: white;
    border-radius: var(--bp-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    border: 1px solid var(--bp-border);
    height: 100%;
    position: relative;
}
.ad-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bp-shadow-lg);
}
.ad-card .ad-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f1f5f9;
}
.ad-card .ad-body {
    padding: 12px 15px;
}
.ad-card .ad-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--bp-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.ad-card .ad-title:hover { color: var(--bp-primary); }
.ad-card .ad-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bp-primary);
    margin-top: 8px;
}
.ad-card .ad-meta {
    font-size: .8rem;
    color: var(--bp-secondary);
    margin-top: 6px;
}

/* Promotion Badges */
.badge-promo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}
.badge-urgent { background: var(--bp-danger); }
.badge-top { background: var(--bp-warning); color: #000; }
.badge-highlight { border: 2px solid var(--bp-warning); }

.ad-card.promoted { border-color: var(--bp-warning); }
.ad-card.promoted-highlight { background: #fffbeb; }

/* Favorite button */
.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background .2s;
}
.btn-favorite:hover { background: white; }
.btn-favorite.active { color: var(--bp-danger); }

/* Filters Sidebar */
.filters-card {
    background: white;
    border-radius: var(--bp-radius);
    padding: 20px;
    border: 1px solid var(--bp-border);
}
.filter-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bp-border);
}
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--bp-secondary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
    display: block;
}

/* Seller Profile */
.seller-header {
    background: white;
    border-radius: var(--bp-radius);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--bp-border);
}
.seller-banner {
    height: 200px;
    background: linear-gradient(135deg, var(--bp-primary), #7c3aed);
    background-size: cover;
    background-position: center;
    position: relative;
}
.seller-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
}
.seller-info {
    padding: 0 24px 24px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}
.seller-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid white;
    background: white;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.seller-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.seller-stats span { margin-right: 20px; font-size: .9rem; color: var(--bp-secondary); }

/* Ad Detail Page */
.ad-gallery { position: relative; }
.ad-gallery .main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: var(--bp-radius);
}
.ad-gallery .thumb-list {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
}
.ad-gallery .thumb-list img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--bp-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.ad-gallery .thumb-list img:hover,
.ad-gallery .thumb-list img.active { border-color: var(--bp-primary); }

.ad-sidebar {
    background: white;
    border-radius: var(--bp-radius);
    padding: 24px;
    border: 1px solid var(--bp-border);
    position: sticky;
    top: 80px;
}
.ad-sidebar .price-big {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bp-primary);
}

/* CTA Buttons */
.btn-cta { padding: 12px 20px; font-weight: 600; border-radius: var(--bp-radius-sm); width: 100%; margin-bottom: 8px; }
.btn-cta i { margin-right: 8px; }

/* Chat */
.chat-list { max-height: calc(100vh - 200px); overflow-y: auto; }
.chat-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bp-border);
    cursor: pointer;
    transition: background .2s;
}
.chat-item:hover, .chat-item.active { background: #f0f4ff; }
.chat-item.unread { background: #eff6ff; font-weight: 600; }
.chat-messages { max-height: 400px; overflow-y: auto; padding: 16px; }
.message-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 8px;
    font-size: .95rem;
    line-height: 1.4;
}
.message-bubble.sent {
    background: var(--bp-primary);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}
.message-bubble.received {
    background: #f1f5f9;
    border-bottom-left-radius: 4px;
}

/* Chat attachments */
.msg-attachments { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-img-thumb {
    max-width: 220px;
    max-height: 180px;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity .2s;
    display: block;
}
.chat-img-thumb:hover { opacity: .85; }
.chat-video {
    max-width: 280px;
    max-height: 200px;
    border-radius: 10px;
    display: block;
}

/* Chat file preview before send */
.chat-file-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-preview-item {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}
.chat-preview-item img,
.chat-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat-preview-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    background: rgba(0,0,0,.3);
    pointer-events: none;
}
.chat-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-preview-remove:hover { background: rgba(220,38,38,.9); }

/* Chat lightbox */
.chat-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.chat-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 40px rgba(0,0,0,.5);
    cursor: default;
}
.chat-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}
.chat-lightbox-close:hover { color: #f87171; }

/* Admin */
.admin-sidebar {
    background: var(--bp-dark);
    min-height: 100vh;
    color: white;
}
.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 10px 20px;
    border-radius: var(--bp-radius-sm);
    margin: 2px 8px;
}
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: rgba(255,255,255,.1);
    color: white;
}

/* Utility */
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.card-custom {
    background: white;
    border-radius: var(--bp-radius);
    border: 1px solid var(--bp-border);
    padding: 24px;
}
a.stat-card {
    transition: transform .15s, box-shadow .15s;
}
a.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--bp-shadow-lg);
}
.badge-verified {
    background: var(--bp-success);
    color: white;
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 20px;
}
.no-image-placeholder {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}

/* Wizard Steps */
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.wizard-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    color: var(--bp-secondary);
}
.wizard-step.active { color: var(--bp-primary); font-weight: 600; }
.wizard-step.completed { color: var(--bp-success); }
.wizard-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    font-size: .85rem;
}
.wizard-step.active .step-num { background: var(--bp-primary); color: white; border-color: var(--bp-primary); }
.wizard-step.completed .step-num { background: var(--bp-success); color: white; border-color: var(--bp-success); }

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 0;
    padding-bottom: env(safe-area-inset-bottom, 4px);
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
    z-index: 1040;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--bp-secondary);
    font-size: .65rem;
    padding: 4px 8px;
    transition: color .2s;
    gap: 1px;
}
.mobile-nav-item i { font-size: 1.3rem; }
.mobile-nav-item:hover,
.mobile-nav-item:active { color: var(--bp-primary); }
.mobile-nav-publish {
    background: var(--bp-warning);
    color: #000 !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    box-shadow: 0 2px 8px rgba(245,158,11,.4);
}
.mobile-nav-publish i { font-size: 1.5rem; }
.mobile-nav-publish span { display: none; }

/* Mobile Responsive */
@media (max-width: 991px) {
    /* Bottom padding for mobile nav */
    main { padding-bottom: 70px; }
    footer { margin-bottom: 64px; }
    #backToTop { bottom: 80px !important; }

    /* Navbar compact */
    .navbar .container { padding-left: 12px; padding-right: 12px; }
    .navbar-brand { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    /* ---- Hero Section ---- */
    .hero-section { padding: 30px 0 28px !important; }
    .hero-section h1 { font-size: 1.45rem !important; line-height: 1.3; }
    .hero-section p { font-size: .9rem !important; margin-bottom: 12px !important; }
    .hero-section .input-group-lg .form-control { font-size: .9rem !important; padding: 10px 12px !important; }
    .hero-section .input-group-lg .btn { font-size: .9rem !important; padding: 10px 14px !important; }
    .hero-section .input-group-lg .input-group-text { padding: 10px 12px !important; }
    .hero-section .btn-sm { font-size: .72rem; padding: 3px 10px; }

    /* ---- Section Titles ---- */
    .section-title { font-size: 1.1rem; }

    /* ---- Category Cards ---- */
    .category-card { padding: 10px 6px; min-height: 95px; gap: 4px; }
    .category-card .cat-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 1.2rem; }
    .category-card .fw-semibold { font-size: .7rem !important; }
    .category-card small { font-size: .6rem !important; }

    /* ---- Ad Cards ---- */
    .ad-card .ad-image { height: 140px; }
    .no-image-placeholder { height: 140px; font-size: 2rem; }
    .ad-card .ad-body { padding: 8px 10px 10px; }
    .ad-card .ad-title { font-size: .8rem; -webkit-line-clamp: 2; line-height: 1.25; }
    .ad-card .ad-price { font-size: .9rem; margin-top: 4px; line-height: 1.3; }
    .ad-card .ad-price .text-decoration-line-through { font-size: .65em !important; }
    .ad-card .ad-price .badge { font-size: .55em !important; padding: 2px 4px; }
    .ad-card .ad-meta { font-size: .68rem; margin-top: 4px; }
    .badge-promo { font-size: .6rem; padding: 2px 6px; top: 6px; left: 6px; }
    .btn-favorite { width: 30px; height: 30px; top: 6px; right: 6px; }
    .btn-favorite i { font-size: .85rem; }

    /* ---- Ad Detail Page ---- */
    .ad-sidebar { position: static; }
    .ad-gallery .main-image,
    .ad-gallery-main img { max-height: 300px !important; }
    .ad-gallery-thumb { width: 60px !important; height: 45px !important; }
    .ad-description { font-size: .9rem; }

    /* ---- Seller Banner ---- */
    .seller-banner { height: 100px; }
    .seller-info { padding: 0 16px 16px; margin-top: -30px; }
    .seller-avatar { width: 65px; height: 65px; }
    .seller-name { font-size: 1.15rem; }
    .seller-stats span { font-size: .8rem; margin-right: 12px; }

    /* ---- Mobile Filter Button ---- */
    .mobile-filter-toggle {
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1040;
        box-shadow: var(--bp-shadow-lg);
    }

    /* ---- Sticky bottom CTA ---- */
    .mobile-cta {
        position: fixed;
        bottom: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 10px 16px;
        box-shadow: 0 -2px 10px rgba(0,0,0,.1);
        z-index: 1030;
        display: flex;
        gap: 8px;
    }
    .mobile-cta .btn { flex: 1; }

    /* ---- Cards & Containers ---- */
    .card-custom { padding: 12px; }
    .container { padding-left: 10px; padding-right: 10px; }

    /* ---- Tables ---- */
    .table-responsive { -webkit-overflow-scrolling: touch; }
    .table { font-size: .85rem; }
    .table td, .table th { padding: 8px 6px; }

    /* ---- Forms ---- */
    .card-body { padding: 14px; }

    /* ---- Footer ---- */
    footer.bg-dark { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    footer h5 { font-size: 1.1rem; }
    footer h6 { font-size: .95rem; }

    /* ---- CTA Section ---- */
    #ctaSection .card-custom { padding: 24px 16px !important; }
    #ctaSection h3 { font-size: 1.2rem; }
    #ctaSection p { font-size: .85rem; }
    #ctaSection .btn-lg { font-size: .95rem; padding: 10px 24px; }

    /* ---- Account Pages ---- */
    .wizard-steps { flex-wrap: wrap; gap: 4px; }
    .wizard-step { padding: 0 10px; font-size: .8rem; }
    .wizard-step .step-num { width: 26px; height: 26px; font-size: .75rem; }

    /* ---- Chat ---- */
    .message-bubble { max-width: 85%; font-size: .88rem; }
    .chat-img-thumb { max-width: 180px; max-height: 140px; }

    /* ---- Breadcrumb ---- */
    .breadcrumb { font-size: .78rem; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; }
    .breadcrumb-item + .breadcrumb-item::before { padding: 0 4px; }
}

/* Mobile CTA bar on ad detail */
@media (max-width: 768px) {
    .mobile-cta-bar {
        bottom: 56px !important;
        padding: 8px 12px !important;
        z-index: 1035;
    }
    .mobile-cta-bar .fw-bold { font-size: 1.05rem; }
    .mobile-cta-bar .btn-sm { font-size: .82rem; padding: 6px 12px; white-space: nowrap; }
}

/* Small phones */
@media (max-width: 380px) {
    .ad-card .ad-image { height: 120px; }
    .no-image-placeholder { height: 120px; }
    .ad-card .ad-title { font-size: .75rem; }
    .ad-card .ad-price { font-size: .82rem; }
    .ad-card .ad-meta { font-size: .62rem; }
    .category-card { min-height: 80px; padding: 8px 4px; }
    .category-card .cat-icon { width: 34px; height: 34px; font-size: 1rem; }
    .hero-section h1 { font-size: 1.25rem !important; }
    .mobile-nav-item { font-size: .6rem; padding: 4px 4px; }
    .mobile-nav-item i { font-size: 1.15rem; }
    .mobile-nav-publish { width: 42px; height: 42px; }
}

@media (min-width: 992px) {
    .mobile-cta { display: none; }
    .mobile-filter-toggle { display: none; }
}

/* Loading */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Delivery option cards */
.delivery-option {
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
    border-color: var(--bp-border) !important;
    background: #fff;
}
.delivery-option:hover {
    border-color: var(--bp-primary) !important;
    background: #eff6ff;
}
.delivery-option .delivery-check { display: none; font-size: 1.1rem; }
input[type="radio"]:checked + .delivery-option {
    border-color: var(--bp-primary) !important;
    background: #eff6ff;
    box-shadow: 0 0 0 2px var(--bp-primary);
}
input[type="radio"]:checked + .delivery-option .delivery-check { display: inline; }

/* Form validation - red text */
.is-invalid { border-color: var(--bp-danger) !important; }
.is-invalid:focus { box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25) !important; }
.is-invalid + .select2-container .select2-selection { border-color: var(--bp-danger) !important; }
.ad-field-error { font-weight: 600; }

/* Image sortable drag */
.img-preview-item { transition: transform 0.15s; }
.img-preview-item.sortable-ghost { opacity: 0.4; transform: scale(0.95); }

/* Image upload */
.image-upload-zone {
    border: 2px dashed var(--bp-border);
    border-radius: var(--bp-radius-sm);
    padding: 10px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: var(--bp-light);
}
.image-upload-zone:hover, .image-upload-zone.dragover {
    border-color: var(--bp-primary);
    background: #eff6ff;
}
.image-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.image-preview-item {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: var(--bp-radius-sm);
    overflow: hidden;
}
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(220,38,38,.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: .7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer.bg-dark {
    background: var(--bp-dark) !important;
}
footer.bg-dark h5,
footer.bg-dark h6 {
    color: #fff;
}
footer.bg-dark p,
footer.bg-dark .text-muted {
    color: #94a3b8 !important;
}
footer.bg-dark a.text-muted,
footer.bg-dark a {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: color .2s;
}
footer.bg-dark a:hover {
    color: #fff !important;
}
footer.bg-dark hr {
    border-color: #334155;
}

/* ==========================================
   OAuth / Social Login Buttons
   ========================================== */
.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-google {
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0 !important;
}
.btn-google:hover {
    background: #f7f8f8;
    color: #3c4043;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.btn-facebook {
    background: #1877F2;
    color: #fff;
}
.btn-facebook:hover {
    background: #166fe5;
    color: #fff;
    box-shadow: 0 1px 3px rgba(24,119,242,0.4);
}
.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}
.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}
.divider-text span {
    padding: 0 12px;
}
