﻿/* Find partner view styles */
.footer-container {
    margin-top: 0 !important;
}

#partnerCardsContainer {
    padding: 0 15px;
}

#partnerCardsRow {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.pagination-container {
    margin-top: 30px;
    margin-bottom: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-item {
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.page-item.active {
    z-index: 0;
}

    .page-item.active .page-link {
        background-color: #1775FF;
        color: #fff;
        border-color: #1775FF;
    }

.page-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.page-item.active .page-link:hover {
    background-color: #0056b3;
}

@media (max-width: 576px) {
    #partnerCardsContainer {
        padding: 0 10px;
    }
}

/* Search Btn Style */
.search-button {
    background-color: #F24CB2 !important; /* ao-deep-pink-bg */
}

    .search-button:hover {
        background-color: #EB0099 !important; /* ao-pink-bg  */
    }

/* Tab Navigation */
.tab-navigation-container {
    background: white;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 4rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    color: #6b7280;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .tab-btn:hover {
        background-color: #f3f4f6;
        border-color: #d1d5db;
    }

    .tab-btn.active {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
        border-color: #3b82f6;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

/* Tab Content Panels */
.tab-content-panel {
    min-height: 400px;
    animation: fadeIn 0.3s ease-in-out;
}

    .tab-content-panel.hidden {
        display: none;
    }

    .tab-content-panel.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

    .empty-state i {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .empty-state h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #6b7280;
    }

    .empty-state p {
        font-size: 1.125rem;
    }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .tab-btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Distance Filter Group - Hidden by default, shown only on Partners tab */
.distance-filter-group {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.distance-filter-group.visible {
    display: block;
    opacity: 1;
}

/* Distance Slider Container */
.distance-slider-container {
    position: relative;
    padding: 2rem 0 1rem;
    margin-top: 0.5rem;
}

/* Distance Slider Input */
.distance-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(to right, #3b82f6 0%, #3b82f6 100%, #e5e7eb 100%, #e5e7eb 100%);
    outline: none;
    cursor: pointer;
}

/* Slider Thumb (Handle) */
.distance-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    transition: transform 0.2s ease-in-out;
}

.distance-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.distance-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.distance-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* Distance Value Indicator (Floating Pin) */
.distance-value-indicator {
    position: absolute;
    top: -10px;
    left: 0;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    transition: left 0.1s ease-out, transform 0s;
}

.distance-value-indicator::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #3b82f6;
}

/* Distance Slider Labels */
.distance-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Filter Label */
.filter-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}