/* ================================================================
   Baipar Frontend Styles
   ================================================================ */

/* CSS Variables */
:root {
    --baipar-primary: #2563eb;
    --baipar-primary-dark: #1d4ed8;
    --baipar-secondary: #64748b;
    --baipar-success: #16a34a;
    --baipar-danger: #dc2626;
    --baipar-warning: #f59e0b;
    --baipar-light: #f8fafc;
    --baipar-dark: #0f172a;
    --baipar-border: #e2e8f0;
    --baipar-radius: 8px;
    --baipar-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --baipar-shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --baipar-transition: all 0.3s ease;
}

/* Grid */
.baipar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Card */
.baipar-card {
    background: #fff;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    overflow: hidden;
    transition: var(--baipar-transition);
    box-shadow: var(--baipar-shadow);
}

.baipar-card:hover {
    box-shadow: var(--baipar-shadow-lg);
    transform: translateY(-2px);
}

.baipar-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.baipar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.baipar-card:hover .baipar-card-image img {
    transform: scale(1.05);
}

.baipar-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--baipar-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.baipar-card-badge.featured {
    background: var(--baipar-warning);
    color: #000;
}

.baipar-card-body {
    padding: 16px;
}

.baipar-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--baipar-dark);
}

.baipar-card-title a {
    color: inherit;
    text-decoration: none;
}

.baipar-card-title a:hover {
    color: var(--baipar-primary);
}

.baipar-card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--baipar-secondary);
    margin-bottom: 8px;
}

.baipar-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--baipar-primary);
    margin-bottom: 8px;
}

.baipar-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--baipar-border);
    font-size: 13px;
}

.baipar-card-rating {
    color: var(--baipar-warning);
}

/* Buttons */
.baipar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--baipar-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--baipar-transition);
    text-decoration: none;
}

.baipar-btn-primary {
    background: var(--baipar-primary);
    color: #fff;
}

.baipar-btn-primary:hover {
    background: var(--baipar-primary-dark);
}

.baipar-btn-outline {
    background: transparent;
    border: 1px solid var(--baipar-border);
    color: var(--baipar-dark);
}

.baipar-btn-outline:hover {
    border-color: var(--baipar-primary);
    color: var(--baipar-primary);
}

.baipar-btn-danger {
    background: var(--baipar-danger);
    color: #fff;
}

.baipar-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.baipar-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.baipar-btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Forms */
.baipar-form-group {
    margin-bottom: 16px;
}

.baipar-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--baipar-dark);
}

.baipar-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    font-size: 14px;
    transition: var(--baipar-transition);
    box-sizing: border-box;
}

.baipar-form-control:focus {
    outline: none;
    border-color: var(--baipar-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.baipar-form-control {
    min-height: 120px;
    resize: vertical;
}

/* Search */
.baipar-search {
    background: #fff;
    padding: 24px;
    border-radius: var(--baipar-radius);
    box-shadow: var(--baipar-shadow-lg);
    margin-bottom: 32px;
}

.baipar-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.baipar-search-form .baipar-form-control {
    flex: 1;
    min-width: 200px;
}

.baipar-search-filters {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Single Listing */
.baipar-single-listing {
    max-width: 900px;
    margin: 0 auto;
}

.baipar-single-gallery {
    margin-bottom: 24px;
}

.baipar-single-gallery img {
    width: 100%;
    border-radius: var(--baipar-radius);
}

.baipar-single-header {
    margin-bottom: 24px;
}

.baipar-single-header h1 {
    font-size: 28px;
    margin: 0 0 12px;
}

.baipar-single-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--baipar-secondary);
    font-size: 14px;
}

.baipar-single-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--baipar-primary);
    margin-bottom: 16px;
}

.baipar-single-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.baipar-single-content {
    line-height: 1.8;
    margin-bottom: 32px;
}

.baipar-single-sidebar {
    background: var(--baipar-light);
    padding: 20px;
    border-radius: var(--baipar-radius);
    margin-bottom: 24px;
}

/* Reviews */
.baipar-reviews {
    margin-top: 32px;
}

.baipar-review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--baipar-border);
}

.baipar-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.baipar-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.baipar-review-stars {
    color: var(--baipar-warning);
}

/* Plans */
.baipar-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.baipar-plan-card {
    background: #fff;
    border: 2px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    padding: 24px;
    text-align: center;
    transition: var(--baipar-transition);
}

.baipar-plan-card.current {
    border-color: var(--baipar-primary);
    background: #eff6ff;
}

.baipar-plan-card:hover {
    border-color: var(--baipar-primary);
}

.baipar-plan-header h3 {
    font-size: 20px;
    margin: 0 0 12px;
}

.baipar-plan-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--baipar-primary);
    margin-bottom: 16px;
}

.baipar-plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: right;
}

.baipar-plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--baipar-border);
}

/* Ads */
.baipar-ads {
    margin-bottom: 24px;
}

.baipar-ad-item {
    margin-bottom: 16px;
}

.baipar-ad-item img {
    width: 100%;
    border-radius: var(--baipar-radius);
}

/* Notifications */
.baipar-notification {
    padding: 12px 16px;
    border-radius: var(--baipar-radius);
    margin-bottom: 8px;
    background: var(--baipar-light);
    border-right: 3px solid var(--baipar-primary);
}

.baipar-notification.unread {
    background: #eff6ff;
    font-weight: 500;
}

/* Pagination */
.baipar-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.baipar-pagination a,
.baipar-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    text-decoration: none;
    color: var(--baipar-dark);
    transition: var(--baipar-transition);
}

.baipar-pagination .current {
    background: var(--baipar-primary);
    color: #fff;
    border-color: var(--baipar-primary);
}

.baipar-pagination a:hover {
    border-color: var(--baipar-primary);
    color: var(--baipar-primary);
}

/* Loading */
.baipar-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.baipar-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--baipar-border);
    border-top-color: var(--baipar-primary);
    border-radius: 50%;
    animation: baipar-spin 0.8s linear infinite;
}

@keyframes baipar-spin {
    to { transform: rotate(360deg); }
}

/* Alerts */
.baipar-alert {
    padding: 12px 16px;
    border-radius: var(--baipar-radius);
    margin-bottom: 16px;
}

.baipar-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.baipar-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.baipar-alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Modal */
.baipar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.baipar-modal {
    background: #fff;
    border-radius: var(--baipar-radius);
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.baipar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.baipar-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--baipar-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .baipar-grid {
        grid-template-columns: 1fr;
    }

    .baipar-plans {
        grid-template-columns: 1fr;
    }

    .baipar-search-form {
        flex-direction: column;
    }

    .baipar-single-header h1 {
        font-size: 22px;
    }
}

/* ================================================================
   Star Ratings
   ================================================================ */
.baipar-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--baipar-warning);
    font-size: 16px;
    line-height: 1;
}

.baipar-stars.sm { font-size: 12px; }
.baipar-stars.md { font-size: 16px; }
.baipar-stars.lg { font-size: 24px; }

.baipar-stars .star {
    cursor: pointer;
    transition: color 0.15s ease;
}

.baipar-stars .star.empty { color: #d1d5db; }
.baipar-stars .star.half {
    position: relative;
    display: inline-block;
}

.baipar-stars-value {
    margin-left: 6px;
    font-size: 14px;
    color: var(--baipar-secondary);
    font-weight: 500;
}

/* ================================================================
   Two-Column Layout
   ================================================================ */
.baipar-two-col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

@media (max-width: 768px) {
    .baipar-two-col {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Section Titles
   ================================================================ */
.baipar-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--baipar-border);
    color: var(--baipar-dark);
}

/* ================================================================
   Features List
   ================================================================ */
.baipar-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.baipar-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--baipar-dark);
}

.baipar-features-list .feature-icon {
    color: var(--baipar-success);
    font-size: 14px;
    flex-shrink: 0;
}

/* ================================================================
   Business Hours
   ================================================================ */
.baipar-hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.baipar-hours td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--baipar-border);
}

.baipar-hours .day-label {
    font-weight: 500;
    color: var(--baipar-dark);
    white-space: nowrap;
}

.baipar-hours .hours-value {
    text-align: right;
    color: var(--baipar-secondary);
}

.baipar-hours tr.today {
    background: #eff6ff;
    font-weight: 600;
}

.baipar-hours tr.today .day-label {
    color: var(--baipar-primary);
}

.baipar-hours .closed {
    color: var(--baipar-danger);
}

/* ================================================================
   Contact Card
   ================================================================ */
.baipar-contact-card {
    background: #fff;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.baipar-contact-card h3 {
    font-size: 16px;
    margin: 0 0 12px;
    color: var(--baipar-dark);
}

.baipar-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--baipar-secondary);
}

.baipar-contact-item i {
    width: 18px;
    text-align: center;
    color: var(--baipar-primary);
    flex-shrink: 0;
}

.baipar-contact-item a {
    color: var(--baipar-primary);
    text-decoration: none;
}

.baipar-contact-item a:hover {
    text-decoration: underline;
}

/* ================================================================
   Social Links
   ================================================================ */
.baipar-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.baipar-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--baipar-light);
    color: var(--baipar-secondary);
    text-decoration: none;
    transition: var(--baipar-transition);
    font-size: 16px;
}

.baipar-social-links a:hover {
    background: var(--baipar-primary);
    color: #fff;
}

/* ================================================================
   Tags
   ================================================================ */
.baipar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.baipar-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--baipar-light);
    border: 1px solid var(--baipar-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--baipar-secondary);
    text-decoration: none;
    transition: var(--baipar-transition);
}

.baipar-tag:hover {
    border-color: var(--baipar-primary);
    color: var(--baipar-primary);
}

/* ================================================================
   Quick Info
   ================================================================ */
.baipar-quick-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.baipar-quick-info li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--baipar-border);
    font-size: 14px;
}

.baipar-quick-info .info-label {
    color: var(--baipar-secondary);
}

.baipar-quick-info .info-value {
    font-weight: 500;
    color: var(--baipar-dark);
}

/* ================================================================
   Events List
   ================================================================ */
.baipar-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.baipar-event-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    transition: var(--baipar-transition);
}

.baipar-event-item:hover {
    box-shadow: var(--baipar-shadow);
}

.baipar-event-item.past {
    opacity: 0.6;
}

.baipar-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--baipar-primary);
    color: #fff;
    border-radius: var(--baipar-radius);
    flex-shrink: 0;
    text-align: center;
    line-height: 1.2;
}

.baipar-date-badge .month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.baipar-date-badge .day {
    font-size: 20px;
    font-weight: 700;
}

.baipar-event-info {
    flex: 1;
}

.baipar-event-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--baipar-dark);
}

.baipar-event-meta {
    font-size: 13px;
    color: var(--baipar-secondary);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.baipar-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ================================================================
   Coupons List
   ================================================================ */
.baipar-coupons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.baipar-coupon-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px dashed var(--baipar-border);
    border-radius: var(--baipar-radius);
    transition: var(--baipar-transition);
}

.baipar-coupon-item:hover {
    border-color: var(--baipar-primary);
}

.baipar-coupon-item.expired {
    opacity: 0.5;
}

.baipar-coupon-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 12px;
    background: var(--baipar-success);
    color: #fff;
    border-radius: var(--baipar-radius);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.baipar-coupon-info {
    flex: 1;
}

.baipar-coupon-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--baipar-dark);
}

.baipar-coupon-info p {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--baipar-secondary);
}

.baipar-coupon-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--baipar-light);
    border: 1px solid var(--baipar-border);
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--baipar-dark);
}

.baipar-coupon-code .copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--baipar-primary);
    font-size: 14px;
    padding: 0;
}

.baipar-coupon-expiry {
    font-size: 12px;
    color: var(--baipar-danger);
    margin-top: 4px;
}

/* ================================================================
   Favorite Button
   ================================================================ */
