/* ==================================================
       DATE LOCATION INFO BAR STYLES
       Format: City: Hathras, UP, India | Date: 12 June 2026 | Lat: 27.60° | Lon: 78.10° | UTC +5:30
       ================================================== */

.bp-location-info-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap; /* ✅ Changed from wrap to nowrap to keep single line */
    background: rgba(183, 65, 14, 0.05);
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #E8E0D5;
    min-height: 44px;
    overflow-x: auto; /* ✅ Allow horizontal scroll if needed instead of wrapping */
}

.bp-location-info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #2D2D2D;
    padding: 0.2rem 0;
    white-space: nowrap; /* ✅ Keep this to prevent text wrapping */
    flex-shrink: 0; /* ✅ Prevent items from shrinking */
}

    .bp-location-info-item i {
        color: #B7410E;
        font-size: 0.9rem;
        flex-shrink: 0; /* ✅ Prevent icon from shrinking */
    }

.bp-info-label {
    font-weight: 500;
    color: #2D2D2D;
    opacity: 0.65;
    font-size: 0.75rem;
    white-space: nowrap; /* ✅ Prevent label from wrapping */
    flex-shrink: 0; /* ✅ Prevent label from shrinking */
}

.bp-info-value {
    font-weight: 600;
    color: #2D2D2D;
    font-size: 0.8rem;
    white-space: nowrap; /* ✅ Prevent value from wrapping */
}

.bp-location-info-divider {
    color: #D1CCC4;
    font-weight: 300;
    font-size: 1rem;
    padding: 0 0.1rem;
    user-select: none;
    flex-shrink: 0; /* ✅ Prevent divider from shrinking */
}

.bp-info-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #DC2626;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    background: #FEE2E2;
    border-radius: 8px;
    border-left: 3px solid #DC2626;
}

    .bp-info-error i {
        color: #DC2626;
    }

/* Tablet */
@media (max-width: 992px) {
    .bp-location-info-bar {
        gap: 0.6rem;
        padding: 0.5rem 1rem;
        flex-wrap: nowrap; /* ✅ Keep single line on tablet */
        overflow-x: auto; /* ✅ Allow horizontal scroll */
    }

    .bp-location-info-item {
        font-size: 0.75rem;
        gap: 0.3rem;
    }

        .bp-location-info-item i {
            font-size: 0.8rem;
        }

    .bp-info-label {
        font-size: 0.7rem;
    }

    .bp-info-value {
        font-size: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bp-location-info-bar {
        gap: 0.4rem;
        padding: 0.4rem 0.75rem;
        margin-bottom: 1rem;
        border-radius: 10px;
        flex-wrap: nowrap; /* ✅ Keep single line on mobile */
        overflow-x: auto; /* ✅ Allow horizontal scroll */
        justify-content: flex-start; /* ✅ Align to start for scrolling */
        -webkit-overflow-scrolling: touch; /* ✅ Smooth scrolling on iOS */
    }

    .bp-location-info-item {
        font-size: 0.7rem;
        gap: 0.25rem;
    }

        .bp-location-info-item i {
            font-size: 0.7rem;
        }

    .bp-info-label {
        font-size: 0.65rem;
    }

    .bp-info-value {
        font-size: 0.7rem;
    }

    .bp-location-info-divider {
        font-size: 0.8rem;
    }
}

/* Small Mobile - Only wrap if absolutely necessary */
@media (max-width: 480px) {
    .bp-location-info-bar {
        gap: 0.3rem;
        padding: 0.35rem 0.5rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
        flex-wrap: wrap; /* ✅ Allow wrap only on very small screens */
        justify-content: center;
        overflow-x: visible;
        min-height: auto;
    }

    .bp-location-info-item {
        font-size: 0.65rem;
        gap: 0.2rem;
    }

        .bp-location-info-item i {
            font-size: 0.65rem;
            min-width: 14px;
        }

    .bp-info-label {
        font-size: 0.6rem;
        min-width: 32px;
    }

    .bp-info-value {
        font-size: 0.65rem;
    }

    .bp-location-info-divider {
        display: none; /* ✅ Hide dividers on very small screens to save space */
    }
}

/* Extra Small */
@media (max-width: 360px) {
    .bp-location-info-bar {
        padding: 0.25rem 0.4rem;
        gap: 0.2rem;
        flex-wrap: wrap; /* ✅ Allow wrap on extra small screens */
    }

    .bp-location-info-item {
        font-size: 0.55rem;
        gap: 0.15rem;
    }

        .bp-location-info-item i {
            font-size: 0.55rem;
            min-width: 12px;
        }

    .bp-info-label {
        font-size: 0.5rem;
        min-width: 28px;
    }

    .bp-info-value {
        font-size: 0.55rem;
    }
}
