/**
 * Star Ratings & Status Badges Styling
 * Beautiful badge and rating display
 */

/* ===========================
   TOUR RATINGS
   =========================== */
.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.tour-stars {
    display: flex;
    gap: 0.2rem;
    color: #FFD700;
    font-size: 0.9rem;
}

.tour-stars i {
    filter: drop-shadow(0 1px 2px rgba(255, 215, 0, 0.2));
    transition: transform 0.2s ease;
}

.tour-card:hover .tour-stars i {
    transform: scale(1.1);
}

.rating-count {
    color: var(--gray-800);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-count {
    color: var(--gray-600);
    font-weight: 400;
    font-size: 0.85rem;
}

/* Dark mode ratings */
:root[data-theme="dark"] .rating-count {
    color: #F0F0F0;
}

:root[data-theme="dark"] .review-count {
    color: #B0B0B0;
}

/* ===========================
   STATUS BADGES
   =========================== */
.tour-badges {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 1;
    max-width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 5px 10px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    animation: badgePulse 0.6s ease-in-out;
}

@keyframes badgePulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Badge colors */
.badge-primary {
    background: linear-gradient(135deg, #0077B6, #00B4D8);
    color: white;
}

.badge-fire {
    background: linear-gradient(135deg, #FF6B35, #FF9933);
    color: white;
}

.badge-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.badge i {
    font-size: 0.85rem;
}

/* Hover effect */
.badge:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Dark mode badges */
:root[data-theme="dark"] .badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .badge:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Responsive badges */
@media (max-width: 768px) {
    .tour-badges {
        gap: 4px;
    }

    .badge {
        padding: 4px 7px;
        font-size: 0.62rem;
    }

    .tour-rating {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .tour-stars {
        font-size: 0.8rem;
    }
}

/* ===========================
   TOUR CARD INTEGRATION
   =========================== */
.tour-card {
    position: relative;
}

.tour-card-rating {
    margin: 0.5rem 0;
    padding-bottom: 0.5rem;
}

.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

:root[data-theme="dark"] .tour-card-footer {
    border-top-color: #404040;
}