.baipar-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    background: #fff;
    color: var(--baipar-secondary);
    cursor: pointer;
    transition: var(--baipar-transition);
    font-size: 14px;
    text-decoration: none;
}

.baipar-favorite-btn:hover,
.baipar-favorite-btn.active {
    border-color: var(--baipar-danger);
    color: var(--baipar-danger);
}

.baipar-favorite-btn.active {
    background: #fef2f2;
}

.baipar-favorite-btn.sm { padding: 4px 10px; font-size: 12px; }
.baipar-favorite-btn.lg { padding: 12px 24px; font-size: 16px; }

.baipar-favorite-count {
    font-size: 12px;
    color: var(--baipar-secondary);
    margin-left: 2px;
}

/* Dashboard Favorites Table */
.baipar-favorites-table .baipar-favorite-listing {
    display: flex;
    align-items: center;
    gap: 12px;
}

.baipar-favorite-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--baipar-border);
}

.baipar-favorite-listing-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.baipar-favorite-title {
    font-weight: 600;
    color: var(--baipar-dark);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.baipar-favorite-title:hover {
    color: var(--baipar-primary);
}

.baipar-favorite-price {
    font-size: 13px;
    color: var(--baipar-primary);
    font-weight: 600;
}

.baipar-favorite-location {
    font-size: 13px;
    color: var(--baipar-secondary);
}

.baipar-favorite-location i {
    color: var(--baipar-danger);
    font-size: 11px;
}

.baipar-badge-category {
    display: inline-block;
    padding: 2px 8px;
    background: var(--baipar-light);
    border-radius: 12px;
    font-size: 12px;
    color: var(--baipar-secondary);
}

.baipar-text-muted {
    color: #999;
    font-size: 13px;
}

/* ================================================================
   Claim Button
   ================================================================ */
.baipar-claim-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--baipar-warning);
    border-radius: var(--baipar-radius);
    background: #fffbeb;
    color: #92400e;
    cursor: pointer;
    transition: var(--baipar-transition);
    font-size: 14px;
    text-decoration: none;
}

.baipar-claim-btn:hover {
    background: var(--baipar-warning);
    color: #000;
}

/* ================================================================
   Layout Switcher
   ================================================================ */
.baipar-layout-switcher {
    display: flex;
    gap: 4px;
}

.baipar-layout-switcher button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--baipar-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    color: var(--baipar-secondary);
    transition: var(--baipar-transition);
}

.baipar-layout-switcher button.active,
.baipar-layout-switcher button:hover {
    border-color: var(--baipar-primary);
    color: var(--baipar-primary);
    background: #eff6ff;
}

/* ================================================================
   Empty State
   ================================================================ */
.baipar-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--baipar-secondary);
}

.baipar-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.baipar-empty h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--baipar-dark);
}

.baipar-empty p {
    margin: 0 0 16px;
    font-size: 14px;
}

/* ================================================================
   Filter Sidebar
   ================================================================ */
.baipar-filter-sidebar {
    background: #fff;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    padding: 20px;
}

.baipar-filter-sidebar h3 {
    font-size: 16px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--baipar-border);
}

.baipar-filter-group {
    margin-bottom: 16px;
}

.baipar-filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--baipar-dark);
}

/* ================================================================
   Pros & Cons
   ================================================================ */
.baipar-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .baipar-pros-cons {
        grid-template-columns: 1fr;
    }
}

.baipar-pros,
.baipar-cons {
    padding: 12px;
    border-radius: var(--baipar-radius);
    font-size: 13px;
}

.baipar-pros {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.baipar-cons {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.baipar-pros h5,
.baipar-cons h5 {
    margin: 0 0 8px;
    font-size: 14px;
}

.baipar-pros h5 { color: var(--baipar-success); }
.baipar-cons h5 { color: var(--baipar-danger); }

.baipar-pros ul,
.baipar-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.baipar-pros li,
.baipar-cons li {
    padding: 2px 0;
}

/* ================================================================
   Rating Distribution
   ================================================================ */
.baipar-rating-distribution {
    margin-bottom: 20px;
}

.baipar-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
}

.baipar-rating-row .label {
    width: 40px;
    text-align: right;
    color: var(--baipar-secondary);
}

.baipar-rating-row .bar {
    flex: 1;
    height: 8px;
    background: var(--baipar-border);
    border-radius: 4px;
    overflow: hidden;
}

.baipar-rating-row .bar-fill {
    height: 100%;
    background: var(--baipar-warning);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.baipar-rating-row .count {
    width: 30px;
    font-size: 12px;
    color: var(--baipar-secondary);
}

/* ================================================================
   Verified Badge
   ================================================================ */
.baipar-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #dbeafe;
    color: var(--baipar-primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* ================================================================
   Open/Closed Indicator
   ================================================================ */
.baipar-open-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}

.baipar-open-indicator.open { color: var(--baipar-success); }
.baipar-open-indicator.closed { color: var(--baipar-danger); }

.baipar-open-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.baipar-open-indicator.open .dot { background: var(--baipar-success); }
.baipar-open-indicator.closed .dot { background: var(--baipar-danger); }

/* ================================================================
   Notification Type Icons
   ================================================================ */
.baipar-notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.baipar-notification-icon.review { background: #fef3c7; color: #92400e; }
.baipar-notification-icon.lead { background: #dbeafe; color: #1e40af; }
.baipar-notification-icon.booking { background: #f3e8ff; color: #6b21a8; }
.baipar-notification-icon.claim { background: #fce7f3; color: #9d174d; }
.baipar-notification-icon.favorite { background: #fee2e2; color: #991b1b; }
.baipar-notification-icon.payment { background: #d1fae5; color: #065f46; }
.baipar-notification-icon.subscription { background: #e0e7ff; color: #3730a3; }
.baipar-notification-icon.system { background: #f1f5f9; color: #475569; }

/* ================================================================
   Plan Featured Badge
   ================================================================ */
.baipar-plan-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--baipar-warning);
    color: #000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ================================================================
   Plan Feature Check/Cross
   ================================================================ */
.baipar-plan-features .feature-check { color: var(--baipar-success); }
.baipar-plan-features .feature-cross { color: #d1d5db; }

/* ================================================================
   Character Count
   ================================================================ */
.baipar-char-count {
    text-align: right;
    font-size: 12px;
    color: var(--baipar-secondary);
    margin-top: 4px;
}

/* ================================================================
   File Upload
   ================================================================ */
.baipar-file-upload {
    position: relative;
}

.baipar-file-upload input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px dashed var(--baipar-border);
    border-radius: var(--baipar-radius);
    cursor: pointer;
}

/* ================================================================
   Consent Checkbox
   ================================================================ */
.baipar-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--baipar-secondary);
}

.baipar-consent input[type="checkbox"] {
    margin-top: 2px;
}

/* ================================================================
   Sort Options
   ================================================================ */
.baipar-sort-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.baipar-sort-options a {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--baipar-secondary);
    text-decoration: none;
    transition: var(--baipar-transition);
}

.baipar-sort-options a.active,
.baipar-sort-options a:hover {
    background: var(--baipar-primary);
    color: #fff;
}

/* ================================================================
   Review Actions (Helpful / Report)
   ================================================================ */
.baipar-review-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 13px;
}

.baipar-review-actions button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--baipar-secondary);
    font-size: 13px;
    padding: 2px 0;
    transition: color 0.15s ease;
}

.baipar-review-actions button:hover {
    color: var(--baipar-primary);
}

/* ================================================================
   Owner Response
   ================================================================ */
.baipar-owner-response {
    margin-top: 12px;
    padding: 12px;
    background: var(--baipar-light);
    border-radius: var(--baipar-radius);
    border-left: 3px solid var(--baipar-primary);
    font-size: 13px;
}

.baipar-owner-response strong {
    display: block;
    margin-bottom: 4px;
    color: var(--baipar-primary);
}

/* ================================================================
   Gallery Grid
   ================================================================ */
.baipar-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.baipar-gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--baipar-radius);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.baipar-gallery-grid img:hover {
    opacity: 0.85;
}

/* ================================================================
   Map Container
   ================================================================ */
.baipar-map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--baipar-radius);
    overflow: hidden;
    margin-bottom: 24px;
}

/* ================================================================
   Video Embed
   ================================================================ */
.baipar-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--baipar-radius);
    margin-bottom: 24px;
}

.baipar-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================================================================
   Stats Grid
   ================================================================ */
.baipar-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.baipar-stat-item {
    text-align: center;
    padding: 16px;
    background: var(--baipar-light);
    border-radius: var(--baipar-radius);
}

.baipar-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--baipar-primary);
}

.baipar-stat-label {
    font-size: 12px;
    color: var(--baipar-secondary);
    margin-top: 4px;
}

/* ================================================================
   Results Header
   ================================================================ */
.baipar-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.baipar-results-count {
    font-size: 14px;
    color: var(--baipar-secondary);
}

.baipar-results-count strong {
    color: var(--baipar-dark);
}

/* ================================================================
   List View (for listing cards in list mode)
   ================================================================ */
.baipar-grid.list-view {
    grid-template-columns: 1fr;
}

.baipar-grid.list-view .baipar-card {
    display: flex;
    flex-direction: row;
}

.baipar-grid.list-view .baipar-card-image {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 180px;
}

@media (max-width: 768px) {
    .baipar-grid.list-view .baipar-card {
        flex-direction: column;
    }

    .baipar-grid.list-view .baipar-card-image {
        width: 100%;
        aspect-ratio: 16/10;
        min-height: auto;
    }
}

/* ================================================================
   RTL Support
   ================================================================ */
[dir="rtl"] .baipar-card-badge {
    right: auto;
    left: 12px;
}

[dir="rtl"] .baipar-notification {
    border-right: none;
    border-left: 3px solid var(--baipar-primary);
}

[dir="rtl"] .baipar-owner-response {
    border-left: none;
    border-right: 3px solid var(--baipar-primary);
}

[dir="rtl"] .baipar-hours .hours-value {
    text-align: left;
}

[dir="rtl"] .baipar-stars-value {
    margin-left: 0;
    margin-right: 6px;
}

/* ==========================================================================
   Listing Logo
   ========================================================================== */

.baipar-logo {
    display: inline-block;
    max-width: 200px;
    margin-bottom: 16px;
}

.baipar-logo img {
    max-width: 100%;
    height: auto;
    border-radius: var(--baipar-radius);
    border: 1px solid var(--baipar-border);
}

.baipar-logo--sm {
    max-width: 80px;
}

.baipar-logo--lg {
    max-width: 300px;
}

/* ==========================================================================
   Listing Gallery
   ========================================================================== */

