.qwen-carte-zone {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e8e8e8;
}

.qwen-carte-zone-inner {
    width: 100%;
    height: 100%;
}

.qwen-carte-zone .leaflet-container {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.qwen-carte-recherche {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 90%;
    max-width: 420px;
    display: flex;
    gap: 4px;
    background: #fff;
    padding: 6px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.qwen-carte-recherche input[name="lieu"] {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.qwen-carte-recherche input[name="lieu"]:focus {
    border-color: #888;
}

.qwen-carte-recherche button[type="submit"] {
    padding: 8px 16px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.qwen-carte-recherche button[type="submit"]:hover {
    background: #333;
}

.qwen-carte-aide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    padding: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    max-width: 300px;
}

.qwen-carte-message-aucun {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 1001;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    text-align: center;
    display: none;
}

.qwen-carte-message-introuvable {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 245, 245, 0.95);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 1001;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    text-align: center;
    display: none;
    color: #c0392b;
}

/* Recherche-biens : barre horizontale */
form.recherche-biens {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 16px 24px;
    margin: 0;
}

form.recherche-biens .recherche-biens-groupe {
    flex: 1;
    min-width: 0;
}

form.recherche-biens .recherche-biens-groupe label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    line-height: 1.2;
}

form.recherche-biens .recherche-biens-groupe input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    height: 40px;
}

form.recherche-biens .recherche-biens-groupe select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    height: 40px;
}

form.recherche-biens button[type="submit"] {
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    height: 40px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .qwen-carte-recherche {
        top: 8px;
        left: 8px;
        right: 8px;
        transform: none;
        width: auto;
        max-width: none;
    }

    form.recherche-biens {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 16px;
        align-items: start;
    }

    form.recherche-biens .recherche-biens-groupe:nth-child(3) {
        grid-column: 1 / -1;
    }

    form.recherche-biens button[type="submit"] {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 2px;
    }
}
