/* ============================================
   PACKAGES CSS - Safarnamaa
   ============================================ */

/* PAGE BANNER */
.page-banner {
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,46,0.7);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.page-banner-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-banner-content .breadcrumb-item a { color: #f0a500; }
.page-banner-content .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-banner-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* PACKAGES LISTING */
.packages-listing-section {
    padding: 48px 0 70px;
    background: #f8f9ff;
}

.packages-listing-section .row {
    align-items: flex-start;
}

/* FILTER SIDEBAR */
.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(20,26,54,0.08);
    border: 1px solid rgba(102,126,234,0.1);
    position: sticky;
    top: 118px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-header h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    font-size: 16px;
}

.filter-header h5 i { color: #667eea; margin-right: 8px; }

.filter-reset {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.filter-reset:hover { color: #764ba2; }

.filter-group {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f5f5f5;
}

.filter-group:last-of-type { border-bottom: none; }

.filter-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-search-wrap {
    position: relative;
}

.filter-search-wrap i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 13px;
}

.filter-input {
    width: 100%;
    padding: 9px 35px 9px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #34364a;
    line-height: 1.35;
}

.filter-checkbox input { cursor: pointer; accent-color: #667eea; }

.filter-text i { color: #667eea; margin-right: 5px; }

.filter-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-submit-btn:hover { transform: translateY(-2px); }

/* LISTING HEADER */
.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(20,26,54,0.07);
    border: 1px solid rgba(102,126,234,0.08);
    gap: 14px;
}

.result-count { font-size: 15px; color: #555b6f; }
.result-count strong { color: #667eea; font-size: 18px; }

.sort-select {
    padding: 8px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

/* NO RESULTS */
.no-results {
    text-align: center;
    padding: 64px 24px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(20,26,54,0.07);
    border: 1px dashed rgba(102,126,234,0.22);
}

.no-results i { color: #667eea; opacity: 0.2; margin-bottom: 18px; }
.no-results h4 {
    color: #1a1a2e;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}
.no-results p {
    color: #777d91;
    margin-bottom: 22px;
}

.no-results .btn-admin-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(102,126,234,0.26);
}

/* PAGINATION */
.pagination-wrap { margin-top: 30px; }

.pagination-wrap .pagination .page-link {
    color: #667eea;
    border-color: #e0e0e0;
}

.pagination-wrap .pagination .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
}

/* ENQUIRY STATUS TABS (Admin) */
.enquiry-status-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.enq-tab {
    padding: 8px 18px;
    border-radius: 20px;
    background: white;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.enq-tab:hover { border-color: #667eea; color: #667eea; }

.enq-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.enq-count {
    background: rgba(0,0,0,0.1);
    color: inherit;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.enq-count.new { background: #e74c3c; color: white; }

@media (max-width: 991px) {
    .page-banner {
        height: 220px;
    }

    .packages-listing-section {
        padding: 34px 0 54px;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 18px;
    }
}

@media (max-width: 767px) {
    .page-banner {
        height: 180px;
    }

    .page-banner-content h1 {
        font-size: 30px;
    }

    .listing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sort-by,
    .sort-select {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .filter-sidebar,
    .listing-header,
    .no-results {
        border-radius: 10px;
    }

    .filter-sidebar {
        padding: 18px;
    }

    .filter-checkbox {
        align-items: flex-start;
    }
}