.baipar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.baipar-gallery-item {
    position: relative;
    border-radius: var(--baipar-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.baipar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.baipar-gallery-item:hover img {
    transform: scale(1.05);
}

.baipar-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.baipar-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Gallery lightbox trigger */
.baipar-gallery-more {
    position: relative;
    border-radius: var(--baipar-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.baipar-gallery-more span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
}

/* ================================================================
   Event Form
   ================================================================ */

.baipar-event-form {
    max-width: 720px;
}

.baipar-event-form .baipar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.baipar-event-form .baipar-form-row.two-col {
    grid-template-columns: 1fr 1fr;
}

.baipar-event-form .baipar-image-upload {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.baipar-event-form .baipar-image-preview {
    width: 200px;
    height: 140px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.baipar-event-form .baipar-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-event-form .baipar-image-preview .baipar-image-placeholder {
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
}

.baipar-event-form .baipar-image-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.baipar-event-form .baipar-image-actions .baipar-btn {
    white-space: nowrap;
}

.baipar-event-form .baipar-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.baipar-event-form .baipar-char-count.over {
    color: #ef4444;
}

.baipar-event-form .baipar-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Event list table */
.baipar-events-table .baipar-event-actions {
    display: flex;
    gap: 8px;
}

.baipar-events-table .baipar-event-actions .baipar-btn {
    padding: 4px 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .baipar-event-form .baipar-form-row {
        grid-template-columns: 1fr;
    }

    .baipar-event-form .baipar-form-row.two-col {
        grid-template-columns: 1fr;
    }

    .baipar-event-form .baipar-image-upload {
        flex-direction: column;
    }

    .baipar-event-form .baipar-image-actions {
        flex-direction: row;
    }
}

/* ================================================================
   Booking Management (Dashboard)
   ================================================================ */

/* Booking action buttons */
.baipar-booking-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.baipar-booking-actions .baipar-btn {
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.baipar-booking-actions .baipar-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.baipar-booking-actions .baipar-btn-success {
    background: #10b981;
    color: #fff;
    border-color: #059669;
}

.baipar-booking-actions .baipar-btn-success:hover:not(:disabled) {
    background: #059669;
}

.baipar-booking-actions .baipar-btn-danger {
    background: #ef4444;
    color: #fff;
    border-color: #dc2626;
}

.baipar-booking-actions .baipar-btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.baipar-booking-actions .baipar-btn-primary {
    background: #3b82f6;
    color: #fff;
    border-color: #2563eb;
}

.baipar-booking-actions .baipar-btn-primary:hover:not(:disabled) {
    background: #2563eb;
}

/* Booking status badge */
.baipar-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.baipar-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.baipar-status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.baipar-status-completed {
    background: #d1fae5;
    color: #065f46;
}

.baipar-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Availability form */
.baipar-availability-listing-select {
    margin-bottom: 24px;
    max-width: 400px;
}

.baipar-availability-listing-select label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.baipar-availability-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.baipar-availability-settings-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.baipar-availability-heading {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.baipar-availability-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.baipar-availability-day {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.baipar-availability-day.disabled {
    background: #f3f4f6;
    opacity: 0.6;
}

.baipar-availability-day-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    cursor: pointer;
    user-select: none;
}

.baipar-availability-day-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.baipar-availability-day-label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}

.baipar-availability-day-times {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.baipar-availability-day-times .baipar-input-sm {
    width: 120px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.baipar-availability-day-times .baipar-input-sm:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
}

.baipar-availability-time-sep {
    color: #6b7280;
    font-size: 13px;
}

.baipar-availability-message {
    margin-left: 12px;
    font-size: 14px;
    font-weight: 500;
}

.baipar-availability-message.success {
    color: #059669;
}

.baipar-availability-message.error {
    color: #dc2626;
}

.baipar-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 14px;
}

.baipar-loading i {
    margin-right: 6px;
}

@media (max-width: 768px) {
    .baipar-availability-settings-row {
        grid-template-columns: 1fr;
    }

    .baipar-availability-day {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .baipar-availability-day-times {
        width: 100%;
    }

    .baipar-availability-day-times .baipar-input-sm {
        flex: 1;
    }

    .baipar-booking-actions {
        flex-direction: column;
    }
}

/* ================================================================
   Coupon Management (Dashboard)
   ================================================================ */

/* Coupon form */
.baipar-coupon-form {
    max-width: 700px;
}

.baipar-coupon-form .baipar-form-group {
    margin-bottom: 20px;
}

.baipar-coupon-form .baipar-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.baipar-coupon-form .baipar-form-group label .required {
    color: #ef4444;
}

.baipar-coupon-form .baipar-form-input,
.baipar-coupon-form .baipar-form-select,
.baipar-coupon-form .baipar-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: #fff;
}

.baipar-coupon-form .baipar-form-input:focus,
.baipar-coupon-form .baipar-form-select:focus,
.baipar-coupon-form .baipar-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.baipar-coupon-form .baipar-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.baipar-coupon-form .baipar-form-help {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.baipar-coupon-form .baipar-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.baipar-coupon-form .baipar-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.baipar-coupon-message {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
}

.baipar-coupon-message.success {
    background: #d1fae5;
    color: #065f46;
}

.baipar-coupon-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Coupon table */
.baipar-coupons-table .baipar-coupon-code {
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
}

.baipar-coupons-table .baipar-actions-cell {
    display: flex;
    gap: 6px;
}

.baipar-coupons-table .baipar-actions-cell .baipar-btn {
    padding: 4px 8px;
    font-size: 12px;
}

.baipar-status-active {
    background: #d1fae5;
    color: #065f46;
}

.baipar-status-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* Coupon validator in booking form */
.baipar-coupon-field {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.baipar-coupon-field .baipar-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.baipar-coupon-field .baipar-coupon-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.baipar-coupon-result {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: none;
}

.baipar-coupon-result.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.baipar-coupon-result.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.baipar-remove-coupon {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    padding: 0;
}

.baipar-remove-coupon:hover {
    color: #dc2626;
}

@media (max-width: 768px) {
    .baipar-coupon-form .baipar-form-row-2col {
        grid-template-columns: 1fr;
    }

    .baipar-coupon-field {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ================================================================
   Review Images Upload
   ================================================================ */
.baipar-review-images-upload {
    margin-top: 4px;
}

.baipar-review-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.baipar-review-image-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.baipar-review-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-review-image-thumb .baipar-remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.baipar-review-image-thumb .baipar-remove-image:hover {
    background: rgba(239, 68, 68, 0.8);
}

/* Review thumbnails in dashboard table */
.baipar-review-thumbs {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.baipar-review-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.baipar-review-thumb-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f3f4f6;
    font-size: 12px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* Owner reply badge */
.baipar-owner-reply-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 2px 8px;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* Reply form in dashboard */
.baipar-reply-form-row td {
    padding: 0 !important;
}

.baipar-reply-form {
    padding: 16px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.baipar-reply-form h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #374151;
}

.baipar-reply-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.baipar-reply-textarea:focus {
    outline: none;
    border-color: var(--baipar-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.baipar-reply-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.baipar-reply-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.baipar-reply-message.success {
    background: #d1fae5;
    color: #065f46;
}

.baipar-reply-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Review content preview */
.baipar-review-content-preview {
    max-width: 250px;
    line-height: 1.4;
}

/* Review author */
.baipar-review-author strong {
    font-size: 14px;
    color: #111827;
}

/* ================================================================
   Lead Management (Dashboard)
   ================================================================ */

.baipar-leads-table .baipar-lead-new {
    background: #eff6ff;
}

.baipar-leads-table .baipar-lead-new td:first-child {
    border-left: 3px solid var(--baipar-primary);
}

.baipar-badge-new {
    display: inline-block;
    background: var(--baipar-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.baipar-lead-message-preview {
    max-width: 200px;
    line-height: 1.4;
}

.baipar-btn-text {
    background: none;
    border: none;
    color: var(--baipar-primary);
    cursor: pointer;
    font-size: 12px;
    padding: 2px 0;
    text-decoration: underline;
}

.baipar-btn-text:hover {
    color: var(--baipar-primary-dark);
}

.baipar-lead-full-message {
    margin-top: 8px;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
    max-width: 300px;
}

.baipar-lead-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.baipar-lead-status-new {
    background: #dbeafe;
    color: #1e40af;
}

.baipar-lead-status-read {
    background: #f3f4f6;
    color: #6b7280;
}

.baipar-lead-actions {
    white-space: nowrap;
}

.baipar-lead-actions .baipar-btn {
    margin-right: 4px;
}

.baipar-lead-actions .baipar-btn:last-child {
    margin-right: 0;
}

.baipar-btn-danger {
    color: var(--baipar-danger);
    border-color: var(--baipar-danger);
}

.baipar-btn-danger:hover {
    background: var(--baipar-danger);
    color: #fff;
}

/* ================================================================
   Review Form & Interactions
   ================================================================ */

/* Review form wrapper */
.baipar-review-form-wrapper {
    background: #f8fafc;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    padding: 24px;
    margin: 20px 0;
}

.baipar-review-form-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
}

/* Star rating input */
.baipar-star-rating-input {
    display: inline-flex;
    gap: 4px;
}

.baipar-star-rating-input input {
    display: none;
}

.baipar-star-rating-input label {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s ease;
    line-height: 1;
}

.baipar-star-rating-input label:hover,
.baipar-star-rating-input label.active {
    color: #f59e0b;
}

/* Review sort */
.baipar-review-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 14px;
}

.baipar-review-sort select {
    padding: 6px 10px;
    border: 1px solid var(--baipar-border);
    border-radius: 4px;
    font-size: 13px;
}

/* Review item */
.baipar-review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--baipar-border);
}

.baipar-review-item:last-child {
    border-bottom: none;
}

.baipar-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.baipar-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.baipar-review-author-info {
    flex: 1;
    min-width: 0;
}

.baipar-review-author {
    display: block;
    font-size: 14px;
    color: #1f2937;
}

.baipar-review-date {
    font-size: 12px;
    color: #9ca3af;
}

.baipar-review-stars {
    color: #f59e0b;
    font-size: 14px;
    white-space: nowrap;
}

.baipar-review-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.baipar-review-content {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 10px;
}

/* Pros/Cons */
.baipar-review-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0;
    font-size: 13px;
}

.baipar-review-pros strong { color: #16a34a; }
.baipar-review-cons strong { color: #dc2626; }

.baipar-review-pros p,
.baipar-review-cons p {
    margin: 4px 0 0;
    color: #6b7280;
}

/* Review images */
.baipar-review-images {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.baipar-review-image-link img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--baipar-border);
    transition: transform 0.2s;
}

.baipar-review-image-link img:hover {
    transform: scale(1.05);
}

/* Owner reply */
.baipar-review-owner-reply {
    margin: 10px 0;
    padding: 12px;
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    font-size: 13px;
}

.baipar-review-owner-reply strong {
    display: block;
    margin-bottom: 4px;
    color: #1e40af;
}

.baipar-review-owner-reply small {
    color: #9ca3af;
}

/* Review footer (vote/report) */
.baipar-review-footer {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.baipar-review-vote,
.baipar-review-report {
    background: none;
    border: 1px solid var(--baipar-border);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.15s;
}

.baipar-review-vote:hover { background: #f3f4f6; }
.baipar-review-vote.voted { opacity: 0.5; cursor: default; }
.baipar-review-report:hover { color: #dc2626; border-color: #dc2626; }
.baipar-review-report.reported { opacity: 0.5; cursor: default; }

/* Load more button */
.baipar-load-more-reviews {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    text-align: center;
    background: #f3f4f6;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: background 0.2s;
}

.baipar-load-more-reviews:hover {
    background: #e5e7eb;
}

.baipar-load-more-reviews:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* No reviews */
.baipar-no-reviews {
    text-align: center;
    color: #9ca3af;
    padding: 24px;
    font-size: 14px;
}

/* Review form message */
.baipar-review-form-message {
    display: inline-block;
    margin-left: 12px;
    font-size: 13px;
}

.baipar-review-form-message.baipar-success { color: #16a34a; }
.baipar-review-form-message.baipar-error { color: #dc2626; }

/* Loading state */
.baipar-reviews-list.baipar-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Review image upload preview */
.baipar-review-images-preview {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.baipar-review-image-thumb {
    position: relative;
    width: 80px;
    height: 80px;
}

.baipar-review-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--baipar-border);
}

.baipar-review-image-thumb .baipar-remove-image {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
}

/* Reviews summary */
.baipar-reviews-summary {
    display: flex;
    gap: 32px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--baipar-radius);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.baipar-reviews-average {
    text-align: center;
    min-width: 100px;
}

.baipar-average-rating {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.baipar-total-reviews {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.baipar-reviews-breakdown {
    flex: 1;
    min-width: 200px;
}

.baipar-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
}

.baipar-rating-label {
    width: 30px;
    text-align: right;
    color: #6b7280;
}

.baipar-rating-progress {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.baipar-rating-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.baipar-rating-count {
    width: 24px;
    font-size: 12px;
    color: #9ca3af;
}

/* ================================================================
   Claim Status (Dashboard)
   ================================================================ */

.baipar-claim-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.baipar-claim-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.baipar-claim-status-approved {
    background: #d1fae5;
    color: #065f46;
}

.baipar-claim-status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.baipar-claim-reason {
    font-size: 12px;
    color: #6b7280;
    cursor: help;
    border-bottom: 1px dotted #9ca3af;
}

/* Claim document upload */
.baipar-claim-file-upload {
    margin-top: 4px;
}

.baipar-claim-upload-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px dashed var(--baipar-border);
    border-radius: var(--baipar-radius);
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: var(--baipar-transition);
}

.baipar-claim-upload-btn:hover {
    background: #e5e7eb;
    border-color: var(--baipar-primary);
    color: var(--baipar-primary);
}

.baipar-claim-upload-progress {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.baipar-claim-file-preview {
    margin-top: 8px;
}

.baipar-claim-file-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--baipar-radius);
    font-size: 13px;
}

.baipar-claim-file-name {
    color: #065f46;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.baipar-claim-file-remove {
    background: none;
    border: none;
    color: #991b1b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
}

.baipar-claim-file-remove:hover {
    color: #dc2626;
}

/* ================================================================
   Advertising Module
   ================================================================ */

/* Ad Display */
.baipar-ads {
    margin-bottom: 24px;
}

.baipar-ads.baipar-ad-small .baipar-ad-item {
    max-width: 300px;
}

.baipar-ads.baipar-ad-medium .baipar-ad-item {
    max-width: 468px;
}

.baipar-ads.baipar-ad-large .baipar-ad-item {
    max-width: 728px;
}

.baipar-ad-item {
    position: relative;
    margin-bottom: 16px;
    border-radius: var(--baipar-radius);
    overflow: hidden;
    box-shadow: var(--baipar-shadow);
    transition: var(--baipar-transition);
    background: #fff;
}

.baipar-ad-item:hover {
    box-shadow: var(--baipar-shadow-lg);
    transform: translateY(-1px);
}

.baipar-ad-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.baipar-ad-image {
    width: 100%;
    height: auto;
    display: block;
}

.baipar-ad-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    color: #fff;
}

.baipar-ad-badge-ad {
    background: #6366f1;
}

.baipar-ad-badge-event {
    background: #f59e0b;
}

.baipar-ad-badge-coupon {
    background: #10b981;
}

.baipar-ad-text {
    padding: 16px;
}

.baipar-ad-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--baipar-dark);
}

.baipar-ad-description {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--baipar-secondary);
    line-height: 1.5;
}

.baipar-ad-meta {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Ad Zone Specific */
.baipar-ads-header {
    text-align: center;
    padding: 16px 0;
    background: #f8fafc;
    border-bottom: 1px solid var(--baipar-border);
}

.baipar-ads-header .baipar-ad-item {
    display: inline-block;
    margin: 0 8px;
}

.baipar-ads-footer {
    text-align: center;
    padding: 16px 0;
    background: #f8fafc;
    border-top: 1px solid var(--baipar-border);
}

.baipar-ads-footer .baipar-ad-item {
    display: inline-block;
    margin: 0 8px;
}

.baipar-ads-listing-top {
    margin-bottom: 24px;
}

.baipar-ads-listing-sidebar {
    margin-bottom: 24px;
}

/* Ad Placeholder */
.baipar-ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: var(--baipar-radius);
    color: #94a3b8;
    font-size: 14px;
}

.baipar-ad-placeholder-text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard: My Ads */
.baipar-my-ads .baipar-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.baipar-ad-form {
    background: #f8fafc;
    border: 1px solid var(--baipar-border);
    border-radius: var(--baipar-radius);
    padding: 20px;
    margin-bottom: 24px;
}

.baipar-ad-form-title {
    margin: 0 0 16px;
    font-size: 18px;
}

.baipar-ad-form .baipar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.baipar-ad-form .baipar-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.baipar-ad-image-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}

.baipar-ad-image-preview img {
    border-radius: 4px;
    border: 1px solid var(--baipar-border);
}

.baipar-ads-table .baipar-ad-title-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.baipar-ad-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--baipar-border);
}

.baipar-ad-zone-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.baipar-ad-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.baipar-ad-status-active {
    background: #dcfce7;
    color: #166534;
}

.baipar-ad-status-expired {
    background: #fef3c7;
    color: #92400e;
}

.baipar-ad-status-paused {
    background: #f1f5f9;
    color: #475569;
}

/* RTL */
[dir="rtl"] .baipar-logo {
    margin-left: 0;
    margin-right: 0;
}

/* ============================================
   Single Listing Template - Modern Design
   ============================================ */

.baipar-single-listing {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

/* Hero / Gallery */
.baipar-listing-hero {
    position: relative;
    margin: 0 -20px 32px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    background: #f1f5f9;
}

.baipar-listing-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4px;
    max-height: 420px;
}

.baipar-gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.baipar-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}

.baipar-gallery-thumb {
    position: relative;
    overflow: hidden;
}

.baipar-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.baipar-gallery-more {
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.baipar-listing-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Badges */
.baipar-listing-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.baipar-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.baipar-badge-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.baipar-badge-verified {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

/* Body Layout */
.baipar-listing-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .baipar-listing-body {
        grid-template-columns: 1fr;
    }
}

/* Header */
.baipar-listing-header {
    margin-bottom: 24px;
}

.baipar-listing-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.baipar-listing-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.baipar-listing-breadcrumb a {
    color: var(--baipar-primary, #2563eb);
    text-decoration: none;
}

.baipar-listing-breadcrumb a:hover {
    text-decoration: underline;
}

.baipar-listing-breadcrumb a::after {
    content: '/';
    margin-left: 8px;
    color: #94a3b8;
}

.baipar-listing-breadcrumb a:last-child::after {
    display: none;
}

.baipar-listing-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #0f172a;
    line-height: 1.3;
}

.baipar-listing-tagline {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.baipar-listing-rating-box {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 120px;
    flex-shrink: 0;
}

.baipar-rating-score strong {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    line-height: 1;
}

.baipar-rating-score span {
    font-size: 12px;
    color: #64748b;
}

.baipar-rating-empty {
    color: #94a3b8;
    font-size: 14px;
}

/* Actions */
.baipar-listing-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    align-items: center;
}

.baipar-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.baipar-btn-icon:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* Share Dropdown */
.baipar-share-dropdown {
    position: relative;
}

.baipar-share-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px;
    min-width: 180px;
    z-index: 100;
}

.baipar-share-menu.active {
    display: block;
}

.baipar-share-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

.baipar-share-link:hover {
    background: #f1f5f9;
}

/* Tabs */
.baipar-listing-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.baipar-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
}

.baipar-tab:hover {
    color: #334155;
}

.baipar-tab.active {
    color: var(--baipar-primary, #2563eb);
    border-bottom-color: var(--baipar-primary, #2563eb);
}

.baipar-tab-content {
    display: none;
}

.baipar-tab-content.active {
    display: block;
}

/* Section Titles */
.baipar-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
}

.baipar-content-block {
    margin-bottom: 32px;
}

/* Prose */
.baipar-prose {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

/* Features Grid */
.baipar-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.baipar-feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
}

.baipar-feature-icon {
    color: var(--baipar-primary, #2563eb);
    flex-shrink: 0;
}

/* Business Hours */
.baipar-hours-table {
    font-size: 14px;
}

/* Video */
.baipar-video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.baipar-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ──────────────────────────────────────── */
/* Sidebar                                 */
/* ──────────────────────────────────────── */

.baipar-listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.baipar-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.baipar-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.baipar-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.baipar-card-header svg {
    color: var(--baipar-primary, #2563eb);
    flex-shrink: 0;
}

.baipar-card-body {
    padding: 16px 20px;
}

/* Contact Links */
.baipar-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.baipar-contact-link:last-of-type {
    border-bottom: none;
}

.baipar-contact-link svg {
    color: var(--baipar-primary, #2563eb);
    flex-shrink: 0;
}

.baipar-contact-link:hover {
    color: var(--baipar-primary, #2563eb);
}

.baipar-contact-address {
    cursor: default;
}

/* Buttons */
.baipar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.baipar-btn-primary {
    background: var(--baipar-primary, #2563eb);
    color: #fff;
}

.baipar-btn-primary:hover {
    background: #1d4ed8;
}

.baipar-btn-block {
    width: 100%;
    margin-top: 12px;
}

/* Info List */
.baipar-info-list {
    margin: 0;
}

.baipar-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.baipar-info-row:last-child {
    border-bottom: none;
}

.baipar-info-row dt {
    color: #64748b;
    font-weight: 500;
}

.baipar-info-row dd {
    color: #0f172a;
    font-weight: 600;
    margin: 0;
}

/* Tags */
.baipar-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.baipar-tag {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
}

.baipar-tag-link {
    text-decoration: none;
    transition: all 0.2s;
}

.baipar-tag-link:hover {
    background: var(--baipar-primary, #2563eb);
    color: #fff;
}

/* Country List */
.baipar-country-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.baipar-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #334155;
}

.baipar-country-flag {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Stats */
.baipar-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
}

.baipar-stat-item {
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

.baipar-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.baipar-stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Form Wrapper */
.baipar-contact-form-wrapper {
    margin-top: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* ──────────────────────────────────────── */
/* Archive Listing Template                */
/* ──────────────────────────────────────── */

.baipar-archive-listing {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 768px) {
    .baipar-archive-listing {
        grid-template-columns: 1fr;
    }
}

.baipar-archive-header {
    margin-bottom: 24px;
}

.baipar-archive-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0f172a;
}

.baipar-archive-description {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 8px;
}

.baipar-result-count {
    font-size: 13px;
    color: #94a3b8;
}

.baipar-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.baipar-no-results h2 {
    font-size: 22px;
    color: #64748b;
    margin: 16px 0 8px;
}

.baipar-no-results p {
    font-size: 15px;
    margin: 0;
}

/* Notice */
.baipar-notice {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
}

.baipar-notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.baipar-container {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ================================================================
   Multi-Step Add Listing Form
   ================================================================ */

/* Progress Bar Wrapper */
.baipar-progress-wrapper {
    position: relative;
}

.baipar-progress-wrapper .d-flex {
    position: relative;
}

.baipar-progress-line {
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.baipar-progress-step {
    flex: 0 0 auto;
    min-width: 80px;
}

.baipar-progress-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f1f5f9;
    color: #94a3b8;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.baipar-progress-step.active .baipar-progress-circle {
    background: #D52B1E;
    color: #fff;
    border-color: #D52B1E;
    box-shadow: 0 0 0 6px rgba(213, 43, 30, 0.15);
}

.baipar-progress-step.completed .baipar-progress-circle {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.baipar-progress-segment {
    height: 3px;
    background: #e2e8f0;
    transition: background 0.3s ease;
    position: relative;
    z-index: 0;
}

.baipar-progress-segment.completed {
    background: #16a34a;
}

.baipar-progress-step .text-xs {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.baipar-progress-step.active .text-xs {
    color: #D52B1E;
    font-weight: 600;
}

.baipar-progress-step.completed .text-xs {
    color: #16a34a;
}

/* Form Steps Container */
.baipar-add-listing-form {
    max-width: 900px;
    margin: 0 auto;
}

.baipar-form-step {
    display: none;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    animation: baiparFadeIn 0.3s ease;
}

.baipar-form-step.active {
    display: block;
}

@keyframes baiparFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.baipar-step-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.baipar-step-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
}

/* Step Indicator States */
.baipar-step-indicator {
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.baipar-step-indicator.completed .badge {
    background: linear-gradient(310deg, #17ad37, #17ad37) !important;
}
.baipar-step-indicator.active .badge {
    background: linear-gradient(310deg, #cb0c9f, #cb0c9f) !important;
}

/* Step Navigation Buttons */
.baipar-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.baipar-btn-prev {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.baipar-btn-prev:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.baipar-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: #D52B1E;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.baipar-btn-next:hover {
    background: #b52318;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(213, 43, 30, 0.3);
}

.baipar-btn-next:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.baipar-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.baipar-btn-submit:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.baipar-btn-submit:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Step 1: Listing Type Cards */
.listing-type-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
}

.listing-type-card:hover {
    border-color: #D52B1E;
    box-shadow: 0 4px 12px rgba(213, 43, 30, 0.1);
    transform: translateY(-2px);
}

.listing-type-card.selected {
    border-color: #D52B1E !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.15);
}

.listing-type-icon {
    transition: transform 0.2s ease;
}

.listing-type-card:hover .listing-type-icon {
    transform: scale(1.05);
}

/* Step 2-5: Form Fields */
.baipar-form-group {
    margin-bottom: 20px;
}

.baipar-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.baipar-form-group label .required {
    color: #D52B1E;
    margin-left: 2px;
}

.baipar-form-group input[type="text"],
.baipar-form-group input[type="email"],
.baipar-form-group input[type="url"],
.baipar-form-group input[type="number"],
.baipar-form-group input[type="tel"],
.baipar-form-group select,
.baipar-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    transition: border-color 0.2s ease;
    background: #fff;
}

.baipar-form-group input:focus,
.baipar-form-group select:focus,
.baipar-form-group textarea:focus {
    outline: none;
    border-color: #D52B1E;
    box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.1);
}

.baipar-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.baipar-form-group .baipar-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.baipar-form-group .baipar-char-count {
    font-size: 12px;
    color: #94a3b8;
    text-align: right;
    margin-top: 4px;
}

.baipar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.baipar-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* Price Range */
.baipar-price-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.baipar-price-range input {
    flex: 1;
}

.baipar-price-range span {
    color: #64748b;
    font-weight: 600;
}

.baipar-price-range select {
    width: 100px;
    flex-shrink: 0;
}

/* Step 3: Map */
.baipar-map-container {
    width: 100%;
    height: 300px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.baipar-map-container:hover {
    border-color: #D52B1E;
    background: #fef2f2;
}

.baipar-map-placeholder {
    text-align: center;
    color: #94a3b8;
}

.baipar-map-placeholder i {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.baipar-map-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

.baipar-map-container.loaded {
    border-style: solid;
    border-color: #e2e8f0;
}

.baipar-map-container.loaded .baipar-map-placeholder {
    display: none;
}

/* Step 4: Media Upload */
.baipar-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.baipar-upload-zone:hover {
    border-color: #D52B1E;
    background: #fef2f2;
}

.baipar-upload-zone i {
    font-size: 36px;
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
}

.baipar-upload-zone span {
    font-size: 14px;
    color: #64748b;
}

.baipar-upload-zone .baipar-upload-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.baipar-logo-preview {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    position: relative;
    margin-top: 12px;
}

.baipar-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-logo-preview .baipar-remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.baipar-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.baipar-gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    position: relative;
}

.baipar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-gallery-item .baipar-remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.baipar-gallery-add {
    aspect-ratio: 1;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
    gap: 6px;
}

.baipar-gallery-add:hover {
    border-color: #D52B1E;
    color: #D52B1E;
}

.baipar-gallery-add i {
    font-size: 24px;
}

.baipar-gallery-add span {
    font-size: 11px;
    font-weight: 600;
}

/* Step 5: Business Hours */
.baipar-hours-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.baipar-hours-row:last-child {
    border-bottom: none;
}

.baipar-hours-day {
    width: 110px;
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    flex-shrink: 0;
}

.baipar-hours-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.baipar-hours-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.baipar-hours-toggle .baipar-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e1;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.baipar-hours-toggle .baipar-toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.baipar-hours-toggle input:checked + .baipar-toggle-slider {
    background: #16a34a;
}

.baipar-hours-toggle input:checked + .baipar-toggle-slider::before {
    transform: translateX(20px);
}

.baipar-hours-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.baipar-hours-time input {
    width: 110px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
}

.baipar-hours-time span {
    color: #94a3b8;
    font-size: 13px;
}

.baipar-hours-closed {
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
    margin-left: 8px;
}

/* Social Media */
.baipar-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.baipar-social-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.baipar-social-field i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.baipar-social-field i.fa-facebook-f { background: #1877f2; }
.baipar-social-field i.fa-instagram { background: #e4405f; }
.baipar-social-field i.fa-x-twitter { background: #000; }
.baipar-social-field i.fa-linkedin-in { background: #0a66c2; }
.baipar-social-field i.fa-youtube { background: #ff0000; }
.baipar-social-field i.fa-tiktok { background: #000; }
.baipar-social-field i.fa-whatsapp { background: #25d366; }
.baipar-social-field i.fa-telegram { background: #0088cc; }

.baipar-social-field input {
    flex: 1;
}

/* Amenities & Checkbox Grids */
.baipar-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.baipar-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #334155;
}

.baipar-checkbox-item:hover {
    border-color: #D52B1E;
    background: #fef2f2;
}

.baipar-checkbox-item input:checked + span {
    color: #D52B1E;
    font-weight: 600;
}

.baipar-checkbox-item:has(input:checked) {
    border-color: #D52B1E;
    background: #fef2f2;
}

/* Step 6: Review Card */
.baipar-review-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.baipar-review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.baipar-review-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.baipar-review-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-review-title-section {
    flex: 1;
}

.baipar-review-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.baipar-review-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.baipar-review-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.baipar-review-badge.type {
    background: #fef2f2;
    color: #D52B1E;
}

.baipar-review-badge.category {
    background: #eff6ff;
    color: #2563eb;
}

.baipar-review-body {
    padding: 24px;
}

.baipar-review-section {
    margin-bottom: 20px;
}

.baipar-review-section:last-child {
    margin-bottom: 0;
}

.baipar-review-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.baipar-review-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.baipar-review-gallery img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.baipar-review-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #334155;
}

.baipar-review-info-row i {
    width: 20px;
    color: #94a3b8;
    text-align: center;
}

.baipar-review-hours-table {
    width: 100%;
    font-size: 13px;
}

.baipar-review-hours-table td {
    padding: 4px 8px;
}

.baipar-review-hours-table td:first-child {
    font-weight: 600;
    color: #334155;
    width: 110px;
}

.baipar-review-hours-table td:last-child {
    color: #64748b;
}

.baipar-review-hours-table .closed {
    color: #dc2626;
}

.baipar-review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.baipar-review-tag {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 12px;
    color: #475569;
}

.baipar-review-social {
    display: flex;
    gap: 10px;
}

.baipar-review-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.baipar-review-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 24px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    font-size: 13px;
    color: #92400e;
}

.baipar-review-terms input {
    margin-top: 2px;
    flex-shrink: 0;
}

.baipar-review-actions {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Loading & Messages */
.baipar-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.baipar-loading-overlay.active {
    display: flex;
}

.baipar-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #D52B1E;
    border-radius: 50%;
    animation: baiparSpin 0.8s linear infinite;
}

@keyframes baiparSpin {
    to { transform: rotate(360deg); }
}

.baipar-loading-text {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
}

.baipar-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.baipar-alert.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.baipar-alert.success {
    display: block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Responsive */
@media (max-width: 768px) {
    .baipar-form-step {
        padding: 24px 16px;
    }

    .baipar-form-row,
    .baipar-form-row-3,
    .baipar-social-grid {
        grid-template-columns: 1fr;
    }

    .baipar-type-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .baipar-type-card {
        padding: 14px 8px;
    }

    .baipar-type-card .baipar-type-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .baipar-progress {
        padding: 20px 10px;
        gap: 4px;
    }

    .baipar-progress-circle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .baipar-progress-segment {
        width: 20px;
    }

    .baipar-progress-label {
        font-size: 10px;
    }

    .baipar-hours-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .baipar-hours-day {
        width: 100%;
    }

    .baipar-checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================================
   Multi-Select Dropdown (Languages & Community Connections)
   ================================================================ */
.baipar-multi-select-wrapper {
    position: relative;
}
.baipar-multi-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    min-height: 40px;
    padding: 8px 12px;
    background: #fff;
    user-select: none;
}
.baipar-multi-select-trigger .baipar-placeholder {
    color: #8392ab;
    font-size: 0.875rem;
}
.baipar-multi-select-trigger .baipar-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.baipar-multi-select-trigger .baipar-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.baipar-multi-select-trigger .baipar-tag .baipar-tag-remove {
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.7;
}
.baipar-multi-select-trigger .baipar-tag .baipar-tag-remove:hover {
    opacity: 1;
}
.baipar-multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #d2d6da;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 280px;
    display: flex;
    flex-direction: column;
}
.baipar-multi-select-search {
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 10px 12px !important;
    font-size: 0.875rem !important;
}
.baipar-multi-select-search:focus {
    outline: none;
    box-shadow: none;
}
.baipar-multi-select-options {
    overflow-y: auto;
    flex: 1;
    padding: 4px 0;
}
.baipar-multi-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.15s;
    margin: 0;
}
.baipar-multi-select-option:hover {
    background: #f1f5f9;
}
.baipar-multi-select-option input[type="checkbox"] {
    margin: 0;
}
.baipar-multi-select-option.hidden-by-search {
    display: none;
}

/* Google Maps Autocomplete */
.pac-container {
    z-index: 1060 !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    font-family: inherit;
}
.pac-item {
    padding: 8px 12px;
    font-size: 0.875rem;
}

/* ================================================================
   Location Type Selector Cards
   ================================================================ */
.baipar-location-type-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    height: 100%;
}
.baipar-location-type-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.baipar-location-type-card.active {
    border-color: #D52B1E;
    background: #fef2f2;
    box-shadow: 0 4px 16px rgba(213,43,30,0.12);
}
.baipar-location-type-card .baipar-lt-icon {
    color: #64748b;
    margin-bottom: 12px;
    transition: color 0.25s;
}
.baipar-location-type-card.active .baipar-lt-icon {
    color: #D52B1E;
}
.baipar-location-type-card .baipar-lt-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #1e293b;
}
.baipar-location-type-card .baipar-lt-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}
.baipar-location-type-card .baipar-lt-check {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 1.2rem;
    color: #D52B1E;
    display: none;
}
.baipar-location-type-card.active .baipar-lt-check {
    display: block;
}

/* ================================================================
   Address Preview (below unified search)
   ================================================================ */
.baipar-address-preview {
    margin-top: 8px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================================================================
   Service Area Tags
   ================================================================ */
.baipar-service-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    min-height: 0;
}
.baipar-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.baipar-service-tag .baipar-service-tag-remove {
    cursor: pointer;
    opacity: 0.6;
    font-size: 0.7rem;
    margin-left: 2px;
}
.baipar-service-tag .baipar-service-tag-remove:hover {
    opacity: 1;
    color: #dc2626;
}

/* ================================================================
   Service Area Suggestions Dropdown
   ================================================================ */
.baipar-service-area-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #d2d6da;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 240px;
    overflow-y: auto;
}
.baipar-service-area-wrapper {
    position: relative;
}

/* ================================================================
   Travel Toggle
   ================================================================ */
.baipar-toggle-group {
    display: flex;
    gap: 12px;
}
.baipar-toggle-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    margin: 0;
}
.baipar-toggle-option:hover {
    border-color: #cbd5e1;
}
.baipar-toggle-option.active {
    border-color: #D52B1E;
    background: #fef2f2;
}
.baipar-toggle-option input[type="radio"] {
    display: none;
}
.baipar-toggle-option .baipar-toggle-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.25s;
}
.baipar-toggle-option.active .baipar-toggle-icon {
    background: #fef2f2;
    color: #D52B1E;
}
.baipar-toggle-option .baipar-toggle-text strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
}
.baipar-toggle-option .baipar-toggle-text small {
    font-size: 0.75rem;
}

/* ================================================================
   Single Event Template
   ================================================================ */

/* ── Event Hero ── */
.baipar-single-event {
    background: #fff;
}

.baipar-event-hero {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0f172a 100%);
    color: #fff;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.baipar-event-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.baipar-event-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.baipar-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 60%, rgba(15,23,42,0.2) 100%);
}

.baipar-event-hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 32px 40px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Date Badge */
.baipar-event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--baipar-primary);
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
    min-width: 70px;
}

.baipar-event-date-day {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.baipar-event-date-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.baipar-event-date-year {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

/* Hero Badges */
.baipar-event-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.baipar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.baipar-badge-upcoming {
    background: rgba(22,163,74,0.2);
    color: #4ade80;
    border: 1px solid rgba(22,163,74,0.3);
}

.baipar-badge-past {
    background: rgba(100,116,139,0.2);
    color: #94a3b8;
    border: 1px solid rgba(100,116,139,0.3);
}

.baipar-badge-online {
    background: rgba(37,99,235,0.2);
    color: #60a5fa;
    border: 1px solid rgba(37,99,235,0.3);
}

.baipar-badge-recurring {
    background: rgba(168,85,247,0.2);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,0.3);
}

.baipar-badge-free {
    background: rgba(34,197,94,0.2);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}

.baipar-badge-featured {
    background: rgba(245,158,11,0.2);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.3);
}

.baipar-badge-verified {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.3);
}

.baipar-badge-rating {
    background: rgba(250,204,21,0.2);
    color: #facc15;
    border: 1px solid rgba(250,204,21,0.3);
}

/* Hero Title */
.baipar-event-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.2;
    color: #fff;
}

/* Hero Meta Row */
.baipar-event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.baipar-event-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.baipar-event-hero-meta-item a {
    color: #93c5fd;
    text-decoration: none;
}

.baipar-event-hero-meta-item a:hover {
    text-decoration: underline;
}

/* ── Container ── */
.baipar-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Event Body ── */
.baipar-event-body {
    padding: 0 0 48px;
}

/* ── Tab Navigation ── */
.baipar-event-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--baipar-border);
    margin-bottom: 32px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.baipar-event-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--baipar-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--baipar-transition);
    white-space: nowrap;
}

.baipar-event-tab:hover {
    color: var(--baipar-dark);
    background: var(--baipar-light);
}

.baipar-event-tab.active {
    color: var(--baipar-primary);
    border-bottom-color: var(--baipar-primary);
}

/* ── Tab Panels ── */
.baipar-event-tab-panel {
    display: none;
    padding: 0 20px;
}

.baipar-event-tab-panel.active {
    display: block;
}

/* ── Details Grid ── */
.baipar-event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ── Detail Card ── */
.baipar-event-detail-card {
    background: #fff;
    border: 1px solid var(--baipar-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--baipar-transition);
}

.baipar-event-detail-card:hover {
    box-shadow: var(--baipar-shadow-lg);
}

.baipar-event-detail-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--baipar-light);
    border-bottom: 1px solid var(--baipar-border);
}

.baipar-event-detail-card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--baipar-dark);
}

.baipar-event-detail-card-body {
    padding: 16px 20px;
}

/* ── Detail Row ── */
.baipar-event-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
}

