/* Reset en basis */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 2rem; } /* Header */ header { background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; } header h1 { font-size: 1.8rem; color: #2563EB; } .header-actions { display: flex; gap: 1rem; } /* Sections */ section { background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin-bottom: 2rem; } section h2 { font-size: 1.4rem; margin-bottom: 1.5rem; color: #333; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .header-controls { display: flex; align-items: center; gap: 1rem; } .count-badge { background: #E5E7EB; color: #4B5563; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 600; } /* Sets Section Styling */ .sets-section { border-left: 4px solid #3b82f6; } .sets-controls { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; } .set-selector-group { flex: 1; min-width: 300px; } .set-selector-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: #374151; } .set-select { width: 100%; padding: 0.75rem; border: 2px solid #e5e7eb; border-radius: 6px; font-size: 1rem; background: white; cursor: pointer; transition: border-color 0.2s; } .set-select:hover { border-color: #3b82f6; } .set-select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .set-actions { display: flex; gap: 0.75rem; align-items: flex-end; } .btn-danger { background: #ef4444; color: white; } .btn-danger:hover { background: #dc2626; } /* Settings grid */ .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; } .setting-item { display: flex; flex-direction: column; gap: 0.5rem; } .setting-item label { font-weight: 600; color: #4B5563; font-size: 0.9rem; } .setting-item input[type="text"], .setting-item input[type="number"] { padding: 0.75rem; border: 2px solid #E5E7EB; border-radius: 8px; font-size: 1rem; transition: border-color 0.2s; } .setting-item input[type="text"]:focus, .setting-item input[type="number"]:focus { outline: none; border-color: #3B82F6; } .setting-item input[type="color"] { height: 50px; border: 2px solid #E5E7EB; border-radius: 8px; cursor: pointer; } /* Stellingen lijst */ .statements-list { display: flex; flex-direction: column; gap: 1rem; } .statement-row { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 1rem; align-items: center; padding: 1rem; background: #F9FAFB; border-radius: 8px; border: 2px solid #E5E7EB; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; user-select: none; /* Prevent text selection while dragging */ } .statement-row:hover { border-color: #D1D5DB; } .statement-row.dragging { opacity: 0.5; background: #E5E7EB; border-style: dashed; } .drag-handle { cursor: grab; color: #9CA3AF; font-size: 1.2rem; padding: 0.5rem; } .drag-handle:hover { color: #4B5563; } .statement-input { display: flex; flex-direction: column; gap: 0.3rem; } .statement-input label { font-size: 0.75rem; font-weight: 600; color: #6B7280; text-transform: uppercase; } .statement-input input { padding: 0.75rem; border: 2px solid #E5E7EB; border-radius: 6px; font-size: 1rem; transition: border-color 0.2s; } .statement-input input:focus { outline: none; border-color: #3B82F6; } /* Buttons */ .btn { padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; } .btn-primary { background: #3B82F6; color: white; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); } .btn-primary:hover { background: #2563EB; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4); } .btn-secondary { background: #6B7280; color: white; } .btn-secondary:hover { background: #4B5563; } .btn-add { background: #10B981; color: white; width: 100%; margin-top: 1rem; } .btn-add:hover { background: #059669; } .btn-remove { background: #EF4444; color: white; padding: 0.5rem 1rem; font-size: 1.2rem; min-width: 44px; } .btn-remove:hover { background: #DC2626; } /* Actions */ .actions-section { display: flex; flex-direction: column; gap: 1rem; align-items: center; } #saveConfig { font-size: 1.2rem; padding: 1rem 2rem; } /* Status message */ .status-message { padding: 1rem; border-radius: 8px; font-weight: 600; text-align: center; min-height: 20px; transition: all 0.3s; } .status-message.success { background: #D1FAE5; color: #065F46; } .status-message.error { background: #FEE2E2; color: #991B1B; } /* Stellingkast Panel */ .stellingkast-panel { position: fixed; top: 0; right: -400px; /* Start hidden */ width: 400px; height: 100vh; background: white; box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1); z-index: 1000; transition: right 0.3s ease-in-out; display: flex; flex-direction: column; } .stellingkast-panel.open { right: 0; } .panel-header { padding: 1.5rem; background: #F3F4F6; border-bottom: 1px solid #E5E7EB; display: flex; justify-content: space-between; align-items: center; } .panel-header h2 { margin: 0; font-size: 1.2rem; } .btn-close { background: none; border: none; font-size: 2rem; color: #6B7280; cursor: pointer; padding: 0 0.5rem; } .panel-content { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; } .search-input { width: 100%; padding: 0.75rem; border: 2px solid #E5E7EB; border-radius: 8px; font-size: 1rem; } .stellingkast-item { background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 8px; padding: 1rem; transition: all 0.2s; } .stellingkast-item:hover { border-color: #3B82F6; background: #F0F9FF; } .stelling-text { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-size: 0.9rem; } .stelling-label { font-weight: 600; color: #6B7280; font-size: 0.7rem; text-transform: uppercase; display: block; margin-bottom: 0.2rem; } .btn-import { width: 100%; background: #3B82F6; color: white; padding: 0.5rem; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; } .btn-import:hover { background: #2563EB; } /* Responsive */ @media (max-width: 768px) { .container { padding: 1rem; } header { flex-direction: column; gap: 1rem; text-align: center; } .statement-row { grid-template-columns: auto 1fr; /* Adjusted for handle */ } .statement-row .statement-input { grid-column: 2; /* Move inputs to second column */ } .statement-row .btn-remove { grid-column: 2; justify-self: end; } .stellingkast-panel { width: 100%; /* Full width on mobile */ right: -100%; } .settings-grid { grid-template-columns: 1fr; } }