#solicitudes-container{max-width:1200px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}.btn-procesando{opacity:.7;cursor:not-allowed!important;pointer-events:auto;position:relative}.btn-procesando:hover{transform:none!important;box-shadow:none!important;background-color:inherit!important}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fa-spin{animation:spin 1s linear infinite}.btn-accion.btn-procesando{opacity:.5;transform:none!important}.btn-accion.btn-procesando:hover{transform:none!important;box-shadow:none!important}.header-container{padding:20px;text-align:center}.header-container h1{font-family:'Roboto Serif',serif;font-weight:800;font-size:3em;color:#1b8f36;text-shadow:-1px 2px 4px #000;letter-spacing:1px;padding:10px 20px;border:none;border-bottom:3px solid #fff0;transition:border-bottom-width 0.4s ease-in-out,border-bottom-color 0.4s ease-in-out;display:inline-block}h1:hover{border-bottom-width:3px;border-bottom-color:#15732b}.solicitudes-nav{display:flex;gap:10px;margin-bottom:20px;align-items:center}.nav-btn{padding:10px 20px;border:2px solid #007cba;background:#fff;color:#007cba;cursor:pointer;border-radius:5px;transition:all 0.3s ease}.nav-btn.active,.nav-btn:hover{background:#007cba;color:#fff}.btn-primary{background:#007cba;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-weight:700;margin-left:auto;transition:all 0.3s ease}.btn-primary:hover:not(.btn-procesando){background:#005a87}.btn-secondary{background:#6c757d;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;transition:all 0.3s ease}.btn-secondary:hover:not(.btn-procesando){background:#545b62}.filtros-container{display:flex;gap:20px;margin-bottom:20px;flex-wrap:wrap;align-items:flex-end;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.filtro-grupo{display:flex;flex-direction:column;gap:5px}.filtro-grupo label{font-size:12px;font-weight:600;color:#495057;text-transform:uppercase;letter-spacing:.5px}.filtros-container input,.filtros-container select{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;background:#fff;transition:border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out}.filtros-container input:focus,.filtros-container select:focus{border-color:#007cba;outline:0;box-shadow:0 0 0 .2rem rgb(0 124 186 / .25)}.filtros-container input[type="week"],.filtros-container input[type="month"]{min-width:150px}.filtros-container select{min-width:180px}#btn-filtrar{background:#28a745;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color 0.15s ease-in-out}#btn-filtrar:hover:not(.btn-procesando){background:#218838}#btn-limpiar-filtros{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color 0.15s ease-in-out}#btn-limpiar-filtros:hover:not(.btn-procesando){background:#545b62}.tabla-scroll-wrapper{width:100%;overflow-x:auto;margin-bottom:20px;padding:10px;border-radius:8px;box-shadow:0 2px 4px rgb(0 0 0 / .1)}#tabla-solicitudes{width:100%;min-width:800px;border-collapse:collapse;background:#fff}#tabla-solicitudes th{background:#007cba;color:#fff;padding:12px;text-align:center;font-weight:600;white-space:nowrap}#tabla-solicitudes td{padding:12px;border-bottom:1px solid #eee;text-align:center;vertical-align:middle}#tabla-solicitudes tr:hover{background:#f8f9fa}.acciones-cell{white-space:nowrap;text-align:center;width:160px}.estado{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:700;white-space:nowrap;text-transform:uppercase}.estado-solicitado{background:#ffebee;color:#c62828}.estado-proceso{background:#fff3e0;color:#ef6c00}.estado-aprobado{background:#e8f5e8;color:#2e7d32}.btn-accion{padding:2px;margin:2px;border:none;border-radius:50%;cursor:pointer;font-size:20px;transition:all 0.3s ease;width:50px;height:50px;display:inline-flex;align-items:center;justify-content:center;position:relative}.btn-accion:hover:not(.btn-procesando){transform:scale(1.1);box-shadow:0 2px 8px rgb(0 0 0 / .2)}.btn-editar-estado{background:#ffc107;color:#212529}.btn-editar-estado:hover:not(.btn-procesando){background:#e0a800}.btn-editar-fecha{background:#17a2b8;color:#fff}.btn-editar-fecha:hover:not(.btn-procesando){background:#138496}.btn-ver-detalle{background:#6f42c1;color:#fff}.btn-ver-detalle:hover:not(.btn-procesando){background:#5a32a3}.btn-eliminar{background:#dc3545;color:#fff}.btn-eliminar:hover:not(.btn-procesando){background:#c82333}.btn-accion::after{content:attr(data-tooltip);position:absolute;bottom:55px;left:50%;transform:translateX(-50%);background:#333;color:#fff;padding:5px;border-radius:4px;font-size:10px;white-space:nowrap;opacity:0;visibility:hidden;transition:all 0.3s ease;z-index:10000;pointer-events:none}.btn-accion::before{content:'';position:absolute;top:-5px;left:50%;transform:translateX(-50%);border:5px solid #fff0;border-top-color:#333;opacity:0;visibility:hidden;transition:all 0.3s ease;z-index:10000}.btn-accion:hover:not(.btn-procesando)::after,.btn-accion:hover:not(.btn-procesando)::before{opacity:1;visibility:visible}.btn-accion i{font-size:20px}.btn-danger{background:#dc3545;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-weight:700;transition:all 0.3s ease}.btn-danger:hover:not(.btn-procesando){background:#c82333}.modal{display:none;position:fixed;z-index:999999!important;left:0;top:0;width:100%;height:100%;background-color:rgb(0 0 0 / .5)}.modal-content{background-color:#fff;margin:5% auto;padding:20px;border-radius:8px;width:90%;max-width:600px;position:relative;box-shadow:0 4px 6px rgb(0 0 0 / .1)}.modal-small{max-width:400px}.mensaje-confirmacion{margin:20px 0;text-align:center}.mensaje-confirmacion p{margin-bottom:10px;line-height:1.5}.mensaje-confirmacion .strong{color:#dc3545}.alert{padding:12px 20px;margin-bottom:20px;border-radius:5px;font-weight:500;position:relative}.alert-success{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}.alert-error{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.close{color:#aaa;float:right;font-size:28px;font-weight:700;cursor:pointer;line-height:1}.close:hover{color:#000}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;box-sizing:border-box}.form-group textarea{height:100px;resize:vertical}.form-group input[readonly]{background-color:#f8f9fa;cursor:not-allowed}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:30px}.calendario-navegacion{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.calendario-navegacion h3{margin:0;color:#007cba;text-transform:capitalize;font-size:18px}.btn-nav-calendario{background:#007cba;color:#fff;border:none;padding:8px 15px;border-radius:50%;cursor:pointer;font-size:16px;font-weight:700;transition:all 0.3s ease;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.btn-nav-calendario:hover:not(.btn-procesando){background:#005a87;transform:scale(1.1)}.calendario-header{text-align:center;margin-bottom:20px}.calendario-header h3{margin:0;color:#007cba;text-transform:capitalize}.calendario-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#dee2e6;border-radius:8px;overflow:hidden}.dia-semana{background:#007cba;color:#fff;padding:10px;text-align:center;font-weight:700;font-size:12px}.dia-calendario,.dia-vacio{background:#fff;min-height:80px;padding:5px;position:relative;cursor:pointer}.dia-vacio{background:#f8f9fa;cursor:default}.dia-calendario.tiene-solicitudes{padding:0;overflow:hidden}.dia-calendario.dia-solicitado{background-color:#ffcdd2}.dia-calendario.dia-proceso{background-color:#ffe0b2}.dia-calendario.dia-aprobado{background-color:#c8e6c9}.numero-dia{font-weight:700;color:#333;margin-bottom:5px;padding:5px;position:absolute;top:0;left:0;z-index:2;background:rgb(255 255 255 / .8);border-radius:0 0 8px 0;min-width:20px;text-align:center;font-size:12px}.solicitudes-dia{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px 5px 5px 5px;z-index:1}.solicitud-calendario{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;font-weight:700;border-radius:4px;margin:1px 0;position:relative;transition:all 0.3s ease;min-height:45px}.dia-calendario.tiene-solicitudes:hover{transform:scale(1.02);box-shadow:0 4px 8px rgb(0 0 0 / .15);z-index:10}.dia-calendario.tiene-solicitudes:hover::after{content:attr(data-descripcion);position:absolute;top:-10px;left:50%;transform:translateX(-50%) translateY(-100%);background:#fff;color:#333;padding:12px 16px;border-radius:8px;box-shadow:0 4px 12px rgb(0 0 0 / .25);font-size:13px;font-weight:400;max-width:250px;z-index:999;white-space:normal;line-height:1.4;border:1px solid #e0e0e0;animation:fadeInTooltip 0.3s ease-in-out;pointer-events:none}@keyframes fadeInTooltip{from{opacity:0;transform:translateX(-50%) translateY(-100%) translateY(-5px)}to{opacity:1;transform:translateX(-50%) translateY(-100%)}}.solicitud-calendario.estado-solicitado{background:rgb(255 205 210 / .9);color:#c62828}.solicitud-calendario.estado-proceso{background:rgb(255 224 178 / .9);color:#ef6c00}.solicitud-calendario.estado-aprobado{background:rgb(200 230 201 / .9);color:#2e7d32}.leyenda-calendario{display:flex;justify-content:center;gap:30px;margin-top:20px;padding:15px;background:#f8f9fa;border-radius:8px}.leyenda-item{display:flex;align-items:center;gap:8px;font-size:14px}.color-solicitado,.color-proceso,.color-aprobado{width:20px;height:20px;border-radius:4px;border:2px solid}.color-solicitado{background:#ffcdd2;border-color:#c62828}.color-proceso{background:#ffe0b2;border-color:#ef6c00}.color-aprobado{background:#c8e6c9;border-color:#2e7d32}.detalle-info{margin-top:20px}.detalle-info p{margin-bottom:15px;line-height:1.6}.detalle-info strong{color:#007cba;display:inline-block;min-width:150px}@media (max-width:768px){.filtros-container{flex-direction:column;align-items:stretch;gap:15px}.filtro-grupo{width:100%}.filtros-container input,.filtros-container select{width:100%;min-width:unset}.filtro-grupo:last-child{display:flex;flex-direction:row;gap:10px}.filtro-grupo:last-child button{flex:1}.solicitudes-nav{flex-wrap:wrap}.nav-btn{flex:1;min-width:120px}.tabla-scroll-wrapper{-webkit-overflow-scrolling:touch}#tabla-solicitudes{min-width:800px}.btn-accion::after{bottom:-35px;font-size:11px;padding:4px 8px}.btn-accion::before{bottom:-25px;border-width:4px}.modal-content{margin:10% 5%;width:90%}.calendario-grid{font-size:12px}.dia-calendario{min-height:60px}.solicitud-calendario{font-size:10px;min-height:35px}.numero-dia{font-size:10px}.dia-calendario.tiene-solicitudes:hover::after{max-width:200px;font-size:12px}.leyenda-calendario{flex-direction:column;gap:15px}}@media (max-width:480px){#solicitudes-container{padding:10px}.modal-content{margin:5%;padding:15px}.form-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}.btn-accion{width:28px;height:28px;font-size:12px;margin:1px}.btn-accion i{font-size:10px}.acciones-cell{width:140px}.dia-calendario.tiene-solicitudes:hover::after{max-width:180px;font-size:11px;padding:8px 12px}}.btn-accion:focus{outline:2px solid #007cba;outline-offset:2px}#tabla-solicitudes tbody tr{animation:fadeInRow 0.3s ease-in-out}@keyframes fadeInRow{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1024px) and (min-width:769px){.tabla-scroll-wrapper::after{content:"Desliza horizontalmente para ver más →";display:block;text-align:center;font-size:12px;color:#6c757d;padding:10px;background:#f8f9fa;border-top:1px solid #e9ecef}.tabla-scroll-wrapper:hover::after{opacity:.5}.header-container h1{font-size:2em}}