.baipar-event-detail-row:last-child {
    border-bottom: none;
}

.baipar-event-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--baipar-secondary);
    flex-shrink: 0;
    min-width: 100px;
}

.baipar-event-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--baipar-dark);
    text-align: right;
    word-break: break-word;
}

.baipar-event-detail-value a {
    color: var(--baipar-primary);
    text-decoration: none;
}

.baipar-event-detail-value a:hover {
    text-decoration: underline;
}

.baipar-event-detail-value code {
    background: var(--baipar-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--baipar-secondary);
}

.baipar-event-detail-empty {
    text-align: center;
    padding: 24px;
    color: var(--baipar-secondary);
    font-size: 14px;
}

.baipar-event-detail-empty .baipar-icon {
    display: block;
    margin-bottom: 8px;
    opacity: 0.4;
}

/* ── Link Button ── */
.baipar-event-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--baipar-primary);
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--baipar-transition);
}

.baipar-event-link-btn:hover {
    background: var(--baipar-primary-dark);
}

/* ── Capacity Bar ── */
.baipar-event-capacity-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.baipar-event-capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--baipar-success), #22c55e);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ── Description Tab ── */
.baipar-event-description {
    max-width: 800px;
}

.baipar-event-content {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.baipar-event-content h2,
.baipar-event-content h3,
.baipar-event-content h4 {
    color: var(--baipar-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.baipar-event-content p {
    margin-bottom: 1em;
}

.baipar-event-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

/* ── Listing Info Tab ── */
.baipar-event-listing-info {
    max-width: 800px;
}

.baipar-event-listing-header {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--baipar-light);
    border-radius: 12px;
    border: 1px solid var(--baipar-border);
    margin-bottom: 24px;
    align-items: center;
}

.baipar-event-listing-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.baipar-event-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-event-listing-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.baipar-event-listing-header-info h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.baipar-event-listing-header-info h3 a {
    color: var(--baipar-dark);
    text-decoration: none;
}

.baipar-event-listing-header-info h3 a:hover {
    color: var(--baipar-primary);
}

.baipar-event-listing-tagline {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--baipar-secondary);
}

.baipar-event-listing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.baipar-event-listing-details {
    margin-bottom: 24px;
}

.baipar-event-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 12px;
    color: var(--baipar-secondary);
    text-decoration: none;
    margin: 2px 4px 2px 0;
}

