/**
 * Theme Name: BrocanteDuCoin
 * Template: listygo
 * Description: Hunt for hidden gems at flea markets and garage sales across France! Find upcoming events near you with BrocanteDuCoin.
 * Version: 1.0.0
 * Requires PHP: 8.0
 * License: Proprietary
 * Author: BrocanteDuCoin
 * Author URI: https://brocanteducoin.fr
 * Text Domain: brocanteducoin
 * Domain Path: /languages
 * @package BrocanteDuCoin
 */

/* Geolocation modal */

.bc__geolocation-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
}

.bc__geolocation-modal__content {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    max-width: 420px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    animation: bc__geolocation-modal__fade-in 0.3s ease;
}

.bc__geolocation-modal__title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #111;
}

.bc__geolocation-modal__title svg {
    width: 22px;
    height: 22px;
    color: #d9774d;
}

.bc__geolocation-modal__value {
    position: relative;
    top: 3px;
}

.bc__geolocation-modal__text {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
}

.bc__geolocation-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bc__geolocation-modal__btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc__geolocation-modal__btn--primary {
    background: #d9774d;
    color: white;
}

.bc__geolocation-modal__btn--primary:hover {
    background: #c15f35;
}

.bc__geolocation-modal__btn--secondary {
    background: #e5e7eb;
    color: #797979;
}

.bc__geolocation-modal__btn--secondary:hover {
    background: #d1d5db;
    color: #4b5563 !important;
}

.bc__geolocation-modal__btn--tertiary {
    background: transparent;
    color: #bbbbbb !important;
    text-decoration: underline;
}

.bc__geolocation-modal__btn--tertiary:hover {
    color: #999999 !important;
}

.bc__geolocation-modal__manual-entry {
    display: none;
    margin-top: 1.5rem;
}

.bc__geolocation-modal__input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.bc__geolocation-modal__suggestions {
    margin-top: 0.5rem;
    text-align: left;
    padding: 0;
    list-style: none;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.bc__geolocation-modal__suggestions li {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.bc__geolocation-modal__suggestions li:hover {
    background-color: #f3f4f6;
}

@keyframes bc__geolocation-modal__fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Geolocation */

.bc__geolocation {
    margin-left: 15px;
    cursor: pointer;
}

.bc__geolocation_icon svg {
    color: #ffffff;
    width: 15px;
    height: 15px;
    font-weight: 500;
}

.bc__geolocation_text {
    color: #ffffff;
    font-size: 16px;
    position: relative;
    top: 3px;
}

@media (max-width: 1024px) {
    /* Geolocation */

    .bc__geolocation {
        margin-left: initial;
        position: absolute;
        top: 74px;
        left: 70px;
    }

    .bc__geolocation_icon svg {
        width: 13px;
        height: 13px;
    }

    .bc__geolocation_text {
        font-size: 13px;
        top: 2px;
    }
}