.calculation-highlight { background-color: rgba(99, 102, 241, 0.3); /* Primary color */ padding: 0.25rem 0.5rem; border-radius: 0.25rem; display: inline-block; margin: 0 0.25rem; } .dark .calculation-highlight { background-color: rgba(129, 140, 248, 0.3); /* Primary color in dark mode */ } .explanation-text { font-size: 0.875rem; color: #4338ca; /* Primary-700 */ margin-top: 0.5rem; font-style: italic; } .dark .explanation-text { color: #818cf8; /* Primary-400 in dark mode */ } .modifier-badge { display: inline-block; background-color: #e0e7ff; /* primary-100 */ color: #4338ca; /* primary-700 */ padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; margin-left: 0.5rem; } .dark .modifier-badge { background-color: #312e81; /* primary-900 */ color: #818cf8; /* primary-400 */ } .article-section { margin-bottom: 1rem; border-left: 3px solid #6366f1; /* primary-500 as default */ padding-left: 0.75rem; } .dark .article-section { border-left-color: #4f46e5; /* primary-600 as default for dark mode */ } .penalty-item { border-left: 3px solid #6366f1; /* primary-500 as default */ padding-left: 0.75rem; position: relative; } .dark .penalty-item { border-left-color: #4f46e5; /* primary-600 as default for dark mode */ } .total-summary { font-weight: 600; border-top: 2px solid #6366f1; /* primary-500 */ padding-top: 1rem; margin-top: 1rem; } .dark .total-summary { border-top-color: #4f46e5; /* primary-600 */ } .advocaataanvraag { font-weight: 600; border-top: 2px solid #6366f1; /* primary-500 */ padding-top: 1rem; margin-top: 1rem; } .dark .advocaataanvraag { border-top-color: #4f46e5; /* primary-600 */ } /* Adding styled copy button and feedback */ #copyTemplateBtn { transition: all 0.3s ease; } #advocateTemplateText { font-family: monospace; line-height: 1.5; } /* MEOS template styling */ #meosTemplate { transition: all 0.3s ease; } #meosTemplateText { font-family: monospace; line-height: 1.5; } #meosTitleText, #meosDescriptionText { font-family: monospace; line-height: 1.5; } #meosCustomTitleInput { transition: all 0.2s ease; } #meosCustomTitleInput:focus { border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); } /* Separate copy buttons for MEOS sections */ #copyMeosTitleBtn, #copyMeosDescriptionBtn { transition: all 0.3s ease; } /* Orange styling for Perdonit link */ .bg-orange-500 { background-color: #f97316; } .hover\:bg-orange-600:hover { background-color: #ea580c; } /* Template buttons styling */ #generateAdvocateBtn, #generateMeosBtn { transition: all 0.2s ease; } #generateAdvocateBtn:hover, #generateMeosBtn:hover { transform: translateY(-2px); } #generateAdvocateBtn:active, #generateMeosBtn:active { transform: translateY(1px); } /* Copy button feedback animation */ @keyframes copy-success { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } .copy-success { animation: copy-success 0.5s ease; } /* Footer styling */ footer { box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06); } footer a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background-color: rgba(99, 102, 241, 0.1); } .dark footer a { background-color: rgba(99, 102, 241, 0.2); } /* Creating a sticky footer */ html, body { height: 100%; margin: 0; } body { display: flex; flex-direction: column; min-height: 100vh; } .container { flex: 1 0 auto; padding-bottom: 2rem; /* Add space for footer */ } /* Footer styling */ .footer { flex-shrink: 0; width: 100%; background-color: #f3f4f6; border-top: 1px solid #e5e7eb; padding: 1.5rem 0; margin-top: auto; box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05), 0 -2px 4px -1px rgba(0, 0, 0, 0.03); z-index: 10; } .dark .footer { background-color: #1f2937; border-top-color: #374151; box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 4px -1px rgba(0, 0, 0, 0.1); } /* Developer profile styling */ .footer img.rounded-full { transition: all 0.3s ease; } .footer img.rounded-full:hover { transform: scale(1.05); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5); } .footer a { transition: all 0.2s ease; } .footer a:hover { transform: scale(1.1); } /* Add hover effect to developer names */ .footer .text-xs.font-medium { transition: color 0.3s ease; } .footer .text-xs.font-medium:hover { color: #4f46e5; } .dark .footer .text-xs.font-medium:hover { color: #818cf8; } /* Category-specific colors for penalties */ .category-I { border-left-color: #f59e0b; /* Amber/Orange for Verkeersdelicten */ } .category-II { border-left-color: #8b5cf6; /* Purple for Vermogensdelicten */ } .category-III { border-left-color: #ef4444; /* Red for Geweldsdelicten */ } .category-IV { border-left-color: #10b981; /* Green for Opiumwet */ } .category-V { border-left-color: #3b82f6; /* Blue for Wet Wapens en Munitie */ } .category-VI { border-left-color: #facc15; /* Yellow for Overige */ } /* Dark mode colors */ .dark .category-I { border-left-color: #d97706; /* Darker Amber for dark mode */ } .dark .category-II { border-left-color: #7c3aed; /* Darker Purple for dark mode */ } .dark .category-III { border-left-color: #dc2626; /* Darker Red for dark mode */ } .dark .category-IV { border-left-color: #059669; /* Darker Green for dark mode */ } .dark .category-V { border-left-color: #2563eb; /* Darker Blue for dark mode */ } .dark .category-VI { border-left-color: #eab308; /* Darker Yellow for dark mode */ } /* Search styling */ #artikelSearch:focus + #clearSearch { display: block; } #artikelSearch:focus + div + button { display: flex; } #clearSearch { cursor: pointer; } /* Styled dropdown when opened */ select[size] { height: auto; max-height: 250px; overflow-y: auto; border-color: #6366f1; /* primary-500 */ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); z-index: 50; position: relative; margin-top: 0.25rem; } .dark select[size] { border-color: #4f46e5; /* primary-600 */ } /* Search result highlight in dropdown */ select option.bg-primary-100 { background-color: #e0e7ff !important; font-weight: 500; } .dark select option.dark\:bg-primary-900 { background-color: #312e81 !important; color: white; font-weight: 500; } /* Fix for search input */ #artikelSearch:focus { z-index: 20; position: relative; } /* Navigation styling */ nav a { transition: all 0.2s ease; } nav a:hover { transform: translateY(-1px); } nav a:active { transform: translateY(1px); } /* V2 Functions dropdown styling */ #v2FunctionsMenu { transition: opacity 0.2s ease, transform 0.2s ease; transform-origin: top right; } #v2FunctionsMenu.hidden { opacity: 0; transform: scale(0.95); pointer-events: none; } #v2FunctionsMenu:not(.hidden) { opacity: 1; transform: scale(1); } /* Status badge styling */ .bg-yellow-100 { background-color: rgba(254, 240, 138, 0.7); } .dark .bg-yellow-900 { background-color: rgba(113, 63, 18, 0.5); } .bg-blue-100 { background-color: rgba(219, 234, 254, 0.7); } .dark .bg-blue-900 { background-color: rgba(30, 58, 138, 0.5); } /* Fix for search input */ #artikelSearch:focus { z-index: 20; position: relative; }