.baipar-event-tag:hover {
    background: var(--baipar-primary);
    color: #fff;
}

.baipar-event-listing-cta {
    text-align: center;
    padding-top: 8px;
}

/* ── RSVP Tab ── */
.baipar-event-rsvp-section {
    max-width: 600px;
    margin: 0 auto;
}

/* ── Icon Sizes ── */
.baipar-icon.baipar-icon-xs svg {
    width: 12px;
    height: 12px;
}

.baipar-icon.baipar-icon-sm svg {
    width: 16px;
    height: 16px;
}

.baipar-icon.baipar-icon-md svg {
    width: 22px;
    height: 22px;
}

.baipar-icon.baipar-icon-lg svg {
    width: 32px;
    height: 32px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .baipar-event-hero {
        min-height: 240px;
    }

    .baipar-event-hero-content {
        padding: 32px 16px 28px;
    }

    .baipar-event-title {
        font-size: 22px;
    }

    .baipar-event-hero-meta {
        gap: 10px;
        font-size: 13px;
    }

    .baipar-event-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .baipar-event-tab {
        padding: 12px 14px;
        font-size: 13px;
    }

    .baipar-event-tab-panel {
        padding: 0 16px;
    }

    .baipar-event-details-grid {
        grid-template-columns: 1fr;
    }

    .baipar-event-detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .baipar-event-detail-value {
        text-align: left;
    }

    .baipar-event-listing-header {
        flex-direction: column;
        text-align: center;
    }

    .baipar-event-listing-badges {
        justify-content: center;
    }

    .baipar-event-date-badge {
        padding: 8px 14px;
    }

    .baipar-event-date-day {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .baipar-event-hero-content {
        padding: 24px 12px 20px;
    }

    .baipar-event-title {
        font-size: 18px;
    }

    .baipar-event-tab {
        padding: 10px 10px;
        font-size: 12px;
        gap: 4px;
    }
}

/* ================================================================
   Menu & Offer Management (Dashboard + Frontend)
   ================================================================ */

/* ── Menu Grid (Frontend) ── */
.baipar-menus {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.baipar-menu-category {
    margin-bottom: 8px;
}

.baipar-menu-category-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.baipar-menu-category-title .baipar-menu-cat-icon {
    color: var(--baipar-primary, #D52B1E);
    font-size: 22px;
}

.baipar-menu-category-title .baipar-menu-cat-count {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: auto;
}

.baipar-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

/* ── Menu Card ── */
.baipar-menu-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.baipar-menu-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.baipar-menu-card-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.baipar-menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-menu-card-image .baipar-menu-no-image {
    color: #cbd5e1;
    font-size: 32px;
}

.baipar-menu-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.baipar-menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.baipar-menu-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.baipar-menu-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--baipar-primary, #D52B1E);
    white-space: nowrap;
    flex-shrink: 0;
}

.baipar-menu-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 6px 0 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.baipar-menu-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.baipar-menu-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.baipar-menu-card-meta .baipar-menu-calories {
    color: #f59e0b;
}

.baipar-menu-card-meta .baipar-menu-time {
    color: #6366f1;
}

/* ── Menu Badges ── */
.baipar-menu-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.baipar-menu-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.baipar-menu-badge.vegetarian {
    background: #dcfce7;
    color: #166534;
}

.baipar-menu-badge.spicy {
    background: #fee2e2;
    color: #991b1b;
}

.baipar-menu-badge.special {
    background: #fef3c7;
    color: #92400e;
}

.baipar-menu-badge.popular {
    background: #dbeafe;
    color: #1e40af;
}

/* ── Menu List View (Dashboard) ── */
.baipar-menus-table .baipar-menu-item-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.baipar-menus-table .baipar-menu-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.baipar-menus-table .baipar-menu-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.baipar-menus-table .baipar-menu-item-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.baipar-menus-table .baipar-menu-item-category {
    font-size: 12px;
    color: #94a3b8;
}

.baipar-menus-table .baipar-menu-price-cell {
    font-weight: 700;
    color: var(--baipar-primary, #D52B1E);
    font-size: 15px;
}

.baipar-menus-table .baipar-menu-tags-cell {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.baipar-menus-table .baipar-menu-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.baipar-menus-table .baipar-menu-tag.veg {
    background: #dcfce7;
    color: #166534;
}

.baipar-menus-table .baipar-menu-tag.spicy {
    background: #fee2e2;
    color: #991b1b;
}

.baipar-menus-table .baipar-menu-tag.special {
    background: #fef3c7;
    color: #92400e;
}

.baipar-menus-table .baipar-menu-actions {
    display: flex;
    gap: 6px;
}

/* ── Menu Form (Dashboard) ── */
.baipar-menu-form {
    max-width: 720px;
}

.baipar-menu-form .baipar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.baipar-menu-form .baipar-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.baipar-menu-form .baipar-image-upload {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.baipar-menu-form .baipar-image-preview {
    width: 200px;
    height: 140px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.baipar-menu-form .baipar-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-menu-form .baipar-image-preview .baipar-image-placeholder {
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
}

.baipar-menu-form .baipar-image-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.baipar-menu-form .baipar-image-actions .baipar-btn {
    white-space: nowrap;
}

.baipar-menu-form .baipar-tags-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.baipar-menu-form .baipar-tags-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    color: #334155;
}

.baipar-menu-form .baipar-tags-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--baipar-primary, #D52B1E);
    cursor: pointer;
}

.baipar-menu-form .baipar-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* ── Menu Group Repeater (Dashboard) ── */
.baipar-repeater-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.baipar-repeater-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    transition: all 0.2s ease;
}

.baipar-repeater-row:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.baipar-repeater-row .baipar-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.baipar-repeater-row .baipar-item-upload-btn {
    font-size: 12px;
    padding: 4px 10px;
    white-space: nowrap;
}

.baipar-repeater-row .baipar-remove-row {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.15s ease;
    line-height: 1;
}

.baipar-repeater-row .baipar-remove-row:hover {
    background: #fecaca;
    border-color: #f87171;
}

.baipar-add-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--baipar-primary, #D52B1E);
    background: none;
    border: 1px dashed var(--baipar-primary, #D52B1E);
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.baipar-add-item-btn:hover {
    background: #fef2f2;
    border-style: solid;
}

.baipar-menu-empty-items {
    text-align: center;
    padding: 24px;
    color: #94a3b8;
    font-size: 14px;
}

/* ── Menu Group Display (Frontend) ── */
.baipar-menu-group {
    margin-bottom: 24px;
}

.baipar-menu-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.baipar-menu-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.baipar-menu-group-desc {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0;
}

.baipar-menu-group-cover {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.baipar-menu-group-cover .baipar-menu-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════ */
/*  Custom Image Picker Modal            */
/* ══════════════════════════════════════ */
.baipar-img-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.baipar-img-picker-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

.baipar-img-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.baipar-img-picker-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.baipar-img-picker-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

.baipar-img-picker-close:hover {
    color: #0f172a;
}

.baipar-img-picker-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
}

.baipar-img-picker-tab {
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.baipar-img-picker-tab.active {
    color: #0f172a;
    border-bottom-color: #0f172a;
}

.baipar-img-picker-tab:hover {
    color: #475569;
}

.baipar-img-picker-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    min-height: 200px;
    max-height: 400px;
}

.baipar-img-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.baipar-img-picker-loading,
.baipar-img-picker-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.baipar-img-picker-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
    background: #f1f5f9;
}

.baipar-img-picker-item:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.baipar-img-picker-item.selected {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

.baipar-img-picker-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.baipar-img-picker-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #cbd5e1;
    opacity: 0;
    transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.baipar-img-picker-item.selected .baipar-img-picker-check {
    opacity: 1;
    color: #0f172a;
}

.baipar-img-picker-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 0;
}

.baipar-img-picker-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.15s;
    cursor: pointer;
}

.baipar-img-picker-dropzone.dragover {
    border-color: #0f172a;
    background: #f8fafc;
}

.baipar-img-picker-upload-progress {
    margin-top: 12px;
}

.baipar-img-picker-upload-progress .progress-wrapper {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.baipar-img-picker-upload-progress .progress-bar {
    height: 100%;
    border-radius: 3px;
    animation: baipar-progress-indeterminate 1.5s ease-in-out infinite;
}

@keyframes baipar-progress-indeterminate {
    0% { width: 0%; margin-left: 0; }
    50% { width: 60%; margin-left: 20%; }
    100% { width: 0%; margin-left: 100%; }
}

.baipar-img-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

@media (max-width: 576px) {
    .baipar-img-picker-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .baipar-img-picker-modal {
        max-width: 100%;
        border-radius: 12px;
    }
}

.baipar-menu-group-count {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: auto;
    white-space: nowrap;
}

/* ── Menu Items (inside a group, frontend) ── */
.baipar-menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.baipar-menu-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.2s ease;
    position: relative;
}

.baipar-menu-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.baipar-menu-item.baipar-menu-special {
    border-left: 3px solid #f59e0b;
    background: #fffdf7;
}

.baipar-menu-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.baipar-menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-menu-item-info {
    flex: 1;
    min-width: 0;
}

.baipar-menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.baipar-menu-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.baipar-menu-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--baipar-primary, #D52B1E);
    white-space: nowrap;
    flex-shrink: 0;
}

.baipar-menu-item-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.baipar-menu-badge.baipar-menu-veg {
    font-size: 14px;
    line-height: 1;
}

.baipar-menu-badge.baipar-menu-spicy {
    font-size: 14px;
    line-height: 1;
}

.baipar-menu-badge.baipar-menu-special-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fef3c7;
    color: #92400e;
}

