:root{--primary-color:#1f3c88;--primary-light:#1f3c881a;--secondary-color:#64748b;--success-color:#10b981;--danger-color:#ef4444;--warning-color:#f59e0b;--info-color:#3b82f6;--border-color:#e2e8f0;--background-color:#f8fafc;--text-color:#1e293b;--text-light:#64748b;--shadow:0 10px 30px #00000014;--shadow-hover:0 20px 40px #0000001f;--border-radius:12px;--transition:all .3s ease}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1);box-shadow:0 0 #1f3c8866}50%{transform:scale(1.05)}70%{box-shadow:0 0 0 10px #1f3c8800}to{transform:scale(1);box-shadow:0 0 #1f3c8800}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.container-page{background-color:var(--background-color);flex-direction:column;justify-content:flex-start;align-items:center;min-height:100vh;padding:20px;display:flex}.platform-header{text-align:center;width:100%;max-width:1000px;margin-bottom:32px;animation:.8s ease-out fadeInDown}.logo-container{justify-content:center;align-items:center;gap:16px;margin-bottom:12px;display:flex}.logo{object-fit:contain;border-radius:50%;width:100px;height:100px;animation:2s infinite pulse;box-shadow:0 4px 12px #1f3c8840}.platform-name{color:var(--primary-color);background:linear-gradient(135deg,var(--primary-color),#4f46e5);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:40px;font-weight:700}.platform-tagline{color:var(--text-light);margin-top:8px;font-size:16px;font-weight:500}.card{border-radius:var(--border-radius);box-shadow:var(--shadow);border:1px solid var(--border-color);transition:var(--transition);background:#fff;padding:32px;animation:.6s ease-out slideInUp}.card:hover{box-shadow:var(--shadow-hover)}.card{width:100%;max-width:1000px}.card--medium{max-width:900px}.card--small{max-width:700px}.page-title{text-align:center;color:var(--text-color);margin-bottom:28px;font-size:24px;font-weight:600}.form{width:100%}.form-group{margin-bottom:24px}.label{color:var(--text-color);margin-bottom:8px;font-size:14px;font-weight:600;display:block}.input,.select,.textarea{border:1px solid var(--border-color);width:100%;transition:var(--transition);background:#fff;border-radius:8px;outline:none;padding:14px;font-size:15px}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary-color);transform:translateY(-1px);box-shadow:0 0 0 3px #1f3c8826}.input:hover,.select:hover,.textarea:hover{border-color:#94a3b8}.textarea{resize:vertical;min-height:120px;font-family:inherit}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}@media (max-width:768px){.form-grid{grid-template-columns:1fr;gap:16px}}.input-group{align-items:stretch;gap:12px;display:flex}.input-group .input{flex:1}@media (max-width:768px){.input-group{flex-direction:column}}.btn{cursor:pointer;transition:var(--transition);border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:14px 28px;font-family:inherit;font-size:15px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.btn--primary:hover:not(:disabled){background:#172b63;transform:translateY(-2px);box-shadow:0 8px 20px #1f3c884d}.btn--secondary{background:var(--secondary-color);color:#fff}.btn--secondary:hover:not(:disabled){background:#475569;transform:translateY(-2px)}.btn--info{background:var(--info-color);color:#fff}.btn--small{border-radius:6px;padding:8px 16px;font-size:13px}.btn--info:hover,.btn--danger:hover{opacity:.9;transform:translateY(-1px)}.form-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.form-actions--center{justify-content:center}.form-actions--column{flex-direction:column;align-items:stretch}@media (max-width:768px){.form-actions{flex-direction:column}.form-actions .btn{width:100%;margin-bottom:8px}}.tabs{border-bottom:2px solid var(--border-color);gap:8px;margin-bottom:28px;display:flex}@media (max-width:768px){.tabs{flex-direction:column;gap:4px}}.tab{cursor:pointer;transition:var(--transition);background:0 0;border:none;border-radius:8px 8px 0 0;padding:14px 28px;font-size:15px;font-weight:600;position:relative;bottom:-2px}@media (max-width:768px){.tab{border-radius:6px;margin-bottom:4px}}.tab--active{color:var(--primary-color);border-bottom:3px solid var(--primary-color);background:var(--primary-light)}.tab--inactive{color:var(--secondary-color);border-bottom:3px solid #0000}.tab--inactive:hover{color:var(--primary-color);background:var(--primary-light)}.tab-content{margin-top:20px}.progress-container{background:var(--background-color);border:1px solid var(--border-color);border-radius:8px;margin-bottom:32px;padding:20px}.progress-info{color:var(--text-color);justify-content:space-between;margin-bottom:8px;font-weight:600;display:flex}.progress-bar{background:var(--border-color);border-radius:4px;width:100%;height:8px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,var(--primary-color),#4f46e5);border-radius:4px;height:100%;transition:width .5s}.checkbox-label{cursor:pointer;color:var(--text-color);transition:var(--transition);align-items:center;font-weight:500;display:flex}.checkbox{display:none}.checkbox-custom{border:10px solid var(--border-color);width:20px;height:20px;transition:var(--transition);border-radius:4px;margin-right:10px;position:relative}.checkbox:checked+.checkbox-custom{background-color:var(--primary-color);border-color:var(--primary-color)}.checkbox:checked+.checkbox-custom:after{content:"✓";color:#fff;font-size:14px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.questionario-container{width:100%}.funcionario-info{background:var(--primary-light);border:1px solid var(--primary-color);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px;padding:20px;display:grid}@media (max-width:768px){.funcionario-info{grid-template-columns:1fr}}.info-item{flex-direction:column;gap:4px;display:flex}.info-item strong{color:var(--primary-color);font-size:14px}.section-title{color:var(--primary-color);margin-bottom:16px;font-size:20px;font-weight:600}.secao{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);transition:var(--transition);margin-bottom:40px;padding:24px}.secao:hover{border-color:var(--primary-color);box-shadow:var(--shadow)}@media (max-width:480px){.secao{padding:16px}}.secao-header{align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}@media (max-width:768px){.secao-header{text-align:center;flex-direction:column}}.secao-icon{flex-shrink:0;font-size:32px}.secao-info{flex:1}.secao-titulo{color:var(--primary-color);margin:0 0 8px;font-size:20px;font-weight:600}.secao-descricao{color:var(--text-light);margin:0;font-size:14px;line-height:1.5}.perguntas-container{flex-direction:column;gap:24px;display:flex}.pergunta{border:1px solid var(--border-color);transition:var(--transition);background:#fff;border-radius:8px;padding:20px}.pergunta:hover{border-color:var(--primary-color);box-shadow:0 2px 8px #1f3c881a}@media (max-width:480px){.pergunta{padding:16px}}.pergunta-texto{color:var(--text-color);margin:0 0 16px;font-size:16px;font-weight:500;line-height:1.5}.escalas-container{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}@media (max-width:768px){.escalas-container{grid-template-columns:1fr}}.escala-option{border:2px solid var(--border-color);cursor:pointer;transition:var(--transition);background:#fff;border-radius:8px;align-items:center;padding:12px 16px;font-weight:500;display:flex}.escala-option:hover{border-color:var(--primary-color);transform:translateY(-1px)}.escala-option--selected{border-color:var(--escala-cor,var(--primary-color));background:var(--escala-cor,var(--primary-color));color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}@media (max-width:480px){.escala-option{padding:10px 12px}}.escala-radio{display:none}.escala-label{text-align:center;flex:1;font-size:14px}@media (max-width:480px){.escala-label{font-size:13px}}.categorias-container{margin-bottom:32px}.categoria{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);transition:var(--transition);margin-bottom:32px;padding:24px}.categoria:hover{border-color:var(--primary-color);box-shadow:var(--shadow)}@media (max-width:480px){.categoria{padding:16px}}.categoria-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}@media (max-width:768px){.categoria-header{flex-direction:column;align-items:flex-start}}.categoria-titulo{color:var(--primary-color);margin:0;font-size:18px;font-weight:600}.categoria-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:768px){.categoria-actions{justify-content:flex-start;width:100%;margin-top:8px}}.categoria-progress{background:var(--primary-color);color:#fff;border-radius:4px;padding:4px 8px;font-size:12px;font-weight:600}.perguntas-grid{gap:12px;display:grid}.pergunta-item{border:1px solid var(--border-color);transition:var(--transition);background:#fff;border-radius:8px;padding:16px}.pergunta-item:hover{border-color:var(--primary-color);background:var(--primary-light)}.pergunta-label{cursor:pointer;align-items:flex-start;gap:12px;margin:0;display:flex}.pergunta-checkbox{cursor:pointer;width:18px;height:18px;accent-color:var(--primary-color);margin-top:2px}.pergunta-texto{color:var(--text-color);flex:1;font-weight:500;line-height:1.5}.lista-atestados{margin-top:20px}.empty-state{text-align:center;color:var(--text-light);padding:40px 20px}.table-container{border:1px solid var(--border-color);border-radius:8px;margin-top:20px;overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:600px}.table__header{background:var(--background-color)}.table__header th{text-align:left;color:var(--text-color);border-bottom:2px solid var(--border-color);padding:16px;font-size:14px;font-weight:600}.table__row{border-bottom:1px solid var(--border-color);transition:var(--transition)}.table__row:hover{background:var(--primary-light)}.table__cell{color:var(--text-color);padding:16px;font-size:14px}.table__cell--actions{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:768px){.table__cell--actions{flex-direction:column}}.setores-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:8px;display:grid}@media (max-width:768px){.setores-grid{grid-template-columns:1fr}}.setor-option{background:var(--background-color);border:1px solid var(--border-color);cursor:pointer;transition:var(--transition);border-radius:8px;align-items:center;padding:12px 16px;font-weight:500;display:flex}.setor-option:hover{border-color:var(--primary-color);background:var(--primary-light)}.setor-option--selected{background:var(--primary-light);border-color:var(--primary-color);color:var(--primary-color)}.setor-radio{display:none}.setor-info{background:var(--primary-light);border:1px solid var(--primary-color);color:var(--primary-color);border-radius:8px;padding:12px 16px;font-weight:600}.loading-container,.error-container,.success-container{text-align:center;border-radius:var(--border-radius);max-width:500px;margin:40px auto;padding:60px 40px;animation:.8s ease-out fadeInDown}.loading-container{background:var(--primary-light);color:var(--primary-color)}.error-container{color:var(--danger-color);background:#ef44441a;border:1px solid #ef444433}.success-container{color:var(--success-color);background:#10b9811a;border:1px solid #10b98133}.loading-spinner{border:4px solid var(--primary-light);border-top:4px solid var(--primary-color);border-radius:50%;width:40px;height:40px;margin:0 auto 16px;animation:1s linear infinite spin}.error-icon,.success-icon{margin-bottom:20px;font-size:60px}.success-note{color:var(--text-light);margin-top:20px;font-size:14px}.success-message{color:var(--success-color);margin-top:8px;font-weight:500}.empty-message{color:var(--text-light);text-align:center;background:var(--background-color);border-radius:8px;padding:20px}.validation-message{color:var(--warning-color);text-align:center;margin:0;font-size:14px}.footer{text-align:center;color:var(--text-light);border-top:1px solid var(--border-color);margin-top:40px;padding-top:24px;font-size:13px}@media (max-width:768px){.container{padding:16px}.card{padding:24px 20px}.platform-name{font-size:24px}.logo-container{flex-direction:column;gap:12px}}@media (max-width:480px){.platform-name,.page-title{font-size:20px}.btn--small{padding:6px 10px;font-size:11px}}.login-container{background:linear-gradient(135deg,var(--primary-color)0%,#2d4ba3 30%,#4f46e5 70%,#1f3c88 100%);background-size:400% 400%;justify-content:center;align-items:center;min-height:100vh;padding:20px;animation:8s infinite stormBackground;display:flex;position:relative;overflow:hidden}.login-container:before{content:"";z-index:0;pointer-events:none;background:radial-gradient(circle,#ffffff1a 0%,#fff0 70%);width:200%;height:200%;animation:20s linear infinite rotateGlow;position:absolute;top:-50%;left:-50%}.login-container:after{content:"";z-index:0;opacity:.4;pointer-events:none;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='25' viewBox='0 0 88 24'><g fill-rule='evenodd'><g id='autumn' fill='%23ffffff' fill-opacity='0.25'><circle cx='10' cy='10' r='2'/><circle cx='40' cy='14' r='1.5'/><circle cx='70' cy='6' r='2'/><circle cx='50' cy='18' r='1.5'/><circle cx='20' cy='22' r='1.5'/></g></g></svg>");background-size:200px 200px;animation:18s linear infinite floatParticles;position:absolute;inset:0}.login-container>*{z-index:2;position:relative}@keyframes stormBackground{0%{background-position:0%}50%{background-position:100%}to{background-position:0%}}@keyframes rotateGlow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes floatParticles{0%{background-position:0 0}50%{background-position:200px 300px}to{background-position:0 0}}.login-form{border-radius:var(--border-radius);box-shadow:var(--shadow);border:1px solid var(--border-color);transition:var(--transition);background:#fff;padding:32px;animation:.6s ease-out slideInUp}.login-form:hover{box-shadow:var(--shadow-hover)}.login-form{z-index:1;background:#fffffff2;width:100%;max-width:420px;position:relative}.login-form.recovery-form{max-width:480px}.login-form.shake-animation{animation:.5s ease-in-out shake}.login-header{text-align:center;margin-bottom:32px}.login-logo-container{justify-content:center;align-items:center;gap:12px;margin-bottom:8px;display:flex}.login-logo{object-fit:contain;border-radius:50%;width:80px;height:80px;animation:2s infinite pulse;box-shadow:0 4px 12px #1f3c8840}.login-title{color:var(--primary-color);background:linear-gradient(135deg,var(--primary-color),#4f46e5);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:28px;font-weight:700}.login-tagline{color:var(--text-light);margin:0;font-size:14px;font-style:italic}.login-form-content,.recovery-form-content{width:100%}.btn--link{color:var(--primary-color);z-index:100;background:0 0;border:none;width:100%;margin-top:16px;padding:12px;font-size:14px;text-decoration:underline}.btn--link:hover{background:var(--primary-light);text-decoration:none}.btn--block{width:100%}.custom-alert{z-index:10000;opacity:0;visibility:hidden;background:#fff;border-left:4px solid #e74c3c;border-radius:10px;align-items:center;gap:1rem;min-width:300px;max-width:90vw;padding:1.5rem;transition:all .4s;display:flex;position:fixed;top:6%;left:40%;transform:translate(-50%,-50%);box-shadow:0 20px 40px #0000004d}.custom-alert.error{color:var(--danger-color);background:#ef444499}.custom-alert.success{color:var(--success-color);background:#10b98180}.custom-alert.info{color:var(--info-color);background:#3498db80}.custom-alert.warning{color:var(--warning-color);background:#f39c1280}.custom-alert.show{opacity:1;visibility:visible}.custom-alert.error{border-left-color:#e74c3c}.custom-alert.error i{color:#e74c3c}.custom-alert.success{border-left-color:#2ecc71}.custom-alert.success i{color:#2ecc71}.custom-alert.warning{border-left-color:#f39c12}.custom-alert.warning i{color:#f39c12}.custom-alert.info{border-left-color:#3498db}.custom-alert.info i{color:#3498db}.custom-alert i{flex-shrink:0;font-size:1.5rem}.alert-content{flex:1}.alert-title{color:#333;margin-bottom:.25rem;font-size:1.1rem;font-weight:600}.alert-message{color:#666;font-size:.9rem;line-height:1.4}.alert-close{color:#999;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;padding:.25rem;font-size:1.2rem;transition:all .2s}.alert-close:hover{color:#666;background:#f5f5f5}.alert-backdrop{z-index:9999;opacity:0;visibility:hidden;background:#00000080;width:100%;height:100%;transition:all .3s;position:fixed;top:0;left:0}.alert-backdrop.show{opacity:1;visibility:visible}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-8px)}20%,40%,60%,80%{transform:translate(8px)}}@keyframes float{0%{transform:translate(0)rotate(0)}to{transform:translate(-100px,-100px)rotate(360deg)}}@keyframes pulseBackground{0%,to{opacity:1}50%{opacity:.8}}@keyframes loadingProgress{0%{width:0%}to{width:100%}}@keyframes shimmer{0%{left:-100%}to{left:100%}}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes slideInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.login-container{padding:16px}.login-form{padding:24px 20px}.login-title{font-size:24px}.login-logo{width:45px;height:45px}.loading-logo-img{width:100px;height:100px}.loading-pulse{width:120px;height:120px}.loading-pulse:before{width:140px;height:140px}.loading-title{font-size:28px}}@media (max-width:480px){.login-logo-container{flex-direction:column;gap:8px}.login-title{font-size:22px}.loading-title{font-size:24px}.loading-tagline{font-size:14px}}:root{--sidebar-width:280px;--sidebar-collapsed-width:80px;--sidebar-header-height:100px;--nav-item-height:48px;--transition-sidebar:all .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInFromLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.sidebar{width:var(--sidebar-width);background:var(--bg-sidebar);border-right:1px solid var(--border-color);height:100vh;transition:var(--transition-sidebar);z-index:1000;box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:fixed;top:0;left:0;overflow:hidden}.sidebar.collapsed{width:var(--sidebar-collapsed-width)}.sidebar.collapsed .logo-text,.sidebar.collapsed .logo-tagline,.sidebar.collapsed .nav-label,.sidebar.collapsed .logout-label{opacity:0;visibility:hidden}.sidebar.collapsed .logo-container{justify-content:center;padding:0}.sidebar.collapsed .sidebar-header{padding:20px 10px}.sidebar.locked{border-right:2px solid var(--accent-color)}.sidebar.mobile-open{transform:translate(0)!important}.sidebar-overlay{z-index:999;background:#00000080;width:100%;height:100%;animation:.2s ease-out fadeIn;position:fixed;top:0;left:0}@media (min-width:769px){.sidebar-overlay{display:none}}.sidebar-header{min-height:var(--sidebar-header-height);border-bottom:1px solid #ffffff1a;flex-direction:column;align-items:center;gap:10px;padding:25px 20px 15px;display:flex;position:relative}.logo-container{transition:var(--transition-sidebar);align-items:center;gap:10px;padding:0 10px;display:flex}.logo-container:hover .logo-image{transform:scale(1.05)}.logo-image{object-fit:cover;background:var(--accent-color);width:45px;height:45px;transition:var(--transition-sidebar);border:2px solid #3b82f64d;border-radius:10px;padding:2px;box-shadow:0 2px 8px #0003}.logo-image:hover{border-color:var(--accent-color);transform:scale(1.05)}.logo-text{color:#fff;transition:var(--transition-sidebar);letter-spacing:-.5px;margin:0;font-size:1.5rem;font-weight:700}.logo-tagline{color:#ffffffb3;text-align:center;transition:var(--transition-sidebar);max-width:200px;margin:0;font-size:.7rem;font-weight:500;line-height:1.4}.lock-indicator{background:var(--accent-color);border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:.7rem;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 2px 8px #3b82f64d}.sidebar-nav{flex-direction:column;flex:1;gap:2px;padding:15px 0;display:flex;overflow-y:auto}.sidebar-nav::-webkit-scrollbar{width:3px}.sidebar-nav::-webkit-scrollbar-track{background:#ffffff0d}.sidebar-nav::-webkit-scrollbar-thumb{background:var(--accent-color)}.nav-item{cursor:pointer;transition:var(--transition-sidebar);color:#fffc;min-height:var(--nav-item-height);background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;margin:0 10px;padding:14px 16px;text-decoration:none;display:flex;position:relative}.nav-item:hover{color:#fff;background:#3b82f626}.nav-item:hover .nav-icon{transform:scale(1.1)}.nav-item.active{background:var(--accent-color);color:#fff}.nav-item.active .nav-icon{transform:scale(1.1)}.nav-item.active .nav-label{font-weight:700}.nav-item .nav-icon{text-align:center;min-width:20px;transition:var(--transition-sidebar);z-index:2;font-size:1.2rem}.nav-item .nav-label{white-space:nowrap;transition:var(--transition-sidebar);z-index:2;font-size:.9rem;font-weight:600}.nav-item .active-dot{background:#fff;border-radius:50%;width:6px;height:6px;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.sidebar-footer{border-top:1px solid #ffffff1a;padding:15px}.logout-btn{cursor:pointer;width:100%;transition:var(--transition-sidebar);color:#ef4444e6;background:#ef44441a;border:1px solid #ef44444d;border-radius:10px;align-items:center;gap:10px;padding:14px 16px;display:flex}.logout-btn:hover{color:#fff;background:#ef444433}.logout-btn:hover .logout-icon{transform:scale(1.1)}.logout-btn .logout-icon{transition:var(--transition-sidebar);font-size:1.1rem}.logout-btn .logout-label{transition:var(--transition-sidebar);font-size:.9rem;font-weight:600}.nav-item{animation:.4s ease-out fadeIn}.nav-item:first-child{animation-delay:50ms}.nav-item:nth-child(2){animation-delay:.1s}.nav-item:nth-child(3){animation-delay:.15s}.nav-item:nth-child(4){animation-delay:.2s}.nav-item:nth-child(5){animation-delay:.25s}.nav-item:nth-child(6){animation-delay:.3s}.nav-item:nth-child(7){animation-delay:.35s}.nav-item:nth-child(8){animation-delay:.4s}.nav-item:nth-child(9){animation-delay:.45s}.nav-item:nth-child(10){animation-delay:.5s}@media (max-width:768px){.sidebar,.sidebar.collapsed{width:var(--sidebar-width);transform:translate(-100%)}.sidebar.collapsed .logo-text,.sidebar.collapsed .logo-tagline,.sidebar.collapsed .nav-label,.sidebar.collapsed .logout-label{opacity:1;visibility:visible}.sidebar.collapsed .logo-container{justify-content:flex-start;padding:0 10px}.sidebar:not(.collapsed){transform:translate(0)}.sidebar-header{padding:20px 15px 12px}.logo-image{width:40px;height:40px}.logo-text{font-size:1.4rem}}@media (max-width:480px){.sidebar{width:100%;max-width:280px}.sidebar-header{padding:18px 12px 10px}.nav-item{margin:0 6px;padding:12px 14px}}.sidebar.loading .nav-item,.sidebar.loading .logout-btn{position:relative;overflow:hidden}@media (prefers-contrast:high){.sidebar{border-right:2px solid var(--text-primary)}.nav-item.active{border:2px solid var(--accent-color)}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.nav-icon{width:18px;height:18px;transition:var(--transition-sidebar);justify-content:center;align-items:center;display:flex}.nav-icon svg{opacity:.9;width:100%;height:100%;transition:var(--transition-sidebar)}.nav-item:hover .nav-icon svg,.nav-item.active .nav-icon svg{opacity:1}.logout-icon{justify-content:center;align-items:center;width:16px;height:16px;display:flex}.logout-icon svg{opacity:.9;width:100%;height:100%}.lock-indicator svg{width:12px;height:12px}.sidebar.collapsed .nav-icon{width:20px;height:20px}.theme-toggle-container{align-items:center;gap:12px;display:flex;position:relative}.theme-dropdown{position:relative}.theme-dropdown:hover .theme-dropdown-content{opacity:1;visibility:visible;transform:translateY(0)}.theme-dropdown:hover .theme-toggle-btn{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.theme-toggle-btn{background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:var(--border-radius);cursor:pointer;width:48px;height:48px;transition:var(--transition);color:var(--text-secondary);justify-content:center;align-items:center;font-size:1.2rem;display:flex;position:relative;overflow:hidden}.theme-toggle-btn:before{content:"";background:linear-gradient(90deg,#0000,#fff3,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.theme-toggle-btn:hover{background:var(--accent-color);color:#fff;border-color:var(--accent-color);transform:scale(1.05);box-shadow:0 8px 25px #1f3c884d}.theme-toggle-btn:hover:before{left:100%}.theme-toggle-btn:active{transform:scale(.95)}.theme-toggle-btn i{transition:transform .5s}.theme-toggle-btn.theme-rotating i{animation:1s rotate}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.theme-dropdown-content{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--border-radius);box-shadow:var(--shadow-xl);opacity:0;visibility:hidden;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-width:160px;margin-top:8px;padding:8px;transition:all .3s cubic-bezier(.4,0,.2,1);position:absolute;top:100%;right:0;transform:translateY(-10px)}.theme-dropdown-content:before{content:"";background:var(--bg-card);border-left:1px solid var(--border-color);border-top:1px solid var(--border-color);width:12px;height:12px;position:absolute;top:-6px;right:20px;transform:rotate(45deg)}.theme-dropdown-item{border-radius:var(--border-radius-sm);cursor:pointer;transition:var(--transition);color:var(--text-secondary);align-items:center;gap:12px;padding:12px 16px;font-size:14px;font-weight:500;display:flex}.theme-dropdown-item:hover{background:var(--accent-color);color:#fff;transform:translate(4px)}.theme-dropdown-item:hover i{transform:scale(1.1)}.theme-dropdown-item.active{background:var(--accent-color);color:#fff;position:relative}.theme-dropdown-item.active:after{content:"✓";font-weight:600;position:absolute;right:16px}.theme-dropdown-item i{text-align:center;width:16px;transition:var(--transition);font-size:1rem}.theme-dropdown-item[data-theme=light] i{color:#f59e0b}.theme-dropdown-item[data-theme=dark] i{color:#3b82f6}.theme-dropdown-item[data-theme=auto] i{color:#10b981}.theme-toggle-label{color:var(--text-secondary);transition:var(--transition);font-size:14px;font-weight:600}@media (max-width:768px){.theme-toggle-label{display:none}}.theme-toggle-container.compact .theme-toggle-btn{width:40px;height:40px;font-size:1rem}.theme-toggle-container.compact .theme-toggle-label{display:none}.theme-toggle-container.floating .theme-toggle-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;background:#ffffff1a;border:1px solid #fff3}.theme-toggle-container.floating .theme-toggle-btn:hover{background:#fff3;border-color:#ffffff4d}.theme-transition *{transition:background-color .3s,border-color .3s,color .3s}[dir=rtl] .theme-dropdown-content{left:0;right:auto}[dir=rtl] .theme-dropdown-content:before{left:20px;right:auto}[dir=rtl] .theme-dropdown-item:hover{transform:translate(-4px)}@media (max-width:768px){.theme-toggle-container{gap:8px}.theme-toggle-btn{width:44px;height:44px;font-size:1.1rem}.theme-dropdown-content{min-width:140px;right:-50px}.theme-dropdown-content:before{right:60px}}@media (max-width:480px){.theme-toggle-btn{width:40px;height:40px;font-size:1rem}.theme-dropdown-content{min-width:130px;right:-40px}.theme-dropdown-content:before{right:50px}}.dashboard-home{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.dashboard-home .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.dashboard-home .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative}.dashboard-home .card-header .card-title{margin:0;font-size:2.2rem;font-weight:700;position:relative}.dashboard-home .card-body{flex:1;padding:1.5rem;overflow-y:auto}.p-bem-vindo{color:#6c757d;text-align:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-left:4px solid #667eea;border-radius:12px;margin-bottom:2rem;padding:1rem;font-size:1.2rem}.datetime-container{grid-template-columns:1fr 2fr;gap:2rem;margin-bottom:2rem;display:grid}@media (max-width:768px){.datetime-container{grid-template-columns:1fr}}.clock-section{color:#fff;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;padding:2rem;box-shadow:0 8px 20px #667eea4d}.clock-section h3{justify-content:center;align-items:center;gap:.5rem;margin:0 0 1.5rem;font-size:1.4rem;display:flex}.clock-section h3 i{font-size:1.6rem}.clock-section .date-display{margin-bottom:.5rem;font-size:1.3rem;font-weight:600}.clock-section .time-display{font-family:Courier New,monospace;font-size:2.5rem;font-weight:700}.stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;display:grid}.stats .stat-item{text-align:center;background:#fff;border:1px solid #667eea1a;border-radius:12px;padding:1.5rem;transition:transform .2s;box-shadow:0 4px 12px #00000014}.stats .stat-item:hover{transform:translateY(-3px);box-shadow:0 6px 18px #667eea26}.stats .stat-item h3{color:#6c757d;text-transform:uppercase;letter-spacing:.5px;margin:0 0 .5rem;font-size:.9rem;font-weight:600}.stats .stat-item p{color:#667eea;margin:0;font-size:2.5rem;font-weight:700}.calendar-section{background:#fff;border-left:4px solid #28a745;border-radius:16px;margin:2rem 0;padding:2rem;box-shadow:0 4px 12px #00000014}.calendar-section h3{color:#28a745;align-items:center;gap:.5rem;margin:0 0 1.5rem;font-size:1.4rem;display:flex}.calendar-section h3 i{font-size:1.6rem}.calendar-section #eventos-do-dia{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:1px solid #ffd43b;border-radius:8px;min-height:40px;margin-bottom:1.5rem;padding:1rem}.calendar-section #eventos-do-dia:empty{display:none}.calendar-section #lista-eventos-todos{max-height:200px;padding-right:.5rem;overflow-y:auto}.calendar-section #lista-eventos-todos::-webkit-scrollbar{width:6px}.calendar-section #lista-eventos-todos::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.calendar-section #lista-eventos-todos::-webkit-scrollbar-thumb{background:#667eea;border-radius:3px}.calendar-section #lista-eventos-todos h5{color:#495057;margin-bottom:1rem;font-weight:600}.calendar-section #lista-eventos-todos .evento-item{border-bottom:1px solid #e9ecef;border-radius:6px;justify-content:space-between;align-items:center;padding:.75rem;transition:background-color .2s;display:flex}.calendar-section #lista-eventos-todos .evento-item:hover{background:#f8f9fa}.calendar-section #lista-eventos-todos .evento-item.passado{opacity:.6;text-decoration:line-through}.calendar-section #lista-eventos-todos .evento-item .evento-info{color:#495057;flex:1;font-size:.9rem}.calendar-section #lista-eventos-todos .evento-item .btn-danger{padding:.375rem .75rem;font-size:.8rem;transition:transform .2s}.calendar-section #lista-eventos-todos .evento-item .btn-danger:hover{transform:scale(1.05)}.agendar-evento{background:#fff;border-left:4px solid #007bff;border-radius:16px;margin:2rem 0;padding:2rem;box-shadow:0 4px 12px #00000014}.agendar-evento h4{color:#007bff;align-items:center;gap:.5rem;margin:0 0 1.5rem;font-size:1.3rem;display:flex}.agendar-evento h4 i{font-size:1.4rem}.agendar-evento .agendar-form{flex-wrap:wrap;align-items:end;gap:1rem;display:flex}@media (max-width:768px){.agendar-evento .agendar-form{flex-direction:column;align-items:stretch}}.agendar-evento .agendar-form .form-group{flex:1;min-width:200px}.agendar-evento .agendar-form .form-group label{color:#495057;margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.agendar-evento .agendar-form .form-group input{border:2px solid #e9ecef;border-radius:8px;width:100%;padding:.75rem 1rem;font-size:1rem;transition:border-color .2s}.agendar-evento .agendar-form .form-group input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.agendar-evento .agendar-form .btn{color:#fff;background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:8px;min-width:140px;padding:.75rem 2rem;font-weight:600;transition:transform .2s}.agendar-evento .agendar-form .btn:hover{transform:translateY(-1px)}.agendar-evento .agendar-form .btn:active{transform:translateY(0)}.notes-section{background:#fff;border-left:4px solid #ff6b6b;border-radius:16px;margin:2rem 0;padding:2rem;box-shadow:0 4px 12px #00000014}.notes-section .notes-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.notes-section .notes-header h4{color:#ff6b6b;align-items:center;gap:.5rem;margin:0;font-size:1.3rem;display:flex}.notes-section .notes-header h4 i{font-size:1.4rem}.notes-section .notes-header .btn-danger{padding:.5rem 1rem;font-size:.8rem;transition:transform .2s}.notes-section .notes-header .btn-danger:hover{transform:scale(1.03)}.notes-section textarea{resize:vertical;border:2px solid #e9ecef;border-radius:8px;width:100%;height:150px;padding:1rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.notes-section textarea:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.notes-section .btn{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;padding:.75rem 2rem;font-weight:600;transition:transform .2s}.notes-section .btn:hover{transform:translateY(-1px)}.system-actions{background:#fff;border-left:4px solid #e74c3c;border-radius:16px;margin-top:2rem;padding:2rem;box-shadow:0 4px 12px #00000014}.system-actions h4{color:#e74c3c;align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1.3rem;display:flex}.system-actions h4 i{font-size:1.4rem}.system-actions .btn-danger{color:#fff;background:linear-gradient(135deg,#e74c3c,#c0392b);border:none;border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1rem;padding:1rem 2rem;font-size:1.1rem;font-weight:600;transition:transform .2s;display:flex}.system-actions .btn-danger:hover{transform:translateY(-2px)}.system-actions .btn-danger:active{transform:translateY(0)}.system-actions .warning-text{color:#7f8c8d;margin:0;font-size:.9rem}.system-actions .warning-text strong{color:#e74c3c}@media (min-width:1200px){.dashboard-home{padding:2rem 4rem}.dashboard-home .card{max-width:100%;margin:0 auto}}@media (max-width:768px){.dashboard-home{padding:1rem}.dashboard-home .card-header{padding:1.5rem}.dashboard-home .card-header .card-title{font-size:2rem}.dashboard-home .card-body{padding:1.5rem}.dashboard-home .datetime-container{gap:1rem}.dashboard-home .stats{grid-template-columns:repeat(2,1fr);gap:1rem}.dashboard-home .stats .stat-item{padding:1rem}.dashboard-home .stats .stat-item p{font-size:2rem}}@media (max-width:480px){.dashboard-home .stats{grid-template-columns:1fr}.dashboard-home .agendar-form .form-group{min-width:100%}}.empresas-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.empresas-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.empresas-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.empresas-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.empresas-section .card-body{flex:1;padding:1.5rem;overflow-y:auto}.empresas-section #empresa-form .form-row{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem;display:grid}.empresas-section #empresa-form .form-row.full-width{grid-template-columns:1fr}.empresas-section #empresa-form .form-col{flex-direction:column;display:flex}.empresas-section #empresa-form .form-col.full-width{grid-column:1/-1}.empresas-section #empresa-form .form-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.9rem;font-weight:600}.empresas-section #empresa-form .form-col label:after{content:" *";color:#e53e3e;opacity:.8}.empresas-section #empresa-form .form-col label:has(+input:not([required])):after{content:""}.empresas-section #empresa-form .form-col label:has(+select:not([required])):after{content:""}.empresas-section #empresa-form .form-col input,.empresas-section #empresa-form .form-col select,.empresas-section #empresa-form .form-col textarea{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.empresas-section #empresa-form .form-col input:focus,.empresas-section #empresa-form .form-col select:focus,.empresas-section #empresa-form .form-col textarea:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.empresas-section #empresa-form .form-col input:hover,.empresas-section #empresa-form .form-col select:hover,.empresas-section #empresa-form .form-col textarea:hover{border-color:#cbd5e0}.empresas-section #empresa-form .form-col .imask-input{background:#fff;border:2px solid #e2e8f0;border-radius:10px;width:100%;padding:.875rem 1rem;font-size:1rem;transition:border-color .2s}.empresas-section #empresa-form .form-col .imask-input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.empresas-section #empresa-form .checkbox-group{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px dashed #cbd5e0;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin:1rem 0;padding:1.5rem;display:grid}.empresas-section #empresa-form .checkbox-group .checkbox-item{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:8px;align-items:center;gap:.75rem;padding:.75rem;font-weight:500;transition:border-color .2s;display:flex}.empresas-section #empresa-form .checkbox-group .checkbox-item:hover{border-color:#667eea}.empresas-section #empresa-form .checkbox-group .checkbox-item input[type=checkbox]{cursor:pointer;border:2px solid #cbd5e0;border-radius:4px;width:18px;height:18px;transition:border-color .2s}.empresas-section #empresa-form .checkbox-group .checkbox-item input[type=checkbox]:checked{background-color:#667eea;border-color:#667eea}.empresas-section #empresa-form .checkbox-group .checkbox-item span{color:#4a5568;transition:color .2s}.empresas-section #empresa-form .checkbox-group .checkbox-item:has(input:checked){background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea}.empresas-section #empresa-form .checkbox-group .checkbox-item:has(input:checked) span{color:#fff;font-weight:600}.empresas-section #empresa-form .custom-setores{background:#f7fafc;border-left:4px solid #4299e1;border-radius:8px;margin-top:1rem;padding:1rem}.empresas-section #empresa-form .custom-setores small{color:#2d3748;margin-bottom:.5rem;font-weight:600;display:block}.empresas-section #empresa-form .custom-setores .setor-tag{color:#fff;background:linear-gradient(135deg,#90cdf4,#4299e1);border-radius:20px;align-items:center;gap:.5rem;margin:.25rem;padding:.5rem 1rem;font-size:.8rem;font-weight:600;display:inline-flex;box-shadow:0 2px 6px #4299e14d}.empresas-section #empresa-form .custom-setores .setor-tag button{cursor:pointer;color:#fff;background:#ffffff4d;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:700;transition:background-color .2s;display:flex}.empresas-section #empresa-form .custom-setores .setor-tag button:hover{background:#ffffff80}.empresas-section #empresa-form .setores-descriptions{background:linear-gradient(135deg,#fff5f5,#fed7d7);border:2px solid #fed7d7;border-radius:12px;margin-top:1.5rem;padding:1.5rem}.empresas-section #empresa-form .setores-descriptions h4{color:#742a2a;margin:0 0 1rem;font-size:1.1rem;font-weight:600}.empresas-section #empresa-form .setores-descriptions .setor-description-item{background:#fff;border-left:4px solid #e53e3e;border-radius:8px;margin-bottom:1.5rem;padding:1rem;box-shadow:0 2px 6px #0000001a}.empresas-section #empresa-form .setores-descriptions .setor-description-item label{color:#742a2a;margin-bottom:.5rem;font-weight:600;display:block}.empresas-section #empresa-form .setores-descriptions .setor-description-item textarea{resize:vertical;width:100%;min-height:80px;transition:border-color .2s}.empresas-section #empresa-form .setores-descriptions .setor-description-item textarea:focus{border-color:#e53e3e;box-shadow:0 0 0 2px #e53e3e1a}.empresas-section #empresa-form .btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:.5rem;padding:1rem 2rem;font-size:1rem;font-weight:600;text-decoration:none;transition:transform .2s;display:inline-flex;position:relative}.empresas-section #empresa-form .btn:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}.empresas-section #empresa-form .btn:not(.btn-danger):hover{transform:translateY(-2px)}.empresas-section #empresa-form .btn:not(.btn-danger):disabled{cursor:not-allowed;background:#a0aec0;transform:none}.empresas-section #empresa-form .btn.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.empresas-section #empresa-form .btn.btn-danger:hover{transform:translateY(-2px)}.empresas-section .empresas-table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0000001a}.empresas-section .empresas-table .card-header{background:linear-gradient(135deg,#48bb78,#38a169);padding:1.5rem 2rem}.empresas-section .empresas-table .card-header .card-title{color:#fff;margin:0;font-size:1.5rem;font-weight:600}.empresas-section .empresas-table table{border-collapse:collapse;width:100%;font-size:.7rem}.empresas-section .empresas-table table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.empresas-section .empresas-table table thead tr th{text-align:left;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1rem .5rem;font-size:.8rem;font-weight:700;position:relative}.empresas-section .empresas-table table tbody tr{background:#fff;transition:background-color .2s}.empresas-section .empresas-table table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.empresas-section .empresas-table table tbody tr:nth-child(2n){background:#fafafa}.empresas-section .empresas-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1rem .7rem}.empresas-section .empresas-table table tbody tr td:first-child{color:#2d3748;font-weight:600}.empresas-section .empresas-table table tbody tr .actions-cell{gap:.5rem;display:flex}.empresas-section .empresas-table table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:transform .2s}.empresas-section .empresas-table table tbody tr .actions-cell button:first-child{color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.empresas-section .empresas-table table tbody tr .actions-cell button:first-child:hover{transform:translateY(-1px)}.empresas-section .empresas-table table tbody tr .actions-cell button:last-child{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.empresas-section .empresas-table table tbody tr .actions-cell button:last-child:hover{transform:translateY(-1px)}.empresas-section .empresas-table .empty-state{text-align:center;color:#718096;padding:3rem}.empresas-section .empresas-table .empty-state:before{content:"🏢";margin-bottom:1rem;font-size:3rem;display:block}@media (max-width:480px){.empresas-section{padding:1rem}.empresas-section #empresa-form .btn{justify-content:center;width:100%}}@media (max-width:600px){.empresas-section{padding:1.2rem}}@media (max-width:768px){.empresas-section,.empresas-section .card-body{padding:1.5rem}.empresas-section #empresa-form .form-row{grid-template-columns:1fr}}@media (max-width:1024px){.empresas-section,.empresas-section .card-body{padding:2rem}}@media (max-width:1280px){.empresas-section{max-width:1200px;margin:0 auto}}.funcionarios-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.funcionarios-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.funcionarios-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px 20px 0 0;padding:2rem;position:relative;overflow:hidden}.funcionarios-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.funcionarios-section .card-body{flex:1;padding:1.5rem;overflow-y:auto}.main-tabs{background:#ffffffe6;border:1px solid #ffffff4d;border-radius:12px;margin-bottom:2rem;padding:.5rem;display:flex;box-shadow:0 10px 25px #0000001a}.main-tabs .main-tab{cursor:pointer;color:#666;background:0 0;border:none;border-radius:8px;flex:1;padding:1rem 2rem;font-weight:600;transition:all .2s}.main-tabs .main-tab:hover{color:#667eea}.main-tabs .main-tab.active{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d}.stats-summary{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin:2rem 0;display:grid}.stats-summary .stat-card{text-align:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-left:4px solid #2b7cff;border-radius:12px;padding:1.5rem;transition:all .2s;box-shadow:0 10px 25px #0000001a}.stats-summary .stat-card:hover{box-shadow:0 8px 20px #00000026}.stats-summary .stat-card.warning{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border-left-color:#ffc107}.stats-summary .stat-card.danger{background:linear-gradient(135deg,#f8d7da,#f5c6cb);border-left-color:#dc3545}.stats-summary .stat-card.caution{background:linear-gradient(135deg,#ffe5d0,#ffd7b5);border-left-color:#fd7e14}.stats-summary .stat-card h3{color:#495057;text-transform:uppercase;letter-spacing:.5px;margin:0 0 .5rem;font-size:.9rem;font-weight:600}.stats-summary .stat-card .stat-number{color:#2d3748;margin:.5rem 0;font-size:2rem;font-weight:700}.stats-summary .stat-card small{color:#6c757d;font-size:.8rem}.health-charts{margin:2.5rem 0}.health-charts .chart-section{background:#fffc;border-radius:12px;margin-bottom:2.5rem;padding:1.5rem;box-shadow:0 10px 25px #0000001a}.health-charts .chart-section h4{color:#2d3748;align-items:center;gap:.5rem;margin:0 0 1.5rem;font-size:1.2rem;font-weight:600;display:flex}.health-charts .chart-section .chart-bars{flex-direction:column;gap:1rem;display:flex}.health-charts .chart-section .chart-bars .bar-item{border-radius:8px;align-items:center;gap:1rem;padding:.5rem;transition:all .2s;display:flex}.health-charts .chart-section .chart-bars .bar-item:hover{background:#667eea0d}.health-charts .chart-section .chart-bars .bar-item .bar-label{color:#4a5568;width:200px;font-size:.9rem;font-weight:500}.health-charts .chart-section .chart-bars .bar-item .bar-container{background:#e2e8f0;border-radius:6px;flex:1;height:28px;position:relative;overflow:hidden;box-shadow:inset 0 2px 4px #0000001a}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar{border-radius:6px;height:100%;transition:width .5s ease-out}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar.bar-low{background:#0dcaf0}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar.bar-normal{background:#198754}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar.bar-over{background:#ffc107}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar.bar-obese{background:#dc3545}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar.bar-smoke{background:#6c757d}.health-charts .chart-section .chart-bars .bar-item .bar-container .bar.bar-alcohol{background:#fd7e14}.health-charts .chart-section .chart-bars .bar-item .bar-value{text-align:right;color:#2d3748;width:80px;font-size:.9rem;font-weight:600}.detailed-sections{margin-top:2.5rem}.detailed-sections .table-section{background:#fffc;border-radius:12px;margin-bottom:2.5rem;padding:1.5rem;box-shadow:0 10px 25px #0000001a}.detailed-sections .table-section h4{color:#1e5f73;align-items:center;gap:.5rem;margin:0 0 1.5rem;font-size:1.2rem;font-weight:600;display:flex}.detailed-sections .table-section .health-table{border-collapse:collapse;width:100%;font-size:.85rem}.detailed-sections .table-section .health-table th,.detailed-sections .table-section .health-table td{text-align:left;border-bottom:1px solid #e2e8f0;padding:1rem}.detailed-sections .table-section .health-table th{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);font-size:.8rem;font-weight:600}.detailed-sections .table-section .health-table tbody tr{transition:all .2s}.detailed-sections .table-section .health-table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.detailed-sections .table-section .health-table tbody tr:nth-child(2n){background:#fafafa}.imc-badge{color:#fff;text-transform:uppercase;letter-spacing:.5px;border-radius:20px;padding:.4rem .8rem;font-size:.8rem;font-weight:600}.imc-badge.normal{background:#198754}.imc-badge.baixo{background:#0dcaf0}.imc-badge.sobrepeso{color:#212529;background:#ffc107}.imc-badge.obesidade{background:#dc3545}#funcionario-form .form-row{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem;display:grid}#funcionario-form .form-row .form-col{flex-direction:column;display:flex}#funcionario-form .form-row .form-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.9rem;font-weight:600}#funcionario-form .form-row .form-col label:after{content:" *";color:#e53e3e;opacity:.8}#funcionario-form .form-row .form-col label:has(+input:not([required])):after{content:""}#funcionario-form .form-row .form-col label:has(+select:not([required])):after{content:""}#funcionario-form .form-row .form-col input,#funcionario-form .form-row .form-col select,#funcionario-form .form-row .form-col textarea{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:all .2s}#funcionario-form .form-row .form-col input:focus,#funcionario-form .form-row .form-col select:focus,#funcionario-form .form-row .form-col textarea:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}#funcionario-form .form-row .form-col input:hover,#funcionario-form .form-row .form-col select:hover,#funcionario-form .form-row .form-col textarea:hover{border-color:#cbd5e0}#funcionario-form .form-row .form-col input:read-only,#funcionario-form .form-row .form-col select:read-only,#funcionario-form .form-row .form-col textarea:read-only{color:#718096;cursor:not-allowed;background:#f7fafc;border-color:#e2e8f0}#funcionario-form .form-row .form-col .imask-input{background:#fff;border:2px solid #e2e8f0;border-radius:10px;width:100%;padding:.875rem 1rem;font-size:1rem;transition:all .2s}#funcionario-form .form-row .form-col .imask-input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}#funcionario-form .form-row .form-col .setor-warning{color:#e53e3e;background:#fed7d7;border-left:4px solid #e53e3e;border-radius:8px;padding:.75rem;font-style:italic}#funcionario-form .form-row .form-col .setor-placeholder{color:#718096;background:#f7fafc;border:2px dashed #cbd5e0;border-radius:8px;padding:.75rem;font-style:italic}#funcionario-form .health-tabs{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:12px;gap:.5rem;margin:2rem 0;padding:.5rem;display:flex;box-shadow:0 10px 25px #0000001a}#funcionario-form .health-tabs .health-tab{text-align:center;color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:1rem 1.5rem;font-weight:600;transition:all .2s}#funcionario-form .health-tabs .health-tab:hover{color:#667eea}#funcionario-form .health-tabs .health-tab.active{color:#fff;background:linear-gradient(135deg,#48bb78,#38a169);box-shadow:0 4px 15px #48bb784d}#funcionario-form .health-tab-content{background:linear-gradient(135deg,#f0fff4,#f7fafc);border:2px solid #c6f6d5;border-radius:12px;margin-bottom:1.5rem;padding:2rem}#funcionario-form .health-tab-content h3{color:#22543d;align-items:center;gap:.5rem;margin:0 0 1.5rem;font-size:1.4rem;font-weight:700;display:flex}#funcionario-form .health-tab-content h3:before{content:"🏥";font-size:1.6rem}#funcionario-form .health-tab-content .imc-display{color:#2c5282;background:linear-gradient(135deg,#bee3f8,#90cdf4);border-left:4px solid #3182ce;border-radius:8px;margin-top:1rem;padding:1rem;font-weight:600}.employees-table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 10px 25px #0000001a}.employees-table .card-header{background:linear-gradient(135deg,#ed8936,#dd6b20);padding:1.5rem}.employees-table .card-header .card-title{color:#fff;align-items:center;gap:.5rem;margin:0;font-size:1.5rem;font-weight:600;display:flex}.employees-table .card-header .card-title:before{content:"👥";font-size:1.5rem}.employees-table table{border-collapse:collapse;width:100%;font-size:.85rem}.employees-table table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.employees-table table thead tr th{text-align:left;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1rem;font-size:.8rem;font-weight:700}.employees-table table tbody tr{transition:all .2s}.employees-table table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.employees-table table tbody tr:nth-child(2n){background:#fafafa}.employees-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1rem}.employees-table table tbody tr td:first-child{color:#2d3748;font-weight:600}.employees-table table tbody tr .actions-cell{flex-wrap:wrap;gap:.5rem;display:flex}.employees-table table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;align-items:center;gap:.25rem;padding:.6rem 1rem;font-size:.75rem;font-weight:600;transition:all .2s;display:flex}.employees-table table tbody tr .actions-cell button:first-child{color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.employees-table table tbody tr .actions-cell button:first-child:hover{box-shadow:0 4px 12px #4299e166}.employees-table table tbody tr .actions-cell button:nth-child(2){color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.employees-table table tbody tr .actions-cell button:nth-child(2):hover{box-shadow:0 4px 12px #e53e3e66}.employees-table table tbody tr .actions-cell button:last-child{color:#fff;background:linear-gradient(135deg,#48bb78,#38a169)}.employees-table table tbody tr .actions-cell button:last-child:hover{box-shadow:0 4px 12px #48bb7866}.filter-row{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem;padding:1.5rem;display:grid}.filter-row .filter-col{flex-direction:column;display:flex}.filter-row .filter-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.9rem;font-weight:600;display:flex}.filter-row .filter-col label:before{content:"🔍";font-size:1rem}.filter-row .filter-col select{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:all .2s}.filter-row .filter-col select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.filter-row .filter-col select:hover{border-color:#cbd5e0}.filter-row .filter-col:has(select:not([value=""])) label{color:#667eea}.filter-row .filter-col:has(select:not([value=""])) label:before{content:"✅"}.filter-row .filter-col:has(select:not([value=""])) select{background-color:#667eea0d;border-color:#667eea;box-shadow:0 4px 12px #667eea1a}@media (max-width:768px){.funcionarios-section{gap:1rem;padding:1rem}.funcionarios-section .card-header{padding:1.5rem}.funcionarios-section .card-header .card-title{font-size:2rem}.funcionarios-section .card-body{padding:1rem}.main-tabs{flex-direction:column;margin-bottom:1rem}.main-tabs .main-tab{padding:1rem}.stats-summary{grid-template-columns:1fr;gap:1rem}.health-charts .chart-section{padding:1rem}.health-charts .chart-section .chart-bars .bar-item{flex-direction:column;align-items:flex-start;gap:.5rem}.health-charts .chart-section .chart-bars .bar-item .bar-label,.health-charts .chart-section .chart-bars .bar-item .bar-container{width:100%}.health-charts .chart-section .chart-bars .bar-item .bar-value{text-align:left;width:100%}#funcionario-form .form-row{grid-template-columns:1fr;gap:1rem}#funcionario-form .health-tabs{flex-direction:column}#funcionario-form .health-tabs .health-tab,#funcionario-form .health-tab-content{padding:1rem}.employees-table{overflow-x:auto}.employees-table table{min-width:800px}.employees-table .actions-cell{flex-direction:column}.filter-row{grid-template-columns:1fr;gap:1rem;padding:1rem}}@media (max-width:480px){.funcionarios-section .btn{justify-content:center;width:100%;margin-bottom:.5rem}.funcionarios-section .btn:not(:last-child){margin-right:0}.funcionarios-section .actions-cell button{justify-content:center;width:100%}.detailed-sections .table-section{padding:1rem}.detailed-sections .table-section .health-table{font-size:.75rem}.detailed-sections .table-section .health-table th,.detailed-sections .table-section .health-table td{padding:.5rem}.filter-row{margin-bottom:1rem}.filter-row .filter-col label{font-size:.8rem}.filter-row .filter-col select{padding:.75rem .875rem}}.atestados-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.atestados-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:200px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.atestados-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.atestados-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.atestados-section .card-header .tabs{background:#ffffff1a;border:1px solid #fff3;border-radius:12px;gap:.5rem;margin-top:1.5rem;padding:.5rem;display:flex}.atestados-section .card-header .tabs .tab{text-align:center;color:#fffc;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:1rem 1.5rem;font-weight:600;transition:background-color .2s}.atestados-section .card-header .tabs .tab:hover{color:#fff;background:#ffffff1a}.atestados-section .card-header .tabs .tab.active{color:#fff;background:#fff3;box-shadow:0 4px 15px #fff3}.atestados-section .card-body{flex:1;padding:2rem;overflow-y:auto}.atestados-section .form-row{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem;display:grid}.atestados-section .form-row .form-col{flex-direction:column;display:flex}.atestados-section .form-row .form-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.9rem;font-weight:600}.atestados-section .form-row .form-col select,.atestados-section .form-row .form-col input{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.atestados-section .form-row .form-col select:focus,.atestados-section .form-row .form-col input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.atestados-section .form-row .form-col select:hover,.atestados-section .form-row .form-col input:hover{border-color:#cbd5e0}.atestados-section .form-row .form-col select:disabled,.atestados-section .form-row .form-col input:disabled{color:#a0aec0;cursor:not-allowed;background:#f7fafc}.atestados-section .form-row .form-col .imask-input{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.atestados-section .form-row .form-col .imask-input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.atestados-section .data-table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0000001a}.atestados-section .data-table .card-header{background:linear-gradient(135deg,#48bb78,#38a169);padding:1.5rem 2rem}.atestados-section .data-table .card-header .card-title{color:#fff;align-items:center;gap:.5rem;margin:0;font-size:1.5rem;font-weight:600;display:flex}.atestados-section .data-table .card-header .card-title:before{content:"📋";font-size:1.4rem}.atestados-section .data-table .card-body{max-height:60vh;padding:0;overflow:auto}.atestados-section .data-table .card-body table{border-collapse:collapse;width:100%;min-width:800px;font-size:.9rem}.atestados-section .data-table .card-body table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.atestados-section .data-table .card-body table thead tr th{text-align:left;color:#fff;text-transform:uppercase;letter-spacing:.5px;border-bottom:none;padding:1rem .5rem;font-size:.8rem;font-weight:600}.atestados-section .data-table .card-body table thead tr th:last-child{text-align:center}.atestados-section .data-table .card-body table tbody tr{background:#fff;transition:background-color .2s}.atestados-section .data-table .card-body table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.atestados-section .data-table .card-body table tbody tr:nth-child(2n){background:#fafafa}.atestados-section .data-table .card-body table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}.atestados-section .data-table .card-body table tbody tr td:first-child{color:#2d3748;font-weight:600}.atestados-section .data-table .card-body table tbody tr td:last-child{text-align:center}.atestados-section .data-table .card-body table tbody tr .actions-cell{justify-content:center;gap:.5rem;display:flex}.atestados-section .data-table .card-body table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;align-items:center;gap:.25rem;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:transform .2s;display:flex}.atestados-section .data-table .card-body table tbody tr .actions-cell button:first-child{color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.atestados-section .data-table .card-body table tbody tr .actions-cell button:first-child:hover{transform:translateY(-1px)}.atestados-section .data-table .card-body table tbody tr .actions-cell button:last-child{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.atestados-section .data-table .card-body table tbody tr .actions-cell button:last-child:hover{transform:translateY(-1px)}.atestados-section .links-table code{color:#2d3748;word-break:break-all;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem;font-family:Courier New,monospace;font-size:.8rem;transition:background-color .2s;display:block}.atestados-section .links-table code:hover{background:#edf2f7;border-color:#cbd5e0}.atestados-section .charts-section .chart-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:2rem;padding:1.5rem;transition:box-shadow .2s;box-shadow:0 4px 15px #0000001a}.atestados-section .charts-section .chart-container:hover{box-shadow:0 6px 20px #00000026}.atestados-section .charts-section .chart-container h3{color:#2d3748;margin-bottom:1rem;padding-bottom:.5rem;font-size:1.2rem;font-weight:600;position:relative}.atestados-section .charts-section .chart-container h3:after{content:"";background:linear-gradient(90deg,#667eea,#764ba2);border-radius:2px;width:50px;height:3px;position:absolute;bottom:0;left:0}.atestados-section .charts-section .chart-container table{border-collapse:collapse;width:100%;font-size:.9rem}.atestados-section .charts-section .chart-container table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.atestados-section .charts-section .chart-container table thead tr th{text-align:left;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1rem;font-size:.8rem;font-weight:700}.atestados-section .charts-section .chart-container table tbody tr{transition:background-color .2s}.atestados-section .charts-section .chart-container table tbody tr:hover{background:#f8fafc}.atestados-section .charts-section .chart-container table tbody tr:nth-child(2n){background:#fafafa}.atestados-section .charts-section .chart-container table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1rem}.atestados-section .charts-section .chart-container table tbody tr td strong{color:#2d3748}.atestados-section .charts-section .stats-summary{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:2rem;display:grid}.atestados-section .charts-section .stats-summary .stat-item{color:#fff;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;padding:1.5rem;transition:transform .2s;box-shadow:0 4px 15px #667eea4d}.atestados-section .charts-section .stats-summary .stat-item:hover{transform:translateY(-3px)}.atestados-section .charts-section .stats-summary .stat-item strong{margin-bottom:.5rem;font-size:2rem;font-weight:700;display:block}.atestados-section .charts-section .stats-summary .stat-item span{opacity:.9;text-transform:uppercase;letter-spacing:.5px;font-size:.9rem}.atestados-section .external-links p{color:#64748b;margin-bottom:1.5rem;line-height:1.6}.atestados-section .btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:transform .2s;display:inline-flex}.atestados-section .btn:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.atestados-section .btn:not(.btn-danger):hover{transform:translateY(-1px)}.atestados-section .btn:not(.btn-danger):disabled{cursor:not-allowed;box-shadow:none;background:#a0aec0;transform:none}.atestados-section .btn.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.atestados-section .btn.btn-danger:hover{transform:translateY(-1px)}.atestados-section .btn.btn-sm{padding:.5rem 1rem;font-size:.8rem}.atestados-section .loading-state{text-align:center;color:#64748b;padding:2rem;font-size:1.1rem}.atestados-section .loading-state:before{content:"";border:2px solid #667eea;border-top-color:#0000;border-radius:50%;width:20px;height:20px;margin-right:.5rem;animation:1s linear infinite spin;display:inline-block}@media (max-width:768px){.atestados-section{padding:1rem}.atestados-section .card-header{padding:1.5rem}.atestados-section .card-header .card-title{font-size:2rem}.atestados-section .card-header .tabs{flex-direction:column}.atestados-section .card-header .tabs .tab{padding:1rem}.atestados-section .card-body{padding:1.5rem}.atestados-section .form-row{grid-template-columns:1fr;gap:1rem}.atestados-section .data-table,.atestados-section .links-table,.atestados-section .charts-section .chart-container table{overflow-x:auto}.atestados-section .data-table table,.atestados-section .links-table table,.atestados-section .charts-section .chart-container table table{min-width:800px}.atestados-section .data-table .actions-cell,.atestados-section .links-table .actions-cell,.atestados-section .charts-section .chart-container table .actions-cell{flex-direction:column;gap:.5rem}.atestados-section .charts-section .stats-summary{grid-template-columns:1fr}}@media (max-width:480px){.atestados-section .btn,.atestados-section .actions-cell button{justify-content:center;width:100%}}.questionarios-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.questionarios-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.questionarios-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.questionarios-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.questionarios-section .card-body{flex:1;padding:2rem;overflow-y:auto}.tabs{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:12px;gap:.5rem;margin-bottom:2rem;padding:.5rem;display:flex}.questionnaires-table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0000001a}.questionnaires-table .card-header{background:linear-gradient(135deg,#48bb78,#38a169);padding:1rem 2rem}.questionnaires-table .card-header .card-title{color:#fff;align-items:center;gap:.5rem;margin:0;font-size:1rem;font-weight:600;display:flex}.questionnaires-table .card-header .card-title:before{content:"📊";font-size:1.4rem}.questionnaires-table .header-actions{background:linear-gradient(135deg,#f0fff4,#f7fafc);border-left:4px solid #48bb78;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem;display:flex}.questionnaires-table .header-actions h3{color:#2d3748;margin:0;font-size:1.2rem;font-weight:700}.questionnaires-table .header-actions .btn-download{color:#fff;cursor:pointer;background:linear-gradient(135deg,#48bb78,#38a169);border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:600;transition:transform .2s;display:flex}.questionnaires-table .header-actions .btn-download:hover{transform:translateY(-1px)}.questionnaires-table .header-actions .btn-download i{font-size:1.1rem}.questionnaires-table table{border-collapse:collapse;width:100%;font-size:.7rem}.questionnaires-table table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.questionnaires-table table thead tr th{text-align:left;color:#fff;text-transform:uppercase;letter-spacing:.5px;border-bottom:none;padding:1rem .5rem;font-size:.8rem;font-weight:600}.questionnaires-table table thead tr th:last-child{text-align:center}.questionnaires-table table tbody tr{background:#fff;transition:background-color .2s}.questionnaires-table table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.questionnaires-table table tbody tr:nth-child(2n){background:#fafafa}.questionnaires-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1rem .5rem}.questionnaires-table table tbody tr td:first-child{color:#2d3748;font-weight:600}.questionnaires-table table tbody tr td:last-child{text-align:center}.questionnaires-table table tbody tr .risk-badge{text-transform:uppercase;letter-spacing:.5px;color:#fff;background-color:#f39c12;border-radius:20px;padding:.5rem 1rem;font-size:.5rem;font-weight:600;transition:transform .2s;box-shadow:0 2px 6px #0000001a}.questionnaires-table table tbody tr .risk-badge:hover{transform:scale(1.02)}.questionnaires-table table tbody tr .risk-badge.baixo{color:#fff;background:#48bb78}.questionnaires-table table tbody tr .risk-badge.medio{color:#fff;background:#ed8936}.questionnaires-table table tbody tr .risk-badge.alto{color:#fff;background:#e53e3e}.questionnaires-table table tbody tr .risk-badge.muito-alto{color:#fff;background:#742a2a}.questionnaires-table table tbody tr .actions-cell{justify-content:center;gap:.5rem;display:flex}.questionnaires-table table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;align-items:center;gap:.25rem;padding:.5rem 1rem;font-size:.5rem;font-weight:600;transition:transform .2s;display:flex}.questionnaires-table table tbody tr .actions-cell button:first-child{color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.questionnaires-table table tbody tr .actions-cell button:first-child:hover{transform:translateY(-1px)}.questionnaires-table table tbody tr .actions-cell button:last-child{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.questionnaires-table table tbody tr .actions-cell button:last-child:hover{transform:translateY(-1px)}.questionnaires-table .empty-state{text-align:center;color:#718096;padding:3rem}.questionnaires-table .empty-state:before{content:"📝";margin-bottom:1rem;font-size:3rem;display:block}.questionnaires-table .loading-state{text-align:center;color:#64748b;padding:3rem;font-size:1.1rem}.questionnaires-table .loading-state:before{content:"";border:2px solid #667eea;border-top-color:#0000;border-radius:50%;width:20px;height:20px;margin-right:.5rem;animation:1s linear infinite spin;display:inline-block}.statistics-section .company-stats{background:linear-gradient(135deg,#fff5f5,#fed7d7);border:2px solid #fed7d7;border-radius:12px;margin-bottom:2rem;padding:2rem;transition:box-shadow .2s}.statistics-section .company-stats:hover{box-shadow:0 6px 20px #0000001a}.statistics-section .company-stats h5{color:#742a2a;margin-bottom:1rem;padding-bottom:.5rem;font-size:1.2rem;font-weight:600;position:relative}.statistics-section .company-stats h5:after{content:"";background:#742a2a;border-radius:2px;width:50px;height:3px;position:absolute;bottom:0;left:0}.statistics-section .company-stats .sector-stats{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:1rem;padding:1.5rem;transition:box-shadow .2s}.statistics-section .company-stats .sector-stats:hover{box-shadow:0 4px 12px #0000001a}.statistics-section .company-stats .sector-stats:last-child{margin-bottom:0}.statistics-section .company-stats .sector-stats h6{color:#2d3748;margin-bottom:1rem;font-size:1rem;font-weight:600}.statistics-section .company-stats .sector-stats .stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1rem;display:grid}.statistics-section .company-stats .sector-stats .stats-grid .stat-card{text-align:center;background:linear-gradient(135deg,#f7fafc,#edf2f7);border:1px solid #e2e8f0;border-radius:8px;padding:1rem;transition:box-shadow .2s}.statistics-section .company-stats .sector-stats .stats-grid .stat-card:hover{background:linear-gradient(135deg,#edf2f7,#e2e8f0);box-shadow:0 4px 12px #0000001a}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .section-name{color:#4a5568;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.8rem;font-weight:600}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .section-average{color:#2d3748;margin-bottom:.5rem;font-size:1.5rem;font-weight:700}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .risk-level{text-transform:uppercase;letter-spacing:.5px;color:#fff;background-color:#f39c12;border-radius:12px;padding:.25rem .75rem;font-size:.7rem;font-weight:600;transition:transform .2s;box-shadow:0 2px 6px #0003}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .risk-level:hover{transform:scale(1.02)}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .risk-level.baixo{background:#48bb78}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .risk-level.medio{background:#ed8936}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .risk-level.alto{background:#e53e3e}.statistics-section .company-stats .sector-stats .stats-grid .stat-card .risk-level.muito-alto{background:#742a2a}.statistics-section .save-stats-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#48bb78,#38a169);border:none;border-radius:10px;align-items:center;gap:.5rem;margin-bottom:2rem;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:transform .2s;display:inline-flex}.statistics-section .save-stats-btn:hover{transform:translateY(-2px)}.saved-statistics .stats-table{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px #0000001a}.saved-statistics .stats-table table{border-collapse:collapse;width:100%;font-size:.9rem}.saved-statistics .stats-table table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.saved-statistics .stats-table table thead tr th{text-align:left;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1.25rem 1rem;font-size:.8rem;font-weight:700}.saved-statistics .stats-table table tbody tr{transition:background-color .2s}.saved-statistics .stats-table table tbody tr:hover{background:#f8fafc}.saved-statistics .stats-table table tbody tr:nth-child(2n){background:#fafafa}.saved-statistics .stats-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}.links-management .employees-status{background:linear-gradient(135deg,#f0fff4,#c6f6d5);border:2px dashed #38a169;border-radius:12px;margin:2rem 0;padding:2rem}.links-management .employees-status h4{color:#22543d;margin-bottom:1rem;font-weight:600}.links-management .employees-status table{border-collapse:collapse;background:#fff;border-radius:8px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0000001a}.links-management .employees-status table thead{background:linear-gradient(135deg,#48bb78,#38a169)}.links-management .employees-status table thead tr th{text-align:left;color:#fff;text-transform:uppercase;letter-spacing:.5px;padding:1rem;font-size:.8rem;font-weight:600}.links-management .employees-status table tbody tr{transition:background-color .2s}.links-management .employees-status table tbody tr:hover{background:#f0fff4}.links-management .employees-status table tbody tr:nth-child(2n){background:#fafafa}.links-management .employees-status table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1rem}.links-management .employees-status table tbody tr td .status-badge{text-transform:uppercase;border-radius:12px;padding:.25rem .75rem;font-size:.7rem;font-weight:600;transition:transform .2s;box-shadow:0 2px 6px #0000001a}.links-management .employees-status table tbody tr td .status-badge:hover{transform:scale(1.02)}.links-management .employees-status table tbody tr td .status-badge.respondido{color:#fff;background:#48bb78}.links-management .employees-status table tbody tr td .status-badge.pendente{color:#fff;background:#ed8936}.links-management .links-table h4{color:#2d3748;margin-bottom:1rem;font-weight:600}.links-management .links-table table thead tr th{text-align:left;color:#fff;text-transform:uppercase;letter-spacing:.5px;padding:1rem;font-size:.8rem;font-weight:600}.links-management .links-table table tbody tr td code{color:#2d3748;word-break:break-all;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem;font-family:Courier New,monospace;font-size:.8rem;transition:background-color .2s;display:block}.links-management .links-table table tbody tr td code:hover{background:#edf2f7;border-color:#cbd5e0}.links-management .generate-link-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;align-items:center;gap:.5rem;margin-top:1rem;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:transform .2s;display:inline-flex}.btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.2rem;padding:.75rem 1rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:transform .2s;display:inline-flex}.btn:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.btn:not(.btn-danger):hover{transform:translateY(-1px)}.btn.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.btn.btn-danger:hover{transform:translateY(-1px)}.btn.btn-sm{padding:.5rem 1rem;font-size:.8rem}@media (max-width:768px){.questionarios-section{padding:1rem}.questionarios-section .card-header{padding:1.5rem}.questionarios-section .card-header .card-title{font-size:2rem}.questionarios-section .card-body{padding:1.5rem}.questionarios-section .tabs{flex-direction:column}.questionarios-section .tabs .tab{padding:1rem}.questionarios-section .form-row{grid-template-columns:1fr;gap:1rem}.questionarios-section .questionnaires-table,.questionarios-section .saved-statistics .stats-table,.questionarios-section .links-management .employees-status table,.questionarios-section .links-management .links-table table{overflow-x:auto}.questionarios-section .questionnaires-table table,.questionarios-section .saved-statistics .stats-table table,.questionarios-section .links-management .employees-status table table,.questionarios-section .links-management .links-table table table{min-width:800px}.questionarios-section .questionnaires-table .actions-cell,.questionarios-section .saved-statistics .stats-table .actions-cell,.questionarios-section .links-management .employees-status table .actions-cell,.questionarios-section .links-management .links-table table .actions-cell{flex-direction:column;gap:.5rem}.questionarios-section .statistics-section .company-stats .stats-grid{grid-template-columns:1fr}}@media (max-width:480px){.questionarios-section .btn,.questionarios-section .actions-cell button{justify-content:center;width:100%}}.feedbacks-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.feedbacks-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.feedbacks-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.feedbacks-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.feedbacks-section .card-body{flex:1;padding:1.5rem;overflow-y:auto}.feedbacks-table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0000001a}.feedbacks-table .header-actions{background:linear-gradient(135deg,#f0fff4,#f7fafc);border-left:4px solid #48bb78;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem;display:flex}.feedbacks-table .header-actions h3{color:#2d3748;margin:0;font-size:1.4rem;font-weight:700}.feedbacks-table .header-actions .btn-download{color:#fff;cursor:pointer;background:linear-gradient(135deg,#48bb78,#38a169);border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:600;transition:transform .2s;display:flex}.feedbacks-table .header-actions .btn-download:hover{transform:translateY(-1px)}.feedbacks-table .header-actions .btn-download i{font-size:1.1rem}.feedbacks-table table{border-collapse:collapse;width:100%;font-size:.7rem}.feedbacks-table table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.feedbacks-table table thead tr th{text-align:center;color:#fff;text-transform:uppercase;letter-spacing:.5px;border-bottom:none;padding:1rem .5rem;font-size:.8rem;font-weight:600}.feedbacks-table table thead tr th:last-child{text-align:center}.feedbacks-table table tbody tr{background:#fff;transition:background-color .2s}.feedbacks-table table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.feedbacks-table table tbody tr:nth-child(2n){background:#fafafa}.feedbacks-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}.feedbacks-table table tbody tr td:first-child{color:#2d3748;font-weight:600}.feedbacks-table table tbody tr td:last-child{text-align:center}.feedbacks-table table tbody tr .feedback-type{text-transform:uppercase;letter-spacing:.5px;border-radius:20px;padding:.5rem 1rem;font-size:.8rem;font-weight:600}.feedbacks-table table tbody tr .feedback-type.reclamacao{color:#fff;background:#e53e3e}.feedbacks-table table tbody tr .feedback-type.recomendacao{color:#fff;background:#4299e1}.feedbacks-table table tbody tr .feedback-type.elogio{color:#fff;background:#48bb78}.feedbacks-table table tbody tr .feedback-type.denuncia{color:#fff;background:#ed8936}.feedbacks-table table tbody tr .identification-badge{text-transform:uppercase;border-radius:12px;padding:.25rem .75rem;font-size:.7rem;font-weight:600}.feedbacks-table table tbody tr .identification-badge.anonimo{color:#fff;background:#718096}.feedbacks-table table tbody tr .identification-badge.identificado{color:#fff;background:#4299e1}.feedbacks-table table tbody tr .actions-cell{justify-content:center;gap:.5rem;display:flex}.feedbacks-table table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;align-items:center;gap:.25rem;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:transform .2s;display:flex}.feedbacks-table table tbody tr .actions-cell button.btn-success{color:#fff;background:linear-gradient(135deg,#48bb78,#38a169)}.feedbacks-table table tbody tr .actions-cell button.btn-success:hover{transform:translateY(-1px)}.feedbacks-table table tbody tr .actions-cell button.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.feedbacks-table table tbody tr .actions-cell button.btn-danger:hover{transform:translateY(-1px)}.feedbacks-table .empty-state{text-align:center;color:#718096;padding:3rem}.feedbacks-table .empty-state:before{content:"💬";margin-bottom:1rem;font-size:3rem;display:block}.analysis-section .analysis-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:2rem;box-shadow:0 4px 15px #0000001a}.analysis-section .analysis-container h4{color:#2d3748;align-items:center;gap:.5rem;margin-bottom:1.5rem;font-size:1.3rem;font-weight:600;display:flex}.analysis-section .analysis-container h4:before{content:"📈";font-size:1.4rem}.analysis-section .analysis-container .analysis-item{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-left:4px solid #667eea;border-radius:8px;margin-bottom:1rem;padding:1.5rem;transition:box-shadow .2s}.analysis-section .analysis-container .analysis-item:hover{box-shadow:0 4px 12px #0000001a}.analysis-section .analysis-container .analysis-item:last-child{margin-bottom:0}.analysis-section .analysis-container .analysis-item h5{color:#2d3748;margin:0 0 .5rem;font-size:1.1rem;font-weight:600}.analysis-section .analysis-container .analysis-item p{color:#4a5568;margin:0;font-size:.9rem}.analysis-section .analysis-container .analysis-item p strong{color:#2d3748}.links-management .info-card{background:linear-gradient(135deg,#fff5f5,#fed7d7);border:2px dashed #e53e3e;border-radius:12px;margin:2rem 0;padding:2rem}.links-management .info-card h4{color:#742a2a;margin-bottom:1rem;font-weight:600}.links-management .info-card ul{margin:0;padding-left:1.5rem}.links-management .info-card ul li{color:#742a2a;margin-bottom:.5rem;line-height:1.5}.links-management .info-card ul li strong{color:#63171b}.links-management .generate-link-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;align-items:center;gap:.5rem;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:transform .2s;display:inline-flex}.links-management .generate-link-btn:hover{transform:translateY(-2px)}.links-management .links-table{margin-top:2rem}.links-management .links-table table{border-collapse:collapse;background:#fff;border-radius:12px;width:100%;overflow:hidden;box-shadow:0 4px 15px #0000001a}.links-management .links-table table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.links-management .links-table table thead tr th{text-align:left;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1.25rem 1rem;font-size:.8rem;font-weight:700}.links-management .links-table table tbody tr{transition:background-color .2s}.links-management .links-table table tbody tr:hover{background:#f8fafc}.links-management .links-table table tbody tr:nth-child(2n){background:#fafafa}.links-management .links-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}.links-management .links-table table tbody tr td:nth-child(3) code{color:#2d3748;word-break:break-all;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem;font-family:Courier New,monospace;font-size:.8rem;display:block}.links-management .links-table table tbody tr td:last-child .actions-cell{gap:.5rem;display:flex}.links-management .links-table table tbody tr td:last-child .actions-cell button{cursor:pointer;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:transform .2s}.links-management .links-table table tbody tr td:last-child .actions-cell button:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.links-management .links-table table tbody tr td:last-child .actions-cell button:not(.btn-danger):hover{transform:translateY(-1px)}.links-management .links-table table tbody tr td:last-child .actions-cell button.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.links-management .links-table table tbody tr td:last-child .actions-cell button.btn-danger:hover{transform:translateY(-1px)}.links-management .form-col select{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-size:1rem;transition:border-color .2s}.links-management .form-col select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.links-management .form-col select:hover{border-color:#cbd5e0}@media (max-width:768px){.feedbacks-section{padding:1rem}.feedbacks-section .card-header{padding:1.5rem}.feedbacks-section .card-header .card-title{font-size:2rem}.feedbacks-section .card-body{padding:1.5rem}.feedbacks-section .tabs{flex-direction:column}.feedbacks-section .tabs .tab{padding:1rem}.feedbacks-section .form-row{grid-template-columns:1fr;gap:1rem}.feedbacks-section .feedbacks-table,.feedbacks-section .links-management .links-table{overflow-x:auto}.feedbacks-section .feedbacks-table table,.feedbacks-section .links-management .links-table table{min-width:800px}.feedbacks-section .feedbacks-table .actions-cell,.feedbacks-section .links-management .links-table .actions-cell{flex-direction:column;gap:.5rem}}@media (max-width:480px){.feedbacks-section .btn,.feedbacks-section .actions-cell button{justify-content:center;width:100%}}.planos-acao-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.planos-acao-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.planos-acao-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.planos-acao-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.planos-acao-section .card-body{flex:1;padding:1.5rem;overflow-y:auto}#plano-acao-form .form-row{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem;display:grid}#plano-acao-form .form-row .form-col{flex-direction:column;display:flex}#plano-acao-form .form-row .form-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.9rem;font-weight:600}#plano-acao-form .form-row .form-col label:after{content:" *";color:#e53e3e;opacity:.8}#plano-acao-form .form-row .form-col label:has(+input:not([required])):after{content:""}#plano-acao-form .form-row .form-col label:has(+select:not([required])):after{content:""}#plano-acao-form .form-row .form-col label:has(+textarea:not([required])):after{content:""}#plano-acao-form .form-row .form-col input,#plano-acao-form .form-row .form-col select,#plano-acao-form .form-row .form-col textarea{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s}#plano-acao-form .form-row .form-col input:focus,#plano-acao-form .form-row .form-col select:focus,#plano-acao-form .form-row .form-col textarea:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}#plano-acao-form .form-row .form-col input:hover,#plano-acao-form .form-row .form-col select:hover,#plano-acao-form .form-row .form-col textarea:hover{border-color:#cbd5e0}#plano-acao-form .form-row .form-col textarea{resize:vertical;min-height:100px}#plano-acao-form .btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:.5rem;padding:1rem 2rem;font-size:1rem;font-weight:600;text-decoration:none;transition:transform .2s;display:inline-flex}#plano-acao-form .btn:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}#plano-acao-form .btn:not(.btn-danger):hover{transform:translateY(-2px)}#plano-acao-form .btn:not(.btn-danger):disabled{cursor:not-allowed;box-shadow:none;background:#a0aec0;transform:none}#plano-acao-form .btn.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}#plano-acao-form .btn.btn-danger:hover{transform:translateY(-2px)}.filters-section{background:linear-gradient(135deg,#f0fff4,#c6f6d5);border:2px solid #38a169;border-radius:12px}.filters-section .card-header{background:linear-gradient(135deg,#48bb78,#38a169)}.filters-section .form-row .form-col label{color:#22543d}.filters-section .form-row .form-col select{background:#fff;border-color:#38a169}.filters-section .form-row .form-col select:focus{border-color:#2f855a;box-shadow:0 0 0 2px #48bb781a}.plans-table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0000001a}.plans-table .card-header{background:linear-gradient(135deg,#ed8936,#dd6b20)}.plans-table table{border-collapse:collapse;width:100%;font-size:.7rem}.plans-table table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.plans-table table thead tr th{text-align:center;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1rem .5rem;font-size:.8rem;font-weight:700}.plans-table table tbody tr{background:#fff;transition:background-color .2s}.plans-table table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}.plans-table table tbody tr:nth-child(2n){background:#fafafa}.plans-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}.plans-table table tbody tr td:first-child{color:#2d3748;font-weight:600}.plans-table table tbody tr .status-badge{text-transform:uppercase;letter-spacing:.5px;color:#fff;text-align:center;border-radius:20px;min-width:100px;padding:.5rem 1rem;font-size:.6rem;font-weight:600;display:inline-block}.plans-table table tbody tr .status-badge.planejado{background:#3498db}.plans-table table tbody tr .status-badge.em-andamento{background:#f39c12}.plans-table table tbody tr .status-badge.concluido{background:#27ae60}.plans-table table tbody tr .status-badge.cancelado{background:#e74c3c}.plans-table table tbody tr .actions-cell{gap:.5rem;display:flex}.plans-table table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;align-items:center;gap:.25rem;padding:.5rem 1rem;font-size:.7rem;font-weight:600;transition:transform .2s;display:flex}.plans-table table tbody tr .actions-cell button:first-child{color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}.plans-table table tbody tr .actions-cell button:first-child:hover{transform:translateY(-1px)}.plans-table table tbody tr .actions-cell button:last-child{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.plans-table table tbody tr .actions-cell button:last-child:hover{transform:translateY(-1px)}.plans-table .empty-state{text-align:center;color:#718096;padding:3rem}.plans-table .empty-state:before{content:"📋";margin-bottom:1rem;font-size:3rem;display:block}.filters-section{background:linear-gradient(135deg,#f0f4ff,#e0ebff);border:2px solid #667eea;border-radius:16px;margin-bottom:2rem;padding:1.5rem 2rem}.filters-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;margin-bottom:1rem;padding:1rem 1.5rem}.filters-section .card-header .card-title{margin:0;font-size:1.5rem;font-weight:700}.filters-section .form-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end;gap:1.25rem;display:grid}.filters-section .form-row .form-col{flex-direction:column;display:flex}.filters-section .form-row .form-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.9rem;font-weight:600}.filters-section .form-row .form-col select{cursor:pointer;background:#fff;border:2px solid #cbd5e0;border-radius:10px;padding:.75rem 1rem;font-size:.95rem;transition:border-color .2s}.filters-section .form-row .form-col select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea33}.filters-section .form-row .form-col select:hover{border-color:#a3bffa}@media (max-width:768px){.filters-section .form-row{grid-template-columns:1fr}.planos-acao-section{padding:1rem}.planos-acao-section .card-header{padding:1.5rem}.planos-acao-section .card-header .card-title{font-size:2rem}.planos-acao-section .card-body{padding:1.5rem}.planos-acao-section #plano-acao-form .form-row{grid-template-columns:1fr;gap:1rem}.planos-acao-section .plans-table{overflow-x:auto}.planos-acao-section .plans-table table{min-width:800px}.planos-acao-section .plans-table .actions-cell{flex-direction:column;gap:.5rem}}@media (max-width:480px){.planos-acao-section .btn{justify-content:center;width:100%;margin-bottom:.5rem}.planos-acao-section .btn:not(:last-child){margin-right:0}.planos-acao-section .actions-cell button{justify-content:center;width:100%}}.visao-empresa-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.visao-empresa-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.visao-empresa-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.visao-empresa-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.visao-empresa-section .card-body{flex:1;padding:1.5rem;overflow-y:auto}.visualization-section{margin-top:2rem}.visualization-section .chart-row{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-bottom:2rem;display:grid}.visualization-section .chart-row .chart-col{background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #667eea1a;border-radius:16px;padding:2rem;transition:box-shadow .2s;box-shadow:0 8px 25px #0000001a}.visualization-section .chart-row .chart-col:hover{box-shadow:0 12px 30px #667eea26}.visualization-section .chart-row .chart-col h4{color:#2d3748;text-align:center;margin-bottom:1.5rem;padding-bottom:.75rem;font-size:1.2rem;font-weight:700;position:relative}.visualization-section .chart-row .chart-col h4:after{content:"";background:linear-gradient(90deg,#667eea,#764ba2);border-radius:2px;width:50%;height:3px;position:absolute;bottom:0;left:25%}.visualization-section .chart-row .chart-col .chart-container{flex-direction:column;gap:1rem;height:250px;display:flex}.visualization-section .chart-row .chart-col .chart-container .chart-item{background:#ffffffb3;border-left:4px solid #0000;border-radius:12px;align-items:center;padding:.75rem 1rem;transition:background-color .2s;display:flex;box-shadow:0 2px 8px #00000014}.visualization-section .chart-row .chart-col .chart-container .chart-item:hover{background:#ffffffe6}.visualization-section .chart-row .chart-col .chart-container .chart-item .color-indicator{border-radius:50%;flex-shrink:0;width:16px;height:16px;margin-right:12px;box-shadow:0 2px 6px #0003}.visualization-section .chart-row .chart-col .chart-container .chart-item .chart-label{color:#4a5568;flex:1;font-size:.95rem;font-weight:500}.visualization-section .chart-row .chart-col .chart-container .chart-item .chart-value{color:#2d3748;font-size:1.1rem;font-weight:700}.visualization-section .risk-level-card{color:#fff;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2.5rem;transition:box-shadow .2s;position:relative;overflow:hidden;box-shadow:0 15px 35px #667eea4d}.visualization-section .risk-level-card:hover{box-shadow:0 20px 40px #667eea66}.visualization-section .risk-level-card h3{z-index:1;margin:0 0 1.5rem;font-size:1.8rem;font-weight:700;position:relative}.visualization-section .risk-level-card .risk-classification{z-index:1;margin:1rem 0;font-size:2.5rem;font-weight:800;position:relative}.visualization-section .risk-level-card .risk-score{z-index:1;opacity:.9;margin:0;font-size:1.3rem;position:relative}.visualization-section .risk-level-card .risk-score strong{background:#fff3;border-radius:20px;padding:.3rem .8rem;font-weight:700}.tabs{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;gap:.5rem;margin-bottom:2rem;padding:.5rem;display:flex}.form-row .form-col select{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.action-buttons{flex-wrap:wrap;gap:1rem;margin-bottom:2rem;display:flex}.action-buttons .btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:.5rem;padding:1rem 1.5rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:transform .2s;display:inline-flex}.action-buttons .btn:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}.action-buttons .btn:not(.btn-danger):hover{transform:translateY(-1px)}.action-buttons .btn:not(.btn-danger):disabled{cursor:not-allowed;box-shadow:none;background:#a0aec0;transform:none}.action-buttons .btn.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}.action-buttons .btn.btn-danger:hover{transform:translateY(-1px)}@media (max-width:768px){.visualization-section .chart-row{grid-template-columns:1fr;gap:1rem}.visualization-section .chart-col{padding:1.5rem}.visualization-section .chart-col .chart-container{height:auto;min-height:200px}.visualization-section .risk-level-card{padding:1.5rem}.visualization-section .risk-level-card h3{font-size:1.3rem}.visualization-section .risk-level-card .risk-classification{font-size:2rem}.visao-empresa-section{padding:1rem}.visao-empresa-section .card-header{padding:1.5rem}.visao-empresa-section .card-header .card-title{font-size:2rem}.visao-empresa-section .card-body{padding:1.5rem}.visao-empresa-section .tabs{flex-direction:column}.visao-empresa-section .tabs .tab{padding:1rem}.visao-empresa-section .form-row{grid-template-columns:1fr;gap:1rem}.visao-empresa-section .action-buttons{flex-direction:column}.visao-empresa-section .action-buttons .btn{justify-content:center;width:100%}.visao-empresa-section .data-table{overflow-x:auto}.visao-empresa-section .data-table table{min-width:800px}.visao-empresa-section .data-table .actions-cell{flex-direction:column;gap:.5rem}.visao-empresa-section .stats-summary{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.visao-empresa-section .action-buttons .btn{justify-content:center;width:100%;margin-bottom:.5rem}.visao-empresa-section .action-buttons .btn:not(:last-child){margin-right:0}.visao-empresa-section .stats-summary{grid-template-columns:1fr}.visao-empresa-section .actions-cell button{justify-content:center;width:100%}}:root{--bg-primary:#fff;--bg-secondary:#f8fafc;--bg-sidebar:#1f2937;--bg-card:#fff;--text-primary:#1f2937;--text-secondary:#6b7280;--text-muted:#9ca3af;--border-color:#e5e7eb;--accent-color:#1f3c88;--accent-hover:#172b63;--success-color:#10b981;--warning-color:#f59e0b;--danger-color:#ef4444;--info-color:#3b82f6;--shadow:0 1px 3px 0 #0000001a;--shadow-lg:0 4px 6px -1px #0000001a;--sidebar-width:280px;--header-height:70px;--border-radius:12px;--border-radius-sm:6px;--transition:all .2s ease}[data-theme=dark]{--bg-primary:#111827;--bg-secondary:#1f2937;--bg-sidebar:#0f172a;--bg-card:#1f2937;--text-primary:#f9fafb;--text-secondary:#d1d5db;--text-muted:#6b7280;--border-color:#374151;--accent-color:#3b82f6;--accent-hover:#2563eb;--shadow:0 1px 3px 0 #0000004d;--shadow-lg:0 4px 6px -1px #0000004d}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.dashboard{background:var(--bg-primary);min-height:100vh;transition:var(--transition);font-family:Inter,Segoe UI,system-ui,sans-serif;display:flex;position:relative;overflow-x:hidden}.top-right-controls{z-index:1000;align-items:center;gap:8px;display:flex;position:fixed;top:16px;right:16px}.top-right-controls .sidebar-control-btn{background:var(--bg-card);border:1px solid var(--border-color);cursor:pointer;width:40px;height:40px;transition:var(--transition);color:var(--text-secondary);box-shadow:var(--shadow);border-radius:50%;justify-content:center;align-items:center;font-size:1rem;display:flex}.top-right-controls .sidebar-control-btn:hover:not(:disabled){background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.top-right-controls .sidebar-control-btn:active:not(:disabled){transform:scale(.95)}.top-right-controls .sidebar-control-btn:disabled{opacity:.5;cursor:not-allowed}.top-right-controls .sidebar-control-btn.locked{background:var(--success-color);color:#fff;border-color:var(--success-color)}.top-right-controls .settings-btn{background:var(--bg-card);border:1px solid var(--border-color);cursor:pointer;width:42px;height:42px;transition:var(--transition);color:var(--text-secondary);box-shadow:var(--shadow);border-radius:50%;justify-content:center;align-items:center;font-size:1.1rem;display:flex}.top-right-controls .settings-btn:hover{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.top-right-controls .settings-btn:active{transform:scale(.95)}.main-content{margin-left:var(--sidebar-width);min-height:100vh;transition:var(--transition);z-index:1;flex:1;padding:24px;position:relative}.main-content.sidebar-collapsed{margin-left:70px}@media (max-width:768px){.main-content{padding:16px 12px;margin-left:0!important}.main-content.sidebar-collapsed{margin-left:0!important}}.modal{z-index:2000;background:#00000080;justify-content:center;align-items:center;width:100%;height:100%;padding:16px;animation:.2s ease-out fadeIn;display:flex;position:fixed;top:0;left:0}.modal.show{display:flex}.modal-content{background:var(--bg-card);border-radius:var(--border-radius);box-shadow:var(--shadow-lg);border:1px solid var(--border-color);width:100%;max-width:100%;max-height:80vh;animation:.3s fadeInUp;overflow:hidden}.modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;padding:20px 24px 0;display:flex}.modal-header h2{color:var(--text-primary);margin:0;font-size:1.3rem;font-weight:700}.modal-header .close{cursor:pointer;color:var(--text-muted);transition:var(--transition);border-radius:var(--border-radius-sm);justify-content:center;align-items:center;width:36px;height:36px;font-size:24px;font-weight:300;display:flex}.modal-header .close:hover{color:var(--danger-color);background:#ef44441a}.modal-body{max-height:60vh;color:var(--text-secondary);padding:0 24px 24px;font-size:14px;line-height:1.6;overflow-y:auto}.modal-body::-webkit-scrollbar{width:4px}.modal-body::-webkit-scrollbar-track{background:var(--bg-secondary)}.modal-body::-webkit-scrollbar-thumb{background:var(--accent-color)}.modal-body h1,.modal-body h2,.modal-body h3,.modal-body h4,.modal-body h5,.modal-body h6{color:var(--text-primary);margin-top:0;margin-bottom:16px;font-weight:600}.modal-body h2{border-bottom:1px solid var(--accent-color);padding-bottom:6px;font-size:1.2rem}.modal-body p{margin-bottom:16px}.modal-body p:last-child{margin-bottom:0}.modal-body ul,.modal-body ol{margin-bottom:16px;padding-left:20px}.modal-body ul li,.modal-body ol li{color:var(--text-secondary);margin-bottom:8px}.modal-body table{border-collapse:collapse;border-radius:var(--border-radius-sm);width:100%;margin-bottom:16px;overflow:hidden}.modal-body table th,.modal-body table td{text-align:left;border-bottom:1px solid var(--border-color);padding:12px}.modal-body table th{background:var(--accent-color);color:#fff;font-size:13px;font-weight:600}.modal-body table tr{transition:var(--transition)}.modal-body table tr:hover{background:var(--bg-secondary)}.modal-body code{background:var(--bg-secondary);color:var(--accent-color);border-radius:4px;padding:2px 6px;font-family:Monaco,Consolas,monospace;font-size:12px}.modal-body blockquote{border-left:3px solid var(--accent-color);color:var(--text-muted);background:var(--bg-secondary);margin:16px 0;padding:16px;font-style:italic}.dashboard-card{background:var(--bg-card);border-radius:var(--border-radius);box-shadow:var(--shadow);border:1px solid var(--border-color);transition:var(--transition);margin-bottom:20px;padding:24px}.dashboard-card:hover{box-shadow:var(--shadow-lg)}.dashboard-card .card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.dashboard-card .card-header h3{color:var(--text-primary);margin:0;font-size:1.2rem;font-weight:700}.dashboard-card .card-header .card-actions{gap:8px;display:flex}.dashboard-card .card-body{color:var(--text-secondary);line-height:1.6}.btn{border-radius:var(--border-radius-sm);cursor:pointer;transition:var(--transition);border:none;align-items:center;gap:6px;padding:10px 20px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.6;cursor:not-allowed}.btn--primary{background:var(--accent-color);color:#fff}.btn--primary:hover:not(:disabled){background:var(--accent-hover)}.btn--secondary{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn--secondary:hover:not(:disabled){background:var(--border-color)}.btn--success{background:var(--success-color);color:#fff}.btn--success:hover:not(:disabled){background:#059669}.btn--danger{background:var(--danger-color);color:#fff}.btn--danger:hover:not(:disabled){background:#dc2626}.btn--small{padding:8px 14px;font-size:12px}.btn--large{padding:12px 24px;font-size:14px}.btn--block{justify-content:center;width:100%}@media (max-width:1024px){.top-right-controls{top:12px;right:12px}}@media (max-width:768px){.top-right-controls{background:var(--bg-primary);border-bottom:1px solid var(--border-color);justify-content:flex-end;gap:6px;margin-bottom:12px;padding:12px;position:relative;top:auto;right:auto}.modal{padding:12px}.modal-content{max-height:85vh}.modal-header{padding:16px 20px 0}.modal-body{padding:0 20px 20px}}@media (max-width:480px){.top-right-controls{gap:4px}.top-right-controls .sidebar-control-btn{width:36px;height:36px}.top-right-controls .settings-btn{width:38px;height:38px}.dashboard-card{padding:20px}.modal-header h2{font-size:1.1rem}}.loading{opacity:.7;pointer-events:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.gestores-section{box-sizing:border-box;background:linear-gradient(135deg,#667eea80 0%,#764ba280 100%);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:flex}.gestores-section .card{background:#fffffffa;border:1px solid #fff3;border-radius:20px;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:400px;display:flex;overflow:hidden;box-shadow:0 10px 25px #0000001a}.gestores-section .card-header{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:2rem;position:relative;overflow:hidden}.gestores-section .card-header .card-title{z-index:1;margin:0;font-size:2.5rem;font-weight:700;position:relative}.gestores-section .card-body{flex:1;padding:1.5rem;overflow-y:auto}.tabs{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:12px;margin-bottom:2rem;padding:.5rem;display:flex}.tabs .tab{text-align:center;color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:1rem 1.5rem;font-weight:600;transition:background-color .2s}.tabs .tab:hover{color:#667eea;background:#667eea0d}.tabs .tab.active{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d}.tab-content.active{display:block}.form-row{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem;display:grid}.form-row .form-col{flex-direction:column;display:flex}.form-row .form-col label{color:#2d3748;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-size:.9rem;font-weight:600}.form-row .form-col select{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;font-size:1rem;transition:border-color .2s}.form-row .form-col select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.form-row .form-col select:hover{border-color:#cbd5e0}#lista-avaliacoes .header-actions{background:linear-gradient(135deg,#f0fff4,#f7fafc);border-left:4px solid #48bb78;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem;display:flex}#lista-avaliacoes .header-actions h3{color:#2d3748;margin:0;font-size:1.4rem;font-weight:700}#lista-avaliacoes .header-actions h3:after{content:" 📊";font-size:1.2rem}#lista-avaliacoes .header-actions .btn-download{color:#fff;cursor:pointer;background:linear-gradient(135deg,#48bb78,#38a169);border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:600;transition:transform .2s;display:flex}#lista-avaliacoes .header-actions .btn-download:hover{transform:translateY(-1px)}#lista-avaliacoes .header-actions .btn-download i{font-size:1.1rem}#lista-avaliacoes .avaliacoes-table{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px #0000001a}#lista-avaliacoes .avaliacoes-table table{border-collapse:collapse;width:100%;font-size:.9rem}#lista-avaliacoes .avaliacoes-table table thead{background:linear-gradient(135deg,#667eea,#764ba2)}#lista-avaliacoes .avaliacoes-table table thead tr th{text-align:left;color:#fff;text-transform:uppercase;letter-spacing:.5px;border-bottom:none;padding:1.25rem 1rem;font-size:.8rem;font-weight:600}#lista-avaliacoes .avaliacoes-table table thead tr th:last-child{text-align:center}#lista-avaliacoes .avaliacoes-table table tbody tr{background:#fff;transition:background-color .2s}#lista-avaliacoes .avaliacoes-table table tbody tr:hover{background:linear-gradient(135deg,#f0fff4,#f7fafc)}#lista-avaliacoes .avaliacoes-table table tbody tr:nth-child(2n){background:#fafafa}#lista-avaliacoes .avaliacoes-table table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}#lista-avaliacoes .avaliacoes-table table tbody tr td:first-child{color:#2d3748;font-weight:600}#lista-avaliacoes .avaliacoes-table table tbody tr td:last-child{text-align:center}#lista-avaliacoes .avaliacoes-table table tbody tr .actions-cell{justify-content:center;gap:.5rem;display:flex}#lista-avaliacoes .avaliacoes-table table tbody tr .actions-cell button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:6px;align-items:center;gap:.25rem;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:transform .2s;display:flex}#lista-avaliacoes .avaliacoes-table table tbody tr .actions-cell button.btn-success{color:#fff;background:linear-gradient(135deg,#48bb78,#38a169)}#lista-avaliacoes .avaliacoes-table table tbody tr .actions-cell button.btn-success:hover{transform:translateY(-1px)}#lista-avaliacoes .avaliacoes-table table tbody tr .actions-cell button.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}#lista-avaliacoes .avaliacoes-table table tbody tr .actions-cell button.btn-danger:hover{transform:translateY(-1px)}#lista-avaliacoes .avaliacoes-table .empty-state{text-align:center;color:#718096;padding:3rem}#lista-avaliacoes .avaliacoes-table .empty-state:before{content:"📋";margin-bottom:1rem;font-size:3rem;display:block}#enviar-link .links-management{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0000001a}#enviar-link .links-management .card-header{background:linear-gradient(135deg,#ed8936,#dd6b20);padding:1.5rem 2rem}#enviar-link .links-management .card-header h3{color:#fff;align-items:center;gap:.5rem;margin:0;font-size:1.5rem;font-weight:600;display:flex}#enviar-link .links-management .card-header h3:before{content:"🔗";font-size:1.4rem}#enviar-link .links-management .card-body{padding:2rem}#enviar-link .links-management .card-body .link-generation{text-align:center;background:linear-gradient(135deg,#fff5f5,#fed7d7);border:2px dashed #e53e3e;border-radius:12px;margin-bottom:2rem;padding:2rem}#enviar-link .links-management .card-body .link-generation .btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ed8936,#dd6b20);border:none;border-radius:10px;align-items:center;gap:.5rem;margin-top:1rem;padding:1rem 2rem;font-size:1.1rem;font-weight:600;transition:transform .2s;display:inline-flex}#enviar-link .links-management .card-body .link-generation .btn:hover{transform:translateY(-2px)}#enviar-link .links-management .card-body .link-generation .btn:before{content:"🎯";font-size:1.2rem}#enviar-link .links-management .card-body .links-list{margin-top:2rem}#enviar-link .links-management .card-body .links-list h4{color:#2d3748;align-items:center;gap:.5rem;margin-bottom:1.5rem;font-size:1.3rem;display:flex}#enviar-link .links-management .card-body .links-list h4:before{content:"📝";font-size:1.2rem}#enviar-link .links-management .card-body .links-list table{border-collapse:collapse;background:#fff;border-radius:12px;width:100%;overflow:hidden;box-shadow:0 4px 15px #0000001a}#enviar-link .links-management .card-body .links-list table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}#enviar-link .links-management .card-body .links-list table thead tr th{text-align:left;color:#2d3748;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:1.25rem 1rem;font-size:.8rem;font-weight:700}#enviar-link .links-management .card-body .links-list table tbody tr{transition:background-color .2s}#enviar-link .links-management .card-body .links-list table tbody tr:hover{background:#f8fafc}#enviar-link .links-management .card-body .links-list table tbody tr:nth-child(2n){background:#fafafa}#enviar-link .links-management .card-body .links-list table tbody tr td{color:#4a5568;border-bottom:1px solid #e2e8f0;padding:1.25rem 1rem}#enviar-link .links-management .card-body .links-list table tbody tr td:nth-child(3) code{color:#2d3748;word-break:break-all;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem;font-family:Courier New,monospace;font-size:.8rem;display:block}#enviar-link .links-management .card-body .links-list table tbody tr td:last-child .btn{cursor:pointer;border:none;border-radius:6px;margin-right:.5rem;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:transform .2s}#enviar-link .links-management .card-body .links-list table tbody tr td:last-child .btn:not(.btn-danger){color:#fff;background:linear-gradient(135deg,#4299e1,#3182ce)}#enviar-link .links-management .card-body .links-list table tbody tr td:last-child .btn:not(.btn-danger):hover{transform:translateY(-1px)}#enviar-link .links-management .card-body .links-list table tbody tr td:last-child .btn.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e,#c53030)}#enviar-link .links-management .card-body .links-list table tbody tr td:last-child .btn.btn-danger:hover{transform:translateY(-1px)}.loading-state{text-align:center;color:#718096;padding:3rem}.loading-state:before{content:"⏳";margin-bottom:1rem;font-size:2rem;animation:1s linear infinite spin;display:block}@media (max-width:768px){.gestores-section{padding:1rem}.gestores-section .card-header{padding:1.5rem}.gestores-section .card-header .card-title{font-size:2rem}.gestores-section .card-body{padding:1.5rem}.gestores-section .tabs{flex-direction:column;gap:.5rem}.gestores-section .tabs .tab{padding:1rem}.gestores-section .form-row{grid-template-columns:1fr;gap:1rem}.gestores-section #lista-avaliacoes .header-actions{text-align:center;flex-direction:column;gap:1rem}.gestores-section #lista-avaliacoes .avaliacoes-table{overflow-x:auto}.gestores-section #lista-avaliacoes .avaliacoes-table table{min-width:800px}.gestores-section #lista-avaliacoes .avaliacoes-table .actions-cell{flex-direction:column;gap:.5rem}.gestores-section #enviar-link .links-management .card-body{padding:1rem}.gestores-section #enviar-link .links-management table{min-width:700px}}@media (max-width:480px){.gestores-section .btn,.gestores-section .actions-cell button{justify-content:center;width:100%}}.settings-modal{z-index:1000000;background:var(--bg-primary);border-radius:var(--border-radius-lg);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid #ffffff1a;width:95%;max-width:900px;max-height:95vh;animation:.5s cubic-bezier(.34,1.56,.64,1) modalSlideIn;position:fixed;top:2.5%;right:2.5%;overflow:hidden;box-shadow:0 25px 50px -12px #00000040,0 0 0 1px #ffffff1a}.settings-modal:before{content:"";background:linear-gradient(90deg,var(--accent-color),var(--success-color),var(--info-color),var(--warning-color));background-size:200% 100%;height:3px;animation:3s infinite gradientShift;position:absolute;top:0;left:0;right:0}.modal-header{background:linear-gradient(135deg,var(--bg-secondary)0%,transparent 100%);border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:24px 32px;display:flex}.modal-header h2{color:var(--text-primary);align-items:center;gap:12px;margin:0;font-size:1.5rem;font-weight:700;display:flex}.modal-header h2:before{content:"⚙️";font-size:1.3em;animation:4s linear infinite spinSlow}.tabs{border-bottom:1px solid var(--border-color);background:var(--bg-secondary);padding:0 32px;display:flex;position:relative}.tabs:after{content:"";background:linear-gradient(90deg,transparent 0%,var(--accent-color)50%,transparent 100%);opacity:.5;height:1px;position:absolute;bottom:0;left:0;right:0}.tabs button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;flex:1;padding:18px 24px;font-size:14px;font-weight:600;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.tabs button:before{content:"";background:var(--accent-color);width:0;height:3px;transition:width .3s;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.tabs button:after{content:"";background:rgba(var(--accent-color-rgb),.1);border-radius:50%;width:0;height:0;transition:all .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tabs button:hover{color:var(--accent-color);background:rgba(var(--accent-color-rgb),.05);transform:translateY(-1px)}.tabs button:hover:after{width:60px;height:60px}.tabs button.tab-active{color:var(--accent-color)}.tabs button.tab-active:before{width:100%}.tabs button.tab-active:after{animation:.6s ease-out ripple}.sub-tabs{gap:8px;margin-bottom:32px;padding:0 32px;display:flex}.sub-tabs button{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;border-radius:var(--border-radius);padding:12px 20px;font-size:13px;font-weight:500;transition:all .3s;position:relative;overflow:hidden}.sub-tabs button:before{content:"";background:linear-gradient(90deg,transparent,rgba(var(--accent-color-rgb),.2),transparent);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.sub-tabs button:hover{border-color:var(--accent-color);color:var(--accent-color);box-shadow:0 4px 12px rgba(var(--accent-color-rgb),.1);transform:translateY(-2px)}.sub-tabs button:hover:before{left:100%}.sub-tabs button.sub-tab-active{background:var(--accent-color);color:#fff;border-color:var(--accent-color);box-shadow:0 4px 12px rgba(var(--accent-color-rgb),.2)}.alert{border-radius:var(--border-radius);border-left:4px solid #0000;margin:0 32px 24px;padding:16px 20px;font-size:14px;font-weight:500;animation:.4s cubic-bezier(.34,1.56,.64,1) slideInDown;position:relative;overflow:hidden}.alert:before{content:"";opacity:.1;background:currentColor;width:100%;height:100%;position:absolute;top:0;left:0}.alert.success{border-left-color:var(--success-color);color:var(--success-color)}.alert.error{border-left-color:var(--danger-color);color:var(--danger-color)}.settings-form{max-height:50vh;padding:0 32px;overflow-y:auto}.settings-form::-webkit-scrollbar{width:8px}.settings-form::-webkit-scrollbar-track{background:var(--bg-secondary);border-radius:4px}.settings-form::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:4px;transition:background .3s}.settings-form::-webkit-scrollbar-thumb:hover{background:var(--accent-hover)}.settings-form h3{color:var(--text-primary);margin:0 0 32px;font-size:1.3rem;font-weight:700;display:inline-block;position:relative}.settings-form h3:after{content:"";background:var(--accent-color);border-radius:2px;width:50%;height:2px;position:absolute;bottom:-8px;left:0}.form-group{margin-bottom:24px;animation:.6s ease-out fadeInUp}.form-group label{color:var(--text-primary);margin-bottom:8px;font-size:14px;font-weight:600;transition:color .3s;display:block}.form-group input,.form-group select{border:2px solid var(--border-color);border-radius:var(--border-radius);background:var(--bg-primary);width:100%;color:var(--text-primary);padding:14px 16px;font-family:inherit;font-size:14px;transition:all .3s cubic-bezier(.4,0,.2,1)}.form-group input:focus,.form-group select:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px rgba(var(--accent-color-rgb),.1),0 4px 12px #0000001a;outline:none;transform:translateY(-2px)}.form-group input:hover,.form-group select:hover{border-color:rgba(var(--accent-color-rgb),.5)}.form-group input:disabled,.form-group select:disabled{background:var(--bg-secondary);color:var(--text-muted);cursor:not-allowed;opacity:.7}.user-list-header{justify-content:space-between;align-items:center;margin-bottom:20px;padding:0 32px;display:flex}.user-list-header h3{color:var(--text-primary);margin:0;font-size:1.2rem}.user-list{border:1px solid var(--border-color);border-radius:var(--border-radius);background:var(--bg-primary);max-height:400px;margin:0 32px;overflow-y:auto}.user-list::-webkit-scrollbar{width:6px}.user-list::-webkit-scrollbar-track{background:var(--bg-secondary)}.user-list::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:3px}.user-item{border-bottom:1px solid var(--border-color);padding:20px;transition:all .3s cubic-bezier(.4,0,.2,1);animation:.6s ease-out fadeInUp;position:relative;overflow:hidden}.user-item:before{content:"";background:linear-gradient(90deg,transparent,rgba(var(--accent-color-rgb),.05),transparent);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.user-item:last-child{border-bottom:none}.user-item:hover{background:var(--bg-secondary);transform:translate(8px)}.user-item:hover:before{left:100%}.user-item strong{color:var(--text-primary);margin-bottom:6px;font-size:15px;display:block}.user-item span{color:var(--text-secondary);margin-bottom:4px;font-size:14px;display:block}.user-item small{color:var(--text-muted);margin-bottom:12px;font-size:13px;display:block}.user-item .btn-danger{background:var(--danger-color);color:#fff;opacity:0;border-radius:var(--border-radius);cursor:pointer;border:none;padding:8px 12px;font-size:13px;transition:all .3s;transform:translate(10px)}.user-item:hover .btn-danger{opacity:1;transform:translate(0)}.form-actions{border-top:1px solid var(--border-color);justify-content:flex-end;gap:12px;margin-top:32px;padding-top:24px;display:flex}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000001;background:#000000b3;justify-content:center;align-items:center;animation:.3s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-overlay .modal-content{background:var(--bg-primary);border-radius:var(--border-radius-lg);border:1px solid #ffffff1a;width:95%;max-width:100%;animation:.3s cubic-bezier(.34,1.56,.64,1) scaleIn;overflow:hidden;box-shadow:0 25px 50px -12px #00000080}.modal-overlay .modal-content .modal-header h3{color:var(--danger-color);margin:0}.modal-overlay .modal-content .modal-header h3:before{content:"⚠️";margin-right:8px}.modal-overlay .modal-content .modal-body{padding:24px 32px}.modal-overlay .modal-content .modal-body p{color:var(--text-secondary);margin-bottom:16px;line-height:1.6}.modal-overlay .modal-content .modal-body p strong{color:var(--text-primary)}.modal-footer{border-top:1px solid var(--border-color);background:var(--bg-secondary);justify-content:flex-end;gap:12px;padding:20px 32px;display:flex}.btn{border-radius:var(--border-radius);cursor:pointer;border:none;align-items:center;gap:8px;padding:12px 24px;font-size:14px;font-weight:600;transition:all .3s cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative;overflow:hidden}.btn:before{content:"";background:linear-gradient(90deg,#0000,#fff3,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026}.btn:hover:before{left:100%}.btn:active{transform:translateY(0)}.btn-primary{background:var(--accent-color);color:#fff}.btn-primary:hover{background:var(--accent-hover);box-shadow:0 8px 25px rgba(var(--accent-color-rgb),.3)}.btn-secondary{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background:var(--border-color)}.close-btn{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);cursor:pointer;width:40px;height:40px;color:var(--text-muted);justify-content:center;align-items:center;font-size:20px;font-weight:300;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex}.close-btn:hover{background:var(--danger-color);color:#fff;border-color:var(--danger-color);transform:rotate(90deg)scale(1.1)}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-50px)scale(.95)rotateX(10deg)}to{opacity:1;transform:translateY(0)scale(1)rotateX(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.8)translateY(20px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes gradientShift{0%,to{background-position:0%}50%{background-position:100%}}@keyframes spinSlow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes ripple{0%{opacity:1;transform:translate(-50%,-50%)scale(0)}to{opacity:0;transform:translate(-50%,-50%)scale(4)}}@media (max-width:768px){.settings-modal{max-height:98vh;margin:1%;top:1%;right:1%;width:98%!important}.modal-header,.tabs,.settings-form,.user-list-header,.user-list{padding-left:20px;padding-right:20px}.tabs{flex-direction:column}.tabs button{border-bottom:1px solid var(--border-color)}.tabs button:last-child{border-bottom:none}.tabs button.tab-active:before{width:100%;height:3px;bottom:0}.form-actions,.modal-footer{flex-direction:column}.form-actions .btn,.modal-footer .btn{width:100%}.user-item .btn-danger{opacity:1;width:100%;margin-top:12px;transform:translate(0)}}@media (max-width:480px){.settings-modal{border-radius:var(--border-radius)}.modal-header{padding:16px 20px}.modal-header h2{font-size:1.3rem}.sub-tabs{flex-direction:column}.sub-tabs button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}*{box-sizing:border-box}body{background-color:var(--background-color);color:var(--text-color);margin:0;padding:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6}body.sidebar-open .main-content{width:calc(100% - 250px);margin-left:250px;transition:all .3s;overflow-x:hidden}body.sidebar-collapsed .main-content{width:calc(100% - 80px);margin-left:80px;transition:all .3s;overflow-x:hidden}.main-content{box-sizing:border-box;min-height:100vh;overflow-x:hidden}
