:root{--primary-color:#00ff96;--primary-glow:#00ff9633;--bg-dark:#0a0f0d;--bg-card:#171c19;--border-light:#ffffff1a;--text-main:#fff;--text-muted:#94a3b8;--accent-blue:#3b82f6;--accent-orange:#f59e0b;--accent-green:#10b981;--accent-purple:#a855f7;--font-sans:"Inter", system-ui, -apple-system, sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--bg-dark);color:var(--text-main);-webkit-font-smoothing:antialiased;line-height:1.5}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background:#000c;justify-content:center;align-items:center;width:100vw;height:100vh;padding:20px;display:flex;position:fixed;top:0;left:0}.modal-content{background:var(--bg-card);border:1px solid var(--border-light);text-align:center;border-radius:1.5rem;width:100%;max-width:450px;padding:2.5rem;box-shadow:0 25px 50px -12px #00000080}.modal-content.error h3{color:#ef4444}.modal-content.success h3{color:var(--primary-color)}.modal-content.info h3{color:var(--accent-blue)}.modal-actions{gap:1rem;margin-top:2rem;display:flex}.btn-close,.btn-confirm{cursor:pointer;border-radius:.75rem;flex:1;padding:.8rem;font-weight:600;transition:transform .2s,background .2s}.btn-close{border:1px solid var(--border-light);color:#fff;background:0 0}.btn-confirm{background:var(--accent-blue);color:#fff;border:none}.login-container{justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.login-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:1.5rem;width:100%;max-width:420px;padding:2.5rem;box-shadow:0 4px 6px -1px #0000001a}.login-title{text-align:center;background:linear-gradient(90deg,#fff,#94a3b8);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin-bottom:.5rem;font-size:2rem}.login-subtitle{text-align:center;color:var(--text-muted);margin-bottom:2rem}.input-group{margin-bottom:1.25rem}.input-group label{color:var(--text-muted);margin-bottom:.5rem;font-size:.875rem;display:block}.input-group input{border:1px solid var(--border-light);color:#fff;background:#ffffff0d;border-radius:.75rem;outline:none;width:100%;padding:.8rem 1rem;font-size:1rem}.btn-login{background:var(--primary-color);color:#000;cursor:pointer;width:100%;box-shadow:0 0 15px var(--primary-glow);border:none;border-radius:.75rem;margin-top:1rem;padding:1rem;font-weight:800}.admin-layout{background:var(--bg-dark);min-height:100vh;display:flex}.admin-sidebar{background:#0d1410;border-right:1px solid #ffffff12;flex-direction:column;width:260px;min-width:260px;height:100vh;padding:1.5rem 1rem;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-brand{color:#fff;border-bottom:1px solid #ffffff12;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding:.5rem .75rem 1.75rem;font-size:1.1rem;font-weight:700;display:flex}.sidebar-nav{flex-direction:column;flex:1;gap:.25rem;display:flex}.sidebar-nav-item{color:#777;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:.75rem;align-items:center;gap:.85rem;width:100%;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:background .2s,color .2s;display:flex;position:relative}.sidebar-nav-item:hover{color:#ccc;background:#ffffff0a}.sidebar-nav-item.active{color:#00ff96;background:#00ff9614;border:1px solid #00ff9626}.sidebar-nav-icon{align-items:center;display:flex}.sidebar-nav-label{flex:1}.sidebar-nav-arrow{opacity:.6;margin-left:auto}.sidebar-logout{color:#555;cursor:pointer;background:0 0;border:1px solid #ffffff12;border-radius:.75rem;align-items:center;gap:.75rem;margin-top:.5rem;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:background .2s,color .2s;display:flex}.sidebar-logout:hover{color:#ef4444;background:#ef444414;border-color:#ef444433}.admin-main{flex:1;min-width:0;overflow-y:auto}.admin-section{max-width:1400px;padding:2.5rem}.section-title-bar{border-bottom:1px solid #ffffff12;margin-bottom:2.5rem;padding-bottom:1.5rem}.section-title-bar h1{margin-bottom:.25rem;font-size:1.75rem;font-weight:700}.section-title-bar p{color:var(--text-muted);font-size:.9rem}.dash-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;margin-bottom:2.5rem;display:grid}.dash-metric-card{background:#0d1410;border:1px solid #ffffff12;border-radius:1rem;align-items:center;gap:1.25rem;padding:1.5rem;transition:transform .2s,border-color .2s;display:flex}.dash-metric-card:hover{border-color:#00ff9633;transform:translateY(-3px)}.dash-metric-icon{border-radius:.75rem;justify-content:center;align-items:center;padding:.8rem;display:flex}.dash-metric-label{color:#666;margin-bottom:.4rem;font-size:.8rem;font-weight:500;display:block}.dash-metric-value{color:#fff;font-size:2rem;font-weight:800;display:block}.dash-recent{background:#0d1410;border:1px solid #ffffff12;border-radius:1rem;padding:1.5rem}.dash-recent-list{flex-direction:column;gap:.75rem;display:flex}.dash-recent-item{background:#ffffff05;border:1px solid #ffffff0d;border-radius:.75rem;align-items:center;gap:1rem;padding:.85rem 1rem;transition:background .2s;display:flex}.dash-recent-item:hover{background:#ffffff0a}.dash-recent-icon{border-radius:.5rem;justify-content:center;align-items:center;padding:.55rem;display:flex}.placeholder-section{text-align:center;border:2px dashed #ffffff12;border-radius:1.5rem;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:5rem 2rem;display:flex}.placeholder-section h3{color:#444;font-size:1.2rem}.placeholder-section p{color:#444;font-size:.9rem}.dashboard-container{min-height:100vh;padding:2rem}.dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:3rem;display:flex}.header-info h1{margin-bottom:.25rem;font-size:1.8rem}.header-subtitle{color:var(--text-muted)}.btn-logout{border:1px solid var(--border-light);color:var(--text-muted);cursor:pointer;background:#ffffff0d;border-radius:.75rem;align-items:center;gap:.5rem;padding:.6rem 1.2rem;display:flex}.countdown-card{border:1px solid var(--border-light);text-align:center;background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%);border-radius:1.5rem;margin-bottom:3rem;padding:2rem}.countdown-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:700}.countdown-value{color:var(--accent-orange);margin-top:.5rem;font-family:JetBrains Mono,monospace;font-size:3rem;font-weight:800}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-bottom:4rem;display:grid}.metric-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:1.25rem;align-items:center;gap:1.25rem;padding:1.5rem;transition:transform .3s;display:flex}.metric-card:hover{transform:translateY(-5px)}.metric-icon-wrapper{background:#ffffff08;border-radius:.8rem;padding:.8rem}.metric-title{color:var(--text-muted);font-size:.875rem;display:block}.metric-value{font-size:1.75rem;font-weight:700}.workflow-section{margin-top:2rem}.section-header h2{margin-bottom:.5rem;font-size:1.5rem}.section-header p{color:var(--text-muted);margin-bottom:2rem}.workflow-placeholder{border:2px dashed var(--border-light);text-align:center;color:var(--text-muted);border-radius:1.5rem;padding:4rem}.admin-actions{justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2.5rem;display:flex}.search-container{flex:1;max-width:400px;position:relative}.search-container input{border:1px solid var(--border-light);color:#fff;background:#ffffff0d;border-radius:.75rem;outline:none;width:100%;padding:.8rem 1rem .8rem 2.5rem;transition:border-color .2s,box-shadow .2s}.search-container input:focus{border-color:var(--primary-color);box-shadow:0 0 10px var(--primary-glow)}.status-badge{text-transform:uppercase;letter-spacing:.05em;color:#10b981;background:#10b9811a;border:1px solid #10b98133;border-radius:20px;padding:4px 10px;font-size:.7rem;font-weight:700}.status-badge.inactive{color:#ef4444;background:#ef44441a;border:1px solid #ef444433}.org-card{background:#0d1410;border-radius:1.25rem;flex-direction:column;gap:0;padding:1.25rem;transition:transform .25s,box-shadow .25s;display:flex}.org-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #00000059}.org-card-actions{flex-direction:column;gap:8px;margin-top:1.25rem;display:flex}.org-btn{color:#888;cursor:pointer;font-size:.78rem;font-weight:600;font-family:var(--font-sans);background:#ffffff08;border:1px solid #ffffff17;border-radius:.6rem;justify-content:center;align-items:center;gap:6px;padding:.6rem .75rem;transition:background .2s,color .2s,border-color .2s;display:flex}.org-btn:hover{color:#ccc;background:#ffffff12}.org-btn-secondary{color:#aaa}.org-btn-secondary:hover{color:#00ff96;background:#00ff960f;border-color:#00ff9633}.admin-modal{background:#0d1410;border:1px solid #ffffff17;border-radius:1.5rem;width:100%;max-width:560px;max-height:90vh;padding:2rem;overflow-y:auto;box-shadow:0 24px 64px #0009}.admin-modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;display:flex}.admin-modal-header h2{font-size:1.25rem;font-weight:700}.modal-close-btn{color:#666;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff14;border-radius:.5rem;align-items:center;padding:.35rem;transition:background .2s,color .2s;display:flex}.modal-close-btn:hover{color:#ef4444;background:#ef44441f}.file-upload-area:hover>div{background:#00ff960a!important;border-color:#00ff964d!important}.status-badge{text-transform:uppercase;letter-spacing:.02em;border-radius:99px;padding:4px 10px;font-size:.7rem;font-weight:700}.status-PENDENTE{color:#9ca3af;background:#6b728026;border:1px solid #6b728033}.status-DOCUMENTOS_OK{color:#60a5fa;background:#3b82f626;border:1px solid #3b82f633}.status-EM_ELABORAÇÃO{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b33}.status-REVISÃO{color:#c084fc;background:#a855f726;border:1px solid #a855f733}.status-TRANSMITIDO{color:#34d399;background:#10b98126;border:1px solid #10b98133}.status-FINALIZADO{color:#00ff96;background:#00ff9626;border:1px solid #00ff9633}.drawer-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2000;background:#000000b3;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer-content{background:#0d1410;border-left:1px solid #ffffff0d;flex-direction:column;width:100%;max-width:650px;height:100%;animation:.3s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;box-shadow:-10px 0 50px #000c}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding:1.5rem 2rem;display:flex}.drawer-body{flex:1;padding:2rem;overflow-y:auto}.doc-item{background:#ffffff05;border:1px solid #ffffff0d;border-radius:.75rem;align-items:center;gap:1rem;margin-bottom:.75rem;padding:1rem;transition:all .2s;display:flex}.doc-item:hover{border-color:var(--primary-color);background:#ffffff0a}.doc-item.pending{background:0 0;border:1px dashed #ffffff1a}.type-selector{background:#ffffff0d;border:1px solid #ffffff0d;border-radius:10px;margin-bottom:1.5rem;padding:4px;display:flex}.type-option{text-align:center;cursor:pointer;color:#777;border-radius:8px;flex:1;padding:10px;font-size:.85rem;font-weight:600;transition:all .2s}.type-option.active{background:var(--primary-color);color:#000;box-shadow:0 4px 12px var(--primary-glow)}.timeline-step{border-left:2px solid #ffffff0d;padding-bottom:2rem;padding-left:2rem;position:relative}.timeline-step.active{border-left-color:var(--primary-color)}.timeline-dot{background:#222;border:2px solid #ffffff1a;border-radius:50%;width:12px;height:12px;position:absolute;top:0;left:-7px}.timeline-container{justify-content:space-between;margin-top:1rem;display:flex;position:relative}.dash-recent-item.completed{background:#00ff9608;border-color:#00ff9633}.dash-recent-item.completed:hover{background:#00ff960f}.timeline-step-label{color:#666;margin-top:8px;font-size:.65rem;font-weight:500;transition:color .3s}.timeline-step-label.active{color:#fff;font-weight:800}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.admin-section{animation:.4s ease-out fadeIn}.org-btn{transition:all .2s cubic-bezier(.4,0,.2,1)}.org-btn:active{transform:scale(.97)}