/* ── Offers Grid (Frontend) ── */
.baipar-offers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ── Offer Card ── */
.baipar-offer-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.baipar-offer-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.baipar-offer-card.featured {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px #f59e0b;
}

.baipar-offer-card.expired {
    opacity: 0.55;
    pointer-events: none;
}

/* Offer Image */
.baipar-offer-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.baipar-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.baipar-offer-card:hover .baipar-offer-image img {
    transform: scale(1.05);
}

.baipar-offer-image .baipar-offer-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #cbd5e1;
    font-size: 48px;
}

/* Offer Discount Badge */
.baipar-offer-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.baipar-offer-discount-badge.percentage {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.baipar-offer-discount-badge.fixed {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.baipar-offer-discount-badge.bogo {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Offer Featured Flag */
.baipar-offer-featured-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fef3c7;
    color: #92400e;
    z-index: 2;
}

/* Offer Body */
.baipar-offer-body {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.baipar-offer-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.baipar-offer-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
}

/* Offer Meta */
.baipar-offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.baipar-offer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.baipar-offer-meta .baipar-offer-dates {
    color: #6366f1;
}

/* Offer Expiry / Countdown */
.baipar-offer-expiry {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.baipar-offer-expiry.expiring-soon {
    background: #fef2f2;
    color: #dc2626;
}

.baipar-offer-expiry.active {
    background: #f0fdf4;
    color: #16a34a;
}

.baipar-offer-expiry.upcoming {
    background: #eff6ff;
    color: #2563eb;
}

.baipar-offer-expiry.expired-label {
    background: #f1f5f9;
    color: #94a3b8;
}

.baipar-offer-days-left {
    font-weight: 800;
    font-size: 15px;
}

/* Offer Coupon Code */
.baipar-offer-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    margin-bottom: 10px;
}

.baipar-offer-code-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.baipar-offer-code-value {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
    flex: 1;
}

.baipar-offer-code .baipar-copy-btn {
    background: none;
    border: none;
    color: var(--baipar-primary, #D52B1E);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.15s;
}

.baipar-offer-code .baipar-copy-btn:hover {
    color: #b91c1c;
}

.baipar-offer-code .baipar-copy-btn.copied {
    color: #16a34a;
}

/* Offer Terms */
.baipar-offer-terms {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.baipar-offer-terms strong {
    color: #64748b;
}

/* ── Offers Table (Dashboard) ── */
.baipar-offers-table .baipar-offer-title-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.baipar-offers-table .baipar-offer-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.baipar-offers-table .baipar-offer-discount-cell {
    font-weight: 700;
    font-size: 15px;
}

.baipar-offers-table .baipar-offer-discount-cell.percentage {
    color: #dc2626;
}

.baipar-offers-table .baipar-offer-discount-cell.fixed {
    color: #7c3aed;
}

.baipar-offers-table .baipar-offer-discount-cell.bogo {
    color: #d97706;
}

.baipar-offers-table .baipar-offer-code-cell {
    font-family: monospace;
    font-size: 13px;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.baipar-offers-table .baipar-offer-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.baipar-offers-table .baipar-offer-status.active {
    background: #dcfce7;
    color: #166534;
}

.baipar-offers-table .baipar-offer-status.upcoming {
    background: #dbeafe;
    color: #1e40af;
}

.baipar-offers-table .baipar-offer-status.expired {
    background: #f1f5f9;
    color: #64748b;
}

.baipar-offers-table .baipar-offer-featured-star {
    color: #f59e0b;
    font-size: 16px;
}

.baipar-offers-table .baipar-offer-actions {
    display: flex;
    gap: 6px;
}

/* ── Offer Form (Dashboard) ── */
.baipar-offer-form {
    max-width: 720px;
}

.baipar-offer-form .baipar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.baipar-offer-form .baipar-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.baipar-offer-form .baipar-image-upload {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.baipar-offer-form .baipar-image-preview {
    width: 200px;
    height: 140px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.baipar-offer-form .baipar-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baipar-offer-form .baipar-image-preview .baipar-image-placeholder {
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
}

.baipar-offer-form .baipar-image-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.baipar-offer-form .baipar-image-actions .baipar-btn {
    white-space: nowrap;
}

.baipar-offer-form .baipar-toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
}

.baipar-offer-form .baipar-toggle-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    color: #334155;
}

.baipar-offer-form .baipar-toggle-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--baipar-primary, #D52B1E);
    cursor: pointer;
}

.baipar-offer-form .baipar-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* ── Section Header (Dashboard) ── */
.baipar-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.baipar-section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

/* ── Responsive: Menu ── */
@media (max-width: 768px) {
    .baipar-menu-grid {
        grid-template-columns: 1fr;
    }

    .baipar-menu-card {
        flex-direction: column;
    }

    .baipar-menu-card-image {
        width: 100%;
        height: 160px;
    }

    .baipar-menu-form .baipar-form-row,
    .baipar-menu-form .baipar-form-row-3 {
        grid-template-columns: 1fr;
    }

    .baipar-menu-form .baipar-image-upload {
        flex-direction: column;
    }

    .baipar-menu-form .baipar-image-actions {
        flex-direction: row;
    }

    .baipar-repeater-row .row.g-3 {
        flex-direction: column;
    }

    .baipar-repeater-row .baipar-remove-row {
        top: 4px;
        right: 4px;
    }

    .baipar-menu-item {
        flex-direction: column;
    }

    .baipar-menu-item-image {
        width: 100%;
        height: 140px;
    }
}

/* ── Responsive: Offer ── */
@media (max-width: 768px) {
    .baipar-offers {
        grid-template-columns: 1fr;
    }

    .baipar-offer-form .baipar-form-row,
    .baipar-offer-form .baipar-form-row-3 {
        grid-template-columns: 1fr;
    }

    .baipar-offer-form .baipar-image-upload {
        flex-direction: column;
    }

    .baipar-offer-form .baipar-image-actions {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .baipar-offer-card .baipar-offer-image {
        height: 140px;
    }

    .baipar-offer-discount-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .baipar-offer-code-value {
        font-size: 14px;
    }
}

/* ── RTL Support ── */
[dir="rtl"] .baipar-menu-badges {
    left: auto;
    right: 12px;
}

[dir="rtl"] .baipar-offer-discount-badge {
    right: auto;
    left: 12px;
}

[dir="rtl"] .baipar-offer-featured-flag {
    left: auto;
    right: 12px;
}

[dir="rtl"] .baipar-menu-card-image {
    margin-right: 0;
    margin-left: 0;
}

[dir="rtl"] .baipar-menu-category-title .baipar-menu-cat-count {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .baipar-repeater-row .baipar-remove-row {
    right: auto;
    left: 8px;
}

[dir="rtl"] .baipar-menu-group-count {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .baipar-menu-item.baipar-menu-special {
    border-left: none;
    border-right: 3px solid #f59e0b;
}

/* ================================================================
   Auth Forms — Login, Register, Reset Password
   Design from login.html / signup.html
   ================================================================ */

:root {
    --baipar-ink: #0e172b;
    --baipar-muted: #687084;
    --baipar-purple: #3720b9;
    --baipar-line: #e6e9f2;
    --baipar-surface: #f8f9fc;
}

.baipar-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f0eeff 0%, #e8eaff 50%, #f5f3ff 100%);
    padding: 24px;
    margin: 0;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 14px;
    color: var(--baipar-ink);
}

.baipar-auth-card {
    width: min(100%, 420px);
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 18px 50px rgba(20, 27, 63, 0.12);
    text-align: center;
}

.baipar-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    color: #102d79;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1.6px;
    font-size: 30px;
    margin-bottom: 24px;
}

.baipar-auth-brand-mark {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    border-radius: 7px 7px 7px 2px;
    background: linear-gradient(135deg, #5425d8 47%, #11a2c7 48%);
    box-shadow: inset 4px -4px 0 #163c9a;
}

.baipar-auth-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--baipar-ink);
}

.baipar-auth-subtitle {
    color: var(--baipar-muted);
    margin: 6px 0 28px;
    font-size: 14px;
}

.baipar-auth-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.baipar-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.baipar-auth-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--baipar-ink);
}

.baipar-auth-field .baipar-required {
    color: #dc2626;
    margin-left: 2px;
}

.baipar-auth-field .baipar-label-optional {
    font-weight: 400;
    color: var(--baipar-muted);
    font-size: 12px;
    margin-left: 2px;
}

.baipar-auth-field input[type="text"],
.baipar-auth-field input[type="email"],
.baipar-auth-field input[type="password"],
.baipar-auth-field input[type="tel"] {
    height: 46px;
    border: 1.5px solid var(--baipar-line);
    border-radius: 10px;
    padding: 0 14px;
    font: 14px 'DM Sans', 'Inter', sans-serif;
    outline: 0;
    transition: border-color 0.2s;
    width: 100%;
    background: #fff;
    color: var(--baipar-ink);
    box-sizing: border-box;
}

.baipar-auth-field input:focus {
    border-color: var(--baipar-purple);
}

.baipar-auth-field input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.baipar-auth-password-wrapper {
    position: relative;
}

.baipar-auth-password-wrapper input {
    padding-right: 44px;
}

.baipar-auth-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: 0;
    color: #888fa0;
    cursor: pointer;
    font-size: 17px;
    padding: 4px;
    line-height: 1;
}

.baipar-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.baipar-auth-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--baipar-muted);
    cursor: pointer;
}

