/**
 * PR4 - Geolocation Styles
 * Styles pour le module de géolocalisation et recherche de points
 */

/* ===== MODAL DE CONSENTEMENT GÉOLOCALISATION ===== */

.geolocation-consent-modal {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    min-height: calc(100vh - 300px);
}

.geolocation-consent-overlay {
    display: none;
}

.geolocation-consent-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.geolocation-consent-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--primary-color);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geolocation-consent-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.geolocation-consent-content h3 {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.geolocation-consent-content > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.geolocation-consent-features {
    background: rgba(18, 96, 168, 0.04);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 16px;
}

.consent-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: left;
}

.consent-feature:last-child {
    margin-bottom: 0;
}

.consent-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.consent-feature span {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.geolocation-consent-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.geo-btn-primary,
.geo-btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Calibri', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.geo-btn-primary {
    background: var(--primary-color);
    color: white;
}

.geo-btn-primary:hover {
    background: #194B8A;
}

.geo-btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.geo-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.02);
}

.geolocation-consent-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== SÉLECTEUR DE DÉPARTEMENT ===== */

.department-selector-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 16px 20px;
    min-height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.department-selector-header {
    text-align: center;
    margin-bottom: 20px;
}

.department-selector-header svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 8px;
    opacity: 0.7;
}

.department-selector-header h3 {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

/* Bouton d'ouverture de la modale département */
.department-select-btn {
    width: 100%;
    max-width: 400px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Calibri', Arial, sans-serif;
    color: var(--text-secondary);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.department-select-btn svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.department-select-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 96, 168, 0.1);
}

/* ===== MODALE DE SÉLECTION DE DÉPARTEMENT ===== */

.department-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.department-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.department-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e9ecef;
}

.department-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Calibri', Arial, sans-serif;
}

.department-modal-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-bottom: 1px solid #e9ecef;
}

.department-modal-search svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.department-modal-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: 'Calibri', Arial, sans-serif;
    color: var(--text-primary);
    background: transparent;
}

.department-modal-search input::placeholder {
    color: var(--text-tertiary);
}

.department-modal-body {
    padding: 8px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.department-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.department-option:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

.department-option.active {
    background: rgba(18, 96, 168, 0.08);
    border-color: var(--primary-color);
}

.dept-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(18, 96, 168, 0.08);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Calibri', Arial, sans-serif;
    flex-shrink: 0;
}

.department-option span:last-child {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Calibri', Arial, sans-serif;
}

/* ===== BARRE DE FILTRE DÉPARTEMENT ===== */

