/* ============================================================
   EDIT POI MODAL — Styles communs Marché / Restaurant
   ============================================================ */
:root {
    --cmz-teal: #0b4f4a;
    --cmz-teal-hover: #14655f;
}

/* ---- Modal header stamp ---- */
.edit-poi-modal .poi-stamp {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(11,79,74,.1); color: var(--cmz-teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-right: 14px; flex-shrink: 0;
}
.edit-poi-modal .modal-title-eyebrow {
    display: block; font-size: .72rem; font-weight: 500;
    color: #6c757d; margin-bottom: 1px;
}

/* ---- Position card ---- */
.position-card {
    background: #fff; border: 1px solid #dee2e6; border-radius: 14px;
    padding: 18px 22px; margin-bottom: 24px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.position-card .position-pin {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: rgba(11,79,74,.1); color: var(--cmz-teal);
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.position-card .position-info { flex: 1 1 200px; }
.position-card .position-label {
    font-size: .75rem; font-weight: 600; color: #6c757d;
    text-transform: uppercase; letter-spacing: .4px;
}
.position-card .position-coords { font-size: .9rem; margin-top: 2px; }
.position-card .position-coords input {
    border: none; background: transparent; width: 110px; padding: 0;
    display: inline-block; font-size: .9rem;
}
.position-card .position-hint { flex-basis: 100%; font-size: .78rem; color: #6c757d; }

/* ---- Form sections ---- */
.form-section {
    background: #fff; border: 1px solid #dee2e6; border-radius: 14px;
    padding: 22px 24px; margin-bottom: 20px;
}
.form-section-title {
    display: flex; align-items: center; gap: 8px;
    font-size: .95rem; font-weight: 600;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}
.form-section-title i { color: var(--cmz-teal); font-size: .85rem; }

/* ---- Toggle chips (restaurant types) ---- */
.edit-poi-modal .btn-check + label.toggle-chip {
    border-radius: 20px; border: 1px solid #dee2e6; color: #6c757d;
    background: #fff; padding: 4px 14px; font-size: .78rem; font-weight: 600;
    cursor: pointer; user-select: none;
}
.edit-poi-modal .btn-check:checked + label.toggle-chip {
    background: var(--cmz-teal); border-color: var(--cmz-teal); color: #fff;
}

/* ---- Buttons ---- */
.edit-poi-modal .btn-primary {
    background: var(--cmz-teal); border-color: var(--cmz-teal);
}
.edit-poi-modal .btn-primary:hover {
    background: var(--cmz-teal-hover); border-color: var(--cmz-teal-hover);
}

/* ---- Scrollable modal body ---- */
.edit-poi-modal .modal-body {
    /* Scroll indicator: subtle shadows when content overflows */
    background:
        /* Cover shadow at top (visible when scrolled down) */
        linear-gradient(to bottom, rgba(255,255,255,1) 20%, rgba(255,255,255,0)),
        /* Cover shadow at bottom (visible when not at end) */
        linear-gradient(to top, rgba(255,255,255,1) 20%, rgba(255,255,255,0)) 0 100%,
        /* Shadow at top */
        radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.15), rgba(0,0,0,0)),
        /* Shadow at bottom */
        radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.15), rgba(0,0,0,0)) 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 10px, 100% 10px, 100% 5px, 100% 5px;
    background-attachment: local, local, scroll, scroll;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
    .position-card { padding: 14px 16px; gap: 12px; }
    .position-card .position-pin { width: 36px; height: 36px; font-size: .95rem; }
    .form-section { padding: 16px 18px; }
}