.baipar-auth-remember input {
    accent-color: var(--baipar-purple);
    width: 16px;
    height: 16px;
    margin: 0;
}

.baipar-auth-forgot {
    color: var(--baipar-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.baipar-auth-forgot:hover {
    text-decoration: underline;
}

.baipar-auth-submit {
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--baipar-purple);
    color: #fff;
    font: 700 15px 'DM Sans', 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.baipar-auth-submit:hover {
    background: #2e16a0;
}

.baipar-auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.baipar-auth-submit .baipar-btn-loader {
    line-height: 0;
    display: none;
}

@keyframes baipar-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.baipar-auth-spinner {
    animation: baipar-spin 0.8s linear infinite;
    opacity: 0.8;
}

.baipar-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 18px;
    color: #a3aabb;
    font-size: 12px;
}

.baipar-auth-divider::before,
.baipar-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--baipar-line);
}

.baipar-auth-socials {
    display: flex;
    gap: 10px;
}

.baipar-auth-social-btn {
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid var(--baipar-line);
    border-radius: 10px;
    background: #fff;
    font: 600 13px 'DM Sans', 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--baipar-ink);
}

.baipar-auth-social-btn:hover {
    border-color: #c4c9d9;
    background: #fdfdff;
}

.baipar-auth-social-btn i {
    font-size: 18px;
}

