/**
 * VERDEKO SATELLITE V3 - CSS COMPLET MISE À JOUR
 * Style cohérent avec Verdeko UI
 * UPDATE: Toggle éditeur/calepinage + Icones flat optimisées + Toolbar centrée
 * FIX: Suppression doublons, 4 colonnes au lieu de 5 pour les boutons
 */

/* ==========================================================================
   MASQUER ÉDITEUR ET CONTRÔLES QUAND CALEPINAGE VISIBLE
   ========================================================================== */

body:has([id*="calepinage"]:visible) .v2-editor-wrapper,
body:has(.vdk-calepinage-active) .v2-editor-wrapper {
    display: none !important;
}

body:has([id*="calepinage"]:visible) .vdk-bg-controls-mini,
body:has(.vdk-calepinage-active) .vdk-bg-controls-mini {
    display: none !important;
}

#sliders-wrapper > h4,
.sliders-wrapper > h4 {
    display: none !important;
}

/* ==========================================================================
   ZONE D'OUTILS - CENTRÉE ET OPTIMISÉE
   ========================================================================== */

.v2-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 8px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.v2-toolbar-btn,
.sat-toolbar-btn {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 36px !important;
    padding: 8px 10px !important;
    background: linear-gradient(135deg, #5FAD5D 0%, #4A8B49 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.v2-toolbar-btn:hover,
.sat-toolbar-btn:hover {
    background: linear-gradient(135deg, #4A8B49 0%, #3d7a3c 100%) !important;
    box-shadow: 0 2px 8px rgba(79, 147, 79, 0.4) !important;
    transform: translateY(-1px) !important;
}

.v2-toolbar-btn:active,
.sat-toolbar-btn:active {
    transform: translateY(0) !important;
}

.sat-btn-icon {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    fill: none !important;
}

.sat-btn-label {
    font-size: 12px !important;
}

/* Séparateur */
.v2-toolbar-sep,
.sat-sep {
    width: 1px !important;
    height: 20px !important;
    background: #ddd !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   MODAL - CLASSES RENOMMÉES VDK
   ========================================================================== */

.vdk-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.vdk-modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.vdk-modal {
    background: white !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 900px !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(30px) scale(0.95) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.vdk-modal-wide {
    max-width: 900px !important;
}

.vdk-modal-overlay.active .vdk-modal {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

/* Header */
.vdk-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 24px !important;
    background: linear-gradient(135deg, #5FAD5D 0%, #4A8B49 100%) !important;
    color: white !important;
}

.vdk-modal-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: white !important;
}

.vdk-modal-close {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 22px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.vdk-modal-close:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: rotate(90deg) !important;
}

.vdk-modal-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: white !important;
    margin: 0 !important;
}

.vdk-modal-title svg {
    width: 18px !important;
    height: 18px !important;
    stroke: white !important;
}

/* Body */
.vdk-modal-body {
    padding: 24px !important;
    overflow-y: auto !important;
    flex: 1 !important;
}

/* Formulaire */
.vdk-form-group {
    margin-bottom: 20px !important;
    position: relative !important;
}

.vdk-form-group label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

.vdk-input {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    background: #fafafa !important;
}

.vdk-input:focus {
    outline: none !important;
    border-color: #4f934f !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(79, 147, 79, 0.15) !important;
}

/* Address Group */
.vdk-address-group {
    position: relative !important;
    margin-bottom: 20px !important;
}

.vdk-address-icon {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    color: #999 !important;
    pointer-events: none !important;
}

.vdk-address-input {
    width: 100% !important;
    padding: 12px 12px 12px 40px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    background: #fafafa !important;
}

.vdk-address-input:focus {
    outline: none !important;
    border-color: #4f934f !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(79, 147, 79, 0.15) !important;
}

/* Suggestions */
.vdk-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    z-index: 100 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    margin-top: 4px !important;
    display: none !important;
}

.vdk-suggestions.show {
    display: block !important;
}

.vdk-suggestion {
    padding: 12px 16px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background 0.15s !important;
}

.vdk-suggestion:last-child {
    border-bottom: none !important;
}

.vdk-suggestion:hover {
    background: #e8f5e9 !important;
}

/* ==========================================================================
   APERÇU - CLASSES RENOMMÉES VDK
   ========================================================================== */

.vdk-preview-section {
    margin-top: 8px !important;
}

.vdk-preview-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.vdk-preview-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.vdk-zoom-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.vdk-zoom-btn {
    width: 28px !important;
    height: 28px !important;
    background: #f0f0f0 !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s !important;
}

.vdk-zoom-btn:hover {
    background: #e0e0e0 !important;
}

#vdk-zoom-level {
    font-size: 12px !important;
    color: #666 !important;
    min-width: 40px !important;
    text-align: center !important;
}

.vdk-preview-container {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    background: #f5f5f5 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 2px solid #e0e0e0 !important;
}

#vdk-preview-img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform-origin: center center !important;
    margin-top: -150px !important;
    margin-left: -50% !important;
    cursor: grab !important;
    user-select: none !important;
}

#vdk-preview-img:active {
    cursor: grabbing !important;
}