.department-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.filter-bar-left svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.filter-bar-dept {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-bar-count {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    padding-left: 8px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.filter-bar-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.filter-bar-change,
.filter-bar-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.filter-bar-change:hover {
    background: rgba(18, 96, 168, 0.08);
    color: var(--primary-color);
}

.filter-bar-clear:hover {
    background: rgba(204, 41, 54, 0.08);
    color: var(--error-color);
}

/* ===== LISTE DES POINTS ===== */

/* Ascenseur pour l'onglet Où Imprimer */
#pointsList {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    overflow-x: hidden;
}

.points-loading {
    text-align: center;
    padding: 48px 24px;
    min-height: calc(100vh - 350px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(18, 96, 168, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.points-loading p {
    font-size: 14px;
    color: var(--text-secondary);
}

.empty-points-state {
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.empty-points-state svg {
    width: 40px;
    height: 40px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.empty-points-state p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.empty-points-hint {
    font-size: 13px !important;
    color: var(--text-tertiary) !important;
    margin-top: 4px !important;
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 8px;
}

.points-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.points-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Calibri', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.points-filter-btn svg {
    width: 18px;
    height: 18px;
}

.points-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(18, 96, 168, 0.05);
}

.points-grid {
    display: grid;
    gap: 12px;
    padding: 12px 10px 150px;
}

/* Animation d'apparition des résultats */
@keyframes pointFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-filter-bar {
    animation: pointFadeIn 0.3s ease-out;
}

/* ===== CARTE DE POINT ===== */

.point-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    animation: pointFadeIn 0.3s ease-out both;
}

.point-card:nth-child(1) { animation-delay: 0s; }
.point-card:nth-child(2) { animation-delay: 0.04s; }
.point-card:nth-child(3) { animation-delay: 0.08s; }
.point-card:nth-child(4) { animation-delay: 0.12s; }
.point-card:nth-child(5) { animation-delay: 0.16s; }
.point-card:nth-child(6) { animation-delay: 0.2s; }

.point-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Carte prospect (style Doctolib) */
.point-card.prospect-card {
    background: rgba(212, 118, 10, 0.02);
    border: 1px solid rgba(212, 118, 10, 0.2);
    position: relative;
}

.point-card.prospect-card:hover {
    border-color: rgba(212, 118, 10, 0.4);
    box-shadow: 0 4px 16px rgba(212, 118, 10, 0.1);
}

.point-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.point-name {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.point-distance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(18, 96, 168, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.point-distance svg {
    width: 16px;
    height: 16px;
}

/* Badge prospect */
.point-prospect-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(212, 118, 10, 0.15);
    color: #D4760A;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    white-space: nowrap;
}

.point-prospect-badge svg {
    width: 14px;
    height: 14px;
}

/* Actions prospect discrètes (version inline avec icônes) */
.point-prospect-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.prospect-action-link {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-family: 'Calibri', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.prospect-action-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.prospect-action-link.owner {
    color: #D4760A;
}

.prospect-action-link.owner svg {
    stroke: #D4760A;
}

.prospect-action-link.owner:hover {
    background: rgba(212, 118, 10, 0.08);
    text-decoration: underline;
}

.prospect-action-link.user {
    color: var(--primary-color);
}

.prospect-action-link.user svg {
    stroke: var(--primary-color);
}

.prospect-action-link.user:hover {
    background: rgba(18, 96, 168, 0.08);
    text-decoration: underline;
}

/* Tooltip au survol */
.prospect-action-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 100;
}

.prospect-action-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* Compteur de suggestions (optionnel) */
.suggestion-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: rgba(18, 96, 168, 0.12);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 4px;
}

.prospect-separator {
    color: rgba(0, 0, 0, 0.2);
    font-size: 13px;
    user-select: none;
    margin: 0 4px;
}

/* ===== MODALES DE SUGGESTION ===== */

/* Overlay modal */
.suggestion-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contenu modal */
.suggestion-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Bouton fermer */
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

/* Header modal suggestion */
.suggestion-modal-header {
    padding: 40px 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.suggestion-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), #194B8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.suggestion-modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.suggestion-modal-header h3 {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.suggestion-modal-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Body modal suggestion */
.suggestion-modal-body {
    padding: 24px 32px 32px;
}

.suggestion-info-box {
    background: rgba(18, 96, 168, 0.08);
    border: 1px solid rgba(18, 96, 168, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.suggestion-info-box p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
}

.suggestion-address {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    margin-top: 4px !important;
}

/* Formulaire suggestion */
.suggestion-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.suggestion-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 16px;
    transition: all 0.2s ease;
}

.suggestion-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 96, 168, 0.1);
}

.form-hint {
    margin: 6px 0 0 0;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Bouton submit suggestion */
.suggestion-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.suggestion-submit-btn:hover:not(:disabled) {
    background: #194B8A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 96, 168, 0.4);
}

.suggestion-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.suggestion-submit-btn svg {
    width: 20px;
    height: 20px;
}

.suggestion-submit-btn .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Impact message */
.suggestion-impact {
    background: rgba(212, 118, 10, 0.1);
    border-left: 3px solid #D4760A;
    border-radius: 8px;
    padding: 12px 16px;
}

.suggestion-impact-text {
    margin: 0;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

/* ===== MODAL DE SUCCÈS ===== */

.suggestion-modal-overlay.success {
    background: rgba(0, 0, 0, 0.7);
}

.suggestion-modal-content.success {
    max-width: 450px;
}

/* Header succès */
.success-modal-header {
    padding: 40px 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: #0F8A4F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
    stroke-width: 3;
}

.success-modal-header h3 {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.success-modal-header p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Body succès */
.success-modal-body {
    padding: 24px 32px 32px;
}

.success-info {
    text-align: center;
    margin-bottom: 28px;
}

.success-info p {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: var(--text-primary);
}

.success-subtitle {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
}

/* Section partage */
.share-section {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.share-title {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-primary);
    text-align: center;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Boutons de partage */
.share-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* WhatsApp */
.share-btn.whatsapp {
    background: #0F8A4F;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #0B7A43;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 138, 79, 0.4);
}

/* Copier */
.share-btn.copy {
    background: white;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.share-btn.copy:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-btn.copy.copied {
    background: #0F8A4F;
    color: white;
    border-color: #0F8A4F;
}

/* Bouton fermer succès */
.success-close-btn {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 10px;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.point-address,
.point-contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.point-address svg,
.point-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-secondary);
}

.point-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.point-contact a:hover {
    text-decoration: underline;
}

.point-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.point-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Calibri', Arial, sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
}

.point-action-btn svg {
    width: 16px;
    height: 16px;
}

.point-action-btn.primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.point-action-btn.primary:hover {
    background: #194B8A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 96, 168, 0.3);
}

.point-action-btn.secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.point-action-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(18, 96, 168, 0.05);
}

/* ===== MODAL COMMERÇANT (MERCHANT) ===== */

.merchant-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.merchant-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.merchant-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Header modal commerçant */
.merchant-modal-header {
    padding: 40px 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(212, 118, 10, 0.05) 0%, rgba(212, 118, 10, 0.02) 100%);
}

.merchant-modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #D4760A, #B8640A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.merchant-modal-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
}

.merchant-modal-header h3 {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.merchant-modal-header p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Body modal commerçant */
.merchant-modal-body {
    padding: 32px;
}

/* Section avantages */
.merchant-benefits {
    margin-bottom: 32px;
}

.merchant-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(212, 118, 10, 0.03);
    border: 1px solid rgba(212, 118, 10, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.merchant-benefit:hover {
    background: rgba(212, 118, 10, 0.06);
    border-color: rgba(212, 118, 10, 0.2);
    transform: translateX(4px);
}

.merchant-benefit:last-child {
    margin-bottom: 0;
}

.merchant-benefit svg {
    width: 24px;
    height: 24px;
    stroke: #D4760A;
    flex-shrink: 0;
    margin-top: 2px;
}

.merchant-benefit h4 {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.merchant-benefit p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Formulaire commerçant */
.merchant-form {
    margin-bottom: 24px;
}

.merchant-form .form-group {
    margin-bottom: 20px;
}

.merchant-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.merchant-form .form-group-half {
    flex: 1;
    margin-bottom: 0;
}

.merchant-form .form-group-third {
    flex: 0 0 30%;
    margin-bottom: 0;
}

.merchant-form .form-group-twothirds {
    flex: 1;
    margin-bottom: 0;
}

.merchant-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.merchant-form .form-hint {
    margin: 6px 0 0 0;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.merchant-form .suggestion-input,
.merchant-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.merchant-form .suggestion-input:focus,
.merchant-form textarea:focus {
    outline: none;
    border-color: #D4760A;
    box-shadow: 0 0 0 3px rgba(212, 118, 10, 0.1);
}

.merchant-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Bouton submit commerçant */
.merchant-form .suggestion-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #D4760A;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.merchant-form .suggestion-submit-btn:hover:not(:disabled) {
    background: #B8640A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 118, 10, 0.4);
}

.merchant-form .suggestion-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.merchant-form .suggestion-submit-btn svg {
    width: 20px;
    height: 20px;
}

/* Contact alternatif */
.merchant-contact-alt {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.merchant-contact-alt a {
    color: #D4760A;
    text-decoration: none;
    font-weight: 600;
}

.merchant-contact-alt a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 600px) {
    .geolocation-consent-content {
        padding: 20px;
    }

    .geolocation-consent-content h3 {
        font-size: 16px;
    }

    .geolocation-consent-actions {
        flex-direction: column;
    }

    .department-selector-container {
        padding: 12px 10px;
    }

    .department-filter-bar {
        padding: 10px 12px;
    }

    .filter-bar-dept {
        font-size: 13px;
    }

    .filter-bar-count {
        font-size: 12px;
    }

    .points-header {
        padding: 8px 5px;
    }

    .points-grid {
        padding: 0 5px 160px;
    }

    .point-card {
        padding: 16px;
    }

    .point-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .point-actions {
        flex-direction: column;
    }

    /* Responsive modal commerçant */
    .merchant-modal-content {
        margin: 10px;
    }

    .merchant-modal-header {
        padding: 32px 24px 20px;
    }

    .merchant-modal-header h3 {
        font-size: 24px;
    }

    .merchant-modal-body {
        padding: 24px 20px;
    }

    .merchant-benefit {
        padding: 16px;
    }

    /* Form responsive */
    .merchant-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .merchant-form .form-group-half,
    .merchant-form .form-group-third,
    .merchant-form .form-group-twothirds {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }
}