.baipar-auth-social-btn.google i { color: #DB4437; }
.baipar-auth-social-btn.facebook i { color: #4267B2; }
.baipar-auth-social-btn.apple i { color: #000; }

.baipar-auth-footer {
    margin-top: 28px;
    font-size: 14px;
    color: var(--baipar-muted);
}

.baipar-auth-footer a {
    color: var(--baipar-purple);
    font-weight: 600;
    text-decoration: none;
}

.baipar-auth-footer a:hover {
    text-decoration: underline;
}

.baipar-auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.baipar-auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--baipar-muted);
    cursor: pointer;
    margin: 4px 0;
}

.baipar-auth-terms input {
    accent-color: var(--baipar-purple);
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    flex-shrink: 0;
}

.baipar-auth-terms a {
    color: var(--baipar-purple);
    text-decoration: none;
}

.baipar-auth-terms a:hover {
    text-decoration: underline;
}

.baipar-form-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

.baipar-form-message.baipar-message-error,
.baipar-message-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.baipar-form-message.baipar-message-success,
.baipar-message-success {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.baipar-auth-already-logged-in {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f0eeff 0%, #e8eaff 50%, #f5f3ff 100%);
    padding: 24px;
}

.baipar-auth-already-card {
    width: min(100%, 420px);
    background: #fff;
    border-radius: 20px;
    padding: 48px 36px;
    box-shadow: 0 18px 50px rgba(20,27,63,0.12);
    text-align: center;
}

.baipar-auth-avatar {
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
}

.baipar-auth-avatar img {
    border-radius: 50%;
    display: block;
    width: 80px;
    height: 80px;
}

.baipar-auth-already-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--baipar-ink);
}

.baipar-auth-already-card p {
    color: var(--baipar-muted);
    margin: 0 0 24px;
    font-size: 14px;
}

.baipar-auth-btn-primary {
    display: inline-block;
    height: 48px;
    line-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 10px;
    background: var(--baipar-purple);
    color: #fff;
    font: 700 15px 'DM Sans', 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.baipar-auth-btn-primary:hover {
    background: #2e16a0;
    color: #fff;
}

.baipar-auth-btn-outline {
    display: inline-block;
    height: 48px;
    line-height: 48px;
    padding: 0 28px;
    border: 1.5px solid var(--baipar-line);
    border-radius: 10px;
    background: #fff;
    color: var(--baipar-ink);
    font: 600 15px 'DM Sans', 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.baipar-auth-btn-outline:hover {
    border-color: #c4c9d9;
    background: #fdfdff;
}

/* ================================================================
   Auth Responsive Breakpoints
   ================================================================ */

@media (max-width: 600px) {
    .baipar-auth-card {
        padding: 30px 22px;
    }

    .baipar-auth-socials {
        flex-direction: column;
    }

    .baipar-auth-title {
        font-size: 22px;
    }

    .baipar-auth-name-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Subscription Page Redesign
   ========================================================================== */

.baipar-subscription-page {
    padding: 16px 0;
}

.baipar-current-plan-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.35);
    transition: box-shadow 0.3s ease;
}

.baipar-current-plan-card:hover {
    box-shadow: 0 14px 48px rgba(102, 126, 234, 0.45);
}

.baipar-current-plan-card.free {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 10px 40px rgba(67, 233, 123, 0.3);
}

.baipar-current-plan-card.expired {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 40px rgba(240, 147, 251, 0.3);
}

.baipar-current-plan-card.cancelled {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    box-shadow: 0 10px 40px rgba(161, 140, 209, 0.3);
}

.baipar-current-plan-card.pending {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    box-shadow: 0 10px 40px rgba(246, 211, 101, 0.3);
}

.baipar-current-plan-card.trial {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 40px rgba(79, 172, 254, 0.3);
}

.baipar-current-plan-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.baipar-current-plan-info {
    flex: 1;
    min-width: 220px;
}

.baipar-current-plan-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

.baipar-current-plan-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.baipar-current-plan-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.baipar-current-plan-price {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.baipar-current-plan-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.baipar-current-plan-dates {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.baipar-date-item {
    text-align: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    min-width: 120px;
}

.baipar-date-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.baipar-date-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.baipar-current-plan-action {
    padding: 0 36px 24px 36px;
}

.baipar-btn-danger-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    color: #fff;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.baipar-btn-danger-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.baipar-btn-danger-outline svg {
    flex-shrink: 0;
}

.baipar-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #344767;
    margin: 0 0 6px 0;
}

.baipar-section-subtitle {
    font-size: 14px;
    color: #8392ab;
    margin: 0 0 24px 0;
}

.baipar-subscription-features {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.baipar-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.baipar-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.baipar-feature-item:hover {
    background: #e9ecef;
}

.baipar-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #5e72e4;
}

.baipar-feature-icon .baipar-icon-check {
    color: #2dce89;
}

.baipar-feature-count {
    font-size: 14px;
    font-weight: 700;
    color: #5e72e4;
}

.baipar-feature-unlimited {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2dce89;
    letter-spacing: 0.5px;
}

.baipar-feature-name {
    font-size: 13px;
    color: #525f7f;
    font-weight: 500;
}

.baipar-available-plans {
    margin-top: 8px;
}

.baipar-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.baipar-plan-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.baipar-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: #d2d6da;
}

.baipar-plan-card.featured {
    border-color: #5e72e4;
    box-shadow: 0 6px 24px rgba(94, 114, 228, 0.18);
}

.baipar-plan-card.featured:hover {
    box-shadow: 0 18px 44px rgba(94, 114, 228, 0.25);
}

.baipar-plan-card.current {
    border-color: #2dce89;
    box-shadow: 0 6px 24px rgba(45, 206, 137, 0.15);
}

.baipar-plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #5e72e4, #825ee4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 2;
}

.baipar-plan-current-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #2dce89;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 2;
}

.baipar-plan-head {
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f3f9;
}

.baipar-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #344767;
    margin: 0 0 16px 0;
}

.baipar-plan-price-block {
    margin-bottom: 6px;
}

.baipar-plan-amount {
    font-size: 38px;
    font-weight: 800;
    color: #344767;
    letter-spacing: -1px;
    line-height: 1;
}

.baipar-plan-currency {
    font-size: 14px;
    font-weight: 600;
    color: #8392ab;
    margin-left: 2px;
}

.baipar-plan-free {
    font-size: 28px;
    font-weight: 800;
    color: #2dce89;
    letter-spacing: -0.5px;
}

.baipar-plan-duration {
    display: inline-block;
    font-size: 12px;
    color: #8392ab;
    margin-top: 6px;
    padding: 3px 12px;
    background: #f8f9fa;
    border-radius: 50px;
}

.baipar-plan-features-list {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
    flex: 1;
}

.baipar-plan-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #525f7f;
}

.baipar-plan-feature-item .baipar-icon-check {
    color: #2dce89;
    flex-shrink: 0;
}

.baipar-plan-feature-item .baipar-icon-x {
    color: #f5365c;
    flex-shrink: 0;
}

.baipar-plan-feature-item.disabled {
    color: #adb5bd;
    text-decoration: line-through;
    opacity: 0.6;
}

.baipar-plan-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #f1f3f9;
}

.baipar-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.baipar-btn-primary {
    background: linear-gradient(135deg, #5e72e4, #825ee4);
    color: #fff;
    box-shadow: 0 4px 14px rgba(94, 114, 228, 0.3);
}

.baipar-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(94, 114, 228, 0.45);
    transform: translateY(-1px);
}

.baipar-btn-primary:disabled,
.baipar-btn-primary[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.baipar-btn-outline {
    background: #fff;
    color: #5e72e4;
    border: 2px solid #5e72e4;
}

.baipar-btn-outline:disabled,
.baipar-btn-outline[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .baipar-current-plan-inner {
        padding: 24px 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .baipar-current-plan-name {
        font-size: 22px;
    }

    .baipar-current-plan-dates {
        flex-direction: column;
        gap: 12px;
    }

    .baipar-current-plan-action {
        padding: 0 20px 20px 20px;
    }

    .baipar-current-plan-price {
        font-size: 18px;
    }

    .baipar-subscription-features {
        padding: 20px;
    }

    .baipar-features-grid {
        grid-template-columns: 1fr;
    }

    .baipar-plans-grid {
        grid-template-columns: 1fr;
    }

    .baipar-plan-amount {
        font-size: 30px;
    }

    .baipar-plan-head {
        padding: 20px 16px 16px;
    }
}

@media (max-width: 480px) {
    .baipar-current-plan-inner {
        padding: 18px 14px;
    }

    .baipar-current-plan-name {
        font-size: 18px;
    }

    .baipar-section-title {
        font-size: 17px;
    }
}

/* ================================================================
   Venue / Location Autocomplete
   ================================================================ */

.baipar-venue-suggestions {
    position: absolute;
    z-index: 1050;
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: 4px;
}

.baipar-venue-suggestion-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.baipar-venue-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.baipar-venue-item:last-child {
    border-bottom: none;
}

.baipar-venue-item:hover {
    background: #f8fafc;
}

.baipar-venue-item--internal {
    background: #f0fdf4;
    border-left: 3px solid #16a34a;
}

.baipar-venue-item--internal:hover {
    background: #dcfce7;
}

.baipar-venue-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.baipar-venue-item-info {
    flex: 1;
    min-width: 0;
}

.baipar-venue-item-info strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.baipar-venue-item-info small {
    display: block;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.baipar-venue-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    background: #dcfce7;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.baipar-venue-map {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

#venue-group {
    position: relative;
}