.vdk-preview-loader {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: #f5f5f5 !important;
    color: #666 !important;
    font-size: 13px !important;
}

.vdk-spinner {
    width: 32px !important;
    height: 32px !important;
    border: 3px solid #e0e0e0 !important;
    border-top-color: #4f934f !important;
    border-radius: 50% !important;
    animation: vdk-spin 0.8s linear infinite !important;
}

@keyframes vdk-spin {
    to { transform: rotate(360deg); }
}

.vdk-preview-help {
    margin-top: 10px !important;
    text-align: center !important;
    font-size: 11px !important;
    color: #999 !important;
}

.vdk-address-display {
    margin-top: 12px !important;
    padding: 12px 16px !important;
    background: #e8f5e9 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #2e7d32 !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* ==========================================================================
   FOOTER MODAL - CLASSES RENOMMÉES VDK
   ========================================================================== */

.vdk-modal-footer {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding: 16px 24px !important;
    border-top: 1px solid #e0e0e0 !important;
    background: #fafafa !important;
}

.sat-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.vdk-btn-secondary {
    background: transparent !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
}

.vdk-btn-secondary:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
}

.vdk-btn-confirm {
    background: linear-gradient(135deg, #5FAD5D 0%, #4A8B49 100%) !important;
    color: white !important;
}

.vdk-btn-confirm:hover:not(:disabled) {
    background: linear-gradient(135deg, #4A8B49 0%, #3d7a3c 100%) !important;
    box-shadow: 0 4px 12px rgba(79, 147, 79, 0.3) !important;
}

.vdk-btn-confirm:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.vdk-btn-confirm svg {
    width: 16px !important;
    height: 16px !important;
}

/* ==========================================================================
   CONTRÔLE OPACITÉ - CLASSES RENOMMÉES VDK
   ========================================================================== */

.vdk-opacity-control {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.vdk-opacity-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.vdk-opacity-icon {
    font-size: 16px !important;
}

.vdk-opacity-slider {
    width: 100px !important;
    height: 4px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #e0e0e0 !important;
    border-radius: 2px !important;
    outline: none !important;
}

.vdk-opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    background: #4f934f !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.vdk-opacity-slider::-moz-range-thumb {
    width: 16px !important;
    height: 16px !important;
    background: #4f934f !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
}

.vdk-opacity-val {
    font-size: 12px !important;
    color: #666 !important;
    min-width: 35px !important;
}

.vdk-btn-remove {
    margin-left: auto !important;
    width: 28px !important;
    height: 28px !important;
    background: #ffebee !important;
    border: none !important;
    border-radius: 6px !important;
    color: #c62828 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s !important;
}

.vdk-btn-remove:hover {
    background: #ffcdd2 !important;
}

/* ==========================================================================
   TOAST - CLASSE RENOMMÉE VDK
   ========================================================================== */

.vdk-toast {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: #4f934f !important;
    color: white !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999999 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transform: translateY(100px) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
}

.vdk-toast.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.vdk-toast.error {
    background: #c62828 !important;
}

/* ==========================================================================
   SÉLECTEUR DE MODE - CLASSES RENOMMÉES VDK
   ========================================================================== */

.vdk-mode-selector {
    margin-bottom: 16px !important;
    display: flex !important;
    gap: 12px !important;
}

.vdk-mode-selector label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
}

.vdk-mode-buttons {
    display: flex !important;
    gap: 8px !important;
}

.vdk-mode-btn {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 12px 8px !important;
    background: #f5f5f5 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #666 !important;
}

.vdk-mode-btn:hover:not(.disabled) {
    background: #fff !important;
    border-color: #4f934f !important;
}

.vdk-mode-btn.active {
    background: #e8f5e9 !important;
    border-color: #4f934f !important;
    color: #2e7d32 !important;
}

.vdk-mode-btn.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.vdk-mode-icon {
    font-size: 20px !important;
}

/* ==========================================================================
   GRILLE D'APERÇUS - CLASSES RENOMMÉES VDK
   ========================================================================== */

.vdk-previews-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

@media (max-width: 500px) {
    .vdk-previews-grid {
        grid-template-columns: 1fr !important;
    }
}

.vdk-preview-box {
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.2s !important;
}

.vdk-preview-box.active {
    border-color: #4f934f !important;
    box-shadow: 0 0 0 3px rgba(79, 147, 79, 0.15) !important;
}

.vdk-preview-label {
    padding: 8px 12px !important;
    background: #f5f5f5 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #666 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.vdk-preview-label svg {
    width: 16px !important;
    height: 16px !important;
}

.vdk-preview-content {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vdk-preview-placeholder {
    text-align: center !important;
    color: #999 !important;
    font-size: 12px !important;
}

.vdk-preview-container {
    height: 200px !important;
    border-radius: 0 !important;
    border: none !important;
}

.vdk-preview-marker {
    position: absolute !important;
    width: 12px !important;
    height: 12px !important;
    background: #4f934f !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(79, 147, 79, 0.3) !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
}

.vdk-preview-info {
    padding: 8px 12px !important;
    background: #fafafa !important;
    font-size: 11px !important;
    color: #999 !important;
    border-top: 1px solid #e0e0e0 !important;
    text-align: center !important;
}

.vdk-preview-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.vdk-preview-error {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    color: #999 !important;
    font-size: 13px !important;
    font-style: italic !important;
}

/* Space indicator */
.vdk-space-indicator {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(100px) !important;
    background: #4f934f !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
    z-index: 999 !important;
}

.vdk-space-indicator.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
}

/* ==========================================================================
   VERDEKO V4 - DRAG MODE CSS
   Styles pour le système Mode Déplacer
   ===================================================================== */

.vdk-drag-mode-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    transition: all 0.3s;
    margin-top: 8px;
}

