.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff,#fff);padding:1rem}.login-box{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:420px;padding:2.5rem;animation:slideIn .4s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{font-size:2rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-header p{color:#000;margin:0;font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.error-alert{background:#fee;border:1px solid #fcc;color:#c33;padding:.875rem;border-radius:10px;display:flex;align-items:center;gap:.75rem;font-size:.9rem;animation:shake .3s}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.input-group input{padding:.875rem 1rem;border:2px solid #000000;border-radius:10px;font-size:1rem;transition:all .3s ease;color:#000;background:#fff}.input-group input:-webkit-autofill,.input-group input:-webkit-autofill:hover,.input-group input:-webkit-autofill:focus,.input-group input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px white inset!important;-webkit-text-fill-color:#000000!important;color:#000!important;background:#fff!important}.input-group input:focus{outline:none;border-color:#000;background:#fff;box-shadow:0 0 0 4px #ff07071a}.input-group input:disabled{opacity:.6;cursor:not-allowed}.login-button{padding:1rem;background:linear-gradient(135deg,#000 20%,#ff1616 80%);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:.5rem}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #ff060666}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed}.loading-spinner{display:flex;align-items:center;justify-content:center;gap:.5rem}.spinner{animation:rotate 1s linear infinite}.spinner circle{stroke:#fff;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.login-footer{margin-top:2rem;text-align:center;padding-top:1.5rem;border-top:1px solid #eee}.login-footer p{color:#999;font-size:.85rem;margin:0}@media (max-width: 480px){.login-box{padding:2rem 1.5rem}.login-header h1{font-size:1.75rem}}.admin-dashboard{padding:2rem;max-width:1200px;margin:0 auto}.dashboard-header{margin-bottom:2rem;text-align:center}.dashboard-header p{color:#666;margin:0}.dashboard-content{display:grid;gap:2rem}.modify-button{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:600}.form-section,.users-list-section{background:#fff;padding:2rem;border-radius:15px;box-shadow:0 5px 20px #0000001a}.form-section h3,.users-list-section h3{margin:0 0 1.5rem;font-size:1.3rem;color:#333}.alert{padding:.875rem;border-radius:10px;display:flex;align-items:center;gap:.75rem;font-size:.9rem;margin-bottom:1.5rem;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#fee;border:1px solid #fcc;color:#c33}.alert-success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.user-form{display:flex;flex-direction:column;gap:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-group label{font-size:.9rem;font-weight:600;color:#333;margin-left:.25rem}.input-group input,.input-group select{padding:.875rem 1rem;border:2px solid #000000;border-radius:10px;font-size:1rem;transition:all .3s ease;background:#fff;color:#000}.input-group input:focus,.input-group select:focus{outline:none;border-color:#ff4a4a;box-shadow:0 0 0 4px #ff4a4a1a}.input-group input:disabled,.input-group select:disabled{opacity:.6;cursor:not-allowed}.submit-button{padding:1rem;background:linear-gradient(135deg,#000 20%,#ff1616 80%);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:.5rem}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #ff060666}.submit-button:disabled{opacity:.7;cursor:not-allowed}.users-table{overflow-x:auto;margin-top:1rem}.users-table table{width:100%;border-collapse:collapse}.users-table thead{background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff}.users-table th{padding:1rem;text-align:left;font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.users-table td{padding:1rem;border-bottom:1px solid #eee;color:#000!important}.users-table th:last-child,.users-table td:last-child{min-width:200px;padding:1rem 1.5rem}.users-table td:last-child{display:flex;justify-content:flex-start;align-items:center;gap:.75rem}.users-table tbody tr:hover{background:#f9f9f9}.users-table th:first-child,.users-table td:first-child{white-space:nowrap;min-width:150px}.cargo-badge{display:inline-block;padding:.375rem .875rem;border-radius:50px;font-size:.85rem;font-weight:600}.cargo-capataz{background:#e3f2fd;color:#1976d2}.cargo-administrador-general{background:#fff3e0;color:#f57c00}.cargo-todo{background:#fce4ec;color:#c2185b}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease}.modal-content{background:#fff;border-radius:15px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #eee}.modal-header h3{margin:0;font-size:1.5rem;color:#333;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.close-button{background:none;border:none;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;color:#666;transition:all .3s ease;border-radius:50%}.close-button:hover{background:#f5f5f5;color:#ff4a4a}.modal-actions{display:flex;gap:1rem;margin-top:2rem}.cancel-button{flex:1;padding:1rem;background:#f5f5f5;color:#333;border:2px solid #ddd;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.cancel-button:hover:not(:disabled){background:#e0e0e0;border-color:#ccc}.modal-actions .submit-button{flex:1;margin-top:0}.input-disabled{background:#f5f5f5!important;color:#666!important;cursor:not-allowed}.edit-button{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:70px}.edit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #ff4a4a66}.edit-button:disabled{opacity:.6;cursor:not-allowed}.delete-button{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:85px}.delete-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #ff4a4a66}.delete-button:disabled{opacity:.6;cursor:not-allowed}.modal-body{padding:1.5rem 0;color:#333}.modal-body p{margin:0;font-size:1rem;line-height:1.6}.modal-body strong{color:#ff4a4a;font-weight:700}@media (max-width: 480px){.admin-dashboard{padding:1rem}.dashboard-header h2{font-size:1.35rem}.dashboard-header p{font-size:.9rem}.form-section,.users-list-section{padding:1.25rem;border-radius:12px}.form-section h3,.users-list-section h3{font-size:1.15rem}.form-row{grid-template-columns:1fr;gap:1rem}.input-group input,.input-group select{font-size:16px;padding:1rem;min-height:48px}.input-group label{font-size:.85rem}.submit-button{min-height:52px;font-size:1.05rem}.users-table{font-size:.8rem;margin:0 -1.25rem;padding:0 1.25rem}.users-table th,.users-table td{padding:.75rem .5rem;font-size:.8rem}.users-table th:first-child,.users-table td:first-child{min-width:120px;position:sticky;left:0;background:#fff;z-index:1}.users-table thead th:first-child{background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);z-index:2}.cargo-badge{font-size:.75rem;padding:.3rem .65rem}.users-table td:last-child{flex-direction:column;gap:.5rem;min-width:100px}.edit-button,.delete-button,.modify-button{width:100%;min-height:40px;font-size:.8rem;padding:.5rem .75rem}.modal-overlay{padding:0}.modal-content{max-width:100%;width:100%;max-height:100vh;border-radius:0;padding:1.5rem}.modal-header{padding-bottom:.875rem;margin-bottom:1.25rem}.modal-header h3{font-size:1.25rem}.modal-actions{flex-direction:column-reverse;margin-top:1.5rem}.cancel-button,.modal-actions .submit-button{width:100%;min-height:48px}.alert{padding:.75rem;font-size:.85rem}}@media (min-width: 481px) and (max-width: 768px){.admin-dashboard{padding:1.25rem}.dashboard-header h2{font-size:1.6rem}.form-section,.users-list-section{padding:1.75rem}.form-row{grid-template-columns:1fr}.users-table th,.users-table td{padding:.875rem .625rem;font-size:.85rem}.modal-content{max-width:95%;border-radius:12px}}@media (max-width: 768px){.admin-dashboard{padding:0;width:100%}.form-row{grid-template-columns:1fr;gap:1rem}.dashboard-header h2{font-size:1.5rem}.form-section,.users-list-section{padding:1.25rem;margin-bottom:1.5rem}.users-table{font-size:.85rem;margin:0 -1.25rem;padding:0 1.25rem;width:calc(100% + 2.5rem)}.users-table th,.users-table td{padding:.75rem .5rem}.submit-button,.edit-button,.delete-button,.modify-button,.cancel-button{min-height:48px}.users-table{overflow-x:auto;-webkit-overflow-scrolling:touch;display:block}.users-table table{min-width:600px}}@media (max-width: 480px){.form-section,.users-list-section{padding:1rem;border-radius:12px}.users-table{margin:0 -1rem;padding:0 1rem;width:calc(100% + 2rem)}}.excel-upload{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 10px 30px #0000001a}.upload-header{text-align:center;margin-bottom:2rem}.upload-header h2{font-size:1.75rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.upload-header p{color:#666;font-size:.95rem}.upload-section{max-width:600px;margin:0 auto}.alert{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border-radius:12px;margin-bottom:1.5rem;font-weight:500}.alert-error{background:linear-gradient(135deg,#fee,#fdd);color:#c00;border:1px solid #faa}.alert-success{background:linear-gradient(135deg,#efe,#dfd);color:#070;border:1px solid #afa}.alert svg{flex-shrink:0}.upload-zone{position:relative;border:3px dashed #ddd;border-radius:16px;padding:3rem 2rem;text-align:center;transition:all .3s ease;background:#fafafa}.upload-zone:hover{border-color:#667eea;background:#f5f7ff}.upload-zone.drag-active{border-color:#667eea;background:linear-gradient(135deg,#667eea1a,#764ba21a);transform:scale(1.02)}.upload-zone.has-file{border-color:#4caf50;background:linear-gradient(135deg,#4caf500d,#2e7d320d)}.upload-zone input[type=file]{display:none}.upload-zone label{display:block;cursor:pointer}.upload-icon,.file-icon{color:#000;margin-bottom:1rem}.has-file .file-icon{color:#4caf50}.upload-text{font-size:1.1rem;font-weight:600;color:#333;margin:0 0 .5rem}.upload-subtext{font-size:.9rem;color:#777;margin:0 0 1rem}.file-types{display:inline-block;padding:.5rem 1rem;background:#e0e7ff;color:#667eea;border-radius:20px;font-size:.8rem;font-weight:600}.filename{font-size:1.1rem;font-weight:600;color:#2e7d32;margin:.5rem 0 .25rem;word-break:break-all}.filesize{font-size:.85rem;color:#666;margin:0 0 1rem}.change-file{display:inline-block;font-size:.85rem;color:#667eea;margin-top:.5rem}.upload-button{width:100%;padding:1rem;margin-top:1.5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.75rem}.upload-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #667eea66}.spinner{border:3px solid rgba(255,255,255,.3);border-top:3px solid white;border-radius:50%;width:20px;height:20px;animation:spin .8s linear infinite}@media (max-width: 480px){.excel-upload{padding:1rem;border-radius:12px}.upload-header h2{font-size:1.25rem}.upload-header p{font-size:.85rem}.upload-zone{padding:2rem 1rem;border-width:2px}.upload-text{font-size:1rem}.upload-subtext{font-size:.85rem}.file-types{font-size:.75rem;padding:.4rem .75rem}.upload-button{font-size:1rem;min-height:48px;padding:1rem}.files-list{padding:1rem}.file-item{flex-wrap:wrap;padding:.625rem}.file-name{flex:1 1 100%;margin-bottom:.5rem;font-size:.85rem}.file-size{font-size:.75rem}.remove-file{font-size:.8rem;padding:.35rem .65rem}.results-summary{padding:1rem}.results-summary h3{font-size:1rem}.results-stats{grid-template-columns:1fr;gap:.75rem}.stat-number{font-size:1.75rem}.stat-label{font-size:.8rem}.result-item{padding:.875rem;flex-direction:column;align-items:flex-start}.result-filename{font-size:.9rem}.result-message{font-size:.8rem}.result-extra{font-size:.75rem}.alert{padding:.875rem 1rem;font-size:.85rem}}@media (min-width: 481px) and (max-width: 768px){.excel-upload{padding:1.5rem}.upload-header h2{font-size:1.4rem}.upload-zone{padding:2.5rem 1.5rem}.results-stats{grid-template-columns:1fr 1fr}}@media (max-width: 768px){.excel-upload{padding:1.5rem}.upload-zone{padding:2rem 1rem}.upload-header h2{font-size:1.5rem}.upload-button,.remove-file{min-height:44px}.upload-zone label{cursor:pointer;-webkit-tap-highlight-color:transparent}}.files-list{margin-top:1.5rem;background:#f9fafb;border-radius:12px;padding:1.25rem}.files-list h4{margin:0 0 1rem;font-size:.95rem;color:#374151;font-weight:600}.file-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:.5rem;transition:all .2s ease}.file-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.file-item svg{color:#667eea;flex-shrink:0}.file-name{flex:1;font-size:.9rem;color:#1f2937;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{font-size:.8rem;color:#6b7280;padding:.25rem .5rem;background:#f3f4f6;border-radius:4px}.remove-file{background:#fee;color:#dc2626;border:1px solid #fca5a5;border-radius:6px;padding:.25rem .5rem;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s ease}.remove-file:hover:not(:disabled){background:#fca5a5;color:#fff}.remove-file:disabled{opacity:.5;cursor:not-allowed}.upload-zone.has-files{border-color:#667eea;background:linear-gradient(135deg,#667eea0d,#764ba20d)}.has-files .file-icon{color:#667eea}.results-summary{background:#f9fafb;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.results-summary h3{margin:0 0 1rem;font-size:1.1rem;color:#1f2937}.results-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}.stat-item{background:#fff;border-radius:10px;padding:1rem;text-align:center;border:2px solid #e5e7eb}.stat-item.stat-success{border-color:#10b981;background:linear-gradient(135deg,#10b9810d,#0596690d)}.stat-item.stat-error{border-color:#ef4444;background:linear-gradient(135deg,#ef44440d,#dc26260d)}.stat-number{display:block;font-size:2rem;font-weight:700;margin-bottom:.25rem}.stat-success .stat-number{color:#10b981}.stat-error .stat-number{color:#ef4444}.stat-label{display:block;font-size:.85rem;color:#6b7280;font-weight:500}.results-list{display:flex;flex-direction:column;gap:.75rem}.result-item{display:flex;gap:.75rem;padding:1rem;background:#fff;border-radius:8px;border-left:4px solid}.result-item.result-success{border-left-color:#10b981;background:linear-gradient(90deg,#10b9810d,#fff 20%)}.result-item.result-error,.result-item.result-warning{border-left-color:#ef4444;background:linear-gradient(90deg,#ef44440d,#fff 20%)}.result-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0}.result-success .result-icon{background:#10b981;color:#fff}.result-error .result-icon,.result-warning .result-icon{background:#ef4444;color:#fff}.result-details{flex:1}.result-filename{font-weight:600;color:#1f2937;margin:0 0 .25rem;font-size:.95rem}.result-message{color:#6b7280;margin:0 0 .25rem;font-size:.85rem}.result-extra{color:#9ca3af;margin:0;font-size:.8rem;font-style:italic}.public-pod-view{max-width:1400px;margin:0 auto;padding:2rem}.public-pod-view .dashboard-header{text-align:center;margin-bottom:2rem}.public-pod-view .dashboard-header h2{font-size:2rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.public-pod-view .dashboard-header p{color:#666;font-size:1rem}.public-pod-view .filters-bar{display:flex;gap:1rem;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;max-width:1000px;margin:0 auto 2rem}.public-pod-view .status-dashboard{display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem;margin-bottom:2rem;padding:0}.public-pod-view .status-card{background:#fff;border:2px solid #e5e7eb;border-top:3px solid;border-radius:8px;padding:.6rem 1rem;box-shadow:0 1px 3px #00000014;transition:all .25s ease;display:inline-flex;flex-direction:row;align-items:center;gap:.625rem;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}.public-pod-view .status-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001f;border-top-width:4px}.public-pod-view .status-card:active{transform:translateY(-1px)}.public-pod-view .status-card.active{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid currentColor;border-top:4px solid currentColor;box-shadow:0 4px 12px #00000026;transform:scale(1.05)}.public-pod-view .status-card-total{border:2px solid #1f2937;border-top:4px solid #1f2937;background:linear-gradient(135deg,#f9fafb,#fff);font-weight:700;cursor:default;pointer-events:none}.public-pod-view .status-card-total .status-name{font-weight:700;color:#1f2937}.public-pod-view .status-card-total .status-count{font-size:1.375rem;font-weight:800}.public-pod-view .status-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.public-pod-view .status-info{display:flex;flex-direction:row;align-items:center;gap:.5rem}.public-pod-view .status-name{font-size:.7rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.public-pod-view .status-count{font-size:1.125rem;font-weight:700;line-height:1;min-width:1.25rem;text-align:center}@media (max-width: 768px){.public-pod-view .status-dashboard{gap:.5rem}.public-pod-view .status-card{padding:.5rem .75rem}.public-pod-view .status-name{font-size:.65rem}.public-pod-view .status-count{font-size:1rem}.public-pod-view .status-indicator{width:6px;height:6px}}.public-pod-view .search-box{flex:1;position:relative;display:flex;align-items:center}.public-pod-view .search-box svg:first-child{position:absolute;left:1rem;color:#999;pointer-events:none}.public-pod-view .search-input{width:100%;padding:.75rem 3rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;transition:all .2s ease;background:#fff;color:#333}.public-pod-view .search-input::placeholder{color:#999}.public-pod-view .search-input:focus{outline:none;border-color:#667eea}.public-pod-view .clear-search{position:absolute;right:1rem;background:none;border:none;cursor:pointer;padding:.25rem;color:#999;display:flex;align-items:center;border-radius:4px;transition:all .2s ease}.public-pod-view .clear-search:hover{background:#f0f0f0;color:#333}.public-pod-view .filter-group{display:flex;align-items:center;gap:.75rem}.public-pod-view .filter-group label{font-weight:600;color:#555;font-size:.9rem;white-space:nowrap}.public-pod-view .filter-select{padding:.75rem 2.5rem .75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-color:#fff;color:#333;min-width:200px}.public-pod-view .filter-select:focus{outline:none;border-color:#667eea}.public-pod-view .tareas-count{text-align:center;margin-bottom:2rem;font-weight:600;color:#333;font-size:1.1rem;display:flex;justify-content:center;align-items:center;gap:1rem}.public-pod-view .clear-filters{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.public-pod-view .clear-filters:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff4a4a4d}.public-pod-view .tareas-grid{display:grid;grid-template-columns:1fr;gap:2rem;max-width:1000px;margin:0 auto}.public-pod-view .tarea-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;border:1px solid #e9ecef;min-height:450px}.public-pod-view .tarea-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.public-pod-view .card-header{display:flex;flex-direction:column;gap:.75rem}.public-pod-view .area-badge{display:inline-block;padding:.35rem .75rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;align-self:flex-start}.public-pod-view .itemizado{font-size:1.25rem;font-weight:700;color:#2c3e50;margin:0}.public-pod-view .capataz-name{font-size:.9rem;color:#666;font-weight:500;margin:0}.public-pod-view .card-body{flex:1;display:flex;flex-direction:column;gap:1rem;min-height:250px}.public-pod-view .descripcion{color:#666;line-height:1.6;margin:0;flex-shrink:0}.public-pod-view .card-footer{padding:1.25rem;background:#fafbfc;border-top:1px solid #e9ecef;display:flex;justify-content:center;align-items:center}.public-pod-view .estatus-badge{padding:.5rem 1rem;border-radius:8px;text-align:center;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;flex:1}.public-pod-view .badge-programada{background:#9e9e9e;color:#fff}.public-pod-view .badge-no-informada{background:#424242;color:#fff}.public-pod-view .badge-iniciada{background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff}.public-pod-view .badge-no-iniciada{background:linear-gradient(135deg,#ffc107,#ff9800);color:#fff}.public-pod-view .badge-avanzando{background:linear-gradient(135deg,#388e3c,#2e7d32);color:#fff}.public-pod-view .badge-detenida{background:linear-gradient(135deg,#f44336,#c62828);color:#fff}.public-pod-view .badge-colacion{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff}.public-pod-view .badge-replanificada{background:linear-gradient(135deg,#e91e63,#c2185b);color:#fff}.public-pod-view .badge-terminada{background:linear-gradient(135deg,#1976d2,#0d47a1);color:#fff}.public-pod-view .badge-no-terminada{background:linear-gradient(135deg,#7b1fa2,#4a148c);color:#fff}.public-pod-view .badge-default{background:#e0e0e0;color:#666}.public-pod-view .empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014}.public-pod-view .empty-state svg{color:#ccc;margin-bottom:1.5rem}.public-pod-view .empty-state h3{font-size:1.5rem;color:#333;margin:0 0 .75rem}.public-pod-view .empty-state p{color:#777;font-size:1rem}.public-pod-view .loading-container{text-align:center;padding:4rem 2rem}.public-pod-view .spinner-large{border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;width:60px;height:60px;animation:spin 1s linear infinite;margin:0 auto 1.5rem}.public-pod-view .loading-container p{color:#666;font-size:1.1rem;font-weight:500}.public-pod-view .error-container{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014}.public-pod-view .error-container svg{color:#f44;margin-bottom:1.5rem}.public-pod-view .error-container h3{font-size:1.5rem;color:#333;margin:0 0 .75rem}.public-pod-view .error-container p{color:#777;font-size:1rem}@media (max-width: 480px){.public-pod-view{padding:1rem}.public-pod-view .dashboard-header h2{font-size:1.35rem}.public-pod-view .dashboard-header p{font-size:.9rem}.public-pod-view .filters-bar{flex-direction:column;padding:1rem;gap:.75rem}.public-pod-view .search-box{width:100%}.public-pod-view .search-input{padding:.75rem 2.5rem;font-size:16px}.public-pod-view .filter-group{width:100%;flex-direction:column;align-items:stretch;gap:.5rem}.public-pod-view .filter-select{min-width:100%;width:100%;font-size:16px}.public-pod-view .status-dashboard{gap:.4rem}.public-pod-view .status-card{padding:.45rem .65rem;gap:.5rem}.public-pod-view .status-name{font-size:.6rem}.public-pod-view .status-count{font-size:.95rem}.public-pod-view .status-indicator{width:6px;height:6px}.public-pod-view .tareas-grid{gap:1rem}.public-pod-view .tarea-card{padding:1rem;min-height:auto;gap:.875rem}.public-pod-view .area-badge{font-size:.7rem;padding:.3rem .65rem}.public-pod-view .itemizado{font-size:1.1rem}.public-pod-view .descripcion{font-size:.9rem}.public-pod-view .info-horario{padding:.75rem;gap:.5rem}.public-pod-view .card-footer{padding:1rem}.public-pod-view .estatus-badge{font-size:.8rem}.public-pod-view .mini-thumbnail{width:180px;height:180px}.public-pod-view .reminder-button,.public-pod-view .delete-button{min-height:44px;font-size:.85rem;padding:.65rem 1rem}.confirmation-modal{width:95%;padding:1.5rem}.confirmation-modal h3{font-size:1.25rem}.confirmation-modal .modal-buttons{flex-direction:column-reverse;gap:.75rem}.confirmation-modal .modal-button{width:100%;min-height:48px}.public-pod-view .empty-state{padding:2.5rem 1rem}.public-pod-view .empty-state h3{font-size:1.25rem}.public-pod-view .empty-state p{font-size:.9rem}}@media (min-width: 481px) and (max-width: 768px){.public-pod-view{padding:1.25rem}.public-pod-view .dashboard-header h2{font-size:1.6rem}.public-pod-view .filters-bar{flex-wrap:wrap;padding:1.25rem}.public-pod-view .search-box{flex:1 1 100%;margin-bottom:.5rem}.public-pod-view .filter-group{flex:1 1 auto}.public-pod-view .filter-select{min-width:180px}.public-pod-view .tareas-grid{gap:1.5rem}.public-pod-view .tarea-card{padding:1.25rem}.public-pod-view .mini-thumbnail{width:200px;height:200px}}@media (max-width: 768px){.public-pod-view{padding:1.5rem}.public-pod-view .tareas-grid{gap:1.25rem}.public-pod-view .dashboard-header h2{font-size:1.5rem}.public-pod-view .filters-bar{flex-direction:column}.public-pod-view .filter-select{min-width:100%}.public-pod-view .clear-filters,.public-pod-view .reminder-button,.public-pod-view .delete-button{min-height:44px}.public-pod-view .image-lightbox-content{max-width:95%}.public-pod-view .image-lightbox-close{width:40px;height:40px;font-size:24px}}.public-pod-view .observacion-display{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;margin:.75rem 0;background:#f5f5f5;border-radius:6px;font-size:.9rem;line-height:1.5}.public-pod-view .observacion-image-preview{flex-shrink:0}.public-pod-view .mini-thumbnail{width:240px;height:240px;object-fit:cover;border-radius:8px;border:2px solid #ddd;cursor:pointer;transition:all .3s ease;align-self:center}.public-pod-view .mini-thumbnail:hover{transform:scale(1.05);border-color:#ff4a4a;box-shadow:0 4px 12px #ff4a4a4d}.public-pod-view .observacion-text{color:#555;font-weight:400;word-wrap:break-word;width:100%}.public-pod-view .image-lightbox-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;justify-content:center;align-items:center;z-index:10000;animation:fadeIn .3s ease}.public-pod-view .image-lightbox-content{position:relative;max-width:90%;max-height:90vh;background:#1a1a1a;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px #00000080}.public-pod-view .image-lightbox-content img{max-width:100%;max-height:90vh;display:block}.public-pod-view .image-lightbox-close{position:absolute;top:15px;right:15px;background:#ffffff26;border:none;color:#fff;font-size:28px;width:45px;height:45px;border-radius:50%;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;line-height:1}.public-pod-view .image-lightbox-close:hover{background:#ff4757e6;transform:rotate(90deg)}.public-pod-view .reminder-button{padding:.6rem 1.2rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;justify-content:center;margin-left:.75rem}.public-pod-view .reminder-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #ff1d1d4d}.public-pod-view .reminder-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.public-pod-view .reminder-button .spinner-small{border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;width:14px;height:14px;animation:spin .8s linear infinite}.public-pod-view .delete-button{padding:.6rem 1.2rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;justify-content:center;margin-left:.75rem}.public-pod-view .delete-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #dc262666;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%)}.public-pod-view .delete-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.public-pod-view .delete-button .spinner-small{border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;width:14px;height:14px;animation:spin .8s linear infinite}.confirmation-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:9999;animation:fadeIn .2s ease}.confirmation-modal{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:90%;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.confirmation-modal h3{margin:0 0 1rem;font-size:1.5rem;color:#1f2937;display:flex;align-items:center;gap:.75rem}.confirmation-modal p{margin:0 0 1.5rem;color:#6b7280;font-size:1rem;line-height:1.6}.confirmation-modal .pod-info{background:#f9fafb;padding:1rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #dc2626}.confirmation-modal .pod-info p{margin:.5rem 0;color:#374151;font-size:.9rem}.confirmation-modal .modal-buttons{display:flex;gap:1rem;justify-content:flex-end}.confirmation-modal .modal-button{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.confirmation-modal .cancel-button{background:#e5e7eb;color:#374151}.confirmation-modal .cancel-button:hover{background:#d1d5db}.confirmation-modal .confirm-delete-button{background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff;display:flex;align-items:center;gap:.5rem}.confirmation-modal .confirm-delete-button:hover:not(:disabled){background:linear-gradient(135deg,#b91c1c,#7f1d1d);box-shadow:0 4px 12px #dc26264d}.confirmation-modal .confirm-delete-button:disabled{opacity:.6;cursor:not-allowed}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:10px;max-width:400px}.toast-notification{padding:1rem 1.5rem;border-radius:10px;box-shadow:0 4px 16px #00000026;display:flex;align-items:center;gap:.75rem;font-size:.95rem;font-weight:500;animation:slideIn .3s ease-out;min-width:300px}.toast-success{background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff}.toast-error{background:linear-gradient(135deg,#f44336,#c62828);color:#fff}.toast-notification .toast-icon{flex-shrink:0;font-size:1.5rem}.toast-notification .toast-message{flex:1}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(400px);opacity:0}}.toast-notification.toast-exit{animation:slideOut .3s ease-in forwards}.timeline-container{margin:1rem 0;padding:1rem;background:#f8f9fa;border-radius:12px;border:1px solid #e0e0e0}.timeline-header{margin-bottom:.75rem;font-weight:600;font-size:.85rem;color:#666;text-transform:uppercase;letter-spacing:.5px}.timeline-loading,.timeline-empty{text-align:center;padding:1rem;color:#999;font-size:.9rem}.timeline-scale{position:relative;width:100%;height:20px;margin-bottom:.5rem}.timeline-hour-mark{position:absolute;transform:translate(-50%);text-align:center;font-size:.7rem;color:#888}.timeline-hour-mark:before{content:"";position:absolute;top:-5px;left:50%;transform:translate(-50%);width:1px;height:8px;background:#ccc}.timeline-bar{display:flex;position:relative;width:100%;height:30px;background:linear-gradient(to bottom,#f0f0f0,#e8e8e8);border-radius:6px;overflow:visible;box-shadow:inset 0 2px 4px #0000001a}.timeline-segment{position:absolute;height:100%;transition:all .3s ease;cursor:pointer;border-right:1px solid rgba(255,255,255,.3)}.timeline-segment:last-child{border-right:none}.timeline-segment:hover{filter:brightness(1.1);transform:scaleY(1.1);z-index:10}.timeline-segment-live{background-image:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(255,255,255,.15) 10px,rgba(255,255,255,.15) 20px)!important;border-right:3px solid rgba(255,255,255,.9)!important;animation:livePulse 2s ease-in-out infinite}@keyframes livePulse{0%,to{box-shadow:0 0 8px #ffffff80}50%{box-shadow:0 0 18px #ffffffe6}}.timeline-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%) translateY(-8px);background:#000000e6;color:#fff;padding:.75rem 1rem;border-radius:8px;font-size:.85rem;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:100;display:flex;flex-direction:column;gap:.25rem;box-shadow:0 4px 12px #0000004d}.timeline-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#000000e6}.timeline-segment:hover .timeline-tooltip{opacity:1}.timeline-tooltip strong{font-size:.9rem;margin-bottom:.25rem}.timeline-tooltip span{font-size:.8rem;color:#ddd}@media (max-width: 768px){.timeline-scale{font-size:.6rem;height:15px}.timeline-hour-mark span{display:none}.timeline-hour-mark:nth-child(3n+1) span{display:block}.timeline-bar{height:20px}.timeline-tooltip{font-size:.7rem;padding:.4rem .6rem;left:auto;right:0;transform:translateY(-8px)}.timeline-tooltip:after{left:auto;right:10px}}@media (max-width: 480px){.timeline-container{padding:.5rem;margin:.5rem 0}.timeline-hour-mark span{display:none!important}.timeline-hour-mark:first-child span,.timeline-hour-mark:last-child span{display:block!important}}.admin-pod-view{width:100%}.admin-pod-header{text-align:center;margin-bottom:2rem}.admin-pod-header h2{font-size:2rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.admin-pod-header p{color:#666;font-size:1rem;margin:0}.historial-pod-view{max-width:1400px;margin:0 auto;padding:2rem}.historial-pod-view .dashboard-header{text-align:center;margin-bottom:2rem}.historial-pod-view .dashboard-header h2{font-size:2rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.historial-pod-view .dashboard-header p{color:#666;font-size:1rem}.historial-pod-view .date-filters-container{max-width:1000px;margin:0 auto 2rem}.historial-pod-view .date-filters{display:flex;gap:1.5rem;align-items:flex-end;justify-content:center;margin-bottom:1rem;padding:2rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;flex-wrap:wrap}.historial-pod-view .date-selector-wrapper{display:flex;flex-direction:column;gap:.75rem}.historial-pod-view .date-selector-wrapper label{font-weight:600;color:#555;font-size:1rem}.historial-pod-view .date-selector-group{display:flex;gap:.5rem}.historial-pod-view .date-select{padding:.85rem 2.5rem .85rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:all .2s ease;background:#fff;color:#333;cursor:pointer;font-family:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;min-width:90px}.historial-pod-view .date-select:hover{border-color:#999}.historial-pod-view .date-select:focus{outline:none;border-color:#999;box-shadow:0 0 0 3px #9999991a}.historial-pod-view .date-input::-webkit-calendar-picker-indicator{cursor:pointer;padding:.25rem;opacity:.6;transition:opacity .2s ease}.historial-pod-view .date-input::-webkit-calendar-picker-indicator:hover{opacity:1}.historial-pod-view .search-all-button{padding:.75rem 2rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.historial-pod-view .search-all-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #ff29294d}.historial-pod-view .search-all-button:disabled{opacity:.6;cursor:not-allowed}.historial-pod-view .download-excel-button{padding:.75rem 1.5rem;background:linear-gradient(135deg,#059669 20%,#10b981 80%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.historial-pod-view .download-excel-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #10b98166;background:linear-gradient(135deg,#047857 20%,#059669 80%)}.historial-pod-view .download-excel-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.historial-pod-view .download-excel-button svg{flex-shrink:0}.historial-pod-view .info-horario{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:10px;border-left:4px solid #000000}.historial-pod-view .filters-bar{display:flex;gap:1rem;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.historial-pod-view .status-dashboard{display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem;margin-bottom:2rem;padding:0}.historial-pod-view .status-card{background:#fff;border:2px solid #e5e7eb;border-top:3px solid;border-radius:8px;padding:.6rem 1rem;box-shadow:0 1px 3px #00000014;transition:all .25s ease;display:inline-flex;flex-direction:row;align-items:center;gap:.625rem;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}.historial-pod-view .status-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001f;border-top-width:4px}.historial-pod-view .status-card:active{transform:translateY(-1px)}.historial-pod-view .status-card.active{background:linear-gradient(135deg,#fff,#fff);border:2px solid #ffffff9a;border-top:4px solid #eff6ffa5;box-shadow:0 4px 12px #00000026;transform:scale(1.05)}.historial-pod-view .status-card-total{border:2px solid #1f2937;border-top:4px solid #1f2937;background:linear-gradient(135deg,#f9fafb,#fff);font-weight:700;cursor:default;pointer-events:none}.historial-pod-view .status-card-total .status-name{font-weight:700;color:#1f2937}.historial-pod-view .status-card-total .status-count{font-size:1.375rem;font-weight:800}.historial-pod-view .status-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.historial-pod-view .status-info{display:flex;flex-direction:row;align-items:center;gap:.5rem}.historial-pod-view .status-name{font-size:.7rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.historial-pod-view .status-count{font-size:1.125rem;font-weight:700;line-height:1;min-width:1.25rem;text-align:center}.historial-pod-view .search-box{flex:1;position:relative;display:flex;align-items:center}.historial-pod-view .search-box svg:first-child{position:absolute;left:1rem;color:#999;pointer-events:none}.historial-pod-view .search-input{width:100%;padding:.75rem 3rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;transition:all .2s ease;background:#fff;color:#333}.historial-pod-view .search-input::placeholder{color:#999}.historial-pod-view .search-input:focus{outline:none;border-color:#667eea}.historial-pod-view .clear-search{position:absolute;right:1rem;background:none;border:none;cursor:pointer;padding:.25rem;color:#999;display:flex;align-items:center;border-radius:4px;transition:all .2s ease}.historial-pod-view .clear-search:hover{background:#f0f0f0;color:#333}.historial-pod-view .filter-group{display:flex;align-items:center;gap:.75rem}.historial-pod-view .filter-group label{font-weight:600;color:#555;font-size:.9rem;white-space:nowrap}.historial-pod-view .filter-select{padding:.75rem 2.5rem .75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-color:#fff;color:#333;min-width:200px}.historial-pod-view .filter-select:focus{outline:none;border-color:#667eea}.historial-pod-view .tareas-count{text-align:center;margin-bottom:2rem;font-weight:600;color:#333;font-size:1.1rem;display:flex;justify-content:center;align-items:center;gap:1rem}.historial-pod-view .clear-filters{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.historial-pod-view .clear-filters:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff4a4a4d}.historial-pod-view .tareas-grid{display:grid;grid-template-columns:1fr;gap:2rem;max-width:1000px;margin:0 auto}.historial-pod-view .tarea-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;border:1px solid #e9ecef;min-height:450px}.historial-pod-view .tarea-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.historial-pod-view .card-header{display:flex;flex-direction:column;gap:.75rem}.historial-pod-view .area-badge{display:inline-block;padding:.35rem .75rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;align-self:flex-start}.historial-pod-view .itemizado{font-size:1.25rem;font-weight:700;color:#2c3e50;margin:0}.historial-pod-view .capataz-name{font-size:.9rem;color:#666;font-weight:500;margin:0}.historial-pod-view .card-body{flex:1;display:flex;flex-direction:column;gap:1rem;min-height:250px}.historial-pod-view .descripcion{color:#666;line-height:1.6;margin:0;flex-shrink:0}.historial-pod-view .card-footer{padding:1.25rem;background:#fafbfc;border-top:1px solid #e9ecef;display:flex;justify-content:center;align-items:center}.historial-pod-view .estatus-badge{padding:.5rem 1rem;border-radius:8px;text-align:center;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;flex:1}.historial-pod-view .badge-programada{background:#9e9e9e;color:#fff}.historial-pod-view .badge-no-informada{background:#424242;color:#fff}.historial-pod-view .badge-iniciada{background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff}.historial-pod-view .badge-no-iniciada{background:linear-gradient(135deg,#ffc107,#ff9800);color:#fff}.historial-pod-view .badge-avanzando{background:linear-gradient(135deg,#388e3c,#2e7d32);color:#fff}.historial-pod-view .badge-detenida{background:linear-gradient(135deg,#f44336,#c62828);color:#fff}.historial-pod-view .badge-colacion{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff}.historial-pod-view .badge-replanificada{background:linear-gradient(135deg,#e91e63,#c2185b);color:#fff}.historial-pod-view .badge-terminada{background:linear-gradient(135deg,#1976d2,#0d47a1);color:#fff}.historial-pod-view .badge-no-terminada{background:linear-gradient(135deg,#7b1fa2,#4a148c);color:#fff}.historial-pod-view .badge-default{background:#e0e0e0;color:#666}.historial-pod-view .empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014}.historial-pod-view .empty-state svg{color:#ccc;margin-bottom:1.5rem}.historial-pod-view .empty-state h3{font-size:1.5rem;color:#333;margin:0 0 .75rem}.historial-pod-view .empty-state p{color:#777;font-size:1rem}.historial-pod-view .loading-container{text-align:center;padding:4rem 2rem}.historial-pod-view .spinner-large{border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;width:60px;height:60px;animation:spin 1s linear infinite;margin:0 auto 1.5rem}.historial-pod-view .loading-container p{color:#666;font-size:1.1rem;font-weight:500}.historial-pod-view .error-container{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014}.historial-pod-view .error-container svg{color:#f44;margin-bottom:1.5rem}.historial-pod-view .error-container h3{font-size:1.5rem;color:#333;margin:0 0 .75rem}.historial-pod-view .error-container p{color:#777;font-size:1rem}.historial-pod-view .observacion-display{padding:.75rem 1rem;margin:.75rem 0;background:#f5f5f5;border-radius:6px;font-size:.9rem;line-height:1.5}.historial-pod-view .observacion-text{color:#555;font-weight:400;word-wrap:break-word}.historial-pod-view .delete-button{padding:.6rem 1.2rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;justify-content:center;margin-left:.75rem}.historial-pod-view .delete-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #dc262666;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%)}.historial-pod-view .delete-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.historial-pod-view .modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:9999;animation:fadeIn .2s ease}.historial-pod-view .modal{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:90%;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.historial-pod-view .modal h3{margin:0 0 1rem;font-size:1.5rem;color:#1f2937}.historial-pod-view .modal p{margin:0 0 1.5rem;color:#6b7280;font-size:1rem;line-height:1.6}.historial-pod-view .modal-body{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.historial-pod-view .modal-body label{font-weight:600;color:#374151;font-size:.95rem;margin-bottom:.25rem}.historial-pod-view .modal-body input[type=date]{padding:.75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:all .2s ease;background:#fff;color:#333;font-family:inherit}.historial-pod-view .modal-body input[type=date]:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.historial-pod-view .modal-body input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;padding:.25rem;opacity:.6;transition:opacity .2s ease}.historial-pod-view .modal-body input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}.historial-pod-view .modal-actions{display:flex;gap:1rem;justify-content:flex-end}.historial-pod-view .cancel-button{padding:.75rem 1.5rem;background:#e5e7eb;color:#374151;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.historial-pod-view .cancel-button:hover{background:#d1d5db}.historial-pod-view .confirm-button{padding:.75rem 1.5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.historial-pod-view .confirm-button:hover{background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);box-shadow:0 4px 12px #ff20204d}.historial-pod-view .toast-container{position:fixed;top:20px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:10px}.historial-pod-view .toast{padding:1rem 1.5rem;border-radius:10px;box-shadow:0 4px 16px #00000026;font-size:.95rem;font-weight:500;animation:slideInRight .3s ease-out;min-width:300px}.historial-pod-view .toast-success{background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff}.historial-pod-view .toast-error{background:linear-gradient(135deg,#f44336,#c62828);color:#fff}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideInRight{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 768px){.historial-pod-view{padding:1.5rem}.historial-pod-view .date-filters{flex-direction:column;align-items:stretch}.historial-pod-view .date-selector-group{flex-direction:column}.historial-pod-view .date-select{min-width:100%}.historial-pod-view .tareas-grid{gap:1.25rem}.historial-pod-view .dashboard-header h2{font-size:1.5rem}.historial-pod-view .filters-bar{flex-direction:column}.historial-pod-view .filter-select{min-width:100%}.historial-pod-view .status-dashboard{gap:.5rem}.historial-pod-view .status-card{padding:.5rem .75rem}.historial-pod-view .status-name{font-size:.65rem}.historial-pod-view .status-count{font-size:1rem}.historial-pod-view .status-indicator{width:6px;height:6px}}@media (max-width: 480px){.historial-pod-view{padding:1rem}.historial-pod-view .dashboard-header h2{font-size:1.35rem}.historial-pod-view .dashboard-header p{font-size:.9rem}.historial-pod-view .date-filters{flex-direction:column;padding:1rem;gap:1rem}.historial-pod-view .date-selector-wrapper{width:100%}.historial-pod-view .date-selector-group{flex-wrap:wrap;gap:.4rem}.historial-pod-view .date-select{font-size:16px;padding:.75rem 2rem .75rem .75rem;min-width:70px}.historial-pod-view .search-all-button,.historial-pod-view .download-excel-button{width:100%;min-height:48px;font-size:1rem;justify-content:center}.historial-pod-view .filters-bar{flex-direction:column;padding:1rem;gap:.75rem}.historial-pod-view .search-box{width:100%}.historial-pod-view .search-input{font-size:16px}.historial-pod-view .filter-group{width:100%;flex-direction:column;align-items:stretch;gap:.5rem}.historial-pod-view .filter-select{min-width:100%;width:100%;font-size:16px}.historial-pod-view .status-dashboard{gap:.4rem}.historial-pod-view .status-card{padding:.45rem .65rem}.historial-pod-view .status-name{font-size:.6rem}.historial-pod-view .status-count{font-size:.95rem}.historial-pod-view .status-indicator{width:6px;height:6px}.historial-pod-view .tareas-grid{gap:1rem}.historial-pod-view .tarea-card{padding:1rem;min-height:auto}.historial-pod-view .area-badge{font-size:.7rem}.historial-pod-view .itemizado{font-size:1.1rem}.historial-pod-view .modal{width:95%;padding:1.5rem}.historial-pod-view .modal h3{font-size:1.25rem}.historial-pod-view .modal-body input[type=date]{font-size:16px;padding:.875rem 1rem}.historial-pod-view .modal-actions{flex-direction:column-reverse}.historial-pod-view .cancel-button,.historial-pod-view .confirm-button{width:100%;min-height:48px}.historial-pod-view .delete-button{min-height:44px}}@media (min-width: 481px) and (max-width: 768px){.historial-pod-view{padding:1.25rem}.historial-pod-view .date-filters{flex-wrap:wrap;gap:1rem}.historial-pod-view .filters-bar{flex-wrap:wrap}.historial-pod-view .search-box{flex:1 1 100%}}@media (max-width: 768px){.historial-pod-view .status-dashboard{gap:.5rem}.historial-pod-view .status-card{padding:.5rem .75rem}.historial-pod-view .status-indicator{width:6px;height:6px}.historial-pod-view .clear-filters,.historial-pod-view .search-all-button,.historial-pod-view .download-excel-button,.historial-pod-view .delete-button{min-height:44px}}.admin-general-dashboard{padding:2rem;max-width:1400px;margin:0 auto}.dashboard-header{text-align:center;margin-bottom:3rem}.dashboard-header h2{font-size:2.5rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.dashboard-header p{color:#666;font-size:1.1rem;margin:0}.options-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-top:2rem}.option-card{background:#fff;padding:2.5rem 2rem;border-radius:20px;box-shadow:0 10px 30px #0000001a;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden;border:2px solid transparent}.option-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);transform:scaleX(0);transition:transform .3s ease}.option-card:hover{transform:translateY(-8px);box-shadow:0 15px 40px #ff4a4a33;border-color:#ff4a4a}.option-card:hover:before{transform:scaleX(1)}.card-icon{width:80px;height:80px;border-radius:20px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;transition:all .3s ease}.users-icon{background:linear-gradient(135deg,#e3f2fd,#bbdefb);color:#1976d2}.excel-icon{background:linear-gradient(135deg,#f3e5f5,#e1bee7);color:#7b1fa2}.pod-icon{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);color:#388e3c}.history-icon{background:linear-gradient(135deg,#fff3e0,#fe9823);color:#9c6600}.option-card:hover .card-icon{transform:scale(1.1) rotate(5deg)}.option-card h3{font-size:1.5rem;margin:0 0 .75rem;color:#333}.option-card p{color:#666;font-size:1rem;margin:0 0 1.5rem;line-height:1.6}.card-arrow{display:flex;justify-content:flex-end;color:#ff4a4a;opacity:0;transform:translate(-10px);transition:all .3s ease}.option-card:hover .card-arrow{opacity:1;transform:translate(0)}.back-button{display:inline-flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:#fff;border:2px solid #000000;border-radius:10px;color:#000;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-bottom:2rem}.back-button:hover{background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border-color:transparent;transform:translate(-5px)}.back-button svg{transition:transform .3s ease}.back-button:hover svg{transform:translate(-3px)}@media (max-width: 768px){.admin-general-dashboard{padding:1rem}.dashboard-header h2{font-size:1.8rem}.dashboard-header p{font-size:1rem}.options-grid{grid-template-columns:1fr;gap:1.5rem}.option-card{padding:2rem 1.5rem}.card-icon{width:64px;height:64px}.option-card h3{font-size:1.3rem}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.option-card{animation:fadeInUp .5s ease}.option-card:nth-child(1){animation-delay:.1s}.option-card:nth-child(2){animation-delay:.2s}.option-card:nth-child(3){animation-delay:.3s}.capataz-dashboard{max-width:1400px;margin:0 auto;padding:2rem}.dashboard-header{text-align:center;margin-bottom:2rem}.dashboard-header h2{font-size:2rem;margin:0 0 .5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.dashboard-header p{color:#666;font-size:1rem}.filters-bar{display:flex;gap:1rem;margin-bottom:2rem;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;max-width:1000px;margin:0 auto 2rem}.search-box{flex:1;position:relative;display:flex;align-items:center}.search-box svg:first-child{position:absolute;left:1rem;color:#999;pointer-events:none}.search-input{width:100%;padding:.75rem 3rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;transition:all .2s ease;background:#fff;color:#333}.search-input::placeholder{color:#999}.search-input:focus{outline:none;border-color:#667eea}.clear-search{position:absolute;right:1rem;background:none;border:none;cursor:pointer;padding:.25rem;color:#999;display:flex;align-items:center;border-radius:4px;transition:all .2s ease}.clear-search:hover{background:#f0f0f0;color:#333}.filter-group{display:flex;align-items:center;gap:.75rem}.filter-group label{font-weight:600;color:#555;font-size:.9rem;white-space:nowrap}.filter-select{padding:.75rem 2.5rem .75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-color:#fff;color:#333;min-width:200px}.filter-select option{background:#fff;color:#333}.filter-select:focus{outline:none;border-color:#667eea}.status-dashboard{display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem;margin-bottom:2rem;padding:0}.status-card{background:#fff;border:2px solid #e5e7eb;border-top:3px solid;border-radius:8px;padding:.6rem 1rem;box-shadow:0 1px 3px #00000014;transition:all .25s ease;display:inline-flex;flex-direction:row;align-items:center;gap:.625rem;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}.status-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001f;border-top-width:4px}.status-card:active{transform:translateY(-1px)}.status-card.active{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid currentColor;border-top:4px solid currentColor;box-shadow:0 4px 12px #00000026;transform:scale(1.05)}.status-card-total{border:2px solid #1f2937;border-top:4px solid #1f2937;background:linear-gradient(135deg,#f9fafb,#fff);font-weight:700;cursor:default;pointer-events:none}.status-card-total .status-name{font-weight:700;color:#1f2937}.status-card-total .status-count{font-size:1.375rem;font-weight:800}.status-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.status-info{display:flex;flex-direction:row;align-items:center;gap:.5rem}.status-name{font-size:.7rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.status-count{font-size:1.125rem;font-weight:700;line-height:1;min-width:1.25rem;text-align:center}@media (max-width: 768px){.status-dashboard{gap:.5rem}.status-card{padding:.5rem .75rem}.status-name{font-size:.65rem}.status-count{font-size:1rem}.status-indicator{width:6px;height:6px}}.tareas-count{text-align:center;margin-bottom:2rem;font-weight:600;color:#333;font-size:1.1rem;display:flex;justify-content:center;align-items:center;gap:1rem}.clear-filters{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.clear-filters:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff4a4a4d}.tareas-grid{display:grid;grid-template-columns:1fr;gap:2rem;max-width:1000px;margin:0 auto}.tarea-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px #00000014;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;border:1px solid #e9ecef;min-height:450px}.tarea-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.card-header{display:flex;flex-direction:column;gap:.75rem}.area-badge{display:inline-block;padding:.35rem .75rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;align-self:flex-start}.itemizado{font-size:1.25rem;font-weight:700;color:#2c3e50;margin:0}.card-body{flex:1;display:flex;flex-direction:column;gap:1rem;min-height:250px}.descripcion{color:#666;line-height:1.6;margin:0;flex-shrink:0}.info-horario{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:10px;border-left:4px solid #000000}.info-item{display:flex;align-items:center;gap:.75rem;color:#333;font-size:.9rem}.info-item svg{color:#667eea;flex-shrink:0}.info-item span{color:#555;line-height:1.4}.info-item strong{color:#333;font-weight:600}.card-footer{padding:1.25rem;background:#fafbfc;border-top:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center;gap:1rem}.estatus-badge{padding:.5rem 1rem;border-radius:8px;text-align:center;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;flex:1}.badge-programada{background:#9e9e9e;color:#fff}.badge-no-informada{background:#424242;color:#fff}.badge-iniciada{background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff}.badge-no-iniciada{background:linear-gradient(135deg,#ffc107,#ff9800);color:#fff}.badge-avanzando{background:linear-gradient(135deg,#388e3c,#2e7d32);color:#fff}.badge-detenida{background:linear-gradient(135deg,#f44336,#c62828);color:#fff}.badge-colacion{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff}.badge-replanificada{background:linear-gradient(135deg,#e91e63,#c2185b);color:#fff}.badge-terminada{background:linear-gradient(135deg,#1976d2,#0d47a1);color:#fff}.badge-no-terminada{background:linear-gradient(135deg,#7b1fa2,#4a148c);color:#fff}.badge-default{background:#e0e0e0;color:#666}.edit-button{padding:.5rem 1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.edit-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #ff1d1d66}.edit-button svg{flex-shrink:0}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:20px;max-width:700px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:1.5rem 2rem;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.modal-header h2{margin:0;font-size:1.5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.close-button{background:none;border:none;cursor:pointer;padding:.5rem;color:#666;transition:all .2s ease;border-radius:8px}.close-button:hover{background:#f0f0f0;color:#000}.modal-body{padding:2rem;display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group.full-width{grid-column:1 / -1}.form-group label{font-weight:600;color:#333;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.form-input,.form-textarea,.form-select{padding:.75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;font-family:inherit;color:#333;background:#f9f9f9}.form-input[readOnly],.form-textarea[readOnly]{cursor:not-allowed;background:#f0f0f0}.form-input.editable,.form-textarea.editable,.form-select{background:#fff;cursor:text}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:#667eea;background:#fff}.form-select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}.form-textarea{resize:vertical;min-height:100px}.form-row{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.status-display{padding:.75rem 1rem;border-radius:8px;text-align:center;font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.modal-footer{padding:1.5rem 2rem;border-top:1px solid #e9ecef;display:flex;justify-content:flex-end;gap:1rem}.cancel-button,.save-button{padding:.75rem 2rem;border:none;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.cancel-button{background:#e0e0e0;color:#666}.cancel-button:hover:not(:disabled){background:#d0d0d0}.save-button{background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff}.save-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #ff303066}.save-button:disabled,.cancel-button:disabled{opacity:.6;cursor:not-allowed}.spinner-small{border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;width:16px;height:16px;animation:spin .8s linear infinite}.close-modal-button{padding:.75rem 2rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease}.close-modal-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014}.empty-state svg{color:#ccc;margin-bottom:1.5rem}.empty-state h3{font-size:1.5rem;color:#333;margin:0 0 .75rem}.empty-state p{color:#777;font-size:1rem}.loading-container{text-align:center;padding:4rem 2rem}.spinner-large{border:4px solid #f3f3f3;border-top:4px solid #667eea;height:60px;animation:spin 1s linear infinite;margin:0 auto 1.5rem}@media (max-width: 768px){.spinner-large .capataz-dashboard{padding:1rem}.spinner-large .dashboard-header h2{font-size:1.5rem}.spinner-large .filters-bar{flex-direction:column;padding:1rem;gap:1rem;width:100%;box-sizing:border-box}.spinner-large .search-box{width:100%}.spinner-large .filter-group{width:100%;flex-direction:column;align-items:flex-start;gap:.5rem}.spinner-large .filter-select{width:100%;min-width:0}.spinner-large .clear-filters{width:100%;text-align:center;margin-top:.5rem}.spinner-large .status-dashboard{gap:.5rem;justify-content:flex-start;overflow-x:auto;padding-bottom:.5rem;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.spinner-large .status-card{flex-shrink:0}.spinner-large .tareas-grid{gap:1rem}.spinner-large .tarea-card{padding:1rem;min-height:auto}.spinner-large .card-footer{flex-direction:column;gap:.75rem}.spinner-large .estatus-badge,.spinner-large .edit-button{width:100%;box-sizing:border-box;justify-content:center}.spinner-large .modal-overlay{padding:1rem;align-items:flex-end}.spinner-large .modal-content{max-height:85vh;border-radius:16px}.spinner-large .modal-header{padding:1rem 1.5rem}.spinner-large .modal-body{padding:1.5rem;grid-template-columns:1fr;gap:1rem}.spinner-large .form-row{grid-template-columns:1fr;gap:1rem}.spinner-large .modal-footer{padding:1rem 1.5rem;flex-direction:column-reverse}.spinner-large .cancel-button,.spinner-large .save-button{width:100%;justify-content:center}}@media (max-width: 480px){.spinner-large .dashboard-header h2{font-size:1.25rem}.spinner-large .status-card{padding:.5rem}.spinner-large .status-name{display:none}.spinner-large .status-card.active{transform:none}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container p{color:#666;font-size:1.1rem;font-weight:500}.error-container{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014}.error-container svg{color:#f44;margin-bottom:1.5rem}.error-container h3{font-size:1.5rem;color:#333;margin:0 0 .75rem}.error-container p{color:#777;font-size:1rem}@media (max-width: 480px){.capataz-dashboard{padding:1rem}.dashboard-header h2{font-size:1.35rem}.dashboard-header p{font-size:.9rem}.filters-bar{flex-direction:column;padding:1rem;gap:.75rem}.search-box{width:100%}.search-input{padding:.75rem 2.5rem;font-size:16px}.filter-group{width:100%;flex-direction:column;align-items:stretch;gap:.5rem}.filter-select{min-width:100%;width:100%;font-size:16px;padding:.75rem 2.5rem .75rem 1rem}.status-dashboard{gap:.4rem}.status-card{padding:.45rem .65rem;gap:.5rem}.status-name{font-size:.6rem}.status-count{font-size:.95rem}.status-indicator{width:6px;height:6px}.tareas-grid{gap:1rem}.tarea-card{padding:1rem;min-height:auto;gap:.875rem}.area-badge{font-size:.7rem;padding:.3rem .65rem}.itemizado{font-size:1.1rem}.descripcion{font-size:.9rem}.info-horario{padding:.75rem;gap:.5rem}.info-item{font-size:.85rem;gap:.5rem}.card-footer{flex-direction:column;padding:1rem;gap:.75rem}.estatus-badge{width:100%;font-size:.8rem}.edit-button{width:100%;justify-content:center;min-height:44px;font-size:.9rem}.modal-overlay{padding:0}.modal-content{max-width:100%;width:100%;max-height:100vh;border-radius:0;margin:0}.modal-header{padding:1rem}.modal-header h2{font-size:1.25rem}.modal-body{padding:1rem;grid-template-columns:1fr;gap:1rem}.form-row{grid-template-columns:1fr;gap:1rem}.form-input,.form-textarea,.form-select{font-size:16px;padding:.875rem 1rem}.modal-footer{padding:1rem;flex-direction:column-reverse}.cancel-button,.save-button{width:100%;min-height:48px;font-size:1rem}.mini-thumbnail{width:180px;height:180px}.empty-state{padding:2.5rem 1rem}.empty-state h3{font-size:1.25rem}.empty-state p{font-size:.9rem}}@media (min-width: 481px) and (max-width: 768px){.capataz-dashboard{padding:1.25rem}.dashboard-header h2{font-size:1.6rem}.filters-bar{flex-wrap:wrap;padding:1.25rem}.search-box{flex:1 1 100%;margin-bottom:.5rem}.filter-group{flex:1 1 auto}.filter-select{min-width:180px}.tareas-grid{gap:1.5rem}.tarea-card{padding:1.25rem}.modal-content{max-width:95%;border-radius:16px}.modal-body{grid-template-columns:1fr;gap:1.25rem}.form-row{grid-template-columns:1fr}.mini-thumbnail{width:200px;height:200px}}@media (min-width: 769px) and (max-width: 1024px){.tareas-grid{grid-template-columns:1fr;gap:1.75rem}.filters-bar{flex-wrap:wrap}.modal-content{max-width:90%}}@media (max-width: 768px){.capataz-dashboard{padding:1.5rem}.tareas-grid{grid-template-columns:1fr;gap:1.25rem}.dashboard-header h2{font-size:1.5rem}.horarios{flex-direction:column;gap:.75rem}.clear-filters,.edit-button,.save-button,.cancel-button{min-height:44px}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}}.observacion-display{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;margin:.75rem 0;background:#f5f5f5;border-radius:6px;font-size:.9rem;line-height:1.5}.observacion-image-preview{flex-shrink:0}.mini-thumbnail{width:240px;height:240px;object-fit:cover;border-radius:8px;border:2px solid #ddd;cursor:pointer;transition:all .3s ease;align-self:center}.mini-thumbnail:hover{transform:scale(1.05);border-color:#ff4a4a;box-shadow:0 4px 12px #ff4a4a4d}.observacion-text{color:#555;font-weight:400;word-wrap:break-word;width:100%}.image-lightbox-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;justify-content:center;align-items:center;z-index:10000;animation:fadeIn .3s ease}.image-lightbox-content{position:relative;max-width:90%;max-height:90vh;background:#1a1a1a;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px #00000080}.image-lightbox-content img{max-width:100%;max-height:90vh;display:block}.image-lightbox-close{position:absolute;top:15px;right:15px;background:#ffffff26;border:none;color:#fff;font-size:28px;width:45px;height:45px;border-radius:50%;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;line-height:1}.image-lightbox-close:hover{background:#ff4757e6;transform:rotate(90deg)}.image-upload-container{background:linear-gradient(135deg,#fff,#fff);border-radius:12px;padding:20px;margin-bottom:20px;border:1px solid rgba(0,0,0,.1)}.image-upload-container h3{margin:0 0 15px;font-size:18px;color:#050404;font-weight:600}.upload-form{display:flex;flex-direction:column;gap:15px}.file-input-wrapper{position:relative}.file-input-wrapper input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-input-label{display:block;padding:12px 20px;background:linear-gradient(135deg,#333,#444);border:2px dashed rgba(255,255,255,.3);border-radius:8px;cursor:pointer;text-align:center;color:#ccc;font-size:14px;transition:all .3s ease}.file-input-label:hover{border-color:#ff646499;background:linear-gradient(135deg,#3a3a3a,#4a4a4a);transform:translateY(-2px)}.preview-container{display:flex;justify-content:center;align-items:center;padding:15px;background:#ffffff4d;border-radius:8px}.preview-image{max-width:100%;max-height:300px;border-radius:8px;box-shadow:0 4px 12px #0000004d}.message{padding:12px 16px;border-radius:8px;font-size:14px;font-weight:500;text-align:center}.message.success{background:#2ed5731a;color:#2ed573;border:1px solid rgba(46,213,115,.3)}.message.error{background:#ff47571a;color:#ff4757;border:1px solid rgba(255,71,87,.3)}.button-group{display:flex;gap:10px;justify-content:flex-end}.upload-button,.cancel-button{padding:12px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.upload-button{background:linear-gradient(135deg,#1a1a1a,#ff4757);color:#fff}.upload-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ff475766}.upload-button:disabled{opacity:.6;cursor:not-allowed}.cancel-button{background:transparent;color:#000;border:1px solid rgba(255,255,255,.2)}.cancel-button:hover:not(:disabled){background:#ff02020d;border-color:#ff00004d}.cancel-button:disabled{opacity:.6;cursor:not-allowed}.image-gallery-container{background:linear-gradient(135deg,#fff,#fff);border-radius:12px;padding:20px;border:1px solid rgba(255,255,255,.1)}.image-gallery-container h3{margin:0 0 15px;font-size:18px;color:#000;font-weight:600}.loading,.no-images{text-align:center;padding:30px;color:#888;font-size:14px}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px}.image-item{position:relative;border-radius:8px;overflow:hidden;background:#0000004d;transition:transform .3s ease;cursor:pointer}.image-item:hover{transform:translateY(-4px);box-shadow:0 6px 20px #ff47574d}.thumbnail{width:100%;height:150px;object-fit:cover;display:block}.image-info{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,.8),transparent);padding:10px;display:flex;flex-direction:column;gap:5px;opacity:0;transition:opacity .3s ease}.image-item:hover .image-info{opacity:1}.image-date{font-size:11px;color:#ccc}.image-status{font-size:10px;color:#fff;background:#ff4757cc;padding:2px 8px;border-radius:4px;display:inline-block;font-weight:600;align-self:flex-start}.delete-btn{position:absolute;top:8px;right:8px;background:#ff4757cc;border:none;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:14px;transition:all .3s ease}.delete-btn:hover:not(:disabled){background:#ff4757;transform:scale(1.1)}.delete-btn:disabled{opacity:.5;cursor:not-allowed}.lightbox{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;justify-content:center;align-items:center;z-index:10000;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.lightbox-content{position:relative;max-width:90%;max-height:90vh;background:#1a1a1a;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px #00000080}.lightbox-content img{max-width:100%;max-height:80vh;display:block}.close-btn{position:absolute;top:15px;right:15px;background:#ffffff1a;border:none;color:#fff;font-size:24px;width:40px;height:40px;border-radius:50%;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.close-btn:hover{background:#ff4757cc;transform:rotate(90deg)}.lightbox-info{padding:15px;background:#00000080;color:#ccc;text-align:center;font-size:13px}.lightbox-info p{margin:0}.confirm-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:10001;animation:fadeIn .3s ease}.confirm-content{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border-radius:12px;padding:30px;max-width:400px;box-shadow:0 20px 60px #00000080;border:1px solid rgba(255,255,255,.1)}.confirm-content h4{margin:0 0 10px;color:#fff;font-size:20px}.confirm-content p{margin:0 0 20px;color:#888;font-size:14px}.confirm-buttons{display:flex;gap:10px;justify-content:flex-end}.confirm-delete,.confirm-cancel{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.confirm-delete{background:linear-gradient(135deg,#ff4757,#c0392b);color:#fff}.confirm-delete:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ff475766}.confirm-delete:disabled{opacity:.6;cursor:not-allowed}.confirm-cancel{background:transparent;color:#ccc;border:1px solid rgba(255,255,255,.2)}.confirm-cancel:hover:not(:disabled){background:#ffffff0d;border-color:#ffffff4d}.confirm-cancel:disabled{opacity:.6;cursor:not-allowed}.App{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#fff)}.app-header,.header{background:#fff;box-shadow:0 2px 10px #0000003e;position:sticky;top:0;z-index:100}.header-content{max-width:1400px;margin:0 auto;padding:1.25rem 2rem;display:flex;justify-content:space-between;align-items:center}.logo-section{display:flex;align-items:center;gap:1rem}.logo{height:60px;width:auto;object-fit:contain}.header-content h1{font-size:1.75rem;margin:0;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.user-section{display:flex;align-items:center;gap:1rem}.user-info{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;background:linear-gradient(135deg,#d9505050,#07060825);border-radius:50px}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}.user-details{display:flex;flex-direction:column;gap:.125rem}.user-name{font-weight:600;color:#333;font-size:.95rem}.user-role{font-size:.8rem;color:#666;text-transform:capitalize}.login-link{padding:.75rem 2rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;text-decoration:none;border-radius:50px;font-weight:600;font-size:.95rem;transition:all .3s ease;display:inline-block}.login-link:hover{transform:translateY(-2px);box-shadow:0 10px 25px #fd2c2c66}.logout-button{padding:.625rem 1.5rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);color:#fff;border:2px solid #ff1e1e;border-radius:50px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .3s ease}.logout-button:hover{background:#fff;color:red;transform:translateY(-2px);box-shadow:0 5px 15px #ff16064d}.main-content{max-width:1400px;margin:0 auto;padding:3rem 2rem}.welcome-section{text-align:center;background:#fff;padding:3rem 2rem;border-radius:20px;box-shadow:0 10px 30px #0000001a;max-width:600px;margin:0 auto}.welcome-section h2{font-size:2rem;margin:0 0 1rem;color:#333}.welcome-section p{color:#666;font-size:1.1rem;margin:0;line-height:1.6}.container{display:flex;flex-direction:column;gap:2rem;margin-top:2rem}.form{background:#fff;padding:2rem;border-radius:8px;text-align:left;max-width:600px;margin:0 auto;width:100%}.form h2{margin-top:0}.form input,.form textarea{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;box-sizing:border-box}.file-input-wrapper{margin-bottom:1rem}.file-input-wrapper input[type=file]{display:none}.file-input-wrapper label{display:block;padding:.75rem;background:#fff;border:2px dashed #007bff;border-radius:4px;cursor:pointer;text-align:center;transition:all .3s;color:#007bff;font-weight:500}.file-input-wrapper label:hover{background:#e7f3ff;border-color:#0056b3}.error-message{background:#f44;color:#fff;padding:.75rem;border-radius:4px;margin-bottom:1rem;font-size:.9rem}.upload-result{background:#d4edda;border:1px solid #c3e6cb;border-radius:8px;padding:1.5rem;margin-top:1rem;text-align:left;max-width:600px;margin:1rem auto;width:100%}.upload-result h3{color:#155724;margin-top:0}.upload-result p{margin:.5rem 0;color:#155724}.form button{width:100%;padding:.75rem;background:#007bff;color:#fff;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:background .3s;font-weight:500}.form button:hover{background:#0056b3}.form button:disabled{background:#ccc;cursor:not-allowed}.examples{background:#f4f4f4;padding:2rem;border-radius:8px;text-align:left}.examples h2{margin-top:0;text-align:center}.examples p{text-align:center;color:#666}.table-container{overflow-x:auto;margin-top:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}table{width:100%;border-collapse:collapse;min-width:800px}thead{background:#007bff;color:#fff;position:sticky;top:0;z-index:10}th{padding:1rem;text-align:left;font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}td{padding:.75rem 1rem;border-bottom:1px solid #dee2e6;font-size:.95rem}tbody tr:hover{background:#f8f9fa}tbody tr:last-child td{border-bottom:none}td:nth-child(1){width:60px;font-weight:600;color:#007bff}td:nth-child(3){width:120px}td:nth-child(5){width:150px}td:nth-child(6),td:nth-child(7){width:120px;white-space:nowrap}td:nth-child(8){width:180px;font-size:.85rem;color:#666}@media (max-width: 480px){.header-content{flex-direction:column;gap:.75rem;padding:.75rem}.logo{height:45px}.header-content h1{font-size:1.25rem;text-align:center}.user-section{width:100%;justify-content:center}.user-info{padding:.4rem .75rem;width:100%;max-width:280px}.user-avatar{width:32px;height:32px;font-size:.9rem}.user-name{font-size:.85rem}.user-role{font-size:.75rem}.login-link,.logout-button{padding:.625rem 1.25rem;font-size:.85rem;min-height:44px;width:100%;max-width:280px;text-align:center}.main-content{padding:1.5rem .75rem}.welcome-section{padding:1.5rem 1rem;border-radius:12px}.welcome-section h2{font-size:1.35rem}.welcome-section p{font-size:.9rem}.form,.upload-result{max-width:100%;padding:1.25rem}.form input,.form textarea{font-size:16px;padding:.875rem}.form button{min-height:48px;font-size:1rem}.table-container{margin:0 -.75rem}table{min-width:600px}th,td{padding:.5rem .4rem;font-size:.8rem}th{font-size:.75rem}}@media (min-width: 481px) and (max-width: 768px){.header-content{flex-direction:row;flex-wrap:wrap;gap:1rem;padding:1rem 1.5rem;justify-content:space-between}.logo{height:50px}.header-content h1{font-size:1.4rem}.user-info{padding:.5rem .875rem}.user-avatar{width:36px;height:36px;font-size:1rem}.login-link,.logout-button{min-height:44px}.main-content{padding:2rem 1.25rem}.welcome-section{padding:2rem 1.5rem}.welcome-section h2{font-size:1.6rem}.form,.upload-result{max-width:100%}th,td{padding:.625rem .5rem;font-size:.85rem}}@media (max-width: 768px){.header-content{flex-direction:column;gap:1rem;padding:1rem}.header-content h1{font-size:1.5rem}.user-info{padding:.5rem .75rem}.main-content{padding:2rem 1rem}.welcome-section{padding:2rem 1.5rem}.welcome-section h2{font-size:1.5rem}.welcome-section p{font-size:1rem}.form,.upload-result{max-width:100%}th,td{padding:.5rem;font-size:.85rem}.table-container{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-container:after{content:"→ Desliza para ver más";position:absolute;right:0;top:50%;transform:translateY(-50%);background:linear-gradient(to left,rgba(255,255,255,.95),transparent);padding:.5rem 1rem;font-size:.75rem;color:#666;pointer-events:none;opacity:.8}}.admin-general-section,.admin-total-section,.capataz-section{display:flex;flex-direction:column;gap:2rem}.admin-total-section h3{text-align:center;font-size:1.5rem;margin-bottom:1rem;background:linear-gradient(135deg,#000 20%,#ff4a4a 80%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ff6d6dde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}}
