@charset "UTF-8";.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:2100;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-overlay.modal-overlay-edicion{z-index:2200;background-color:#000000bf}.modal-overlay.modal-overlay-desbloqueo{z-index:2300;background-color:#000c}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:85vh;overflow-y:auto;box-shadow:0 10px 40px #00000040;animation:slideIn .3s cubic-bezier(.34,1.56,.64,1)}@keyframes slideIn{0%{transform:scale(.9) translateY(-20px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.modal-content.modal-confirmacion,.modal-content.modal-resultado{max-width:420px}.modal-content.modal-editar{max-width:600px}.modal-content.modal-credenciales{max-width:480px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.75rem 2rem;border-bottom:1px solid #e9ecef;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:12px 12px 0 0}.modal-header h3{margin:0;color:#2c3e50;font-size:1.35rem;font-weight:600;letter-spacing:-.02em}.modal-header.success{background:linear-gradient(135deg,#d4edda,#c3e6cb);border-bottom-color:#b1dfbb}.modal-header.success h3{color:#155724}.modal-header.error{background:linear-gradient(135deg,#f8d7da,#f5c6cb);border-bottom-color:#f1b0b7}.modal-header.error h3{color:#721c24}.modal-header .btn-close-modal{background:#6c757d1a;border:none;border-radius:8px;font-size:1.5rem;color:#6c757d;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.modal-header .btn-close-modal:hover{background:#dc35451a;color:#dc3545;transform:rotate(90deg)}.modal-header .btn-close-modal:active{transform:rotate(90deg) scale(.9)}.modal-header .btn-close-modal:disabled{opacity:.5;cursor:not-allowed}.modal-header .btn-close-modal:disabled:hover{background:#6c757d1a;color:#6c757d;transform:none}.modal-body{padding:2rem}.modal-body .form-group{margin-bottom:1.5rem}.modal-body .form-group:last-child{margin-bottom:0}.modal-body .form-group label{display:block;font-weight:600;color:#495057;margin-bottom:.6rem;font-size:.95rem;letter-spacing:.01em}.modal-body .form-group input,.modal-body .form-group select,.modal-body .form-group textarea{width:100%;padding:.85rem 1rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;font-family:inherit;transition:all .2s ease;background-color:#f8f9fa}.modal-body .form-group input:focus,.modal-body .form-group select:focus,.modal-body .form-group textarea:focus{outline:none;border-color:#4a90e2;background-color:#fff;box-shadow:0 0 0 3px #4a90e21a}.modal-body .form-group input:disabled,.modal-body .form-group select:disabled,.modal-body .form-group textarea:disabled{background-color:#e9ecef;cursor:not-allowed;opacity:.7}.modal-body .form-group input.error,.modal-body .form-group select.error,.modal-body .form-group textarea.error{border-color:#dc3545}.modal-body .form-group input.error:focus,.modal-body .form-group select.error:focus,.modal-body .form-group textarea.error:focus{border-color:#dc3545;box-shadow:0 0 0 3px #dc35451a}.modal-body .form-group textarea{min-height:100px;resize:vertical}.modal-body .form-group .error-message{color:#dc3545;font-size:.875rem;margin-top:.4rem;display:block}.modal-body .mensaje-confirmacion,.modal-body .mensaje-resultado{text-align:center;padding:1rem 0}.modal-body .mensaje-confirmacion p,.modal-body .mensaje-resultado p{font-size:1.1rem;color:#495057;line-height:1.6;margin:0}.modal-body .mensaje-confirmacion .icono-confirmacion,.modal-body .mensaje-resultado .icono-confirmacion{font-size:3rem;margin-bottom:1rem;display:block}.modal-body .loader-container{display:flex;flex-direction:column;align-items:center;gap:1rem}.modal-body .loader-container .loader{border:4px solid #f3f3f3;border-top:4px solid #4a90e2;border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.modal-body .loader-container .mensaje-procesando{font-size:1.1rem;color:#495057;margin:0;font-weight:500}.modal-footer{display:flex;gap:.75rem;justify-content:flex-end;padding:1.5rem 2rem;border-top:1px solid #e9ecef;background-color:#f8f9fa;border-radius:0 0 12px 12px}.modal-footer button{padding:.75rem 1.75rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;letter-spacing:.02em;display:inline-flex;align-items:center;gap:.5rem;min-width:100px;justify-content:center}.modal-footer button:active{transform:scale(.97)}.modal-footer button.btn-primary{background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff;box-shadow:0 2px 8px #4a90e24d}.modal-footer button.btn-primary:hover{background:linear-gradient(135deg,#357abd,#2868a8);box-shadow:0 4px 12px #4a90e266;transform:translateY(-1px)}.modal-footer button.btn-primary:disabled{background:#95a5a6;cursor:not-allowed;box-shadow:none;transform:none}.modal-footer button.btn-secondary{background:#fff;color:#6c757d;border:2px solid #dee2e6;box-shadow:0 2px 4px #0000000d}.modal-footer button.btn-secondary:hover{background:#f8f9fa;border-color:#6c757d;color:#495057;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.modal-footer button.btn-danger{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;box-shadow:0 2px 8px #e74c3c4d}.modal-footer button.btn-danger:hover{background:linear-gradient(135deg,#c0392b,#a93226);box-shadow:0 4px 12px #e74c3c66;transform:translateY(-1px)}.modal-footer button.btn-danger:disabled{background:#95a5a6;cursor:not-allowed;box-shadow:none;transform:none}.modal-footer button.btn-success{background:linear-gradient(135deg,#27ae60,#229954);color:#fff;box-shadow:0 2px 8px #27ae604d}.modal-footer button.btn-success:hover{background:linear-gradient(135deg,#229954,#1e8449);box-shadow:0 4px 12px #27ae6066;transform:translateY(-1px)}.modal-footer button.btn-success:disabled{background:#95a5a6;cursor:not-allowed;box-shadow:none;transform:none}@media (max-width: 768px){.modal-content{width:95%;max-height:90vh;border-radius:16px}.modal-content.modal-confirmacion,.modal-content.modal-resultado,.modal-content.modal-editar{max-width:95%}.modal-header{padding:1.5rem 1.25rem}.modal-header h3{font-size:1.2rem}.modal-header .btn-close-modal{width:32px;height:32px;font-size:1.3rem}.modal-body{padding:1.5rem 1.25rem}.modal-footer{padding:1.25rem;flex-direction:column-reverse}.modal-footer button{width:100%;min-width:auto}}.credenciales-info{color:#6c757d;font-size:.9rem;margin-bottom:1.25rem;line-height:1.5}.password-input-container{display:flex;gap:0;position:relative}.password-input-container input{flex:1;border-top-right-radius:0!important;border-bottom-right-radius:0!important}.password-input-container .btn-toggle-password{display:flex;align-items:center;justify-content:center;padding:0 .85rem;border:2px solid #e9ecef;border-left:none;border-radius:0 8px 8px 0;background:#f8f9fa;color:#6c757d;cursor:pointer;transition:all .2s ease}.password-input-container .btn-toggle-password:hover:not(:disabled){background:#e9ecef;color:#495057}.password-input-container .btn-toggle-password:disabled{opacity:.5;cursor:not-allowed}.btn-generar-password{display:inline-block;margin-top:.5rem;padding:.4rem .75rem;background:none;border:1px dashed #4a90e2;border-radius:6px;color:#4a90e2;font-size:.85rem;cursor:pointer;transition:all .2s ease}.btn-generar-password:hover:not(:disabled){background:#4a90e214;border-style:solid}.btn-generar-password:disabled{opacity:.5;cursor:not-allowed}.select-eliminar{width:100%;padding:.85rem 1rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;background-color:#f8f9fa;cursor:pointer;transition:all .2s ease}.select-eliminar:focus{outline:none;border-color:#4a90e2;background-color:#fff;box-shadow:0 0 0 3px #4a90e21a}.form-check{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.form-check input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#4a90e2}.form-check label{margin:0;cursor:pointer;-webkit-user-select:none;user-select:none}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0;color:#111827;background-color:#f8fafc;min-height:100vh;font-feature-settings:"kern" 1,"liga" 1;-webkit-font-feature-settings:"kern" 1,"liga" 1;-moz-font-feature-settings:"kern" 1,"liga" 1}a{color:#2563eb;text-decoration:none;transition:color .2s cubic-bezier(.4,0,.2,1)}a:hover{color:#1d4ed8}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.25;letter-spacing:-.025em;color:#111827;margin:0}h1{font-size:1.875rem;font-weight:800}h2{font-size:1.5rem;font-weight:700}h3{font-size:1.25rem;font-weight:600}h4{font-size:1.125rem;font-weight:600}h5,h6{font-size:1rem;font-weight:500}p{line-height:1.75;margin:0}ul,ol{line-height:1.75}code,pre{font-family:SF Mono,Monaco,Inconsolata,Fira Mono,Droid Sans Mono,Source Code Pro,monospace;font-size:.875em}html{scroll-behavior:smooth}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f3f4f6}::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:.375rem}::-webkit-scrollbar-thumb:hover{background:#6b7280}