.vdk-drag-mode-indicator.active {
    background: #d4edda;
    color: #2e7d32;
    border: 1px solid #c3e6cb;
}

.vdk-drag-mode-indicator.active.satellite {
    background: #cce5ff;
    color: #0056b3;
    border: 1px solid #b6daff;
}

.vdk-indicator-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}

.vdk-drag-mode-indicator.active .vdk-indicator-dot {
    background: #4f934f;
    animation: pulse 1.5s infinite;
}

.vdk-drag-mode-indicator.active.satellite .vdk-indicator-dot {
    background: #0056b3;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


/* ==========================================================================
   BACKGROUND CONTROLS - FOND DE PLAN OPTIMISÉ (CLEAN VERSION)
   ===================================================================== */

.vdk-bg-controls-mini {
    padding: 12px !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
}

.vdk-bg-header {
    margin-bottom: 10px !important;
}

.vdk-bg-header h3 {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #2e7d32 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

/* Item (une ligne par fond) - layout flex amélioré V5.6 */
.vdk-bg-item-mini {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

.vdk-bg-item-mini:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Icone + label (cadastre/satellite) */
.vdk-bg-label-mini {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 75px !important;
    flex-shrink: 0 !important;
}

.vdk-bg-label-mini svg {
    width: 14px !important;
    height: 14px !important;
    color: #4f934f !important;
    flex-shrink: 0 !important;
}

.vdk-bg-label-mini span {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #333 !important;
    white-space: nowrap !important;
}

/* Slider - prend l'espace disponible */
.vdk-controls-mini {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 60px !important;
    max-width: 120px !important;
}

.vdk-slider-mini {
    flex: 1 !important;
    height: 3px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #ddd !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.vdk-slider-mini::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 10px !important;
    height: 10px !important;
    background: #4f934f !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.vdk-slider-mini::-webkit-slider-thumb:hover {
    background: #2e7d32 !important;
}

.vdk-slider-mini::-moz-range-thumb {
    width: 10px !important;
    height: 10px !important;
    background: #4f934f !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.vdk-slider-mini::-moz-range-thumb:hover {
    background: #2e7d32 !important;
}

/* =====================================================================
   BOUTONS ICONES - GRIS CLAIR #f0f0f0
   ===================================================================== */

.vdk-icon-btn {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    background: #f0f0f0 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s !important;
    color: #4f934f !important;
    flex-shrink: 0 !important;
}

.vdk-icon-btn:hover {
    background: #e5e5e5 !important;
    color: #2e7d32 !important;
}

.vdk-icon-btn.active {
    background: #e5e5e5 !important;
    color: #2e7d32 !important;
}

/* Bouton danger (supprimer) */
.vdk-icon-btn.danger {
    color: #c62828 !important;
}

.vdk-icon-btn.danger:hover {
    background: #e5e5e5 !important;
    color: #b71c1c !important;
}

.vdk-icon-btn svg {
    width: 12px !important;
    height: 12px !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

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

@media (max-width: 600px) {
    .vdk-icon-btn {
        width: 26px !important;
        height: 26px !important;
    }
    
    .vdk-bg-item-mini {
        gap: 6px !important;
    }
}
.vdk-icon-btn.active {
    background: #4f934f !important;    /* Vert */
    color: white !important;            /* Icone blanche */
}

.vdk-icon-btn.active:hover {
    background: #2e7d32 !important;    /* Vert foncé au hover */
    color: white !important;
}


/* CORRECTION 1: Bouton fermeture visible */
.vdk-modal-close {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    font-size: 24px !important;
    padding: 0 !important;
    font-weight: 700 !important;
}

.vdk-modal-close:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.1) !important;
}

/* CORRECTION 2: Icones sélecteur de mode - Couleur visible */
.vdk-mode-btn svg {
    width: 14px !important;
    height: 14px !important;
    color: #888 !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
    fill: none !important;
}

.vdk-mode-btn:hover:not(.disabled) {
    color: #4f934f !important;
}

.vdk-mode-btn:hover:not(.disabled) svg {
    color: #4f934f !important;
}

.vdk-mode-btn.active {
    color: #4f934f !important;
}

.vdk-mode-btn.active svg {
    color: #4f934f !important;
}

/* CORRECTION 3: Boutons avec border-radius 50px */
.vdk-btn-secondary {
    border-radius: 50px !important;
}

.vdk-btn-confirm {
    border-radius: 50px !important;
}

/* CORRECTION 4: Bouton drag - Supprimer doublon et mettre à jour */
.vdk-icon-btn.active {
    background: #4f934f !important;
    color: white !important;
}

.vdk-icon-btn.active:hover {
    background: #2e7d32 !important;
    color: white !important;
}