css #ndf-configurator-app { max-width: 1300px; margin: 20px auto; font-family: inherit; } .ndf-cfg-header { display: flex; justify-content: space-between; align-items: center; background: #ffffff; padding: 20px 24px; border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 20px; } .ndf-cfg-header h2 { margin: 0 0 5px 0; font-size: 22px; color: #0f172a; } .ndf-cfg-header p { margin: 0; font-size: 14px; color: #64748b; } .ndf-cfg-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; } .ndf-cfg-group { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 20px; overflow: hidden; } .ndf-group-title { background: #1e293b; color: #ffffff; margin: 0; padding: 12px 18px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; } .ndf-slot-row { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 15px; padding: 14px 18px; border-bottom: 1px solid #f1f5f9; transition: background 0.15s; } .ndf-slot-row:last-child { border-bottom: none; } .ndf-slot-row.has-product { background: #f8fafc; } .ndf-slot-name strong { font-size: 14px; color: #0f172a; } .ndf-empty-text { font-size: 13px; color: #94a3b8; font-style: italic; } .ndf-selected-card { display: flex; align-items: center; gap: 12px; } .ndf-selected-card img { width: 42px; height: 42px; object-fit: contain; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; } .ndf-selected-title { font-size: 13px; font-weight: 600; color: #1e293b; flex: 1; } .ndf-selected-price { font-size: 14px; color: #0055A5; white-space: nowrap; } .ndf-slot-action { display: flex; gap: 6px; } .ndf-btn-add { background: #0055A5; color: #ffffff; border: none; padding: 7px 14px; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; } .ndf-btn-add:hover { background: #003d7a; } .ndf-btn-edit { background: #475569; } .ndf-btn-remove { background: #fee2e2; color: #dc2626; border: none; padding: 7px 10px; border-radius: 4px; font-weight: 700; cursor: pointer; } .ndf-btn-secondary { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; padding: 8px 14px; border-radius: 4px; cursor: pointer; font-weight: 600; } /* Colonne récapitulative sticky */ .ndf-summary-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; position: sticky; top: 20px; } .ndf-summary-card h3 { margin: 0 0 12px 0; font-size: 18px; border-bottom: 2px solid #0055A5; padding-bottom: 8px; } .ndf-rules-box { background: #eef4fa; padding: 10px; border-radius: 6px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; } .ndf-rule-tag { background: #ffffff; border: 1px solid #bfdbfe; color: #1e40af; font-size: 12px; padding: 2px 8px; border-radius: 4px; } .ndf-summary-count { font-size: 13px; color: #64748b; margin-bottom: 8px; } .ndf-summary-total { display: flex; justify-content: space-between; align-items: center; font-size: 18px; padding: 12px 0; border-top: 1px solid #e2e8f0; } .ndf-summary-total strong { font-size: 24px; color: #0055A5; } .ndf-atelier-note { font-size: 12px; color: #15803d; background: #f0fdf4; padding: 10px; border-radius: 6px; margin: 12px 0; } .ndf-btn-primary { width: 100%; background: #16a34a; color: #fff; border: none; padding: 14px; border-radius: 6px; font-size: 15px; font-weight: 800; text-transform: uppercase; cursor: pointer; } .ndf-btn-primary:disabled { background: #cbd5e1; cursor: not-allowed; } /* Modale */ .ndf-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.65); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 15px; } .ndf-modal-box { background: #ffffff; width: 100%; max-width: 780px; max-height: 85vh; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; } .ndf-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #0055A5; color: #fff; } .ndf-modal-header h3 { margin: 0; font-size: 17px; color: #fff; } #ndf-modal-close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; } .ndf-modal-filters { display: flex; gap: 15px; align-items: center; padding: 12px 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; } #ndf-modal-search { flex: 1; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 4px; } .ndf-compat-toggle { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; cursor: pointer; } .ndf-modal-body { padding: 15px 20px; overflow-y: auto; flex: 1; } .ndf-prod-item { display: flex; align-items: center; gap: 15px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 6px; margin-bottom: 10px; } .ndf-prod-item.is-incompatible { opacity: 0.55; background: #fef2f2; border-color: #fecaca; } .ndf-prod-item img { width: 60px; height: 60px; object-fit: contain; } .ndf-prod-info { flex: 1; } .ndf-prod-info h4 { margin: 0 0 4px 0; font-size: 14px; } .ndf-prod-specs { font-size: 12px; color: #64748b; } .ndf-incompat-alert { font-size: 12px; color: #dc2626; font-weight: 700; margin-top: 4px; } .ndf-prod-buy { text-align: right; } .ndf-prod-price { display: block; font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 6px; } .ndf-btn-select { background: #0055A5; color: #fff; border: none; padding: 6px 14px; border-radius: 4px; font-weight: 700; cursor: pointer; } .ndf-btn-select:disabled { background: #94a3b8; cursor: not-allowed; } @media (max-width: 900px) { .ndf-cfg-layout { grid-template-columns: 1fr; } .ndf-slot-row { grid-template-columns: 1fr; gap: 8px; } }  
