.dashboard-container{max-width:1400px;margin:0 auto;padding:2rem;background:#fff;min-height:calc(100vh - 80px)}.dashboard-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;padding-bottom:1rem;border-bottom:2px solid #e2e8f0;gap:2rem}.header-left{flex:1}.header-center{display:flex;justify-content:center}.header-right{display:flex;align-items:center;gap:1rem}.dashboard-header h1{color:#2d3748;font-size:2rem;margin:0}.last-updated{color:#718096;font-size:.875rem}.tab-switcher{display:flex;gap:0;background:#f7fafc;padding:.25rem;border-radius:10px;box-shadow:inset 0 1px 3px #0000001a}.tab-switcher button{padding:.625rem 1.5rem;background:transparent;border:none;color:#718096;font-size:.9rem;font-weight:600;cursor:pointer;border-radius:8px;transition:all .2s;position:relative;min-width:100px;display:flex;align-items:center;gap:.5rem;justify-content:center}.tab-icon{font-size:1.1rem;display:inline-flex;align-items:center}.tab-switcher button:hover:not(.active){color:#4a5568;background:#ffffff80}.tab-switcher button.active{background:#fff;color:#667eea;box-shadow:0 2px 4px #0000001a}.tab-switcher button.active:after{content:"";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:30px;height:3px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.stat-card h3{color:#718096;font-size:.875rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.stat-card .stat-value{color:#2d3748;font-size:2rem;font-weight:700}.stat-card.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stat-card.primary h3{color:#ffffffe6}.stat-card.primary .stat-value{color:#fff}.filters-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a}.filters-top-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.filters-bottom-row{display:flex;gap:2rem;align-items:flex-end}.filter-group{display:flex;flex-direction:column;gap:.25rem}.filter-group label{color:#4a5568;font-size:.875rem;font-weight:500}.filter-group input,.filter-group select{padding:.5rem;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#2d3748;font-size:.875rem;min-width:200px;transition:border-color .2s,box-shadow .2s}.filter-group input:focus,.filter-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.search-input{flex:1;max-width:500px}.search-field{width:100%;padding:.625rem 1rem;border:1px solid #cbd5e0;border-radius:8px;font-size:.95rem;transition:all .2s;background:#fff}.search-field:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.search-field::placeholder{color:#a0aec0}.checkbox-filter{display:flex;align-items:center;gap:.5rem;color:#4a5568;font-size:.875rem;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-filter input[type=checkbox]{width:18px;height:18px;cursor:pointer}.sort-toggle{display:flex;align-items:center;gap:.5rem}.sort-toggle label{color:#4a5568;font-size:.875rem;font-weight:500}.sort-btn{padding:.375rem .75rem;background:#fff;color:#4a5568;border:1px solid #cbd5e0;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.sort-btn:first-of-type{border-radius:6px 0 0 6px;border-right:none}.sort-btn:last-of-type{border-radius:0 6px 6px 0}.sort-btn:hover{background:#f7fafc}.sort-btn.active{background:#667eea;color:#fff;border-color:#667eea}.sort-btn.active+.sort-btn{border-left:1px solid #cbd5e0}.floating-export-buttons{position:fixed;bottom:2rem;right:2rem;display:flex;flex-direction:column;gap:.75rem;z-index:100}.floating-export-buttons button{padding:.75rem 1.25rem;background:#667eea;color:#fff;border:none;border-radius:50px;font-size:.875rem;font-weight:600;cursor:pointer;box-shadow:0 4px 6px #0000001a,0 2px 4px #0000000f;transition:all .2s;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.floating-export-buttons button:hover{background:#5a67d8;transform:translateY(-2px);box-shadow:0 6px 8px #00000026,0 3px 6px #0000001a}.floating-export-buttons button span{font-size:1.125rem}.cases-container{margin-top:2rem}.case-group{margin-bottom:3rem}.group-header{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #667eea}.cases-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:2rem}.case-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.125rem;cursor:pointer;transition:all .2s;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;height:100%;overflow:hidden}.case-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a;border-color:#667eea}.case-card.is-new{animation:slideInNew .5s ease-out;position:relative}.case-card.is-new:before{content:"NEW";position:absolute;top:-8px;right:-8px;background:#10b981;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.625rem;font-weight:700;letter-spacing:.05em;box-shadow:0 2px 4px #0000001a;z-index:10}.case-card.is-updated{animation:pulseUpdate .5s ease-out}@keyframes slideInNew{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulseUpdate{0%{box-shadow:0 1px 3px #0000001a}50%{box-shadow:0 0 0 4px #667eea4d}to{box-shadow:0 1px 3px #0000001a}}.case-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding:.75rem;margin:-1.125rem -1.125rem .75rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px 8px 0 0}.case-number{color:#fff!important;font-weight:700;font-size:.9rem;text-decoration:none;text-shadow:0 1px 2px rgba(0,0,0,.1)}.case-card:hover .case-number{color:#fff!important;text-decoration:underline}.case-type-badge{background:#ffffffe6;color:#4a5568;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;box-shadow:0 1px 2px #0000001a}.case-type-badge.criminal{background:#fed7d7;color:#742a2a}.case-type-badge.traffic{background:#feebc8;color:#744210}.case-type-badge.civil{background:#e6fffa;color:#234e52}.case-card-body{flex:1;margin-bottom:.75rem}.case-title{color:#2d3748;font-weight:600;font-size:.875rem;margin-bottom:.5rem;line-height:1.4}.case-court{color:#718096;font-size:.8125rem;margin-bottom:.5rem}.case-defendant{color:#4a5568;font-size:.8125rem;margin-top:.5rem}.case-defendant strong{font-weight:600;color:#2d3748}.case-card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:.75rem;padding-right:.25rem;border-top:1px solid #e2e8f0;gap:.5rem;margin-right:-.25rem}.hearing-time{color:#667eea;font-size:.8125rem;font-weight:600;white-space:nowrap}.status-indicator{padding:.2rem .4rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;white-space:nowrap;flex-shrink:0}.status-indicator.active{background:#c6f6d5;color:#22543d}.status-indicator.closed{background:#e2e8f0;color:#4a5568}.status-indicator.pending{background:#fed7aa;color:#7c2d12}.cases-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.cases-table{width:100%;border-collapse:collapse}.cases-table thead{background:#f7fafc;border-bottom:2px solid #e2e8f0}.cases-table th{padding:1rem;text-align:left;color:#4a5568;font-weight:600;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.cases-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .2s}.cases-table tbody tr:hover{background:#f7fafc}.cases-table td{padding:1rem;color:#2d3748;font-size:.875rem}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.status-badge.active{background:#c6f6d5;color:#22543d}.status-badge.pending{background:#fed7d7;color:#742a2a}.status-badge.closed{background:#e2e8f0;color:#4a5568}.empty-state{text-align:center;padding:4rem 2rem;color:#718096}.empty-state h3{font-size:1.25rem;margin-bottom:.5rem;color:#4a5568}.modal-content{background:#fff;border-radius:12px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;padding:2rem;position:relative;box-shadow:0 20px 25px -5px #0000001a}.modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;color:#718096;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.modal-close:hover{background:#f7fafc}.case-details{display:grid;gap:2rem;margin-top:1.5rem}.detail-section{border-top:1px solid #e2e8f0;padding-top:1.5rem}.detail-section h4{color:#2d3748;font-size:1.125rem;margin-bottom:1rem}.detail-section p{margin-bottom:.5rem;color:#4a5568;line-height:1.5}.detail-section strong{color:#2d3748;font-weight:600}.docket-list{list-style:none;padding:0}.docket-list li{padding:.75rem;background:#f7fafc;margin-bottom:.5rem;border-radius:6px;border-left:3px solid #667eea}.parties-section .parties-list{display:flex;flex-direction:column;gap:1rem}.party-item{background:#f8f9fa;border-left:3px solid #48bb78;padding:.75rem 1rem;border-radius:0 6px 6px 0}.party-label{font-size:.85rem;color:#718096;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.party-name{font-size:1.1rem;font-weight:600;color:#2d3748;margin-bottom:.25rem}.party-attorney{font-size:.9rem;color:#4a5568;font-style:italic;margin-top:.25rem}.charges-section h4{display:flex;align-items:center;gap:.5rem}.charge-item{background:#f8f9fa;border-left:3px solid #667eea;padding:1rem;margin-bottom:1rem;border-radius:0 6px 6px 0}.charge-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.charge-code{font-weight:700;color:#2d3748;font-size:.95rem}.severity-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.severity-badge.felony{background:#fed7d7;color:#742a2a}.severity-badge.misdemeanor{background:#feebc8;color:#744210}.severity-badge.violation{background:#e6fffa;color:#234e52}.charge-description{color:#4a5568;margin-bottom:.5rem;line-height:1.5}.charge-date{font-size:.875rem;color:#718096;margin-bottom:.25rem}.disposition-info{background:#fff;padding:.75rem;border-radius:4px;margin-top:.5rem}.disposition{color:#2d3748;margin-bottom:.25rem}.disposition-date{font-size:.875rem;color:#718096}.case-history-link{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-decoration:none;border-radius:6px;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.case-history-link:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.external-link-icon{width:16px;height:16px}.case-history-note{margin-top:.5rem;font-size:.75rem;color:#718096;font-style:italic}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1400px){.cases-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1024px){.cases-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.dashboard-container{padding:1rem}.dashboard-header{flex-direction:column;gap:1rem;align-items:stretch}.tab-switcher{width:100%}.stats-grid,.cases-grid{grid-template-columns:1fr}.filters-top-row,.filters-bottom-row{flex-direction:column;gap:1rem}.search-input{max-width:100%}.filter-group input,.filter-group select{width:100%}.floating-export-buttons{bottom:1rem;right:1rem}.cases-table-container{overflow-x:auto}.modal-content{padding:1.5rem}}.dashboard{min-height:100vh;background:#f5f5f5}.dashboard-header{background:#fff;padding:20px;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center}.dashboard-header h1{color:#333;margin:0}.header-actions{display:flex;align-items:center;gap:20px}.logout-btn{padding:8px 16px;background:#f44336;color:#fff;border:none;border-radius:4px;cursor:pointer}.statistics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;padding:20px}.stat-card{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.stat-card h3{color:#666;margin:0 0 10px;font-size:14px;text-transform:uppercase}.stat-card p{color:#333;font-size:32px;font-weight:700;margin:0}.controls{padding:20px;display:flex;justify-content:space-between;align-items:center;background:#fff;margin:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.search-bar{display:flex;gap:10px;flex:1;max-width:400px}.search-bar input{flex:1;padding:10px;border:1px solid #ddd;border-radius:4px}.search-bar button{padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:4px;cursor:pointer}.action-buttons{display:flex;gap:10px}.action-buttons button{padding:10px 20px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.primary-btn{background:#4caf50!important;color:#fff!important;border:none!important}.action-buttons button:disabled{opacity:.5;cursor:not-allowed}.arraignment-btn{background:linear-gradient(135deg,#e74c3c,#c0392b)!important;color:#fff!important;font-weight:700;font-size:16px;padding:12px 24px!important;border:2px solid #a93226!important;box-shadow:0 2px 4px #e74c3c4d;transition:all .3s ease}.arraignment-btn:hover:not(:disabled){background:linear-gradient(135deg,#c0392b,#a93226)!important;transform:translateY(-1px);box-shadow:0 4px 8px #e74c3c66}.arraignment-btn.success{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#047857!important;animation:pulse 2s ease-in-out}.refresh-btn{background:linear-gradient(135deg,#3b82f6,#2563eb)!important;color:#fff!important;padding:10px 20px!important;border:none!important;border-radius:4px;cursor:pointer;transition:transform .2s}.refresh-btn:hover{transform:scale(1.05)}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.stop-btn{background:#f44336!important;color:#fff!important;border:none!important;font-weight:700}.secondary-btn{background:#2196f3!important;color:#fff!important;border:none!important}.filter-btn{background:#9b59b6;color:#fff;border:1px solid #8e44ad!important}.filter-btn:hover{background:#8e44ad}.cases-table{margin:20px;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.cases-table table{width:100%;border-collapse:collapse}.cases-table th{background:#f5f5f5;padding:12px;text-align:left;font-weight:600;color:#666;border-bottom:2px solid #ddd}.cases-table td{padding:12px;border-bottom:1px solid #eee}.cases-table tr:hover{background:#f9f9f9}.no-data{text-align:center;color:#999;padding:40px!important}.scraping-progress{background:#fff;padding:20px;margin:20px;border-radius:8px;box-shadow:0 2px 8px #0000001a;border-left:4px solid #2196F3}.progress-text{font-size:16px;color:#333;margin-bottom:10px;font-weight:500}.progress-stats{font-size:14px;color:#666;margin-bottom:10px}.progress-bar{height:20px;background:#f0f0f0;border-radius:10px;overflow:hidden;position:relative}.progress-fill{height:100%;background:linear-gradient(90deg,#2196f3,#4caf50);transition:width .3s ease;border-radius:10px;box-shadow:0 0 10px #2196f34d}.primary-btn.arraignment-btn:disabled{background:#2196f3;animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}.court-rankings{margin:2rem 0;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.court-rankings h3{margin-bottom:1.5rem;font-size:1.25rem;color:#1f2937}.rankings-list{display:flex;flex-direction:column;gap:.75rem}.court-rank-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#f9fafb;border-radius:6px;transition:background .2s}.court-rank-item:hover{background:#f3f4f6}.rank-number{font-size:1.25rem;font-weight:700;color:#6366f1;min-width:40px}.court-info{flex:1}.court-name{font-weight:600;margin-bottom:.5rem;color:#1f2937}.case-count-bar{position:relative;height:24px;background:#e5e7eb;border-radius:4px;overflow:hidden}.case-count-fill{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);transition:width .3s ease}.case-count-label{position:relative;display:inline-block;padding:0 8px;line-height:24px;font-size:.875rem;font-weight:500;color:#374151}.upcoming-hearings-overview{margin:2rem 0;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.upcoming-hearings-overview h3{margin-bottom:1.5rem;font-size:1.25rem;color:#1f2937}.hearings-list{display:flex;flex-direction:column;gap:.75rem}.hearing-item{display:flex;gap:1rem;padding:.75rem;background:#f9fafb;border-radius:6px;border-left:3px solid #6366f1;transition:all .2s}.hearing-item:hover{background:#f3f4f6;transform:translate(2px)}.hearing-date-time{min-width:100px}.hearing-date-time .date{font-weight:600;color:#6366f1;font-size:.875rem}.hearing-details{flex:1}.hearing-details .case-number{font-weight:600;color:#1f2937;margin-bottom:.25rem}.hearing-details .case-title{font-size:.875rem;color:#4b5563;margin-bottom:.25rem}.hearing-details .court-judge{font-size:.75rem;color:#6b7280}.no-hearings{padding:2rem;text-align:center;color:#6b7280;font-style:italic}.see-more{margin-top:1rem;text-align:center}.see-more button{background:none;border:none;color:#6366f1;font-weight:500;cursor:pointer;padding:.5rem 1rem;transition:color .2s}.see-more button:hover{color:#4f46e5;text-decoration:underline}.dashboard-container{min-height:100vh;background:#f3f4f6}.stats-bar{display:flex;justify-content:center;gap:3rem;padding:1.5rem;background:#fff;border-bottom:1px solid #e5e7eb}.stat-item{text-align:center}.stat-value{font-size:2.5rem;font-weight:700;color:#1f2937;line-height:1}.stat-label{font-size:.875rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-top:.5rem}.action-bar{display:flex;justify-content:center;gap:1rem;padding:1rem;background:#fff;border-bottom:2px solid #e5e7eb}.scraping-btn{padding:.75rem 2rem;font-size:1rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .3s;background:#6366f1;color:#fff}.scraping-btn:hover:not(:disabled){background:#4f46e5;transform:translateY(-1px);box-shadow:0 4px 12px #6366f14d}.scraping-btn.running{background:#f59e0b;animation:pulse 1.5s infinite}.scraping-btn.completed{background:#10b981}.scraping-btn:disabled{opacity:.7;cursor:not-allowed}.refresh-btn{padding:.75rem 1.5rem;font-size:1rem;font-weight:500;border:2px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;cursor:pointer;transition:all .2s}.refresh-btn:hover{background:#f9fafb;border-color:#d1d5db}.export-btn{padding:.75rem 1.5rem;font-size:1rem;font-weight:500;border:2px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;cursor:pointer;transition:all .2s}.export-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.export-btn:disabled{opacity:.5;cursor:not-allowed}.csv-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none}.csv-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857)}.pdf-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none}.pdf-btn:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c)}.toggle-btn{padding:.75rem 1.5rem;font-size:1rem;font-weight:500;border:2px solid #9ca3af;background:#fff;color:#4b5563;border-radius:8px;cursor:pointer;transition:all .2s}.toggle-btn:hover{background:#f3f4f6;border-color:#6b7280}.toggle-btn.active{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border:none}.toggle-btn.active:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9)}.cases-container{padding:2rem;max-width:1400px;margin:0 auto}.date-group{margin-bottom:3rem}.date-header{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.cases-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}@media (min-width: 1200px){.cases-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width: 1199px) and (min-width: 900px){.cases-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 899px) and (min-width: 600px){.cases-grid{grid-template-columns:repeat(2,1fr)}}.case-card{background:#fff;border-radius:12px;box-shadow:0 2px 4px #0000000d;transition:all .3s;cursor:pointer;overflow:hidden;display:flex;flex-direction:column}.case-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.case-card-header{padding:1rem;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;justify-content:space-between;align-items:center}.case-number{font-weight:600;font-size:1rem}.case-status{font-size:.75rem;background:#fff3;padding:.25rem .5rem;border-radius:4px}.case-card-body{padding:1rem;flex:1}.case-title{font-weight:600;color:#1f2937;margin-bottom:1rem;font-size:.95rem;line-height:1.4;min-height:2.8em}.case-info{display:flex;flex-direction:column;gap:.5rem}.info-item{display:flex;font-size:.85rem}.info-item .label{color:#6b7280;min-width:60px;font-weight:500}.info-item .value{color:#1f2937;flex:1}.info-item.hearing-date{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb}.info-item.hearing-date .value{color:#dc2626;font-weight:600}.case-card-footer{padding:.75rem 1rem;background:#f9fafb;border-top:1px solid #e5e7eb}.view-details-btn{width:100%;padding:.5rem;background:none;border:none;color:#6366f1;font-weight:500;cursor:pointer;transition:color .2s;font-size:.875rem}.view-details-btn:hover{color:#4f46e5}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal-content{background:#fff;border-radius:12px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 20px 40px #0003}.modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-content h2{padding:1.5rem 2rem;margin:0;border-bottom:2px solid #e5e7eb;color:#1f2937}.modal-section{padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb}.modal-section:last-child{border-bottom:none}.modal-section h3{margin:0 0 1rem;color:#4b5563;font-size:1.1rem}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.detail-item{display:flex;gap:.5rem}.detail-item .label{font-weight:500;color:#6b7280;min-width:100px}.detail-item .value{color:#1f2937}.parties-list,.charges-list,.hearings-list{display:flex;flex-direction:column;gap:.75rem}.party-item,.charge-item,.hearing-item{padding:.75rem;background:#f9fafb;border-radius:6px}.attorney{margin-top:.25rem;font-size:.875rem;color:#6b7280}.case-link{display:inline-block;padding:.75rem 1.5rem;background:#6366f1;color:#fff;text-decoration:none;border-radius:8px;font-weight:500;transition:background .2s}.case-link:hover{background:#4f46e5}.past-cases-section{margin-top:3rem;padding-top:2rem;border-top:3px solid #e5e7eb}.past-header{color:#6b7280;font-size:1.8rem;text-align:center;background:linear-gradient(to right,#f3f4f6,#fff,#f3f4f6);padding:1rem;border-radius:8px}.past-group .date-header{color:#9ca3af;font-size:1.2rem}.case-card.past-case{opacity:.8;background:#fafafa}.case-card.past-case .case-card-header{background:linear-gradient(135deg,#9ca3af,#6b7280)}.case-card.past-case:hover{opacity:1;background:#fff}.search-filter-section{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.search-container{margin-bottom:1.5rem}.search-input{width:100%;padding:.75rem 1rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:8px;transition:border-color .3s}.search-input:focus{outline:none;border-color:#6366f1}.search-results{display:inline-block;margin-top:.5rem;color:#6b7280;font-size:.875rem}.filter-container{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-start}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{font-size:.875rem;font-weight:600;color:#374151}.filter-dropdown{position:relative}.filter-button{padding:.5rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;min-width:150px;text-align:left;transition:all .2s}.filter-button:hover{border-color:#6366f1}.filter-dropdown-content{position:absolute;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 6px #0000001a;max-height:200px;overflow-y:auto;z-index:1000;min-width:200px;margin-top:.25rem}.filter-dropdown-content label{display:flex;align-items:center;padding:.5rem;cursor:pointer;transition:background .2s}.filter-dropdown-content label:hover{background:#f3f4f6}.filter-dropdown-content input[type=checkbox]{margin-right:.5rem}.filter-buttons{display:flex;gap:.5rem}.filter-pill{padding:.5rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:20px;cursor:pointer;transition:all .3s;font-size:.875rem}.filter-pill:hover{border-color:#6366f1}.filter-pill.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:transparent}.clear-filters-btn{padding:.5rem 1rem;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .3s;font-size:.875rem}.clear-filters-btn:hover{background:#dc2626}.charts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-bottom:2rem}.chart-container{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;min-height:300px;display:flex;flex-direction:column}.chart-container h3{margin:0 0 1rem;color:#1f2937;font-size:1.125rem;font-weight:600}.chart-container canvas{flex:1}.tab-navigation{display:flex;justify-content:center;gap:1rem;padding:1rem;background:#fff;border-bottom:2px solid #e5e7eb}.tab-button{padding:.75rem 2rem;font-size:1rem;font-weight:500;background:#fff;border:2px solid #e5e7eb;border-radius:8px 8px 0 0;cursor:pointer;transition:all .3s;color:#6b7280}.tab-button:hover{background:#f9fafb;border-color:#9ca3af}.tab-button.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-color:transparent;transform:translateY(-2px);box-shadow:0 4px 6px #6366f133}.analytics-tab{padding:2rem;max-width:1400px;margin:0 auto}.analytics-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin:2rem 0}.analytics-stats-grid .stat-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center}.stat-value-large{font-size:3rem;font-weight:700;color:#1f2937;line-height:1;margin-top:.5rem}.court-distribution-table{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;margin-top:2rem}.court-distribution-table h3{margin:0 0 1rem;color:#1f2937;font-size:1.125rem;font-weight:600}.court-distribution-table table{width:100%;border-collapse:collapse}.court-distribution-table th{background:#f5f5f5;padding:.75rem;text-align:left;font-weight:600;color:#666;border-bottom:2px solid #ddd}.court-distribution-table td{padding:.75rem;border-bottom:1px solid #eee}.court-distribution-table tr:hover{background:#f9f9f9}.floating-action-bar{position:fixed;bottom:2rem;right:2rem;display:flex;flex-direction:column;gap:1rem;z-index:999}.fab-btn{width:64px;height:64px;border-radius:50%;border:none;font-size:1.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #00000026;transition:all .3s;position:relative;overflow:visible}.fab-btn:hover{transform:scale(1.1);box-shadow:0 6px 20px #00000040}.fab-btn:hover .fab-label{opacity:1;transform:translate(-120%) translateY(-50%)}.fab-btn:disabled{opacity:.5;cursor:not-allowed}.fab-btn:disabled:hover{transform:none;box-shadow:0 4px 12px #00000026}.fab-label{position:absolute;right:100%;top:50%;transform:translate(-100%) translateY(-50%);background:#000c;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;white-space:nowrap;opacity:0;transition:all .3s;pointer-events:none;margin-right:.5rem}.fab-btn.toggle-btn{background:#fff;border:2px solid #9ca3af;color:#4b5563}.fab-btn.toggle-btn:hover{background:#f3f4f6;border-color:#6b7280}.fab-btn.toggle-btn.active{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border:none}.fab-btn.csv-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.fab-btn.csv-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857)}.fab-btn.pdf-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.fab-btn.pdf-btn:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c)}@media (max-width: 768px){.charts-section{grid-template-columns:1fr}.filter-container{flex-direction:column;align-items:stretch}.filter-group,.filter-button{width:100%}.filter-buttons{flex-wrap:wrap}.chart-container{min-height:250px}.tab-navigation{flex-wrap:wrap}.tab-button{flex:1;min-width:120px}.analytics-stats-grid{grid-template-columns:1fr}.floating-action-bar{bottom:1rem;right:1rem;flex-direction:row;gap:.75rem}.fab-btn{width:56px;height:56px;font-size:1.25rem}.fab-label{display:none}}.notification-container{position:fixed;top:1rem;right:1rem;z-index:9999;display:flex;flex-direction:column;gap:.75rem;pointer-events:none;max-width:420px}.notification{display:flex;align-items:flex-start;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;pointer-events:auto;animation:slideInRight .3s ease-out;border-left:4px solid;max-width:420px;transition:all .3s ease}.notification:hover{transform:translate(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.notification-success{border-left-color:#10b981}.notification-success .notification-icon{color:#10b981;background:#d1fae5}.notification-error{border-left-color:#ef4444}.notification-error .notification-icon{color:#ef4444;background:#fee2e2}.notification-warning{border-left-color:#f59e0b}.notification-warning .notification-icon{color:#f59e0b;background:#fed7aa}.notification-info{border-left-color:#3b82f6}.notification-info .notification-icon{color:#3b82f6;background:#dbeafe}.notification-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0;margin-right:.75rem}.notification-content{flex:1;min-width:0}.notification-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:.25rem}.notification-title{font-weight:600;color:#1f2937;font-size:.95rem;line-height:1.4}.notification-message{color:#6b7280;font-size:.875rem;line-height:1.5;word-wrap:break-word}.notification-close{background:none;border:none;color:#9ca3af;font-size:1.5rem;cursor:pointer;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s;margin-left:.5rem;flex-shrink:0;line-height:1;padding:0}.notification-close:hover{background:#f3f4f6;color:#4b5563}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.notification-exit{animation:slideOutRight .3s ease-in}@media (max-width: 640px){.notification-container{left:1rem;right:1rem;max-width:none}.notification{max-width:none}}@media (prefers-color-scheme: dark){.notification{background:#1f2937;box-shadow:0 4px 6px -1px #0000004d}.notification-title{color:#f3f4f6}.notification-message{color:#d1d5db}.notification-close{color:#6b7280}.notification-close:hover{background:#374151;color:#9ca3af}}.connection-status{position:relative;display:inline-flex;align-items:center;padding:.375rem .75rem;background:#fff;border:1px solid #e5e7eb;border-radius:9999px;font-size:.875rem;font-weight:500;cursor:default;transition:all .2s;-webkit-user-select:none;user-select:none}.connection-status:hover{box-shadow:0 2px 4px #0000001a}.connection-indicator{display:flex;align-items:center;gap:.375rem}.connection-icon{display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1}.connection-text{font-weight:600;text-transform:uppercase;letter-spacing:.025em;font-size:.75rem}.connection-status-connected{background:#d1fae5;border-color:#86efac}.connection-status-connected .connection-icon{color:#16a34a;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.connection-status-connected .connection-text{color:#15803d}.connection-status-connecting{background:#fed7aa;border-color:#fdba74}.connection-status-connecting .connection-icon{color:#ea580c;animation:spin 1s linear infinite}.connection-status-connecting .connection-text{color:#c2410c}.connection-status-disconnected{background:#f3f4f6;border-color:#d1d5db}.connection-status-disconnected .connection-icon{color:#6b7280}.connection-status-disconnected .connection-text{color:#4b5563}.connection-status-error{background:#fee2e2;border-color:#fca5a5}.connection-status-error .connection-icon{color:#dc2626}.connection-status-error .connection-text{color:#b91c1c}.connection-tooltip{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:1000;min-width:200px;pointer-events:none;animation:fadeIn .2s ease-out}.connection-tooltip:before{content:"";position:absolute;top:-6px;right:1rem;width:12px;height:12px;background:#fff;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;transform:rotate(45deg)}.tooltip-content{display:flex;flex-direction:column;gap:.375rem;font-size:.8125rem;color:#374151}.tooltip-status strong,.tooltip-channels strong{font-weight:600;color:#1f2937}.tooltip-description{color:#6b7280;font-size:.75rem}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 640px){.connection-status{padding:.25rem .5rem}.connection-text{display:none}.connection-tooltip{right:auto;left:0}.connection-tooltip:before{right:auto;left:.5rem}}@media (prefers-color-scheme: dark){.connection-status{background:#374151;border-color:#4b5563}.connection-tooltip{background:#1f2937;border-color:#374151}.connection-tooltip:before{background:#1f2937;border-left-color:#374151;border-top-color:#374151}.tooltip-content{color:#d1d5db}.tooltip-status strong,.tooltip-channels strong{color:#f3f4f6}.tooltip-description{color:#9ca3af}}.scheduler-container{padding:24px;max-width:1280px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.scheduler-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.scheduler-title{font-size:32px;font-weight:700;color:#1a202c}.btn{padding:8px 16px;border-radius:8px;border:none;cursor:pointer;font-size:14px;transition:all .2s}.btn.btn-sm{padding:4px 12px;font-size:13px}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover{background-color:#2563eb}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover{background-color:#059669}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover{background-color:#dc2626}.btn-secondary{background-color:#e5e7eb;color:#374151}.btn-secondary:hover{background-color:#d1d5db}.scheduler-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.schedule-card{background:#fff;border-radius:12px;padding:24px;border:2px solid #e5e7eb;margin-bottom:16px;cursor:pointer;transition:all .2s}.schedule-card:hover{border-color:#9ca3af}.schedule-card.selected{border-color:#3b82f6;box-shadow:0 10px 15px -3px #0000001a}.schedule-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.schedule-name{font-size:20px;font-weight:600;display:flex;align-items:center;gap:8px}.status-indicator{width:8px;height:8px;border-radius:50%}.status-indicator.enabled{background-color:#10b981}.status-indicator.disabled{background-color:#9ca3af}.schedule-actions{display:flex;gap:8px}.schedule-info{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:14px;color:#6b7280;margin-bottom:16px}.schedule-stats{display:flex;gap:16px;font-size:14px;color:#6b7280}.warning-box{margin-top:12px;padding:8px;background-color:#fef2f2;border:1px solid #fecaca;border-radius:4px;font-size:14px;color:#991b1b}.execution-history{background:#fff;border-radius:12px;padding:24px}.execution-card{padding:12px;border-radius:8px;border:1px solid;margin-bottom:12px}.execution-card.completed{background-color:#f0fdf4;border-color:#86efac}.execution-card.running{background-color:#eff6ff;border-color:#93c5fd}.execution-card.failed{background-color:#fef2f2;border-color:#fca5a5}.execution-status{font-size:12px;padding:2px 8px;border-radius:4px;display:inline-block}.execution-status.completed{background-color:#86efac;color:#166534}.execution-status.running{background-color:#93c5fd;color:#1e40af}.execution-status.failed{background-color:#fca5a5;color:#991b1b}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:50}.modal-content{background:#fff;border-radius:12px;padding:24px;width:100%;max-width:500px}.modal-title{font-size:24px;font-weight:700;margin-bottom:16px}.form-group{margin-bottom:16px}.form-label{display:block;font-size:14px;font-weight:500;margin-bottom:4px}.form-input,.form-select,.form-textarea{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px}.form-textarea{resize:vertical}.modal-actions{display:flex;gap:12px;margin-top:24px}.modal-actions button{flex:1}.empty-state{background:#fff;border-radius:12px;padding:48px;text-align:center;color:#6b7280}@media (max-width: 1024px){.scheduler-grid{grid-template-columns:1fr}}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.loading{display:flex;justify-content:center;align-items:center;min-height:100vh;font-size:18px;color:#666}#root{width:100%;height:100vh;margin:0;padding:0}.app-container{display:flex;flex-direction:column;height:100vh}.app-nav{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a}.app-nav h1{margin:0;font-size:1.5rem}.nav-links{display:flex;gap:2rem}.nav-links a{color:#fff;text-decoration:none;padding:.5rem 1rem;border-radius:4px;transition:background .3s}.nav-links a:hover{background:#ffffff1a}.app-main{flex:1;overflow-y:auto;background:#f5f5f5}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
