/* Add to assets/css/style.css */

.pagination li{
    padding-left: 8px;
    padding-right: 11px;
    border: 1px solid #000;
    margin-left: 4px;    
}

.pagination li a{
    color: #000;
    text-decoration: none;
}

.pagination li.active{
    background-color: #c51414;
    color: #fff;

}
/* Premium Listing Badge */
.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #212529;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Premium Listing Card */
.card.premium-card {
    border: 2px solid #ffc107;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card.premium-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Premium Glow Effect */
@keyframes premiumGlow {
    0% { box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.8); }
    100% { box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
}

.premium-glow {
    animation: premiumGlow 2s infinite;
}

/* Country popup styling */
.country-popup {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    margin-top: 0;
    border-radius: 0;
    border-top: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 10px 15px rgba(0,0,0,.15);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    max-height: 80vh;
    overflow-y: auto;
}

.country-popup.show-popup {
    transform: translateY(0);
    opacity: 1;
}

.country-popup .country-search {
    margin-bottom: 15px;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.country-popup .country-list-container {
    max-height: 65vh;
    overflow-y: auto;
}

.country-popup h5 {
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    background-color: white;
    padding-top: 5px;
    z-index: 1;
}

.country-popup .dropdown-item {
    padding: 3px 8px;
    margin-bottom: 1px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.country-popup .dropdown-item:hover {
    background-color: #f0f8ff;
}

.country-popup .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

/* Footer country popup specific styles */
.footer-country-popup {
    background-color: #343a40;
    border-color: #495057;
}

.footer-country-popup .country-search {
    background-color: #343a40;
    border-bottom-color: #495057;
}

.footer-country-popup h5 {
    color: #e9ecef;
    border-bottom-color: #495057;
    background-color: #343a40;
}

.footer-country-popup .dropdown-item {
    color: #e9ecef;
}

.footer-country-popup .dropdown-item:hover {
    background-color: #495057;
    color: white;
}

.footer-country-popup .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

@media (max-width: 768px) {
    .country-popup {
        width: 100%;
    }
    
    .country-popup .col-md-3 {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .country-popup .col-md-3 {
        width: 100%;
    }
}