:root{--primary-color: #4f46e5;--primary-hover: #4338ca;--bg-color: #f8fafc;--panel-bg: rgba(255, 255, 255, .95);--panel-border: #e2e8f0;--text-primary: #1e293b;--text-secondary: #64748b;--sidebar-bg: #ffffff;--success-color: #10b981;--success-hover: #059669;--danger-color: #ef4444;--danger-hover: #dc2626;--border-color: #e2e8f0}.dark-theme{--primary-color: #6366f1;--primary-hover: #4f46e5;--bg-color: #0f172a;--panel-bg: rgba(30, 41, 59, .85);--panel-border: rgba(255, 255, 255, .1);--text-primary: #f8fafc;--text-secondary: #94a3b8;--sidebar-bg: #1e293b;--border-color: rgba(255, 255, 255, .1)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background-color:var(--bg-color);color:var(--text-primary);min-height:100vh;transition:background-color .3s ease}.app-wrapper{display:flex;min-height:100vh}.sidebar{width:260px;background:var(--sidebar-bg);border-right:1px solid var(--panel-border);padding:1.5rem 1rem;display:flex;flex-direction:column;gap:1.5rem;transition:all .3s ease;z-index:100}.brand{display:flex;align-items:center;gap:.75rem;padding:.5rem}.brand-icon{width:36px;height:36px;background:var(--primary-color);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff}.brand-name{font-size:1.25rem;font-weight:700;letter-spacing:-.02em}.sidebar-nav{display:flex;flex-direction:column;gap:.25rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;border-radius:.75rem;color:var(--text-secondary);font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s ease;cursor:pointer;background:transparent;border:none;width:100%;text-align:left}.nav-item svg{width:20px;height:20px}.nav-item:hover{background:#4f46e50d;color:var(--primary-color)}.nav-item.active{background:var(--primary-color);color:#fff;box-shadow:0 4px 12px #4f46e54d}.theme-toggle{margin-top:auto;padding:1rem;border-radius:.75rem;border:1px solid var(--panel-border);background:var(--panel-bg);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-primary);transition:all .2s ease}.theme-toggle:hover{border-color:var(--primary-color)}.main-content{flex:1;padding:2rem 3rem;max-width:1400px;margin:0 auto;width:100%}.glass-panel{background:var(--panel-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--panel-border);border-radius:1.5rem;padding:2rem;box-shadow:0 10px 25px -5px #0000000d}.search-section{background:var(--panel-bg);padding:1.25rem;border-radius:12px;margin-bottom:1.25rem;border:1px solid var(--panel-border)}.search-form{display:flex;gap:1.5rem;align-items:flex-end}.input-group{flex:1;display:flex;flex-direction:column;gap:.5rem}.input-group label{font-size:.85rem;font-weight:600;color:var(--text-secondary)}.input-group input,.input-group select{padding:.8rem 1rem;border:1px solid var(--panel-border);border-radius:8px;font-size:1rem;transition:all .3s ease;background:var(--panel-bg);color:var(--text-primary)}.input-group input:focus,.input-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #4f46e51a}.btn{padding:.8rem 1.5rem;border-radius:8px;border:none;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 4px 12px #4f46e54d}.btn-success{background:var(--success-color);color:#fff}.btn-success:hover{background:var(--success-hover);transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.btn-warning{background:#f59e0b;color:#fff}.btn-warning:hover{background:#d97706;transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b4d}.btn-danger{background:var(--danger-color);color:#fff}.btn-danger:hover{background:var(--danger-hover);transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}.cleanup-list{width:100%;overflow-x:auto;overflow-y:auto;max-height:65vh;border-radius:10px;border:1px solid var(--border-color)}.cleanup-list::-webkit-scrollbar{width:6px;height:6px}.cleanup-list::-webkit-scrollbar-track{background:transparent}.cleanup-list::-webkit-scrollbar-thumb{background:var(--panel-border);border-radius:10px}.cleanup-list::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}.cleanup-table{width:100%;border-collapse:collapse;font-size:.75rem}.cleanup-table thead tr{background:#4f46e517}.cleanup-table thead{position:sticky;top:0;z-index:10}.cleanup-table th{padding:.8rem 1rem;text-align:left;font-weight:700;font-size:.75rem;color:var(--text-secondary);white-space:nowrap;border-bottom:1px solid var(--panel-border);border-right:1px solid var(--panel-border);background:var(--panel-bg);letter-spacing:.05em;text-transform:uppercase}.cleanup-table th:last-child{border-right:none}.cleanup-table td{padding:.8rem 1rem;border-bottom:1px solid var(--panel-border);border-right:1px solid var(--panel-border);vertical-align:middle;color:var(--text-primary);white-space:nowrap}.cleanup-table td:last-child{border-right:none}.cleanup-table tr:hover td{background:#4f46e50d}.cleanup-table input[type=text]{min-width:100px;max-width:140px;width:100%;padding:.2rem .4rem;border:1px solid #d1d5db;border-radius:5px;font-size:.72rem;transition:all .2s ease;height:26px}.cleanup-table input[type=text]:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #4f46e533}.cleanup-table input[type=text]:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.cleanup-table .btn-sm{padding:.2rem .55rem;font-size:.7rem;border-radius:5px;margin-left:.2rem;height:26px;line-height:1}.tag-batal{display:inline-block;background:#ef44441a;color:var(--danger-color);padding:.2rem .6rem;border-radius:20px;font-size:.75rem;font-weight:600}.tag-aksi{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:4px;text-transform:uppercase}.tag-normal{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}.tag-hapus{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.tag-warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.btn-sm{padding:5px 10px;font-size:.75rem}.log-json{font-family:monospace;font-size:.75rem;max-width:250px;display:inline-block;vertical-align:middle;background:var(--panel-bg);color:var(--text-primary);padding:4px 6px;border:1px solid var(--panel-border);border-radius:4px;cursor:help;white-space:normal;word-break:normal;line-height:1.4}.data-section{animation:fadeIn .4s ease-out}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.badge{background:#4f46e51a;color:var(--primary-color);padding:.4rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:1rem;border-radius:8px;border:1px solid var(--panel-border)}.action-buttons{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.suggestions-box{position:absolute;top:100%;left:0;right:0;background:#fff;border:2px solid var(--primary-color);border-radius:8px;margin-top:5px;max-height:250px;overflow-y:auto;z-index:9999;box-shadow:0 10px 25px #0003}.dark-theme .suggestions-box{background:#1e293b;border-color:var(--primary-color)}.suggestion-item{padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid var(--panel-border);transition:all .2s ease}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover{background:#4f46e51a;color:var(--primary-color)}.suggestion-item strong{display:block;font-size:.9rem}.suggestion-item small{font-size:.75rem;color:var(--text-secondary)}.alert{padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;font-weight:500;animation:slideIn .3s ease-out}.alert-error{background:#ef44441a;color:var(--danger-color);border:1px solid rgba(239,68,68,.2)}.alert-success{background:#10b9811a;color:var(--success-color);border:1px solid rgba(16,185,129,.2)}.hidden{display:none!important}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 600px){body{padding:.8rem;align-items:flex-start}.glass-panel{padding:1.5rem 1rem;border-radius:12px}.sidebar{position:fixed;bottom:0;left:0;width:100%;height:auto;flex-direction:row;padding:.5rem;border-right:none;border-top:1px solid var(--panel-border);justify-content:space-around;box-shadow:0 -4px 12px #0000001a}.brand,.theme-toggle{display:none}.sidebar-nav{flex-direction:row;width:100%;justify-content:space-around;gap:0}.nav-item{flex-direction:column;align-items:center;padding:.5rem;font-size:.65rem;gap:.25rem}.main-content{padding:1rem 1rem 5rem}.search-section{padding:1rem;margin-bottom:1.5rem}.search-form{flex-direction:column;align-items:stretch}.input-group{width:100%}.input-group input,.input-group select,.input-group textarea{width:100%;box-sizing:border-box}.btn-group{width:100%;flex-direction:column;gap:.5rem}.btn{width:100%;justify-content:center;margin-bottom:0}.cleanup-table .btn-sm{width:auto;margin-left:0;margin-top:.5rem}.action-buttons{flex-direction:column-reverse;gap:.8rem}.cleanup-table{font-size:.7rem}.cleanup-table input[type=text]{min-width:80px;max-width:110px;height:24px;font-size:.68rem}.cleanup-list{max-height:60vh}}.running-text-bar{position:fixed;bottom:0;left:0;right:0;height:42px;background:#dc2626;z-index:9999;display:flex;align-items:center;border-top:2px solid #fca5a5;overflow:hidden;color:#fff;font-size:1rem;font-weight:700;box-shadow:0 -4px 20px #dc262666}.running-text-label{background:#991b1b;height:100%;padding:0 20px;display:flex;align-items:center;gap:8px;z-index:10000;box-shadow:5px 0 15px #0003;white-space:nowrap;animation:pulseRed 2s infinite}@keyframes pulseRed{0%{background:#991b1b}50%{background:#ef4444}to{background:#991b1b}}.marquee-container{flex:1;white-space:nowrap;overflow:hidden;display:flex;align-items:center}.marquee-container span{display:inline-block;padding-left:50%;animation:marquee 30s linear infinite;text-shadow:0 2px 4px rgba(0,0,0,.3)}@keyframes marquee{0%{transform:translate(0)}to{transform:translate(-100%)}}.app-wrapper{padding-bottom:42px}
