@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--primary-color: #022ba2;--primary-light: blue;--primary-dark: #502D75;--secondary-color: #f8fafc;--text-color: #1e293b;--text-light: #64748b;--success-color: #10b981;--warning-color: #f59e0b;--danger-color: #ef4444;--border-color: #e2e8f0;--shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--radius: 8px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:var(--text-color);background-color:#fff;min-height:100vh}a{color:var(--primary-color);text-decoration:none;transition:color .2s}a:hover{color:var(--primary-light);text-decoration:none}button{cursor:pointer;font-family:inherit;border:none;border-radius:var(--radius);padding:10px 16px;background-color:var(--primary-color);color:#fff;font-size:.9rem;transition:all .2s;font-weight:500}button:hover{background-color:var(--primary-light);transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}button:active{transform:translateY(0);box-shadow:none}button:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}input{font-family:inherit;border:1px solid var(--border-color);border-radius:var(--radius);padding:10px 12px;font-size:.95rem;width:100%;transition:all .2s}input:focus{outline:none;border-color:var(--primary-light);box-shadow:0 0 0 3px #3b82f633}label{font-weight:500;font-size:.9rem;color:var(--text-color)}.container{max-width:1200px;margin:0 auto;padding:0 20px}.flex{display:flex}.flex-col{flex-direction:column}.flex-1{flex:1}.items-center{align-items:center}.justify-between{justify-content:space-between}.mt-1{margin-top:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.p-4{padding:1rem}.error-message{color:var(--danger-color);background-color:#ef44441a;border:1px solid rgba(239,68,68,.2);padding:10px 12px;border-radius:var(--radius);margin-bottom:1rem;font-size:.9rem}.btn-primary{background-color:var(--primary-color)}.btn-danger{background-color:var(--danger-color)}.btn-block{display:block;width:100%}.btn-small{padding:6px 10px;font-size:.8rem}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:var(--secondary-color);background:linear-gradient(135deg,#fff,#f1f5f9)}.auth-form{background:#fff;width:100%;max-width:420px;padding:2.5rem;border-radius:var(--radius);box-shadow:var(--shadow);position:relative;overflow:hidden}.auth-form:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--primary-color),var(--primary-light))}.auth-logo{display:flex;justify-content:center;margin-bottom:1.5rem}.auth-logo img{height:150px;width:auto}.auth-title{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;text-align:center;color:var(--primary-color)}.forgot-password-link{background:none;border:none;color:var(--primary-color);text-decoration:underline;cursor:pointer;font-size:.875rem;padding:0;margin:0;transition:color .2s ease}.forgot-password-link:hover{color:var(--primary-dark);text-decoration:underline}.dashboard{display:flex;min-height:100vh;background-color:var(--secondary-color)}.sidebar{width:260px;background-color:var(--primary-color);color:#fff;padding:1.5rem;display:flex;flex-direction:column;box-shadow:2px 0 10px #0000001a;z-index:10}.sidebar-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:2rem}.sidebar-brand-logo{width:100px;height:auto;margin-bottom:.5rem}.sidebar-brand-text{font-size:1.2rem;font-weight:700;text-align:center}.logo{display:flex;align-items:center;gap:10px}.logo img{width:32px;height:32px;object-fit:cover}.sidebar-nav{flex:1}.sidebar-nav ul{list-style:none}.sidebar-nav li{margin-bottom:.75rem}.sidebar-nav a{display:flex;align-items:center;color:#ffffffd9;padding:10px 12px;border-radius:var(--radius);transition:all .2s;font-weight:500}.sidebar-nav a .icon{font-size:1.2rem;margin-right:12px;display:inline-block}.sidebar-nav a:hover{background-color:#ffffff1a;color:#fff;text-decoration:none}.sidebar-nav a.active{background-color:#ffffff26;color:#fff;text-decoration:none;box-shadow:0 4px 8px #0000001a}.user-profile{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.user-email{font-size:.85rem;color:#ffffffb3;margin-bottom:.75rem;word-break:break-all}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.main-header{padding:1rem 1.5rem;background-color:#fff;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px #0000000d}.main-title{font-size:1.3rem;font-weight:600;color:var(--primary-color)}.user-info{display:flex;align-items:center;gap:10px}.user-role{display:inline-block;background-color:#1e40af1a;color:var(--primary-color);font-size:.8rem;padding:4px 10px;border-radius:20px;font-weight:500}.main-content-body{padding:1.5rem;overflow-y:auto;flex:1}.card{background-color:#fff;border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow);border:1px solid var(--border-color);transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.card-title{font-size:1.1rem;font-weight:600;margin-bottom:.75rem;color:var(--primary-color);display:flex;align-items:center}.grid{display:grid;grid-gap:1.5rem}.grid-2{grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.grid-4{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.stat-card{padding:1rem;display:flex;flex-direction:column;background-color:#fff;border-radius:var(--radius);box-shadow:var(--shadow);transition:transform .2s}.stat-card:hover{transform:translateY(-2px)}.stat-title{font-size:.9rem;font-weight:600;margin-bottom:.5rem;color:var(--text-light)}.stat-value{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:var(--primary-color)}.stat-date{font-size:.8rem;color:var(--text-light);margin-top:auto}.empty-state{text-align:center;padding:2rem;color:var(--text-light);border:1px dashed var(--border-color);border-radius:var(--radius);background-color:#f1f5f980;font-size:.95rem}.facturas-table{width:100%;border-collapse:collapse;margin-top:1rem;border-radius:var(--radius);overflow:hidden}.facturas-table th,.facturas-table td{text-align:left;padding:.75rem 1rem;border-bottom:1px solid var(--border-color)}.facturas-table th{font-weight:600;background-color:var(--secondary-color);color:var(--text-color);font-size:.9rem;text-transform:uppercase;letter-spacing:.025em}.facturas-table tr:last-child td{border-bottom:none}.facturas-table tr:hover{background-color:#f1f5f980}.factura-resumen{margin-top:2rem}.factura-resumen-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.quick-facturas-list{margin-top:1rem}.quick-factura-item{padding:1rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;transition:background-color .2s}.quick-factura-item:hover{background-color:#f1f5f980}.quick-factura-item:last-child{border-bottom:none}.quick-factura-info{display:flex;flex-direction:column}.quick-factura-number{font-weight:600;color:var(--text-color)}.quick-factura-date{font-size:.85rem;color:var(--text-light);margin-top:.25rem}.quick-factura-details{text-align:right}.quick-factura-amount{font-weight:600;font-size:1.1rem;color:var(--primary-color)}.quick-factura-status{font-size:.85rem;margin-top:.25rem;font-weight:500}.status-paid,.status-pagada{color:var(--success-color)}.status-pending,.status-pendiente{color:var(--warning-color)}.status-cancelled,.status-cancelada{color:var(--danger-color)}.factura-details{margin-top:1.5rem;border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background-color:#fff}.factura-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem;background-color:var(--secondary-color);border-bottom:1px solid var(--border-color)}.factura-header h3{font-size:1.2rem;font-weight:600;margin:0;color:var(--primary-color)}.factura-status{display:inline-block;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600}.factura-info{padding:1.25rem;border-bottom:1px solid var(--border-color)}.factura-row{display:flex;margin-bottom:.75rem}.factura-row:last-child{margin-bottom:0}.factura-label{flex:0 0 120px;font-weight:600;color:var(--text-light)}.factura-value{flex:1;color:var(--text-color)}.factura-total{font-weight:700;font-size:1.1rem;color:var(--primary-color)}.factura-section-title{padding:.75rem 1.25rem;background-color:var(--secondary-color);border-bottom:1px solid var(--border-color);font-size:1rem;margin:0;font-weight:600;color:var(--text-color)}.factura-table{width:100%;border-collapse:collapse}.factura-table th,.factura-table td{text-align:left;padding:.75rem 1.25rem;border-bottom:1px solid var(--border-color)}.factura-table th{background-color:var(--secondary-color);font-weight:600;color:var(--text-color);font-size:.9rem}.factura-table tr:last-child td{border-bottom:none}.factura-actions{padding:1.25rem;display:flex;justify-content:flex-end;gap:.75rem;background-color:#fff}.welcome-banner{background:linear-gradient(135deg,var(--primary-color) 0%,var(--primary-light) 100%);color:#fff;padding:2rem;border-radius:var(--radius);margin-bottom:1.5rem;box-shadow:var(--shadow);text-align:center;position:relative;overflow:hidden}.welcome-banner h2{font-size:1.8rem;font-weight:700;margin-bottom:.5rem}.welcome-banner p{font-size:1.1rem;opacity:.9}.loading{text-align:center;padding:3rem;color:var(--text-light);display:flex;flex-direction:column;align-items:center;gap:1rem}.loader{border:4px solid rgba(107,63,160,.1);border-radius:50%;border-top:4px solid var(--primary-color);width:40px;height:40px;animation:spin 1s linear infinite}@media (max-width: 768px){.dashboard{flex-direction:column}.sidebar{width:100%;padding:1rem}.grid-4,.grid-2{grid-template-columns:1fr}.factura-details,.facturas-table{font-size:.9rem}.factura-label{flex:0 0 100px}}.actions-bar{display:flex;justify-content:space-between;margin-bottom:1rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mr-2{margin-right:.5rem}.form-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}.form-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.btn-sm{padding:.25rem .5rem;font-size:.875rem}.conceptos-list{max-height:200px;overflow-y:auto;border:1px solid #ddd;border-radius:4px;padding:.5rem}.concepto-item{padding:.5rem;border-bottom:1px solid #eee}.concepto-item:last-child{border-bottom:none}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.success-message{background-color:#0080001a;border:1px solid green;color:green;padding:.5rem 1rem;border-radius:4px;margin-bottom:1rem}.factura-resumen{background-color:#f9f9f9;border:1px solid #ddd;border-radius:4px;padding:1rem;margin:1rem 0}.resumen-item{display:flex;justify-content:space-between;padding:.25rem 0}.resumen-item.total{font-weight:700;border-top:1px solid #ddd;margin-top:.5rem;padding-top:.5rem}.empty-state,.loading{text-align:center;padding:2rem;color:#666}.dashboard-actions{display:flex;gap:.5rem}.table-container{overflow-x:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.data-table th{background-color:#f5f5f5;font-weight:700}.grid-3{grid-template-columns:repeat(3,1fr)}.subsection-title{font-size:1rem;margin-bottom:1rem;color:var(--primary-color);border-bottom:1px solid var(--border-color);padding-bottom:.5rem}.conceptos-agregados{border:1px solid var(--border-color);border-radius:4px;padding:1rem;background-color:#f9f9f9}select{font-family:inherit;border:1px solid var(--border-color);border-radius:var(--radius);padding:10px 12px;font-size:.95rem;width:100%;transition:all .2s;background-color:#fff}select:focus{outline:none;border-color:var(--primary-light);box-shadow:0 0 0 3px #3b82f633}.btn-success{background-color:var(--success-color)}.btn-success:hover{background-color:#0ea271}.add-btn{display:flex;align-items:flex-end}.btn-secondary{background-color:#64748b}.btn-secondary:hover{background-color:#475569}.factura-summary{margin-top:1rem;padding:1rem;background-color:#f9f9f9;border:1px solid var(--border-color);border-radius:var(--radius)}.factura-summary-row{display:flex;justify-content:space-between;padding:.5rem 0}.factura-summary-row.total{border-top:1px solid var(--border-color);margin-top:.5rem;padding-top:.5rem;font-weight:700;font-size:1.1rem;color:var(--primary-color)}.quick-factura-client{font-size:.85rem;color:var(--text-light);margin-top:.25rem}.password-reset-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.password-reset-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:450px;width:90%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}.password-reset-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 0;border-bottom:1px solid #e5e7eb;margin-bottom:24px}.password-reset-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.password-reset-content{padding:0 24px 24px}.password-reset-content p{margin:0 0 20px;color:#6b7280;line-height:1.5}.password-reset-content .text-small{font-size:.875rem;color:#9ca3af;margin-top:12px}.password-reset-content .info-text{background-color:#f0f9ff;border:1px solid #bae6fd;color:#0369a1;padding:12px 16px;border-radius:8px;margin:16px 0;font-size:.875rem;line-height:1.4}.password-reset-content .info-text strong{font-weight:600}.password-reset-content .mb-4{margin-bottom:20px}.password-reset-content label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:.875rem}.password-reset-content input{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;transition:all .2s ease;box-sizing:border-box}.password-reset-content input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.password-reset-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.btn-primary,.btn-secondary{padding:12px 24px;border-radius:8px;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s ease;border:none;min-width:100px}.btn-primary:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px)}.btn-primary:disabled{background-color:#9ca3af;cursor:not-allowed;transform:none}.error-message{background-color:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:.875rem}.success-message{background-color:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a;padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:.875rem;font-weight:500}.success-content{text-align:center}.success-content .btn-primary{margin-top:20px;width:100%}@media (max-width: 480px){.password-reset-modal{margin:20px;width:calc(100% - 40px)}.password-reset-header,.password-reset-content{padding-left:20px;padding-right:20px}.password-reset-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}}.create-invoice-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.create-invoice-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:800px;width:95%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}.create-invoice-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.create-invoice-header h3{margin:0;font-size:1.25rem;font-weight:600}.close-button{background:none;border:none;font-size:24px;color:#fff;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;line-height:1;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.close-button:hover{background-color:#ffffff1a}.create-invoice-content{padding:24px}.form-section{margin-bottom:32px}.form-section h4{margin:0 0 16px;font-size:1.1rem;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;padding-bottom:8px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s ease;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row .form-group{margin-bottom:0}.loading-clients{padding:12px;text-align:center;color:#6b7280;font-style:italic}.client-info{background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:16px;margin-top:12px}.client-info h5{margin:0 0 12px;font-size:14px;font-weight:600;color:#0369a1}.client-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px}.client-details div{color:#374151}.client-details strong{color:#1f2937}.invoice-summary{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px;margin-bottom:24px}.invoice-summary h4{margin:0 0 12px;font-size:1rem;font-weight:600;color:#374151}.summary-row{display:flex;justify-content:space-between;padding:4px 0;border-bottom:1px solid #e5e7eb}.summary-row:last-child{border-bottom:none}.summary-row.total{font-weight:600;font-size:16px;color:#1f2937;border-top:2px solid #374151;padding-top:8px;margin-top:8px}.exempt-tax{color:#10b981;font-weight:500;font-style:italic}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.btn-primary,.btn-secondary{padding:12px 24px;border-radius:6px;font-weight:500;font-size:14px;transition:all .2s ease;cursor:pointer;border:none;min-width:120px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb;border-color:#9ca3af}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.success-message{background-color:#dcfce7;border:1px solid #bbf7d0;color:#16a34a;padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px;font-weight:500}@media (max-width: 768px){.create-invoice-modal{width:95%;margin:16px;max-height:95vh}.form-row{grid-template-columns:1fr;gap:12px}.client-details{grid-template-columns:1fr}.modal-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}.create-invoice-content{padding:16px}}.admin-form-select{width:100%;padding:12px 30px 12px 14px;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:14px;background-color:#fff;-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' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideDown{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.03)}to{transform:scale(1)}}.admin-stats-grid{animation:slideUp .6s ease-out forwards}.admin-stat-card{animation:fadeIn .5s ease-out forwards}.admin-stat-card:nth-child(1){animation-delay:.1s}.admin-stat-card:nth-child(2){animation-delay:.2s}.admin-stat-card:nth-child(3){animation-delay:.3s}.admin-stat-card:nth-child(4){animation-delay:.4s}.admin-dashboard-grid{animation:fadeIn .8s ease-out forwards;animation-delay:.3s;opacity:0;animation-fill-mode:forwards}.admin-reports-stats{animation:slideUp .6s ease-out forwards}.admin-report-stat-card{animation:fadeIn .5s ease-out forwards}.admin-report-stat-card:nth-child(1){animation-delay:.1s}.admin-report-stat-card:nth-child(2){animation-delay:.2s}.admin-report-stat-card:nth-child(3){animation-delay:.3s}.admin-report-stat-card:nth-child(4){animation-delay:.4s}.admin-quick-actions{animation:slideUp .6s ease-out forwards;animation-delay:.2s;opacity:0;animation-fill-mode:forwards}.admin-action-btn{animation:fadeIn .5s ease-out forwards}.admin-action-btn:nth-child(1){animation-delay:.3s}.admin-action-btn:nth-child(2){animation-delay:.4s}.admin-action-btn:nth-child(3){animation-delay:.5s}.admin-table,.admin-reports-table{animation:scaleIn .5s ease-out forwards;animation-delay:.2s;opacity:0;animation-fill-mode:forwards}.admin-alert{animation:slideDown .4s ease-out forwards}.admin-stat-card:hover .admin-stat-icon,.admin-report-stat-card:hover .admin-stat-icon{animation:pulse 1s infinite}.admin-btn:hover,.admin-filter-btn:hover,.admin-download-btn:hover,.admin-back-btn:hover{transition:all .3s ease;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.admin-nav-link,.admin-logout-btn,.admin-action-btn,.admin-form-control,.admin-form-select,.admin-reports-tab,.admin-filter-select,.admin-filter-input,.admin-pagination button{transition:all .3s ease}.admin-sidebar{animation:fadeIn .5s ease-out forwards}.admin-title{animation:slideDown .5s ease-out forwards}.admin-avatar{animation:scaleIn .5s ease-out forwards;animation-delay:.3s;opacity:0;animation-fill-mode:forwards}.admin-reports-filters{animation:slideUp .5s ease-out forwards}*,*:before,*:after{transition-property:background-color,border-color,color,box-shadow;transition-duration:.3s;transition-timing-function:ease}.facturama-account-selector{background-color:#f8f9fa;border-radius:8px;padding:15px;margin-bottom:20px;box-shadow:0 2px 5px #0000000d;border:1px solid #e9ecef}.account-selector-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.account-selector-header h3{margin:0;font-size:16px;color:#333}.connection-status{font-size:14px}.status-connected{color:#28a745}.status-disconnected{color:#dc3545}.account-options{display:flex;gap:10px;margin-bottom:15px}.account-btn{padding:8px 15px;border-radius:5px;border:1px solid #dee2e6;background-color:#fff;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:14px;color:#333;transition:all .2s ease;opacity:.6}.account-btn i{font-size:14px}.account-btn:hover{background-color:#e9ecef}.account-btn.active{background-color:#007bff;color:#fff;border-color:#007bff;opacity:1}.active-account-info{padding-top:10px;border-top:1px solid #dee2e6;font-size:13px;color:#666}.active-account-info p{margin:0}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;background-color:#f9f9fd;color:var(--gray-800);line-height:1.6}a{text-decoration:none;color:inherit}.admin-dashboard{display:flex;min-height:100vh}.admin-sidebar{width:260px;background-color:#fff;color:var(--dark-color);display:flex;flex-direction:column;position:fixed;height:100vh;transition:all var(--transition-speed) ease;box-shadow:var(--shadow-md);z-index:100}.admin-sidebar-brand{padding:20px;display:flex;justify-content:center;align-items:center;border-bottom:1px solid rgba(0,0,0,.05)}.admin-logo{width:140px;height:auto}.admin-nav{flex:1;padding:20px 0;overflow-y:auto}.admin-nav-list{list-style:none}.admin-nav-item{margin-bottom:10px}.admin-nav-link{display:flex;align-items:center;padding:14px 20px;color:var(--dark-color);transition:all var(--transition-speed) ease;border-radius:10px;margin:0 10px;font-weight:500}.admin-nav-link:hover{background-color:#ffffffb3;color:var(--primary-color)}.admin-nav-link.active{background-color:var(--primary-color);color:#fff}.admin-nav-link i{margin-right:12px;font-size:20px;width:24px;text-align:center}.admin-sidebar-footer{padding:20px;border-top:1px solid rgba(0,0,0,.05)}.admin-logout-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:14px;background-color:var(--danger-color);color:#fff;border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed) ease;font-weight:500}.admin-logout-btn:hover{background-color:#f79090}.admin-logout-btn i{margin-right:10px;font-size:18px}.admin-main{flex:1;margin-left:260px;padding:30px 15px;background-color:#f9f9fd;width:calc(100% - 260px)}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid var(--gray-200)}.admin-title{font-size:1.8rem;font-weight:700;color:var(--dark-color)}.admin-user{display:flex;align-items:center}.admin-user-info{text-align:right;margin-right:12px}.admin-user-name{display:block;font-weight:600;color:var(--dark-color)}.admin-user-role{display:block;font-size:.8rem;color:var(--gray-600)}.admin-avatar{width:45px;height:45px;border-radius:50%;background-color:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.2rem}.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;margin-bottom:30px}.admin-stat-card{background:#fff;border-radius:var(--card-border-radius);box-shadow:var(--shadow-sm);padding:24px;display:flex;align-items:center;transition:transform .3s ease,box-shadow .3s ease;border:1px solid var(--gray-200)}.admin-stat-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--gray-300)}.admin-stat-icon{width:60px;height:60px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-right:16px;font-size:26px;color:#fff}.tickets-icon{background-color:var(--primary-color)}.clientes-icon{background-color:var(--purple-color)}.pendientes-icon{background-color:var(--warning-color)}.completados-icon{background-color:var(--success-color)}.admin-stat-title{font-size:15px;color:var(--gray-600);margin-bottom:8px}.admin-stat-value{font-size:30px;font-weight:700;color:var(--dark-color)}.admin-dashboard-grid{display:grid;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.admin-card{background:#fff;border-radius:var(--card-border-radius);box-shadow:var(--shadow-sm);margin-bottom:20px;overflow:hidden;transition:box-shadow .3s ease;border:1px solid var(--gray-200);width:100%}.admin-card:hover{box-shadow:var(--shadow-md);border-color:var(--gray-300)}.admin-card-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--gray-200);background-color:var(--gray-100)}.admin-card-title{font-size:18px;font-weight:600;color:var(--dark-color);display:flex;align-items:center}.admin-card-title i{margin-right:12px;font-size:20px;color:var(--primary-color)}.admin-card-body{padding:20px}.admin-table-container{padding:0 20px 20px;overflow-x:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--gray-200)}.admin-table th{font-weight:600;color:var(--dark-color);background-color:var(--gray-100)}.admin-table tr:hover{background-color:#00000005}.admin-estado{display:inline-block;padding:6px 12px;border-radius:30px;font-size:12px;font-weight:600}.admin-estado-generado{background-color:var(--light-blue);color:#4361ee}.admin-estado-solicitado{background-color:var(--warning-color);color:#875800}.admin-estado-completado{background-color:var(--success-color);color:#155724}.admin-estado-error{background-color:var(--danger-color);color:#721c24}.admin-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:var(--border-radius);border:none;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:14px}.admin-btn i{margin-right:8px;font-size:16px}.admin-btn.primary{background-color:var(--primary-color);color:#fff}.admin-btn.primary:hover{background-color:var(--primary-hover);transform:translateY(-2px)}.admin-btn.secondary{background-color:var(--gray-200);color:var(--gray-700)}.admin-btn.secondary:hover{background-color:var(--gray-300);transform:translateY(-2px)}.admin-btn.success{background-color:var(--success-color);color:#fff}.admin-btn.success:hover{background-color:#63b78d;transform:translateY(-2px)}.admin-btn.danger{background-color:var(--danger-color);color:#fff}.admin-btn.danger:hover{background-color:#f79090;transform:translateY(-2px)}.admin-btn.icon{padding:8px;border-radius:50%;width:36px;height:36px}.admin-btn.icon i{margin-right:0;font-size:18px}.admin-quick-actions{padding:15px 20px 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.admin-action-btn{display:flex;align-items:center;padding:20px;background-color:var(--gray-100);border:1px solid var(--gray-200);border-radius:var(--border-radius);cursor:pointer;transition:all .3s ease}.admin-action-btn:hover{background-color:#fff;border-color:var(--primary-color);box-shadow:var(--shadow-md);transform:translateY(-3px)}.admin-action-icon{width:60px;height:60px;border-radius:14px;background-color:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-right:15px}.admin-action-btn:nth-child(1) .admin-action-icon{background-color:var(--primary-color)}.admin-action-btn:nth-child(2) .admin-action-icon{background-color:var(--purple-color)}.admin-action-btn:nth-child(3) .admin-action-icon{background-color:var(--success-color)}.admin-action-text{flex:1}.admin-action-text h3{font-size:16px;margin-bottom:5px;color:var(--dark-color)}.admin-action-text p{font-size:13px;color:var(--gray-600);margin:0}.admin-loading,.admin-no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:var(--gray-600)}.admin-loading i,.admin-no-data i{font-size:48px;margin-bottom:20px;color:var(--primary-color)}.admin-loading p,.admin-no-data p{margin-bottom:20px}.admin-alert{padding:16px;border-radius:var(--border-radius);margin-bottom:20px;position:relative;animation:slideIn .3s ease;display:flex;align-items:center}@keyframes slideIn{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}.admin-alert i{margin-right:12px;font-size:20px}.admin-alert-close{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;color:inherit;opacity:.7;cursor:pointer}.admin-alert-error{background-color:#ffe9e9;color:#d63031;border-left:4px solid var(--danger-color)}.admin-alert-success{background-color:#e7f9ed;color:#27ae60;border-left:4px solid var(--success-color)}.admin-alert-warning{background-color:#fff8e6;color:#e67e22;border-left:4px solid var(--warning-color)}.admin-form{margin-bottom:20px}.admin-form-row{display:flex;flex-wrap:wrap;margin-bottom:15px;gap:15px}.admin-form-label{display:block;margin-bottom:8px;font-weight:500;color:var(--dark-color)}.admin-form-control{width:100%;padding:12px 14px;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:14px;transition:border-color .2s}.admin-form-control:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 3px #8a94e933}.admin-form-select{width:100%;padding:12px 30px 12px 14px;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:14px;background-color:#fff;-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' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.admin-form-select:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 3px #8a94e933}.admin-form-help{font-size:12px;color:var(--gray-600);margin-top:5px}.admin-form-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media (max-width: 992px){.admin-sidebar{width:70px;overflow:visible}.admin-nav-link span{display:none}.admin-nav-link i{margin-right:0;font-size:20px}.admin-main{margin-left:70px}.admin-sidebar-brand{padding:15px 5px}.admin-logo{width:40px}.admin-sidebar-footer{padding:10px}.admin-logout-btn span{display:none}.admin-logout-btn i{margin-right:0}}@media (max-width: 768px){.admin-stats-grid{grid-template-columns:1fr 1fr}.admin-dashboard-grid{grid-template-columns:1fr}.admin-header{flex-direction:column;align-items:flex-start}.admin-user{margin-top:15px}}@media (max-width: 576px){.admin-stats-grid{grid-template-columns:1fr}.admin-main{padding:20px 10px}}.admin-facturama-info{padding:0}.admin-sucursales-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:1rem}.admin-sucursal-card{background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid var(--gray-200);border-radius:var(--card-border-radius);padding:1.5rem;transition:all var(--transition-speed) ease;box-shadow:var(--shadow-sm)}.admin-sucursal-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.admin-sucursal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--gray-200)}.admin-sucursal-nombre{font-size:1.1rem;font-weight:600;color:var(--dark-color);display:flex;align-items:center;margin:0}.admin-sucursal-nombre i{margin-right:.5rem;color:var(--primary-color)}.admin-conexion-status{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.admin-conexion-status.conectado{background-color:#74c69d1a;color:var(--success-color);border:1px solid rgba(116,198,157,.2)}.admin-conexion-status.desconectado{background-color:#f9a7a71a;color:var(--danger-color);border:1px solid rgba(249,167,167,.2)}.admin-sucursal-info{display:flex;flex-direction:column;gap:.75rem}.admin-info-item{display:flex;flex-direction:column;gap:.25rem}.admin-info-label{font-size:.85rem;font-weight:600;color:var(--gray-600);text-transform:uppercase;letter-spacing:.5px}.admin-info-value{font-size:.95rem;color:var(--dark-color);font-weight:500}.admin-lugares-expedicion{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.admin-lugar-tag{background:linear-gradient(135deg,var(--primary-color) 0%,var(--primary-hover) 100%);color:#fff;padding:.4rem .8rem;border-radius:20px;font-size:.8rem;font-weight:500;display:flex;align-items:center;gap:.4rem;box-shadow:var(--shadow-sm);transition:all var(--transition-speed) ease}.admin-lugar-tag:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.admin-lugar-tag i{font-size:.75rem}.admin-no-lugares{color:var(--gray-500);font-style:italic;font-size:.9rem}.admin-error-message{color:var(--danger-color);font-size:.9rem;background-color:#f9a7a71a;padding:.5rem;border-radius:8px;border-left:3px solid var(--danger-color)}@media (max-width: 768px){.admin-sucursales-grid{grid-template-columns:1fr;gap:1rem}.admin-sucursal-header{flex-direction:column;align-items:flex-start;gap:.5rem}.admin-conexion-status{align-self:flex-start}}@media (max-width: 576px){.admin-sucursal-card{padding:1rem}.admin-lugares-expedicion{flex-direction:column;align-items:flex-start}.admin-lugar-tag{align-self:flex-start}}.admin-section-title{font-size:1.3rem;font-weight:600;margin:0;color:var(--admin-text);display:flex;align-items:center}.admin-section-title i{margin-right:.75rem;color:var(--admin-primary)}.admin-actions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.admin-form-card{margin-bottom:2rem}.admin-form{display:flex;flex-direction:column;gap:1.5rem}.admin-form-row{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}.admin-form-group{flex:1;min-width:200px}.admin-form-label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--admin-text);font-size:.9rem}.admin-form-control{width:100%;padding:.85rem 1rem;border:1px solid var(--admin-border);border-radius:8px;background-color:#fff;font-family:inherit;font-size:1rem;transition:border-color .2s ease}.admin-form-control:focus{outline:none;border-color:var(--admin-primary);box-shadow:0 0 0 2px #5f27cd1a}.admin-form-control:disabled{background-color:#f8f9fa;opacity:.7;cursor:not-allowed}.admin-select-container{position:relative}.admin-select-container:after{content:"\\f107";font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;right:1rem;top:50%;transform:translateY(-50%);color:var(--admin-text-light);pointer-events:none}.admin-form-select{width:100%;padding:.85rem 1rem;border:1px solid var(--admin-border);border-radius:8px;background-color:#fff;font-family:inherit;font-size:1rem;transition:border-color .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.admin-form-select:focus{outline:none;border-color:var(--admin-primary);box-shadow:0 0 0 2px #5f27cd1a}.admin-form-help{margin-top:.5rem;font-size:.85rem;color:var(--admin-text-light);display:flex;align-items:center;gap:.5rem}.admin-form-help i{color:var(--admin-warning)}.admin-link-small{color:var(--admin-primary);text-decoration:none;margin-left:.5rem;font-weight:500;font-size:.85rem}.admin-link-small:hover{text-decoration:underline}.admin-form-toggle{position:relative;margin-top:.5rem}.admin-toggle-input{opacity:0;width:0;height:0;position:absolute}.admin-toggle-label{display:block;position:relative;cursor:pointer;width:50px;height:26px;background-color:#e9ecef;border-radius:100px;transition:background-color .2s ease}.admin-toggle-label:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.admin-toggle-input:checked+.admin-toggle-label{background-color:var(--admin-success)}.admin-toggle-input:checked+.admin-toggle-label:after{transform:translate(24px)}.admin-toggle-help{font-size:.85rem;color:var(--admin-text-light);margin-top:.5rem}.admin-btn{padding:.85rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s ease;white-space:nowrap}.admin-btn i{font-size:1rem}.admin-btn:disabled{opacity:.6;cursor:not-allowed}.admin-btn-primary{background-color:var(--admin-primary);color:#fff}.admin-btn-primary:hover:not(:disabled){background-color:var(--admin-primary-light);transform:translateY(-2px)}.admin-btn-secondary{background-color:#f8f9fa;color:var(--admin-text);border:1px solid var(--admin-border)}.admin-btn-secondary:hover:not(:disabled){background-color:#e9ecef;transform:translateY(-2px)}.admin-btn-success{background-color:var(--admin-success);color:#fff}.admin-btn-success:hover:not(:disabled){background-color:#0cb388;transform:translateY(-2px)}.admin-btn-danger{background-color:var(--admin-danger);color:#fff}.admin-btn-danger:hover:not(:disabled){background-color:#d93c3e;transform:translateY(-2px)}.admin-btn-info{background-color:var(--admin-primary-light);color:#fff}.admin-btn-info:hover:not(:disabled){background-color:#724bd3;transform:translateY(-2px)}.admin-btn-sm{padding:.5rem 1rem;font-size:.85rem}.admin-card-inner{padding:1.5rem;background-color:var(--admin-bg);border-radius:8px;margin-bottom:1.5rem}.admin-card-subtitle{font-size:1rem;font-weight:500;margin:0 0 1rem;color:var(--admin-text);display:flex;align-items:center}.admin-card-subtitle i{margin-right:.75rem;color:var(--admin-primary)}.admin-summary-grid{display:grid;grid-template-columns:1fr;gap:.75rem;margin-top:1rem}.admin-summary-item{display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed var(--admin-border);padding-bottom:.75rem}.admin-summary-item:last-child{border-bottom:none}.admin-summary-label{font-weight:500;color:var(--admin-text)}.admin-summary-value{font-weight:600;color:var(--admin-text)}.admin-summary-total{margin-top:.5rem;border-top:2px solid var(--admin-border);padding-top:.75rem;font-size:1.1rem}.admin-summary-total .admin-summary-label{color:var(--admin-primary)}.admin-summary-total .admin-summary-value{color:var(--admin-primary);font-weight:700}.admin-form-action{display:flex;align-items:center;gap:1rem;margin-top:1rem}.admin-form-buttons{display:flex;gap:1rem;margin-top:1.5rem;justify-content:flex-end}.admin-text-right{text-align:right}.admin-total-row{font-weight:600;border-top:2px solid var(--admin-border)}.admin-empty-state{text-align:center;padding:3rem 1rem;color:var(--admin-text-light);background-color:var(--admin-bg);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center}.admin-empty-state i{font-size:3rem;margin-bottom:1rem;color:var(--admin-text-light);opacity:.5}.admin-empty-state p{font-size:1.1rem;margin:0;max-width:400px}.admin-loading{text-align:center;padding:2rem;color:var(--admin-text-light)}.admin-loading i{font-size:2rem;margin-bottom:1rem;animation:spin 1s linear infinite}@media (max-width: 992px){.admin-form-action{flex-direction:column;align-items:stretch}.admin-form-action .admin-btn{width:100%}}@media (max-width: 768px){.admin-actions-header{flex-direction:column;align-items:stretch;gap:1rem}.admin-actions-header .admin-btn{width:100%}.admin-form-row{flex-direction:column;gap:1rem}.admin-form-group{width:100%}.admin-form-buttons{flex-direction:column}.admin-form-buttons .admin-btn{width:100%}}:root{--primary-color: #8a94e9;--primary-hover: #7b87e4;--secondary-color: #a7d7c5;--success-color: #74c69d;--warning-color: #f9c74f;--danger-color: #f9a7a7;--purple-color: #b8b8ff;--pink-color: #ffd6e0;--light-blue: #c1d3fe;--dark-color: #5a5c75;--light-color: #ffffff;--gray-100: #f8f9fa;--gray-200: #e9ecef;--gray-300: #dee2e6;--gray-400: #ced4da;--gray-500: #adb5bd;--gray-600: #6c757d;--gray-700: #495057;--gray-800: #343a40;--gray-900: #212529;--transition-speed: .3s;--shadow-sm: 0 2px 4px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .1);--border-radius: 12px;--card-border-radius: 16px}.admin-reports-container{background-color:#fff;border-radius:var(--card-border-radius);box-shadow:var(--shadow-sm);padding:24px;margin-bottom:30px;transition:box-shadow .3s ease;border:1px solid var(--gray-200)}.admin-reports-container:hover{box-shadow:var(--shadow-md);border-color:var(--gray-300)}.admin-reports-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:18px;border-bottom:1px solid var(--gray-200)}.admin-reports-title{font-size:1.6rem;font-weight:600;color:var(--dark-color);display:flex;align-items:center}.admin-reports-title i{margin-right:12px;font-size:22px;color:var(--primary-color)}.admin-reports-tabs{display:flex;border-bottom:1px solid var(--gray-200);margin-bottom:25px}.admin-reports-tab{padding:14px 20px;background:transparent;border:none;font-weight:500;cursor:pointer;color:var(--gray-600);transition:all var(--transition-speed) ease;border-radius:8px 8px 0 0;margin-right:5px}.admin-reports-tab.active{color:var(--primary-color);background-color:#8a94e91a;font-weight:600}.admin-reports-tab:hover:not(.active){color:var(--dark-color);background-color:var(--gray-100)}.admin-reports-tab i{margin-right:8px;font-size:16px}.admin-reports-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:25px;padding:20px;background-color:var(--light-blue);border-radius:var(--border-radius);border:1px solid var(--gray-200)}.admin-filter-group{display:flex;flex-direction:column;min-width:200px;flex:1}.admin-filter-label{font-size:.9rem;font-weight:600;margin-bottom:8px;color:var(--dark-color)}.admin-filter-select,.admin-filter-input{padding:12px 14px;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:14px;transition:all var(--transition-speed) ease;background-color:#fff}.admin-filter-select:focus,.admin-filter-input:focus{border-color:var(--primary-color);outline:0;box-shadow:0 0 0 3px #8a94e933}.admin-filter-btn{background-color:var(--primary-color);color:#fff;border:none;padding:12px 16px;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed) ease;margin-top:auto;display:flex;align-items:center;justify-content:center}.admin-filter-btn:hover{background-color:var(--primary-hover);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.admin-filter-btn i{margin-right:8px;font-size:16px}.admin-filter-reset-btn{background-color:var(--pink-color);color:#8e4e77;border:none;padding:12px 16px;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed) ease;margin-top:auto;display:flex;align-items:center;justify-content:center}.admin-filter-reset-btn:hover{background-color:#ffc1d2;transform:translateY(-2px);box-shadow:var(--shadow-sm)}.admin-filter-reset-btn i{margin-right:8px;font-size:16px}.admin-reports-content{margin-top:25px}.admin-reports-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-bottom:30px}.admin-report-stat-card{background-color:#fff;border-radius:var(--card-border-radius);box-shadow:var(--shadow-sm);padding:24px;text-align:center;transition:all var(--transition-speed) ease;border:1px solid var(--gray-200);position:relative;overflow:hidden}.admin-report-stat-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--gray-300)}.admin-report-stat-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:6px;background-color:var(--primary-color)}.admin-report-stat-card.success:before{background-color:var(--success-color)}.admin-report-stat-card.warning:before{background-color:var(--warning-color)}.admin-report-stat-card.danger:before{background-color:var(--danger-color)}.admin-report-stat-card.primary:before{background-color:var(--primary-color)}.admin-report-stat-title{font-size:1rem;color:var(--gray-600);margin-bottom:12px;font-weight:500}.admin-report-stat-value{font-size:2.2rem;font-weight:700;color:var(--dark-color);margin:0}.admin-report-stat-card.success .admin-report-stat-value{color:var(--success-color)}.admin-report-stat-card.warning .admin-report-stat-value{color:var(--warning-color)}.admin-report-stat-card.danger .admin-report-stat-value{color:var(--danger-color)}.admin-report-stat-card.primary .admin-report-stat-value{color:var(--primary-color)}.admin-reports-table{width:100%;border-collapse:separate;border-spacing:0;margin-bottom:25px;box-shadow:var(--shadow-sm);border-radius:var(--border-radius);overflow:hidden;border:1px solid var(--gray-200)}.admin-reports-table th,.admin-reports-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--gray-200)}.admin-reports-table th{background-color:var(--light-blue);font-weight:600;color:var(--dark-color)}.admin-reports-table tr:last-child td{border-bottom:none}.admin-reports-table tr:hover{background-color:#8a94e90d}.admin-reports-table td.money{text-align:right;font-family:Roboto Mono,monospace;font-weight:600;color:var(--dark-color)}.admin-status-badge{display:inline-block;padding:6px 12px;border-radius:30px;font-size:12px;font-weight:600}.admin-status-badge.generado{background-color:var(--light-blue);color:#4361ee}.admin-status-badge.solicitado{background-color:var(--warning-color);color:#875800}.admin-status-badge.completado{background-color:var(--success-color);color:#155724}.admin-status-badge.error{background-color:var(--danger-color);color:#721c24}.admin-status-badge.simulado{background-color:var(--purple-color);color:#4b3d8f}.admin-reports-graph-container{margin-top:30px;height:400px;background-color:#fff;border-radius:var(--card-border-radius);box-shadow:var(--shadow-sm);padding:24px;border:1px solid var(--gray-200)}.admin-reports-footer{display:flex;justify-content:space-between;margin-top:30px;padding-top:20px;border-top:1px solid var(--gray-200)}.admin-pagination{display:flex;list-style:none;padding:0;margin:0}.admin-pagination li{margin:0 5px}.admin-pagination button{padding:8px 14px;border:1px solid var(--gray-300);background-color:#fff;color:var(--primary-color);cursor:pointer;border-radius:var(--border-radius);transition:all var(--transition-speed) ease;font-weight:500}.admin-pagination button.active{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.admin-pagination button:hover:not(.active){background-color:var(--gray-100);transform:translateY(-2px)}.admin-download-btn{display:flex;align-items:center;justify-content:center;background-color:var(--success-color);color:#fff;border:none;padding:12px 18px;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed) ease;font-size:14px}.admin-download-btn i{margin-right:10px;font-size:18px}.admin-download-btn:hover{background-color:#63b78d;transform:translateY(-2px);box-shadow:var(--shadow-sm)}.admin-download-btn:disabled{background-color:var(--gray-400);cursor:not-allowed;transform:none}.admin-report-no-data{text-align:center;padding:40px;color:var(--gray-600);font-style:italic;background-color:var(--gray-100);border-radius:var(--border-radius);margin:20px 0;font-size:15px}.admin-report-no-data i{font-size:30px;margin-bottom:10px;color:var(--primary-color);display:block}.admin-loading{display:flex;justify-content:center;align-items:center;padding:40px;font-size:1.2rem;color:var(--gray-600)}.admin-loading i{margin-right:10px;animation:spin 1s linear infinite;color:var(--primary-color);font-size:24px}.admin-back-btn{display:flex;align-items:center;background-color:var(--light-blue);color:var(--dark-color);border:none;padding:12px 18px;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed) ease;font-size:14px}.admin-back-btn:hover{background-color:#b0c5fd;transform:translateY(-2px);box-shadow:var(--shadow-sm)}.admin-back-btn i{margin-right:10px;font-size:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 992px){.admin-reports-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.admin-reports-filters{flex-direction:column}.admin-filter-group{width:100%}}@media (max-width: 576px){.admin-reports-stats{grid-template-columns:1fr}.admin-reports-header{flex-direction:column;align-items:flex-start}.admin-download-btn{margin-top:15px;width:100%}}.admin-sucursal-filter-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;margin-bottom:20px;overflow:hidden}.admin-sucursal-filter-header{background-color:#f0f7ff;padding:15px 20px;display:flex;align-items:center;border-bottom:1px solid #e0e7ff}.admin-sucursal-filter-header i{font-size:1.3rem;color:#36c;margin-right:10px}.admin-sucursal-filter-header h2{margin:0;font-size:1.2rem;color:#36c;font-weight:600}.admin-sucursal-filter-body{padding:15px 20px;display:flex;align-items:center;gap:15px}.admin-sucursal-select{flex:1;padding:10px 15px;border:2px solid #3366cc;border-radius:6px;font-size:1rem;background-color:#fff;color:#333;outline:none;transition:all .3s ease}.admin-sucursal-select:focus{border-color:#5c85d6;box-shadow:0 0 0 3px #5382e740}.admin-sucursal-filter-btn{background-color:#f0f7ff;border:1px solid #d0e0ff;border-radius:6px;padding:10px 15px;font-size:.9rem;color:#36c;cursor:pointer;transition:all .3s ease}.admin-sucursal-filter-btn:hover{background-color:#e0e7ff}.admin-sucursal-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:30px}.admin-sucursal-card{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}.admin-sucursal-card:hover{transform:translateY(-5px);box-shadow:0 5px 15px #0000001a}.admin-sucursal-card-header{background-color:#f8f9fa;padding:15px;border-bottom:1px solid #e9ecef;display:flex;align-items:center}.admin-sucursal-card-header i{font-size:1.2rem;color:#36c;margin-right:10px}.admin-sucursal-card-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#333}.admin-sucursal-card-body{padding:15px}.admin-sucursal-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:15px}.admin-sucursal-stat{display:flex;flex-direction:column;padding:8px}.admin-sucursal-stat .label{font-size:.8rem;color:#6c757d;margin-bottom:5px}.admin-sucursal-stat .value{font-size:1.2rem;font-weight:600;color:#333}.admin-sucursal-stat .value.success{color:#28a745}.admin-sucursal-stat .value.warning{color:#ffc107}.admin-sucursal-stat .value.primary{color:#36c}.admin-sucursal-progress{margin-top:10px}.progress-label{display:flex;justify-content:space-between;margin-bottom:5px;font-size:.85rem;color:#495057}.progress-bar-container{height:8px;background-color:#e9ecef;border-radius:4px;overflow:hidden}.progress-bar{height:100%;background-color:#36c;border-radius:4px;transition:width .5s ease}.progress-mini{width:100%;height:20px;background-color:#e9ecef;border-radius:4px;overflow:hidden;position:relative}.progress-mini-bar{height:100%;background-color:#36c;transition:width .5s ease}.progress-mini-text{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.8rem;font-weight:600;text-shadow:0 0 2px rgba(0,0,0,.5)}.admin-reports-table .sucursal-name{font-weight:600}.admin-reports-table .completadas{color:#28a745;font-weight:500}.admin-reports-table .pendientes{color:#ffc107;font-weight:500}.admin-pendientes-summary{display:flex;background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;margin-bottom:20px;padding:15px;align-items:center}.admin-pendientes-count{display:flex;flex-direction:column;align-items:center;padding:0 20px;border-right:1px solid #e9ecef}.admin-pendientes-count .count{font-size:2rem;font-weight:700;color:#ffc107}.admin-pendientes-count .label{font-size:.9rem;color:#6c757d}.admin-pendientes-value{display:flex;flex-direction:column;padding:0 20px}.admin-pendientes-value .label{font-size:.9rem;color:#6c757d;margin-bottom:5px}.admin-pendientes-value .value{font-size:1.5rem;font-weight:600;color:#36c}.admin-reports-table .error-row{background-color:#ff00000d}.admin-reports-table .error-row:hover{background-color:#ff00001a}.admin-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background-color:#f8f9fa;color:#36c;border:1px solid #dee2e6;cursor:pointer;transition:all .3s ease}.admin-btn-icon:hover{background-color:#36c;color:#fff}.admin-ingreso-summary{display:flex;background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;margin-bottom:20px;padding:15px;align-items:center}.admin-ingreso-count{display:flex;flex-direction:column;align-items:center;padding:0 20px;border-right:1px solid #e9ecef}.admin-ingreso-count .count{font-size:2rem;font-weight:700;color:#36c}.admin-ingreso-count .label{font-size:.9rem;color:#6c757d}.admin-ingreso-promedio{display:flex;flex-direction:column;padding:0 20px}.admin-ingreso-promedio .label{font-size:.9rem;color:#6c757d;margin-bottom:5px}.admin-ingreso-promedio .value{font-size:1.5rem;font-weight:600;color:#36c}.admin-ingresos-chart{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;margin-bottom:20px;padding:20px}.admin-ingresos-chart h4{margin-top:0;margin-bottom:20px;font-size:1.1rem;color:#333;text-align:center}.admin-bar-chart{display:flex;justify-content:space-between;align-items:flex-end;height:260px;margin-bottom:20px;padding:0 10px}.admin-chart-bar-container{display:flex;flex-direction:column;align-items:center;flex:1;margin:0 5px;position:relative}.admin-chart-bar-label{position:absolute;top:0;font-size:.8rem;font-weight:600;color:#36c;margin-bottom:5px}.admin-chart-bar{width:40px;background-color:#36c;border-radius:4px 4px 0 0;transition:height .5s ease;position:relative}.admin-chart-bar:hover{background-color:#5c85d6;cursor:pointer}.admin-chart-bar-month{margin-top:8px;font-size:.85rem;color:#333;font-weight:500;text-align:center}.admin-chart-bar-count{font-size:.75rem;color:#6c757d;margin-top:2px}.admin-reports-table .mes-nombre{font-weight:600;color:#333}.admin-reports-table .sucursales-list{display:flex;flex-direction:column;gap:5px}.admin-reports-table .sucursal-item{display:flex;justify-content:space-between;align-items:center;padding:3px 0}.admin-reports-table .sucursal-name{font-size:.85rem;color:#333}.admin-reports-table .sucursal-value{font-size:.85rem;font-weight:500;color:#36c}.admin-reports-table .no-data{font-style:italic;color:#6c757d;font-size:.85rem}@media (max-width: 768px){.admin-bar-chart{flex-wrap:wrap;height:auto;gap:30px}.admin-chart-bar-container{width:30%}.admin-chart-bar-label{position:relative;margin-bottom:5px}}.admin-reports-table .actions{width:80px;text-align:center}.admin-action-btn{background-color:#f8f9fa;border:none;border-radius:4px;padding:5px 8px;cursor:pointer;transition:all .2s ease;color:#4a89dc;margin:0 2px}.admin-action-btn:hover{background-color:#4a89dc;color:#fff}.admin-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;overflow-y:auto;padding:20px}.admin-modal{background-color:#fff;border-radius:8px;box-shadow:0 5px 15px #0003;width:90%;max-width:800px;max-height:90vh;overflow-y:auto;position:relative;animation:modal-fade-in .3s ease}@keyframes modal-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.admin-modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #e9ecef;background-color:#f8f9fa;border-top-left-radius:8px;border-top-right-radius:8px}.admin-modal-header h3{margin:0;font-size:1.2rem;color:#333;display:flex;align-items:center;gap:10px}.admin-modal-header h3 i{color:#4a89dc}.admin-modal-close{background:none;border:none;font-size:1.2rem;color:#6c757d;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.admin-modal-close:hover{color:#dc3545}.admin-modal-body{padding:20px}.admin-modal-section{margin-bottom:25px}.admin-modal-section:last-child{margin-bottom:0}.admin-modal-section h4{margin:0 0 15px;font-size:1rem;color:#495057;border-bottom:1px solid #e9ecef;padding-bottom:8px}.admin-modal-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}.admin-modal-info-item{display:flex;flex-direction:column;gap:5px}.admin-modal-info-item .label{font-size:.85rem;color:#6c757d;font-weight:500}.admin-modal-info-item .value{font-size:.95rem;color:#333}.admin-modal-info-item .value.status{font-weight:500;display:inline-block;padding:2px 8px;border-radius:4px;font-size:.8rem;text-transform:capitalize}.admin-modal-info-item .value.status.completado{background-color:#28a7451a;color:#28a745}.admin-modal-info-item .value.status.generado{background-color:#ffc1071a;color:#ffc107}.admin-modal-info-item .value.status.solicitado{background-color:#17a2b81a;color:#17a2b8}.admin-modal-info-item .value.status.error{background-color:#dc35451a;color:#dc3545}.admin-modal-info-item .value.status.simulado{background-color:#6c757d1a;color:#6c757d}.admin-modal-amounts{display:flex;flex-direction:column;gap:10px;background-color:#f8f9fa;padding:15px;border-radius:4px}.admin-modal-amount-item{display:flex;justify-content:space-between;padding:5px 0}.admin-modal-amount-item.total{font-weight:700;font-size:1.1rem;border-top:1px solid #dee2e6;padding-top:10px;margin-top:5px}.admin-modal-documents{display:flex;gap:15px;margin-bottom:15px}.admin-modal-document-btn{padding:10px 15px;border:none;border-radius:4px;cursor:pointer;font-weight:500;display:flex;align-items:center;gap:8px;transition:all .2s ease}.admin-modal-document-btn.pdf{background-color:#dc3545;color:#fff}.admin-modal-document-btn.pdf:hover{background-color:#c82333}.admin-modal-document-btn.xml{background-color:#17a2b8;color:#fff}.admin-modal-document-btn.xml:hover{background-color:#138496}.admin-modal-document-btn:disabled{background-color:#e9ecef;color:#6c757d;cursor:not-allowed}.admin-modal-loading,.admin-modal-success,.admin-modal-error{margin-top:10px;padding:8px 12px;border-radius:4px;font-size:.9rem;display:flex;align-items:center;gap:8px}.admin-modal-loading{background-color:#17a2b81a;color:#17a2b8}.admin-modal-success{background-color:#28a7451a;color:#28a745}.admin-modal-error{background-color:#dc35451a;color:#dc3545}.admin-modal-concept{background-color:#f8f9fa;padding:12px;border-radius:4px;font-size:.95rem;color:#333}.admin-modal-actions{display:flex;gap:10px}.admin-modal-action-btn{padding:8px 15px;border:1px solid #dee2e6;background-color:#fff;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s ease;color:#495057;text-decoration:none;font-size:.9rem}.admin-modal-action-btn:hover{background-color:#f8f9fa}@media (max-width: 768px){.admin-modal{width:95%;max-height:95vh}.admin-modal-info-grid{grid-template-columns:1fr}.admin-modal-documents{flex-direction:column}}.admin-catalog-search{margin-top:20px;padding:20px;background-color:#f9f9f9;border-radius:8px;border:1px solid #e0e0e0}.admin-catalog-results{margin-top:15px}.admin-catalog-list{max-height:300px;overflow-y:auto;border:1px solid #e0e0e0;border-radius:4px;background-color:#fff}.admin-catalog-item{padding:10px 15px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background-color .2s}.admin-catalog-item:hover{background-color:#f0f7ff}.admin-catalog-item:last-child{border-bottom:none}.admin-catalog-more{padding:10px;text-align:center;color:#666;font-style:italic}.admin-selected-item{margin-top:10px;padding:10px;background-color:#e8f4ff;border-radius:4px;border:1px solid #c5e1ff}.admin-tax-item{margin-bottom:15px;padding:15px;border:1px solid #e0e0e0;border-radius:8px;background-color:#fafafa}.admin-form-group.checkbox{display:flex;align-items:center}.admin-form-group.checkbox input{width:auto;margin-right:8px}.admin-search-input-group{display:flex}.admin-search-input-group input{flex:1;border-radius:4px 0 0 4px}.admin-search-input-group button{border-radius:0 4px 4px 0}.input-help{display:block;font-size:.8rem;color:#666;margin-top:4px;font-style:italic}.admin-modal-body{max-height:70vh;overflow-y:auto;padding-right:10px}.admin-form-group .validation-error{color:#d32f2f;font-size:.85rem;margin-top:5px}.admin-form-group label:after{content:" *";color:#d32f2f}.admin-form-group label.optional:after{content:""}.admin-connection-test{margin-top:20px;padding:20px;background-color:#f5f5f5;border-radius:8px;border:1px solid #e0e0e0}.admin-connection-status{margin-top:15px;padding:15px;border-radius:4px}.admin-connection-status.success{background-color:#e8f5e9;border:1px solid #c8e6c9;color:#2e7d32}.admin-connection-status.error{background-color:#ffebee;border:1px solid #ffcdd2;color:#c62828}.admin-connection-status i{margin-right:8px}.required-highlight{font-size:.85rem;background-color:#ffeb3b;padding:2px 6px;border-radius:4px;margin-left:5px;color:#333;font-weight:400}.admin-validation-warning{color:#ff9800;background-color:#fff3e0;padding:8px 12px;border-left:3px solid #ff9800;margin-top:8px;font-size:.9rem;display:flex;align-items:center}.admin-validation-warning i{margin-right:8px;font-size:1rem}.admin-ticket-container{display:grid;grid-template-columns:1fr;gap:20px;width:100%;max-width:1400px;margin:0 auto}@media (min-width: 1200px){.admin-ticket-container{grid-template-columns:1fr}}.admin-ticket-form-container{display:flex;flex-direction:column;width:100%}.admin-ticket-preview-container{display:flex;flex-direction:column}.admin-ticket-form{width:100%}.admin-form-row{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:20px;width:100%}.admin-form-group{flex:1;min-width:250px}.admin-form-control{width:100%;padding:12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px}.admin-card{box-shadow:0 4px 8px #0000001a;border-radius:12px;background-color:#fff;width:100%}.admin-card-body{padding:25px}.admin-card-inner{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:20px;margin:15px 0;width:100%}.admin-card-subtitle{display:flex;align-items:center;gap:8px;font-size:16px;margin-top:0;margin-bottom:15px;color:#495057}.admin-summary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px}@media (max-width: 768px){.admin-summary-grid{grid-template-columns:1fr}}.admin-summary-item{display:flex;justify-content:space-between;padding:12px 15px;border-radius:8px;background-color:#fff;box-shadow:0 2px 4px #0000000d}.admin-summary-total{font-weight:700;font-size:18px;color:#0d6efd;background-color:#e6f0ff}.admin-form-help{display:block;font-size:12px;margin-top:5px;color:#6c757d}.admin-form-toggle{position:relative;display:inline-block;width:50px;height:24px;margin-right:8px}.admin-toggle-input{opacity:0;width:0;height:0}.admin-toggle-label{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#ccc;border-radius:24px;cursor:pointer;transition:.4s}.admin-toggle-label:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;border-radius:50%;transition:.4s}.admin-toggle-input:checked+.admin-toggle-label{background-color:#0d6efd}.admin-toggle-input:checked+.admin-toggle-label:before{transform:translate(26px)}.admin-toggle-help{font-size:12px;color:#6c757d;margin-top:5px}.admin-btn-block{width:100%;padding:14px;font-size:16px;border-radius:8px;cursor:pointer;transition:background-color .3s,transform .2s}.admin-btn-block:hover{transform:translateY(-2px)}.admin-btn-sm{padding:5px 10px;font-size:14px}.ticket-preview{max-width:80mm;margin:0 auto;background-color:#fff;border-radius:8px;box-shadow:0 4px 6px #0000001a;overflow:hidden}.ticket-print{padding:10mm 5mm;font-family:Courier New,Courier,monospace;font-size:12px;line-height:1.3}.ticket-header{text-align:center;margin-bottom:15px}.ticket-logo{max-width:60px;height:auto;margin-bottom:5px}.ticket-title{font-weight:700;font-size:14px;margin:5px 0}.ticket-info{margin:5px 0}.ticket-section{margin:15px 0;border-top:1px dashed #ccc;padding-top:10px}.ticket-total{font-weight:700;font-size:14px;margin-top:5px}.ticket-code{font-weight:700;font-size:18px;margin:10px 0;text-align:center;letter-spacing:2px}.ticket-footer{margin-top:20px;font-size:10px;text-align:center}.admin-stats-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-bottom:20px}.admin-stat-card{background-color:#fff;border-radius:8px;padding:20px;text-align:center;box-shadow:0 2px 5px #0000001a;border-top:5px solid #6c757d}.admin-stat-value{font-size:32px;font-weight:700;margin-bottom:10px;color:#495057}.admin-stat-label{font-size:14px;color:#6c757d;text-transform:uppercase;letter-spacing:1px}.admin-stat-pending{border-top-color:#ffc107}.admin-stat-processing{border-top-color:#0dcaf0}.admin-stat-completed{border-top-color:#198754}.admin-stat-error{border-top-color:#dc3545}.admin-filters{display:flex;flex-wrap:wrap;gap:15px;align-items:flex-end}.admin-filter-group{flex:1;min-width:200px;margin-bottom:10px}.admin-filter-group label{display:block;margin-bottom:5px;font-weight:500;color:#495057}.admin-filter-select{width:100%;padding:10px;border:1px solid #ced4da;border-radius:4px;background-color:#fff;font-size:14px}.admin-search-group{display:flex;gap:10px}.admin-search-input{flex:1;padding:10px;border:1px solid #ced4da;border-radius:4px;font-size:14px}.admin-search-form{flex:2;min-width:300px}.admin-table-responsive{overflow-x:auto;margin-bottom:20px}.admin-table-container{overflow-x:auto;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.admin-table-container-wide{overflow-x:auto;min-height:400px}.admin-table,.admin-table-clickable{width:100%;border-collapse:collapse}.admin-table-clickable th,.admin-table-clickable td{padding:12px 16px;font-size:14px;text-align:left}.admin-ticket-row-clickable{cursor:pointer;transition:all .2s ease}.admin-ticket-row-clickable:hover{background-color:#f8f9fa;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.ticket-number-link{font-family:monospace;font-weight:600;color:#4361ee;font-size:14px}.ticket-client-info{display:flex;flex-direction:column;gap:2px}.ticket-client-email{font-size:13px;color:#495057}.ticket-client-name{font-size:12px;color:#6c757d;font-style:italic}.ticket-concept{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-table-wide{min-width:1400px;width:100%;border-collapse:collapse}.admin-table-wide th,.admin-table-wide td{white-space:nowrap;padding:12px 8px;font-size:13px}.admin-table-wide th:nth-child(1),.admin-table-wide td:nth-child(1){width:100px;max-width:100px}.admin-table-wide th:nth-child(2),.admin-table-wide td:nth-child(2){width:180px;max-width:180px;overflow:hidden;text-overflow:ellipsis}.admin-table-wide th:nth-child(3),.admin-table-wide td:nth-child(3){width:150px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.admin-table-wide th:nth-child(4),.admin-table-wide td:nth-child(4){width:200px;max-width:200px;overflow:hidden;text-overflow:ellipsis}.admin-table-wide th:nth-child(5),.admin-table-wide td:nth-child(5){width:100px;max-width:100px}.admin-table-wide th:nth-child(6),.admin-table-wide td:nth-child(6){width:140px;max-width:140px}.admin-table-wide th:nth-child(7),.admin-table-wide td:nth-child(7){width:140px;max-width:140px}.admin-table-wide th:nth-child(8),.admin-table-wide td:nth-child(8){width:100px;max-width:100px;text-align:right}.admin-table-wide th:nth-child(9),.admin-table-wide td:nth-child(9){width:110px;max-width:110px}.admin-table-wide th:nth-child(10),.admin-table-wide td:nth-child(10){width:150px;max-width:150px}.admin-table th{background-color:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;white-space:nowrap}.admin-table td{padding:12px 15px;border-bottom:1px solid #e9ecef;color:#212529}.admin-ticket-row{transition:background-color .2s}.admin-ticket-row:hover{background-color:#f8f9fa}.admin-ticket-row.admin-ticket-generado{border-left:3px solid #ffc107}.admin-ticket-row.admin-ticket-solicitado{border-left:3px solid #0dcaf0}.admin-ticket-row.admin-ticket-completado{border-left:3px solid #198754}.admin-ticket-row.admin-ticket-error{border-left:3px solid #dc3545}.admin-ticket-code{font-family:monospace;font-weight:600;letter-spacing:.5px;color:#0d6efd}.admin-ticket-status{display:inline-block;padding:5px 10px;border-radius:20px;font-size:12px;font-weight:500;text-align:center;min-width:100px}.admin-ticket-status.generado{background-color:#fff3cd;color:#664d03}.admin-ticket-status.solicitado{background-color:#cff4fc;color:#055160}.admin-ticket-status.completado{background-color:#d1e7dd;color:#0f5132}.admin-ticket-status.error{background-color:#f8d7da;color:#842029}.admin-actions{display:flex;gap:5px;justify-content:flex-start}.admin-btn-icon{width:30px;height:30px;padding:0;border-radius:4px;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer}.admin-btn-info{background-color:#0dcaf0;color:#fff}.admin-btn-success{background-color:#198754;color:#fff}.admin-btn-info:hover{background-color:#0bacb9}.admin-btn-success:hover{background-color:#146c43}.admin-no-data{text-align:center;padding:40px 20px;color:#6c757d}.admin-no-data i{font-size:48px;margin-bottom:15px;color:#adb5bd}.admin-loading{text-align:center;padding:40px 20px;color:#6c757d}.admin-loading i{font-size:48px;margin-bottom:15px;color:#0d6efd}.admin-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.admin-stat-card{background-color:#fff;border-radius:8px;padding:20px;display:flex;align-items:center;box-shadow:0 2px 8px #0000001a}.admin-stat-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;margin-right:16px;color:#fff;font-size:24px}.tickets-icon{background-color:#4361ee}.pendientes-icon{background-color:#f9c74f}.process-icon{background-color:#f86f03}.completados-icon{background-color:#2ecc71}.admin-stat-info{flex:1}.admin-stat-title{font-size:14px;color:#6c757d;margin:0 0 8px}.admin-stat-value{font-size:24px;font-weight:700;color:#212529;margin:0}.admin-estado{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.admin-estado-generado{background-color:#f9c74f33;color:#f9c74f;border:1px solid #f9c74f}.admin-estado-solicitado{background-color:#f86f0333;color:#f86f03;border:1px solid #f86f03}.admin-estado-completado{background-color:#2ecc7133;color:#2ecc71;border:1px solid #2ecc71}.admin-estado-error{background-color:#e74c3c33;color:#e74c3c;border:1px solid #e74c3c}.admin-btn.icon.success{background-color:transparent;color:#2ecc71;border:1px solid #2ecc71}.admin-btn.icon.success:hover{background-color:#2ecc71;color:#fff}.admin-btn.icon.warning{background-color:transparent;color:#f86f03;border:1px solid #f86f03}.admin-btn.icon.warning:hover{background-color:#f86f03;color:#fff}.admin-btn.icon.info{background-color:transparent;color:#3b82f6;border:1px solid #3b82f6}.admin-btn.icon.info:hover{background-color:#3b82f6;color:#fff}.admin-btn.icon.success{background-color:transparent;color:#10b981;border:1px solid #10b981}.admin-btn.icon.success:hover{background-color:#10b981;color:#fff}.admin-select{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;background-color:#fff;font-size:14px;min-width:150px}.admin-select:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 .2rem #0d6efd40}.admin-btn.secondary{background-color:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:8px}.admin-btn.secondary:hover{background-color:#5a6268}.admin-filter-badge{display:inline-block;margin-left:8px;font-size:14px;color:#6c757d;font-weight:400}@media (max-width: 992px){.admin-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.admin-stats-grid{grid-template-columns:1fr}.admin-card-actions{flex-direction:column;align-items:flex-start;gap:8px}.admin-search,.admin-select{width:100%}}.admin-form-buttons{margin-top:25px}.admin-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease}.admin-modal{background-color:#fff;border-radius:12px;width:90%;max-width:500px;box-shadow:0 10px 25px #0003;overflow:hidden;animation:scaleIn .3s ease}.admin-modal-header{padding:20px;background-color:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;align-items:center}.admin-modal-icon{width:50px;height:50px;border-radius:50%;background-color:#28a745;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-right:15px}.admin-modal-title{font-size:20px;font-weight:600;color:#212529;margin:0}.admin-modal-body{padding:25px 20px}.admin-modal-message{margin-bottom:20px;font-size:16px;line-height:1.6;color:#495057}.admin-modal-details{background-color:#f8f9fa;border-radius:8px;padding:15px;margin-bottom:20px}.admin-modal-detail-item{display:flex;justify-content:space-between;margin-bottom:10px;font-size:14px}.admin-modal-detail-label{font-weight:500;color:#6c757d}.admin-modal-detail-value{font-weight:600;color:#212529}.admin-modal-ticket-code{text-align:center;background-color:#e6f7ff;border:1px dashed #91d5ff;border-radius:8px;padding:12px;margin:15px 0;font-size:24px;font-weight:700;color:#1890ff;letter-spacing:1px}.admin-modal-footer{padding:15px 20px;border-top:1px solid #e9ecef;display:flex;justify-content:flex-end;gap:10px}.admin-modal-btn{padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none}.admin-modal-btn-primary{background-color:#0d6efd;color:#fff}.admin-modal-btn-primary:hover{background-color:#0b5ed7}.admin-modal-btn-secondary{background-color:#6c757d;color:#fff}.admin-modal-btn-secondary:hover{background-color:#5c636a}.edit-ticket-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.edit-ticket-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.edit-ticket-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb}.edit-ticket-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.close-button{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;line-height:1;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.close-button:hover{background-color:#f3f4f6;color:#374151}.edit-ticket-content{padding:24px}.ticket-info{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px;margin-bottom:24px}.info-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e5e7eb}.info-row:last-child{border-bottom:none}.info-label{font-weight:500;color:#6b7280}.info-value{font-weight:600;color:#111827}.info-value.estado-generado{color:#f59e0b}.info-value.estado-solicitado{color:#3b82f6}.info-value.estado-completado{color:#10b981}.info-value.estado-error{color:#ef4444}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#374151}.form-group input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s ease}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-actions{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:12px}.right-actions{display:flex;gap:12px}.btn-primary,.btn-secondary,.btn-danger{padding:10px 16px;border-radius:6px;font-weight:500;font-size:14px;transition:all .2s ease;cursor:pointer;border:none}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background-color:#2563eb}.btn-secondary{background-color:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}.btn-danger{background-color:#fee2e2;color:#dc2626;border:1px solid #fecaca}.btn-danger:hover:not(:disabled){background-color:#fecaca}.btn-primary:disabled,.btn-secondary:disabled,.btn-danger:disabled{opacity:.5;cursor:not-allowed}.error-message{background-color:#fee2e2;border:1px solid #fecaca;color:#dc2626;padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px}.success-message{background-color:#dcfce7;border:1px solid #bbf7d0;color:#16a34a;padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px}@media (max-width: 640px){.edit-ticket-modal{width:95%;margin:16px}.modal-actions{flex-direction:column-reverse}.right-actions,.btn-primary,.btn-secondary,.btn-danger{width:100%}}.ticket-detail-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1001;animation:fadeIn .3s ease;padding:20px;overflow-y:auto}.ticket-detail-modal{background-color:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;box-shadow:0 10px 25px #0003;overflow:hidden;animation:scaleIn .3s ease;display:flex;flex-direction:column}.ticket-detail-modal-header{padding:20px;background-color:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;align-items:center;flex-shrink:0}.ticket-detail-modal-icon{width:50px;height:50px;border-radius:50%;background-color:#4361ee;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-right:15px}.ticket-detail-modal-title-section{flex:1}.ticket-detail-modal-title{font-size:20px;font-weight:600;color:#212529;margin:0 0 4px}.ticket-detail-modal-subtitle{font-size:14px;color:#6c757d;margin:0;font-family:monospace;font-weight:500}.ticket-detail-modal-close{background:none;border:none;font-size:20px;color:#6c757d;cursor:pointer;padding:8px;border-radius:4px;transition:all .2s}.ticket-detail-modal-close:hover{background-color:#e9ecef;color:#212529}.ticket-detail-modal-body{padding:0;overflow-y:auto;flex:1}.ticket-detail-section{padding:20px;border-bottom:1px solid #e9ecef}.ticket-detail-section:last-child{border-bottom:none}.ticket-detail-section-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#495057;margin:0 0 16px}.ticket-detail-section-title i{color:#4361ee}.ticket-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ticket-detail-item{display:flex;flex-direction:column;gap:4px}.ticket-detail-item-full{grid-column:1 / -1}.ticket-detail-item label{font-size:12px;font-weight:500;color:#6c757d;text-transform:uppercase;letter-spacing:.5px}.ticket-detail-item span{font-size:14px;color:#212529;padding:8px 0}.ticket-number{font-family:monospace;font-weight:600;color:#4361ee;font-size:16px}.ticket-total{font-weight:600;color:#2ecc71;font-size:16px}.ticket-status{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.ticket-status-generado{background-color:#f9c74f33;color:#f9c74f;border:1px solid #f9c74f}.ticket-status-solicitado{background-color:#f86f0333;color:#f86f03;border:1px solid #f86f03}.ticket-status-completado{background-color:#2ecc7133;color:#2ecc71;border:1px solid #2ecc71}.ticket-status-error{background-color:#e74c3c33;color:#e74c3c;border:1px solid #e74c3c}.ticket-status-simulado{background-color:#9b59b633;color:#9b59b6;border:1px solid #9b59b6}.ticket-detail-error-section{background-color:#fef2f2;border-left:4px solid #e74c3c}.ticket-detail-error-section .ticket-detail-section-title{color:#e74c3c}.ticket-error-details{display:flex;flex-direction:column;gap:16px}.ticket-error-item{display:flex;flex-direction:column;gap:8px}.ticket-error-item label{font-size:12px;font-weight:600;color:#e74c3c;text-transform:uppercase;letter-spacing:.5px}.ticket-error-message{background-color:#fff;border:1px solid #f5c6cb;border-radius:4px;padding:12px;color:#721c24;font-size:14px;line-height:1.4}.ticket-error-details-pre{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;padding:12px;font-size:12px;font-family:monospace;color:#495057;white-space:pre-wrap;max-height:200px;overflow-y:auto}.ticket-detail-modal-footer{padding:16px 20px;border-top:1px solid #e9ecef;display:flex;justify-content:flex-end;gap:12px;background-color:#f8f9fa;flex-shrink:0}.ticket-detail-modal-btn{padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none;display:flex;align-items:center;gap:8px}.ticket-detail-modal-btn.secondary{background-color:#6c757d;color:#fff}.ticket-detail-modal-btn.secondary:hover{background-color:#5c636a}@media (max-width: 768px){.ticket-detail-modal{margin:10px;max-height:95vh}.ticket-detail-grid{grid-template-columns:1fr}.ticket-detail-modal-header,.ticket-detail-section{padding:16px}}@keyframes scaleIn{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.admin-section{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:20px}.admin-section-title{color:#333;font-size:18px;margin-bottom:15px}.admin-table-container{overflow-x:auto;margin-top:20px;border-radius:4px}.admin-table{width:100%;border-collapse:collapse;font-size:14px}.admin-table th{background-color:#f8f9fa;padding:12px 16px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6}.admin-table td{padding:12px 16px;border-bottom:1px solid #e9ecef;color:#212529}.admin-table tr:hover{background-color:#f8f9fa}.admin-table tr:last-child td{border-bottom:none}.admin-table-actions{display:flex;gap:8px;justify-content:flex-end}.admin-btn.icon{padding:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:transparent;color:#0d6efd;border:1px solid #0d6efd;cursor:pointer;transition:all .2s ease}.admin-btn.icon:hover{background-color:#0d6efd;color:#fff}.admin-search{position:relative;flex:1;max-width:300px}.admin-search-input{width:100%;padding:8px 12px 8px 36px;border:1px solid #ced4da;border-radius:4px;font-size:14px;transition:border-color .2s ease}.admin-search-input:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 .2rem #0d6efd40}.admin-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6c757d}.admin-card-actions{display:flex;align-items:center;gap:12px}.admin-btn.primary{background-color:#0d6efd;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background-color .2s ease}.admin-btn.primary:hover{background-color:#0b5ed7}.admin-no-data{padding:30px;text-align:center;color:#6c757d}.admin-no-data i{font-size:48px;margin-bottom:16px;color:#dee2e6}.admin-no-data p{font-size:16px;margin-bottom:16px}.admin-loading{padding:30px;text-align:center;color:#6c757d}.admin-loading i{font-size:24px;margin-bottom:16px;color:#0d6efd}.admin-loading p{font-size:16px}.admin-alert{padding:15px 20px;border-radius:4px;margin-bottom:20px;display:flex;align-items:center;position:relative}.admin-alert i{margin-right:10px;font-size:18px}.admin-alert-close{position:absolute;top:50%;right:15px;transform:translateY(-50%);background:none;border:none;color:inherit;opacity:.7;cursor:pointer}.admin-alert-close:hover{opacity:1}.admin-alert-error{background-color:#f8d7da;border-left:4px solid #dc3545;color:#721c24}.admin-alert-success{background-color:#d4edda;border-left:4px solid #28a745;color:#155724}@media (max-width: 768px){.admin-card-actions{flex-direction:column;align-items:flex-start;gap:8px}.admin-search{max-width:100%;width:100%}}.user-branch-selector{background-color:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 10px #0000000d;margin-bottom:25px}.selector-title{margin-top:0;margin-bottom:15px;font-size:18px;color:#333;text-align:center}.branch-options{display:flex;flex-direction:column;gap:15px}.branch-option{display:flex;align-items:center;padding:15px;border-radius:8px;border:1px solid #e0e0e0;cursor:pointer;transition:all .2s ease;position:relative}.branch-option:hover{border-color:#007bff;background-color:#f8f9ff}.branch-option.active{border-color:#007bff;background-color:#f0f7ff}.branch-icon{width:40px;height:40px;background-color:#e6f2ff;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px;color:#007bff;font-size:18px}.branch-info{flex:1}.branch-info h4{margin:0 0 5px;font-size:16px;color:#333}.branch-info p{margin:0;font-size:14px;color:#666}.branch-selected{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#007bff;font-size:22px}.branch-help{margin-top:15px;font-size:13px;color:#666;text-align:center}.user-client-form-container{background-color:#fff;border-radius:8px;padding:25px;box-shadow:0 2px 10px #0000000d;margin-bottom:25px}.form-title{margin-top:0;margin-bottom:20px;font-size:20px;color:#333;text-align:center}.form-section{margin-bottom:25px;border-bottom:1px solid #eee;padding-bottom:20px}.section-title{font-size:22px!important;color:#444;margin-bottom:15px;padding-bottom:10px;border-bottom:1px dashed #eee}.form-row{margin-bottom:15px}.form-row.two-columns{display:flex;gap:15px}.form-row.two-columns .form-group{flex:1}.form-group{position:relative}.form-group label{display:block;margin-bottom:5px;font-size:14px;color:#555;font-weight:500}.form-control{display:block;width:100%;padding:10px 12px;font-size:14px;border:1px solid #ddd;border-radius:4px;background-color:#fff;transition:border-color .2s}.form-control:focus{border-color:#007bff;outline:none}.form-control:disabled{background-color:#f8f9fa;cursor:not-allowed}.form-control.error{border-color:#dc3545}.form-hint{display:block;font-size:12px;color:#6c757d;margin-top:5px}.form-loading{font-size:12px;color:#6c757d;margin-top:5px;display:flex;align-items:center}.form-loading:before{content:"";display:inline-block;width:12px;height:12px;border:2px solid #6c757d;border-top-color:transparent;border-radius:50%;margin-right:5px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.input-with-icon{position:relative}.input-with-icon .form-control{padding-right:30px}.input-with-icon i{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#6c757d}.input-with-icon i.fa-check{color:#28a745}.zip-code-info{background-color:#e6f7ff;border:1px solid #91d5ff;border-radius:4px;padding:5px 10px;margin-top:5px;font-size:12px;color:#0050b3;display:none}.form-alert{padding:12px;border-radius:4px;margin-bottom:15px;display:flex;align-items:center;position:relative}.form-alert i{margin-right:10px}.form-alert.error{background-color:#fff2f0;border:1px solid #ffccc7;color:#cf1322}.form-alert.success{background-color:#f6ffed;border:1px solid #b7eb8f;color:#389e0d}.form-alert .close-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;color:inherit;font-size:16px;cursor:pointer;opacity:.7}.form-alert .close-btn:hover{opacity:1}.form-actions{margin-top:25px;text-align:center}.form-submit-btn{background-color:#007bff;color:#fff;border:none;border-radius:4px;padding:12px 25px;font-size:16px;cursor:pointer;transition:background-color .3s;display:inline-flex;align-items:center;justify-content:center}.form-submit-btn:hover{background-color:#0069d9}.form-submit-btn:focus{outline:none;box-shadow:0 0 0 3px #007bff40}.form-submit-btn:disabled{background-color:#7bb8ff;cursor:not-allowed}.form-submit-btn i{margin-right:8px}@media (max-width: 768px){.form-row.two-columns{flex-direction:column;gap:0}.user-client-form-container{padding:15px}}.facturama-connection-test{margin-top:1.5rem}.test-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.test-btn{padding:.75rem 1.25rem;border-radius:.5rem;border:none;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s ease}.test-btn:disabled{opacity:.6;cursor:not-allowed}.test-btn.primary{background-color:#5f27cd;color:#fff}.test-btn.primary:hover:not(:disabled){background-color:#4b1fa3}.test-btn.secondary{background-color:#f1f2f6;color:#2f3542}.test-btn.secondary:hover:not(:disabled){background-color:#dfe4ea}.test-result{margin-bottom:1.5rem;border-radius:.75rem;overflow:hidden;border:1px solid transparent;box-shadow:0 2px 8px #00000014}.test-result.success{border-color:#e3f9e5;background-color:#f8fff9}.test-result.error{border-color:#ffe3e3;background-color:#fff8f8}.test-result.info{border-color:#e3eeff;background-color:#f5f9ff}.test-result.warning{border-color:#fff3cd;background-color:#fffbef}.test-result-header{padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f1f2f6}.test-result.success .test-result-header{background-color:#e3f9e5}.test-result.error .test-result-header{background-color:#ffe3e3}.test-result.info .test-result-header{background-color:#e3eeff}.test-result.warning .test-result-header{background-color:#fff3cd}.test-result-title{display:flex;align-items:center;gap:.75rem}.test-result-title i{font-size:1.25rem}.test-result.success .test-result-title i{color:#28a745}.test-result.error .test-result-title i{color:#dc3545}.test-result.info .test-result-title i{color:#0d6efd}.test-result.warning .test-result-title i{color:#ffc107}.test-result-title h3{margin:0;font-size:1.1rem;font-weight:600}.test-result-env{font-size:.85rem}.env-badge{background-color:#0000001a;padding:.25rem .75rem;border-radius:1rem;font-weight:500}.test-result-content{padding:1.5rem}.test-result-details{background-color:#00000005;padding:1rem;border-radius:.5rem;margin:1rem 0}.test-result-details h4{margin-top:0;margin-bottom:.75rem;font-size:1rem;font-weight:600}.test-result-details p{margin:.25rem 0}.test-result-error{background-color:#ffe3e3;color:#dc3545;padding:.75rem 1rem;border-radius:.5rem;margin:1rem 0;font-family:monospace;white-space:pre-wrap;word-break:break-word}.test-result-help{margin-top:1rem;color:#6c757d}.test-result-help p{font-weight:500;margin-bottom:.5rem}.test-result-help ul,.test-result-help ol{margin:0;padding-left:1.5rem}.test-result-help li{margin-bottom:.5rem}.test-result-help a{color:#5f27cd;text-decoration:underline}.details-toggle{background:none;border:none;color:#5f27cd;padding:0;font-size:.9rem;cursor:pointer;text-decoration:underline}.response-json{background-color:#2f3542;color:#f1f2f6;padding:1rem;border-radius:.5rem;overflow:auto;max-height:300px;font-size:.85rem;margin-top:1rem}@media (max-width: 768px){.test-actions{flex-direction:column}.test-result-header{flex-direction:column;align-items:flex-start;gap:.5rem}}.facturama-test-container{background-color:#f8f9fa;border-radius:8px;padding:20px;margin-bottom:25px;box-shadow:0 2px 5px #0000000d;border:1px solid #e9ecef}.test-title{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.test-section{margin-bottom:25px;border-bottom:1px solid #eee;padding-bottom:20px}.test-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.test-section h4{font-size:16px;color:#444;margin-bottom:10px}.test-description{font-size:14px;color:#666;margin-bottom:15px}.test-btn{background-color:#007bff;color:#fff;border:none;border-radius:4px;padding:10px 15px;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s}.test-btn:hover{background-color:#0069d9}.test-btn:disabled{background-color:#90c2ff;cursor:not-allowed}.test-result{margin-top:15px;padding:15px;border-radius:6px;display:flex;align-items:flex-start;gap:15px}.test-result.success{background-color:#e6f7eb;border:1px solid #b7eb8f}.test-result.error{background-color:#fff1f0;border:1px solid #ffccc7}.test-result i{font-size:20px;margin-top:3px}.test-result.success i{color:#52c41a}.test-result.error i{color:#f5222d}.test-result-content{flex:1}.test-result-content p{margin:0 0 8px;font-size:14px;color:#333}.test-result-content p:last-child{margin-bottom:0}@media (max-width: 768px){.facturama-test-container{padding:15px}}:root{--user-primary: #4A89DC;--user-primary-light: #5D9CEC;--user-secondary: #FF6B6B;--user-success: #1DD1A1;--user-warning: #FFC048;--user-danger: #EE5253;--user-bg: #F8F9FC;--user-sidebar: #FFFFFF;--user-card: #FFFFFF;--user-text: #2C3E50;--user-text-light: #7A8C9E;--user-border: #E9ECEF;--user-shadow: 0 2px 10px rgba(0, 0, 0, .05);--user-transition: all .3s ease}.user-dashboard{display:flex;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--user-text);background-color:var(--user-bg)}.user-sidebar{width:250px;background-color:var(--user-sidebar);box-shadow:var(--user-shadow);display:flex;flex-direction:column;position:fixed;height:100vh;z-index:100;border-right:1px solid var(--user-border)}.user-sidebar-brand,.user-sidebar-header{padding:1rem;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--user-border);height:80px;overflow:hidden}.user-logo{width:80%;height:auto;max-height:60px;object-fit:contain}.user-brand-name{font-weight:600;font-size:1.2rem;color:var(--user-primary)}.user-nav{flex:1;padding:1rem 0}.user-nav-list{list-style-type:none;padding:0;margin:0}.user-nav-item{margin-bottom:.25rem}.user-nav-link{display:flex;align-items:center;padding:.85rem 1.5rem;color:var(--user-text);text-decoration:none;transition:var(--user-transition);border-left:3px solid transparent;font-weight:500}.user-nav-link:hover{background-color:#4a89dc0d;color:var(--user-primary)}.user-nav-link.active{background-color:#4a89dc1a;color:var(--user-primary);border-left:3px solid var(--user-primary)}.user-nav-link i{margin-right:.75rem;font-size:1.1rem;width:20px;text-align:center}.user-sidebar-footer{padding:1.5rem;border-top:1px solid var(--user-border)}.user-logout-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem;background-color:#ee52531a;color:var(--user-danger);border:none;border-radius:8px;cursor:pointer;transition:var(--user-transition);font-weight:500}.user-logout-btn:hover{background-color:var(--user-danger);color:#fff}.user-logout-btn i{margin-right:.5rem}.user-main{flex:1;margin-left:250px;padding:0;overflow-x:hidden}.user-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background-color:var(--user-card);border-bottom:1px solid var(--user-border)}.user-title{font-size:1.5rem;font-weight:600;margin:0;color:var(--user-text);display:flex;align-items:center}.user-title i{margin-right:10px;color:var(--user-primary);font-size:1.3rem}.user-account{display:flex;align-items:center;gap:1rem}.user-email{font-size:.9rem;color:var(--user-text-light)}.user-name{font-size:.95rem;font-weight:500;color:var(--user-text)}.user-avatar{width:40px;height:40px;background-color:var(--user-primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600}.user-content{padding:2rem}.user-welcome-banner{background-color:var(--user-primary);color:#fff;border-radius:12px;padding:2.5rem;margin-bottom:2rem;background-image:linear-gradient(135deg,var(--user-primary) 0%,var(--user-primary-light) 100%);box-shadow:0 4px 20px #4a89dc4d;position:relative;overflow:hidden}.user-welcome-banner:before{content:"";position:absolute;top:-50%;right:-50%;width:100%;height:200%;background:#ffffff1a;transform:rotate(-30deg);pointer-events:none}.user-welcome-content{position:relative;z-index:1}.user-welcome-content h2{font-size:1.85rem;font-weight:700;margin:0 0 .75rem;text-shadow:0 2px 4px rgba(0,0,0,.1)}.user-welcome-content p{font-size:1.1rem;opacity:.9;margin:0;max-width:80%}.user-alert{padding:1rem;border-radius:8px;margin-bottom:1.5rem;display:flex;align-items:center;position:relative}.user-alert i{margin-right:.75rem;font-size:1.1rem}.user-alert.error{background-color:#ee52531a;color:var(--user-danger);border-left:4px solid var(--user-danger)}.user-alert.success{background-color:#1dd1a11a;color:var(--user-success);border-left:4px solid var(--user-success)}.user-alert-close{position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:inherit;opacity:.7;transition:opacity .2s}.user-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:var(--user-text-light)}.user-loading i{font-size:2rem;margin-bottom:1rem;color:var(--user-primary)}.user-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2rem}.user-stat-card{background-color:var(--user-card);border-radius:12px;box-shadow:var(--user-shadow);padding:1.75rem;display:flex;align-items:center;transition:var(--user-transition);border:1px solid var(--user-border);position:relative;overflow:hidden}.user-stat-card:hover{transform:translateY(-5px);box-shadow:0 10px 20px #00000014}.user-stat-card:after{content:"";position:absolute;top:0;right:0;height:100%;width:5px;background:var(--user-primary);opacity:0;transition:var(--user-transition)}.user-stat-card:hover:after{opacity:1}.user-stat-icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-right:1.5rem;font-size:1.75rem;color:#fff;box-shadow:0 4px 10px #0000001a;position:relative;z-index:1}.facturas-icon{background:linear-gradient(135deg,#4a89dc,#5d9cec)}.ingresos-icon{background:linear-gradient(135deg,#ffc048,#fb3)}.pendientes-icon{background:linear-gradient(135deg,#ff6b6b,#ff5252)}.user-stat-info{flex:1}.user-stat-title{font-size:1rem;color:var(--user-text-light);margin:0 0 .75rem;font-weight:500}.user-stat-value{font-size:2rem;font-weight:700;margin:0;color:var(--user-text);line-height:1}.user-card-container{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem}.user-card{background-color:var(--user-card);border-radius:12px;box-shadow:var(--user-shadow);height:100%;border:1px solid var(--user-border);margin-bottom:1.5rem;transition:var(--user-transition);overflow:hidden}.user-card:hover{box-shadow:0 8px 15px #00000014;transform:translateY(-3px)}.user-card-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 1.75rem;border-bottom:1px solid var(--user-border);background-color:#f8f9fc80}.user-card-title{font-size:1.2rem;font-weight:600;margin:0;color:var(--user-text);display:flex;align-items:center}.user-card-title i{margin-right:.75rem;color:var(--user-primary);font-size:1.1rem}.user-card-link{color:var(--user-primary);text-decoration:none;font-weight:500;font-size:.9rem;display:flex;align-items:center;transition:var(--user-transition);padding:.5rem .75rem;border-radius:6px}.user-card-link:hover{background-color:#4a89dc1a}.user-card-link i{margin-left:.5rem;transition:var(--user-transition)}.user-card-link:hover i{transform:translate(3px)}.user-card-body{padding:1.75rem}.user-card-description{color:var(--user-text-light);margin-top:0;margin-bottom:1.5rem;line-height:1.6}.user-find-factura,.user-find-factura-full{margin-top:1rem}.user-table-container{overflow-x:auto}.user-table{width:100%;border-collapse:collapse}.user-table th,.user-table td{padding:1rem;text-align:left;border-bottom:1px solid var(--user-border)}.user-table th{font-weight:600;color:var(--user-text-light);font-size:.9rem;white-space:nowrap}.user-table tbody tr{transition:var(--user-transition)}.user-table tbody tr:hover{background-color:#4a89dc0d}.user-no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:var(--user-text-light);text-align:center}.user-no-data i{font-size:3rem;margin-bottom:1rem;opacity:.3}@media (max-width: 1200px){.user-stats-grid{grid-template-columns:repeat(3,1fr)}.user-card-container{grid-template-columns:1fr}}@media (max-width: 992px){.user-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.user-sidebar{width:70px;overflow:hidden}.user-brand-name,.user-nav-link span,.user-logout-btn span{display:none}.user-sidebar-brand{justify-content:center;padding:1rem}.user-logo{margin-right:0}.user-nav-link{justify-content:center;padding:.75rem}.user-nav-link i{margin-right:0;font-size:1.2rem}.user-main{margin-left:70px}.user-stats-grid{grid-template-columns:1fr}}@media (max-width: 576px){.user-header{flex-direction:column;align-items:flex-start}.user-account{margin-top:1rem;align-self:flex-end}.user-content{padding:1rem}}.user-client-data{margin-top:20px}.client-data-section{margin-bottom:20px}.client-data-section h4{font-size:16px;color:#444;margin-bottom:15px;padding-bottom:10px;border-bottom:1px dashed #eee}.client-data-row{display:flex;margin-bottom:10px;align-items:flex-start}.client-data-label{width:35%;font-weight:500;color:#555;padding-right:10px}.client-data-value{width:65%;color:#333}.user-alert-warning{background-color:#fff9e6;border:1px solid #ffe58f;color:#d48806;border-radius:4px;padding:15px;margin-bottom:20px;display:flex;flex-direction:column;align-items:center}.user-alert-warning p{margin-bottom:15px;text-align:center}.user-btn{padding:8px 15px;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s;border:none;display:inline-flex;align-items:center;gap:5px}.user-btn-primary{background-color:#1890ff;color:#fff}.user-btn-primary:hover{background-color:#40a9ff}.user-card-content{padding:15px}.dashboard-welcome-banner{background:linear-gradient(135deg,#4a6bff,#2a4bdf);border-radius:12px;padding:20px 25px;color:#fff;margin-bottom:25px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #0000001a}.welcome-content h2{margin:0 0 5px;font-size:1.8rem;font-weight:600}.welcome-content p{margin:0;opacity:.9;font-size:1rem}.dashboard-action-btn{background-color:#fff;color:#4a6bff;border:none;border-radius:6px;padding:10px 16px;font-weight:600;display:inline-flex;align-items:center;gap:8px;text-decoration:none;transition:all .2s ease;font-size:.9rem;box-shadow:0 2px 5px #0000001a}.dashboard-action-btn:hover{background-color:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.dashboard-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:25px}.dashboard-stat-card{background-color:#fff;border-radius:12px;padding:20px;display:flex;align-items:flex-start;box-shadow:0 2px 8px #0000000f;transition:transform .2s ease,box-shadow .2s ease}.dashboard-stat-card:hover{transform:translateY(-3px);box-shadow:0 6px 12px #0000001a}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;justify-content:center;align-items:center;margin-right:15px;flex-shrink:0;font-size:20px}.dashboard-stat-card:nth-child(1) .stat-icon{background-color:#4a6bff1f;color:#4a6bff}.dashboard-stat-card:nth-child(2) .stat-icon{background-color:#53be611f;color:#4caf50}.dashboard-stat-card:nth-child(3) .stat-icon{background-color:#ff91001f;color:#ff9100}.dashboard-stat-card:nth-child(4) .stat-icon{background-color:#8a3ab91f;color:#8a3ab9}.stat-info{flex:1}.stat-info h3{margin:0;font-size:.9rem;color:#555;font-weight:500}.stat-value{font-size:1.8rem;font-weight:700;margin:5px 0;color:#333}.stat-detail{font-size:.85rem;color:#666;margin:0}.stat-action{color:#4a6bff;text-decoration:none;font-weight:500}.stat-action:hover{text-decoration:underline}.dashboard-sections{display:grid;grid-template-columns:2fr 1fr;gap:20px}.dashboard-card{background-color:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;margin-bottom:20px;overflow:hidden}.dashboard-card-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #f0f0f0}.dashboard-card-header h2{margin:0;font-size:1.1rem;font-weight:600;color:#333;display:flex;align-items:center;gap:8px}.dashboard-card-header h2 i{color:#4a6bff}.dashboard-card-link{color:#4a6bff;text-decoration:none;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:5px}.dashboard-card-link:hover{text-decoration:underline}.dashboard-card-body{padding:20px}.activity-timeline{display:flex;flex-direction:column;gap:15px}.activity-item{display:flex;align-items:flex-start;gap:12px;padding-bottom:15px;border-bottom:1px solid #f0f0f0}.activity-item:last-child{border-bottom:none;padding-bottom:0}.activity-icon{width:36px;height:36px;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-shrink:0;font-size:14px}.activity-item.factura .activity-icon{background-color:#4a6bff1f;color:#4a6bff}.activity-item.ticket .activity-icon{background-color:#ff91001f;color:#ff9100}.activity-content{flex:1}.activity-date{font-size:.8rem;color:#888;margin-bottom:4px}.activity-content h4{margin:0 0 5px;font-size:.95rem;font-weight:600;color:#333}.activity-content p{margin:0 0 8px;font-size:.85rem;color:#666}.activity-action{display:inline-block;background-color:#f5f7ff;color:#4a6bff;border-radius:4px;padding:4px 10px;font-size:.8rem;font-weight:500;text-decoration:none;transition:all .2s ease}.activity-action:hover{background-color:#4a6bff;color:#fff}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;text-align:center}.empty-state i{font-size:2.5rem;margin-bottom:15px;color:#ccc}.empty-state p{color:#888;margin:0 0 15px}.facturas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px}.factura-card{border:1px solid #eee;border-radius:8px;overflow:hidden;transition:all .2s ease}.factura-card:hover{box-shadow:0 5px 12px #0000001a;transform:translateY(-2px)}.factura-card-header{background-color:#f8f9ff;padding:12px 15px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee}.factura-number{font-weight:600;color:#4a6bff}.factura-date{font-size:.85rem;color:#888}.factura-card-body{padding:15px}.factura-detail{margin-bottom:8px;display:flex;flex-direction:column}.factura-detail:last-child{margin-bottom:0}.detail-label{font-size:.75rem;color:#888;margin-bottom:2px}.detail-value{font-size:.9rem;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-value.price{font-weight:600;color:#4caf50}.factura-card-footer{padding:10px 15px;background-color:#f9f9f9;display:flex;gap:10px;border-top:1px solid #eee}.factura-action{font-size:.8rem;text-decoration:none;display:flex;align-items:center;gap:5px;padding:5px 10px;border-radius:4px;transition:all .2s}.factura-action.pdf{background-color:#f443361a;color:#f44336}.factura-action.xml{background-color:#2196f31a;color:#2196f3}.factura-action:hover{opacity:.8}.quick-action-btn{display:flex;align-items:center;gap:10px;padding:12px 15px;background-color:#f8f9ff;color:#4a6bff;border-radius:8px;margin-bottom:10px;text-decoration:none;transition:all .2s ease;cursor:pointer}.quick-action-btn:hover{background-color:#4a6bff;color:#fff;transform:translate(3px)}.quick-action-btn:last-child{margin-bottom:0}.status-item{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid #f0f0f0}.status-item:last-child{border-bottom:none;padding-bottom:0}.status-icon{margin-right:12px;font-size:1.2rem}.status-icon .fa-check-circle{color:#4caf50}.status-icon .fa-times-circle{color:#f44336}.status-icon .fa-exclamation-circle{color:#ff9800}.status-text{flex:1}.status-text h4{margin:0 0 3px;font-size:.9rem;font-weight:600;color:#333}.status-text p{margin:0;font-size:.85rem;color:#666}.status-action{background-color:#f5f7ff;color:#4a6bff;padding:5px 10px;border-radius:4px;font-size:.8rem;text-decoration:none;transition:all .2s}.status-action:hover{background-color:#4a6bff;color:#fff}.categories-list{display:flex;flex-direction:column;gap:12px}.category-item{display:flex;flex-direction:column;gap:5px}.category-name{font-size:.9rem;font-weight:500;color:#333}.category-bar{height:8px;background-color:#f0f0f0;border-radius:4px;overflow:hidden}.category-fill{height:100%;background-color:#4a6bff;border-radius:4px}.category-stats{display:flex;justify-content:space-between;font-size:.8rem}.category-count{color:#666}.category-total{font-weight:500;color:#333}@media (max-width: 992px){.dashboard-sections{grid-template-columns:1fr}}@media (max-width: 768px){.dashboard-welcome-banner{flex-direction:column;align-items:flex-start;gap:15px}.dashboard-stats-grid{grid-template-columns:repeat(auto-fit,minmax(100%,1fr))}.facturas-grid{grid-template-columns:1fr}}.dashboard-error-state{text-align:center;padding:2rem;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;margin-bottom:25px}.error-icon{font-size:3rem;color:#f5a623;margin-bottom:1rem}.dashboard-error-state h3{font-size:1.5rem;margin:0 0 1rem;color:#333}.dashboard-error-state p{color:#666;margin-bottom:1.5rem}.error-help{font-weight:500;margin-top:1.5rem;margin-bottom:.5rem}.error-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-bottom:2rem}.dashboard-fallback{margin-top:2rem;border-top:1px solid #eee;padding-top:2rem}.dashboard-fallback h3{font-size:1.2rem;margin-bottom:1.5rem;color:#555}.pending-tickets-list{margin-top:15px;background-color:#f8f9fa;border-radius:8px;padding:12px}.pending-tickets-title{font-size:14px;color:#495057;margin-bottom:10px;font-weight:500}.ticket-list{list-style:none;padding:0;margin:0}.ticket-item{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #e9ecef;transition:background-color .2s}.ticket-item:last-child{border-bottom:none}.ticket-item:hover{background-color:#e9ecef}.ticket-info{display:flex;flex-direction:column}.ticket-code{font-family:monospace;font-weight:600;font-size:14px;color:#1976d2}.ticket-amount{font-size:13px;color:#495057;font-weight:500}.ticket-action{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background-color:#e9ecef;border-radius:50%;color:#495057;transition:all .2s}.ticket-action:hover{background-color:#0d6efd;color:#fff;transform:translate(3px)}.more-tickets{font-size:13px;color:#6c757d;justify-content:space-between;padding:10px}.view-all{color:#0d6efd;font-weight:500;font-size:13px;text-decoration:none}.view-all:hover{text-decoration:underline}.user-stats-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem}.user-stat-card{background-color:#fff;border-radius:8px;padding:1.25rem;display:flex;align-items:center;box-shadow:0 2px 4px #0000000d;transition:transform .2s,box-shadow .2s}.user-stat-card:hover{transform:translateY(-3px);box-shadow:0 4px 8px #0000001a}.user-stat-icon{width:48px;height:48px;border-radius:50%;background-color:#f0f4ff;display:flex;align-items:center;justify-content:center;margin-right:1rem;color:#4a6cf7;font-size:1.25rem}.user-stat-info h3{font-size:.9rem;color:#64748b;margin:0 0 .25rem;font-weight:500}.user-stat-info p{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.user-filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-bottom:.5rem}.user-search-input{position:relative;flex:1;min-width:200px}.user-search-input input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.9rem}.user-search-btn{position:absolute;right:0;top:0;height:100%;width:2.5rem;background:none;border:none;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center}.user-filter-group{display:flex;flex-direction:column;min-width:150px}.user-filter-group label{font-size:.8rem;margin-bottom:.25rem;color:#64748b}.user-filter-group select,.user-filter-group input{padding:.75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.9rem}.user-facturas-table-container{overflow-x:auto;margin-bottom:1.5rem}.user-facturas-table{width:100%;border-collapse:collapse;font-size:.9rem}.user-facturas-table th{background-color:#f8fafc;color:#64748b;font-weight:600;text-align:left;padding:1rem;border-bottom:1px solid #e2e8f0}.user-facturas-table td{padding:1rem;border-bottom:1px solid #e2e8f0;color:#334155}.user-facturas-table tr:hover{background-color:#f8fafc}.factura-row.factura-test{background-color:#fffbeb}.factura-row.factura-test:hover{background-color:#fef3c7}.concepto-cell{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.total-cell{font-weight:600;color:#0f172a}.status-badge{display:inline-block;padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:500}.status-badge.completed{background-color:#dcfce7;color:#166534}.status-badge.error{background-color:#fee2e2;color:#b91c1c}.status-badge.processing{background-color:#e0f2fe;color:#0369a1}.status-badge.test{background-color:#fef9c3;color:#854d0e}.actions-cell{white-space:nowrap;text-align:center}.user-btn-icon{width:36px;height:36px;border-radius:6px;border:none;display:inline-flex;align-items:center;justify-content:center;margin:0 .25rem;cursor:pointer;transition:background-color .2s,transform .2s}.user-btn-icon.pdf{background-color:#fee2e2;color:#b91c1c}.user-btn-icon.pdf:hover{background-color:#fecaca;transform:translateY(-2px)}.user-btn-icon.xml{background-color:#e0f2fe;color:#0369a1}.user-btn-icon.xml:hover{background-color:#bae6fd;transform:translateY(-2px)}.no-downloads{font-size:.8rem;color:#94a3b8;font-style:italic}.user-pagination{display:flex;justify-content:center;gap:.5rem;margin-top:1.5rem}.user-pagination-btn{width:36px;height:36px;border-radius:6px;border:1px solid #e2e8f0;background-color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.user-pagination-btn:hover:not(:disabled){background-color:#f8fafc;border-color:#cbd5e1}.user-pagination-btn.active{background-color:#4a6cf7;color:#fff;border-color:#4a6cf7}.user-pagination-btn:disabled{opacity:.5;cursor:not-allowed}.user-empty-state{text-align:center;padding:3rem 1rem}.user-empty-icon{font-size:3rem;color:#cbd5e1;margin-bottom:1rem}.user-empty-state h3{color:#334155;margin-bottom:.5rem}.user-empty-state p{color:#64748b;margin-bottom:1.5rem;max-width:500px;margin-left:auto;margin-right:auto}@media (max-width: 768px){.user-filters{flex-direction:column;align-items:stretch}.user-filter-group,.user-search-input{width:100%}.concepto-cell{max-width:120px}.user-facturas-table th,.user-facturas-table td{padding:.75rem .5rem}}.user-facturas-table-container{animation:fadeIn .3s ease-in-out}.user-factura-detail-modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000a6;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.user-factura-detail-content{background-color:#fff;border-radius:12px;width:90%;max-width:850px;max-height:90vh;overflow-y:auto;box-shadow:0 15px 30px #00000040;animation:modalFadeIn .3s ease-out;border:1px solid rgba(0,0,0,.1)}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}.user-factura-detail-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background:linear-gradient(to right,#f8f9fa,#f0f4ff);border-bottom:1px solid #e2e8f0;border-radius:12px 12px 0 0}.user-factura-detail-header h2{font-size:1.35rem;font-weight:700;margin:0;color:#1e293b;display:flex;align-items:center;gap:12px}.user-factura-detail-header h2 i{color:#4a6cf7;font-size:1.5rem}.user-factura-detail-id{background-color:#4a6cf7;color:#fff;padding:4px 12px;border-radius:20px;font-size:.95rem;margin-left:12px;display:inline-block}.user-factura-detail-close{background:#f1f5f9;border:none;font-size:1.15rem;color:#64748b;cursor:pointer;transition:all .2s;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}.user-factura-detail-close:hover{color:#ef4444;background-color:#fee2e2;transform:rotate(90deg)}.user-factura-detail-body{padding:2rem}.user-factura-detail-section{margin-bottom:2.5rem;background-color:#f8fafc;padding:1.5rem;border-radius:8px;border:1px solid #e2e8f0;box-shadow:0 2px 5px #0000000d}.user-factura-detail-section:last-child{margin-bottom:0}.user-factura-detail-section h3{font-size:1.1rem;font-weight:700;margin:0 0 1.25rem;color:#334155;display:flex;align-items:center;border-bottom:2px solid #e2e8f0;padding-bottom:.75rem}.user-factura-detail-section h3 i{margin-right:.75rem;color:#4a6cf7;background-color:#e0e7ff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center}.user-factura-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem}.user-factura-detail-item{margin-bottom:.75rem;padding:.75rem;background-color:#fff;border-radius:6px;border:1px solid #edf2f7;transition:all .2s;display:flex;flex-direction:column;justify-content:space-between}.user-factura-detail-item:hover{box-shadow:0 3px 8px #0000000d;border-color:#cbd5e1}.user-factura-detail-label{font-size:.8rem;color:#64748b;margin-bottom:.35rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em}.user-factura-detail-value{font-size:1rem;color:#334155;font-weight:600}.user-factura-detail-footer{padding:1.5rem 2rem;background-color:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:1rem;border-radius:0 0 12px 12px}.user-factura-detail-footer .user-btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.95rem;display:flex;align-items:center;gap:.5rem;transition:all .3s;cursor:pointer}.user-factura-detail-footer .user-btn.secondary{background-color:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.user-factura-detail-footer .user-btn.secondary:hover{background-color:#e2e8f0;color:#1e293b;transform:translateY(-2px);box-shadow:0 3px 6px #0000001a}.user-factura-detail-footer .user-btn i{font-size:1.1rem}.user-download-buttons{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}.user-download-btn{display:flex;align-items:center;justify-content:center;padding:.85rem 1.5rem;border-radius:8px;font-weight:600;font-size:.95rem;transition:all .3s;text-decoration:none;box-shadow:0 2px 4px #0000001a}.user-download-btn i{margin-right:.75rem;font-size:1.25rem}.user-download-btn.pdf{background-color:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.user-download-btn.pdf:hover{background-color:#b91c1c;color:#fff;transform:translateY(-3px);box-shadow:0 4px 8px #b91c1c4d;border-color:#b91c1c}.user-download-btn.xml{background-color:#e0f2fe;color:#0369a1;border:1px solid #bae6fd}.user-download-btn.xml:hover{background-color:#0369a1;color:#fff;transform:translateY(-3px);box-shadow:0 4px 8px #0369a14d;border-color:#0369a1}.user-facturas-table th:first-child,.user-facturas-table td:first-child{padding-left:1.5rem}.user-facturas-table th:last-child,.user-facturas-table td:last-child{padding-right:1.5rem}.user-facturas-table tr{transition:background-color .2s}.user-btn-icon i{transition:transform .2s}.user-btn-icon:hover i{transform:scale(1.2)}@keyframes fadeInRow{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-facturas-table tbody tr{animation:fadeInRow .3s ease-out;animation-fill-mode:both}.user-facturas-table tbody tr:nth-child(1){animation-delay:.05s}.user-facturas-table tbody tr:nth-child(2){animation-delay:.1s}.user-facturas-table tbody tr:nth-child(3){animation-delay:.15s}.user-facturas-table tbody tr:nth-child(4){animation-delay:.2s}.user-facturas-table tbody tr:nth-child(5){animation-delay:.25s}.user-facturas-table tbody tr:nth-child(6){animation-delay:.3s}.user-facturas-table tbody tr:nth-child(7){animation-delay:.35s}.user-facturas-table tbody tr:nth-child(8){animation-delay:.4s}.user-facturas-table tbody tr:nth-child(9){animation-delay:.45s}.user-facturas-table tbody tr:nth-child(10){animation-delay:.5s}.factura-facturama{background-color:#0080800d}.factura-facturama:hover{background-color:#0080801a}.status-badge.facturama{background-color:teal;color:#fff;margin-right:4px;font-size:.7rem}.status-badge+.status-badge{margin-left:4px}.user-facturas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-bottom:20px}.factura-card{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;transition:transform .2s,box-shadow .2s;cursor:pointer;display:flex;flex-direction:column;height:100%}.factura-card:hover{transform:translateY(-3px);box-shadow:0 4px 8px #00000026}.factura-card-header{padding:12px 16px;background-color:#f5f7fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.factura-card-folio{font-weight:600;color:#343a40;font-size:1.1rem}.factura-card-status{display:flex;gap:4px}.factura-card-body{padding:16px;flex-grow:1}.factura-card-date{color:#6c757d;font-size:.9rem;margin-bottom:12px}.factura-card-date i{margin-right:6px}.factura-card-info{display:flex;flex-direction:column;gap:8px}.factura-card-info .label{font-weight:600;color:#495057;margin-right:4px}.factura-card-info .value{color:#212529}.factura-card-concept,.factura-card-ticket,.factura-card-branch{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.factura-card-total{margin-top:8px;font-size:1.1rem}.factura-card-total .value{font-weight:700;color:#28a745}.factura-card-footer{padding:12px 16px;background-color:#f8f9fa;border-top:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.factura-card-actions{display:flex;gap:8px}.factura-card-detail-btn{padding:5px 10px;background-color:#f0f4ff;color:#4a6cf7;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;display:flex;align-items:center;gap:5px;transition:all .2s}.factura-card-detail-btn:hover{background-color:#4a6cf7;color:#fff}.factura-card.factura-test{border:1px solid #ffc107}.factura-card.factura-test .factura-card-header{background-color:#fff8e1}.factura-card.factura-facturama{border:1px solid #17a2b8}.factura-card.factura-facturama .factura-card-header{background-color:#e3f2fd}.status-badge{padding:4px 8px;border-radius:100px;font-size:.75rem;font-weight:600;text-transform:uppercase;display:inline-block}.status-badge.completed{background-color:#d4edda;color:#155724}.status-badge.processing{background-color:#cce5ff;color:#004085}.status-badge.error{background-color:#f8d7da;color:#721c24}.status-badge.test{background-color:#fff3cd;color:#856404}.status-badge.facturama{background-color:#d1ecf1;color:#0c5460}@media (max-width: 768px){.user-facturas-grid{grid-template-columns:1fr}}.user-alert{padding:12px 15px;border-radius:6px;margin-bottom:20px;display:flex;align-items:center;position:relative}.user-alert i{font-size:16px;margin-right:10px}.user-alert.error{background-color:#fee2e2;color:#b91c1c;border-left:4px solid #EF4444}.user-alert.success{background-color:#d1fae5;color:#065f46;border-left:4px solid #10B981}.user-alert.info{background-color:#e0f2fe;color:#0369a1;border-left:4px solid #0EA5E9}.user-alert strong{font-weight:600}.activity-action.view-detail{background-color:#f0f4ff;color:#4a6cf7;border:none;padding:5px 10px;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .2s;text-align:center}.activity-action.view-detail:hover{background-color:#4a6cf7;color:#fff}.user-factura-detail-value .status-badge{padding:6px 12px;border-radius:100px;font-size:.8rem;font-weight:600;text-transform:uppercase;display:inline-flex;align-items:center;gap:5px;box-shadow:0 2px 4px #0000001a}.user-factura-detail-value .status-badge i{font-size:.9rem}.user-factura-detail-value .status-badge.completed{background-color:#dcfce7;color:#166534;border:1px solid #bbf7d0}.user-factura-detail-value .status-badge.processing{background-color:#e0f2fe;color:#075985;border:1px solid #bae6fd}.user-factura-detail-value .status-badge.error{background-color:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.user-factura-detail-value .status-badge.test{background-color:#fef9c3;color:#854d0e;border:1px solid #fef08a}.user-factura-detail-value .status-badge.facturama{background-color:#f0fdfa;color:#0f766e;border:1px solid #99f6e4}.user-factura-detail-value.price{font-size:1.25rem;color:#16a34a;font-weight:700}.user-factura-detail-value.subtotal{color:#334155}.user-factura-detail-value.highlight{background-color:#f8fafc;padding:6px 12px;border-radius:6px;border-left:3px solid #4a6cf7}.user-factura-detail-value.email{font-family:monospace;letter-spacing:-.02em;background-color:#f1f5f9;padding:4px 8px;border-radius:4px;word-break:break-all}.user-factura-detail-value.folio{font-family:monospace;letter-spacing:.05em;background-color:#f1f5f9;padding:5px 10px;border-radius:6px;border:1px dashed #cbd5e1;font-weight:700;display:inline-block}.user-card-description{margin-bottom:20px;color:#555;font-size:14px;line-height:1.5}.user-search-form{width:100%}.user-form-group{margin-bottom:20px}.user-form-label{display:block;margin-bottom:8px;font-weight:500;color:#333}.user-form-control{flex:1;padding:10px 15px;border:1px solid #ddd;border-radius:4px;font-size:16px;transition:border-color .2s}.user-form-control:focus{border-color:#0d6efd;outline:none;box-shadow:0 0 0 3px #0d6efd1a}.user-form-control:disabled{background-color:#f8f9fa;cursor:not-allowed}.user-btn{padding:10px 20px;font-weight:500;border:none;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:all .2s}.user-btn.primary{background-color:#0d6efd;color:#fff}.user-btn.primary:hover{background-color:#0b5ed7}.user-btn.secondary{background-color:#6c757d;color:#fff}.user-btn.secondary:hover{background-color:#5c636a}.user-btn:disabled{opacity:.6;cursor:not-allowed}.user-ticket-container{display:grid;grid-template-columns:1fr;gap:20px;margin-top:20px}@media (min-width: 992px){.user-ticket-container{grid-template-columns:1fr}}.user-ticket-info{background-color:#f8f9fa;border-radius:8px;padding:15px}.user-ticket-row{display:flex;padding:8px 0;border-bottom:1px solid #e9ecef}.user-ticket-row:last-child{border-bottom:none}.user-ticket-label{flex:0 0 150px;font-weight:500;color:#495057}.user-ticket-value{flex:1;color:#212529}.user-ticket-total{font-weight:700;font-size:18px;color:#0d6efd;margin-top:10px}.user-client-summary{background-color:#f8f9fa;border-radius:8px;padding:15px}.user-client-info{margin-bottom:20px}.user-client-row{display:flex;padding:8px 0;border-bottom:1px solid #e9ecef}.user-client-row:last-child{border-bottom:none}.user-client-label{flex:0 0 150px;font-weight:500;color:#495057}.user-client-value{flex:1;color:#212529}.user-client-actions{display:flex;flex-direction:column;gap:15px;margin-top:25px;align-items:center}@media (min-width: 768px){.user-client-actions{flex-direction:row;justify-content:center;gap:20px}}.user-client-actions .user-btn.secondary{background-color:#4a6da7;color:#fff;padding:12px 20px;border-radius:6px;font-weight:500;box-shadow:0 2px 5px #0000001a;transition:all .3s ease;display:flex;align-items:center;gap:8px;min-width:240px;justify-content:center}.user-client-actions .user-btn.secondary:hover{background-color:#3a5d97;transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.user-client-actions .user-btn.secondary i{font-size:1.1rem;margin-right:5px}.user-client-actions .user-btn.primary{padding:12px 20px;border-radius:6px;font-weight:500;box-shadow:0 2px 5px #0000001a;transition:all .3s ease;min-width:240px;justify-content:center}.user-client-actions .user-btn.primary:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.user-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;color:#6c757d;gap:15px}.user-loading i{font-size:2rem;color:#0d6efd}.user-alert{padding:15px;border-radius:8px;margin-bottom:20px;display:flex;align-items:flex-start;gap:15px}.user-alert i{font-size:1.2rem}.user-alert.error{background-color:#f8d7da;color:#842029;border-left:4px solid #842029}.user-alert.success{background-color:#d1e7dd;color:#0f5132;border-left:4px solid #0f5132}.user-alert.warning{background-color:#fff3cd;color:#664d03;border-left:4px solid #664d03}.user-alert-close{margin-left:auto;background:none;border:none;font-size:1rem;cursor:pointer;color:inherit;opacity:.7}.user-alert-close:hover{opacity:1}.user-factura-success{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px}.user-factura-icon{font-size:4rem;color:#0f5132;margin-bottom:20px}.user-factura-details{width:100%;max-width:400px;margin-bottom:30px}.user-factura-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e9ecef}.user-factura-label{font-weight:500}.user-factura-total{font-weight:700;font-size:18px;color:#0d6efd;margin-top:10px}.user-factura-downloads{display:flex;gap:15px;margin-bottom:20px}.user-factura-note{margin-top:20px;padding:15px;background-color:#f8f9fa;border-radius:8px;width:100%;max-width:500px}.user-factura-note p{margin:0;color:#495057;font-size:14px}.user-factura-note i{margin-right:8px;color:#0d6efd}.user-tickets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:15px;margin-top:10px}.user-ticket-card{background-color:#fff;border-radius:8px;box-shadow:0 2px 5px #0000001a;transition:all .2s ease;overflow:hidden;cursor:pointer;border:1px solid #e9ecef}.user-ticket-card:hover{transform:translateY(-3px);box-shadow:0 5px 15px #0000001a;border-color:#0d6efd}.user-ticket-card-header{background-color:#f8f9fa;padding:12px 15px;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.user-ticket-numero{font-weight:700;color:#0d6efd;font-size:16px}.user-ticket-fecha{color:#6c757d;font-size:14px}.user-ticket-card-body{padding:15px}.user-ticket-concepto{margin-bottom:10px;font-size:15px;color:#343a40;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-ticket-card .user-ticket-total{font-size:18px;font-weight:700;color:#0d6efd;margin-top:5px}.user-ticket-card-footer{background-color:#f8f9fa;padding:12px 15px;border-top:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.user-ticket-sucursal{font-size:14px;color:#6c757d}.user-btn-select{background-color:transparent;border:none;color:#0d6efd;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:5px;padding:5px 10px;border-radius:4px;transition:all .2s}.user-btn-select:hover{background-color:#0d6efd1a}.user-btn-sm{padding:5px 10px;font-size:14px}.user-search-input-group{display:flex;gap:10px;flex-wrap:wrap}@media (min-width: 768px){.user-search-input-group{flex-wrap:nowrap}}@media (max-width: 576px){.user-ticket-card-header,.user-ticket-card-footer{flex-direction:column;align-items:flex-start;gap:5px}.user-btn-select{margin-top:5px;align-self:flex-end}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-ticket-card{animation:fadeIn .3s ease forwards}.user-tickets-grid{animation:fadeIn .4s ease forwards}.user-ticket-status-container{display:flex;flex-direction:column;gap:5px}.user-ticket-factura-info{display:flex;flex-direction:column;font-size:.85rem;margin-top:4px;padding-left:8px;border-left:2px solid #28a745}.factura-id{font-weight:600;color:#495057}.factura-date{color:#6c757d}.user-ticket-status{display:inline-block;padding:4px 10px;border-radius:100px;font-size:.8rem;font-weight:600;text-transform:uppercase}.user-ticket-status.new{background-color:#e9ecef;color:#495057}.user-ticket-status.processing{background-color:#cce5ff;color:#004085}.user-ticket-status.completed{background-color:#d4edda;color:#155724}.user-ticket-status.error{background-color:#f8d7da;color:#721c24}.user-ticket-status.test{background-color:#fff3cd;color:#856404}.user-ticket-card{position:relative;overflow:hidden}.user-ticket-card:before{content:"";position:absolute;top:0;left:0;width:5px;height:100%;background-color:#dee2e6}.user-ticket-card.new:before{background-color:#6c757d}.user-ticket-card.processing:before{background-color:#0dcaf0}.user-ticket-card.completed:before{background-color:#198754}.user-ticket-card.error:before{background-color:#dc3545}@media (max-width: 768px){.user-ticket-label{flex:0 0 120px}.user-tickets-grid{grid-template-columns:1fr}}.user-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:12px;font-weight:700;margin-left:10px}.user-badge.warning{background-color:#fff3cd;color:#856404;border:1px solid #ffeeba}.user-badge i{margin-right:4px}.user-factura-warning{background-color:#fff3cd;color:#856404;padding:10px;border-radius:4px;margin:10px 0;border-left:4px solid #ffc107}.user-factura-warning p{margin:0;font-size:14px}.user-center-btn{display:flex;justify-content:center;margin:20px 0}.user-card-header .fa-flask{color:#6c5ce7}.user-btn.primary .fa-magic{margin-right:8px}.user-factura-error-details{margin-top:20px;background-color:#fef8f8;border:1px solid #f5c2c7;border-radius:8px;padding:15px}.user-error-details h3{color:#842029;margin-top:0;font-size:18px}.user-error-details pre{background-color:#f8f9fa;padding:10px;border-radius:4px;overflow-x:auto;color:#842029;font-size:14px;margin:10px 0}.user-error-details ul{padding-left:20px}.user-error-details li{margin-bottom:5px}.user-credentials-info{margin-top:20px;padding:10px 15px;background-color:#f8f9fa;border-radius:8px;border-left:4px solid #0d6efd;font-size:14px}.user-credentials-info p{margin:5px 0}.user-credentials-info strong{color:#495057}.user-factura-response-details{margin-top:20px;background-color:#f0f8ff;border:1px solid #7fb3f5;border-radius:8px;padding:15px}.user-response-details h3{margin-top:0;margin-bottom:15px;color:#0d6efd;font-size:18px;border-bottom:1px solid #e9ecef;padding-bottom:10px}.user-response-details pre{background-color:#f8f9fa;padding:10px;border-radius:4px;overflow-x:auto;color:#495057;font-size:14px;margin:10px 0;max-height:200px;overflow-y:auto}.user-response-note{background-color:#fff8e6;border-left:4px solid #ffc107;padding:10px;margin-top:15px;border-radius:4px}.user-response-note p{margin:0;font-size:14px}.user-response-note a{color:#0d6efd;text-decoration:none;font-weight:500}.user-response-note a:hover{text-decoration:underline}.user-response-alert{background-color:#ffe8d9;border-left:4px solid #ff6b35;padding:12px;margin:15px 0;border-radius:4px}.user-response-alert p{color:#d33a00;font-weight:500;margin:0 0 10px}.user-response-alert ol{margin:10px 0;padding-left:25px}.user-response-alert li{margin-bottom:5px;color:#333}.user-response-success{background-color:#edf7ed;border:1px solid #c3e6cb;border-radius:8px;padding:15px;margin-bottom:15px}.user-response-success p{margin:5px 0;color:#0f5132}.user-response-links{display:flex;gap:15px;margin-top:12px}.user-response-link{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;background-color:#0d6efd;color:#fff;text-decoration:none;border-radius:4px;font-weight:500;transition:background-color .2s}.user-response-link:hover{background-color:#0b5ed7}.user-response-tech{margin:15px 0}.user-response-tech p{margin-bottom:8px;color:#495057}.user-error-help{margin-top:15px;background-color:#f8f9fa;padding:10px;border-radius:4px;border-left:4px solid #0d6efd}.user-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.user-modal{background-color:#fff;border-radius:8px;box-shadow:0 5px 15px #0000004d;width:90%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.fiscal-info-modal{width:95%;max-width:900px}.user-modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background-color:#f5f5f5;border-bottom:1px solid #e0e0e0}.user-modal-header h2{margin:0;font-size:1.4rem;color:#333;display:flex;align-items:center}.user-modal-header h2 i{margin-right:10px;color:#4a6da7}.user-modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.user-modal-close:hover{background-color:#0000001a;color:#333}.user-modal-body{padding:20px;overflow-y:auto;max-height:calc(90vh - 130px)}.user-modal-footer{padding:15px 20px;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end;background-color:#f5f5f5}.fiscal-info-section{margin-bottom:25px;border:1px solid #e0e0e0;border-radius:6px;overflow:hidden}.fiscal-info-section h3{margin:0;padding:12px 15px;background-color:#f5f5f5;color:#333;font-size:1.1rem;border-bottom:1px solid #e0e0e0;display:flex;align-items:center}.fiscal-info-section h3 i{margin-right:10px;color:#4a6da7}.fiscal-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:15px;padding:15px}.fiscal-info-item{display:flex;flex-direction:column}.fiscal-info-label{font-weight:600;color:#555;margin-bottom:5px;font-size:.9rem}.fiscal-info-value{color:#333;word-break:break-word}.fiscal-info-json{padding:15px;background-color:#f8f8f8;border-radius:4px;overflow-x:auto}.fiscal-info-json pre{margin:0;font-family:monospace;font-size:.85rem;white-space:pre-wrap;word-break:break-word}.user-client-actions{display:flex;flex-direction:column;gap:10px}@media (min-width: 768px){.user-client-actions{flex-direction:row}}.user-fiscal-actions-title{text-align:center;margin:25px 0 10px;padding-top:20px;border-top:1px dashed #e0e0e0}.user-fiscal-actions-title h3{margin:0 0 8px;color:#4a6da7;font-size:1.2rem;font-weight:600}.user-fiscal-actions-title p{margin:0 0 15px;color:#666;font-size:.9rem}.fiscal-info-btn{position:relative;overflow:visible!important}.fiscal-info-badge{position:absolute;top:-10px;right:-10px;background-color:#ff6b6b;color:#fff;font-size:.7rem;font-weight:700;padding:3px 8px;border-radius:10px;box-shadow:0 2px 5px #0003;animation:pulse 1.5s infinite}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.user-ticket-section-divider{margin:20px 0 15px;border-top:1px dashed #e2e8f0;position:relative;padding-top:15px;text-align:center}.user-ticket-section-divider span{position:absolute;top:-10px;left:50%;transform:translate(-50%);background-color:#fff;padding:0 15px;font-size:.85rem;color:#64748b;font-weight:500}.user-ticket-section-divider+.user-ticket-row{background-color:#f8fafc;padding:8px 10px;border-radius:6px;margin-bottom:8px}.user-ticket-section-divider~.user-ticket-row{background-color:#f8fafc;padding:8px 10px;border-radius:6px;margin-bottom:8px}.user-factura-success-card{background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000d;overflow:hidden;margin-bottom:20px}.user-factura-success-header{display:flex;align-items:center;padding:16px;background-color:#f8f9fa;border-bottom:1px solid #e9ecef}.user-factura-icon{width:60px;height:60px;background-color:#e3f2fd;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#0d6efd;font-size:24px;margin-right:16px;flex-shrink:0}.user-factura-title{flex-grow:1}.user-factura-title h3{margin:0 0 4px;font-size:1.25rem;color:#212529}.user-factura-folio{margin:0;color:#6c757d;font-size:1rem}.user-factura-state{margin-left:16px}.user-factura-state-badge{display:inline-block;padding:6px 12px;border-radius:30px;font-size:.75rem;font-weight:600;text-transform:uppercase}.user-factura-state-badge.success{background-color:#d4edda;color:#155724}.user-factura-state-badge.test{background-color:#fff3cd;color:#856404}.user-factura-state-badge.error{background-color:#f8d7da;color:#721c24}.user-factura-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:20px;background-color:#fff}.user-factura-detail-item{display:flex;align-items:flex-start}.user-factura-detail-icon{width:40px;height:40px;background-color:#f1f8ff;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#0d6efd;font-size:16px;margin-right:12px;flex-shrink:0}.user-factura-detail-content{flex-grow:1}.user-factura-detail-content h4{margin:0 0 4px;font-size:.9rem;color:#6c757d}.user-factura-detail-content p{margin:0;font-size:1.1rem;color:#212529;font-weight:500}.user-factura-detail-content p.user-factura-total{color:#28a745;font-weight:700}.user-factura-downloads{display:flex;gap:16px;padding:0 20px 20px;flex-wrap:wrap}.user-factura-download-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:6px;font-weight:600;text-decoration:none;transition:all .2s;min-width:180px}.user-factura-download-btn.pdf{background-color:#dc3545;color:#fff}.user-factura-download-btn.pdf:hover{background-color:#c82333}.user-factura-download-btn.xml{background-color:#17a2b8;color:#fff}.user-factura-download-btn.xml:hover{background-color:#138496}.user-factura-download-btn i{margin-right:8px}.user-factura-note{padding:16px 20px;background-color:#f8f9fa;border-top:1px solid #e9ecef;font-size:.9rem;color:#6c757d}.user-factura-note p{margin:0 0 8px}.user-factura-note p:last-child{margin-bottom:0}.user-factura-note i{margin-right:8px;color:#17a2b8}.user-factura-warning{padding:12px 16px;margin:0 20px 20px;background-color:#fff3cd;border-radius:6px;color:#856404;border:1px solid #ffeeba}.user-factura-warning.severe{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.user-factura-warning p{margin:0 0 8px}.user-factura-warning p:last-child{margin-bottom:0}.user-factura-warning .warning-small-text{font-size:.85rem;opacity:.9}@media (max-width: 768px){.user-factura-details-grid{grid-template-columns:1fr}.user-factura-downloads{flex-direction:column}}.factura-success-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.factura-success-modal{width:100%;max-width:500px;background-color:#fff;border-radius:12px;box-shadow:0 10px 25px #0003;padding:0;position:relative;overflow:hidden;animation:modalFadeIn .3s ease-out}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.factura-success-header{background-color:#4caf50;color:#fff;padding:20px;text-align:center;border-bottom:1px solid rgba(0,0,0,.1)}.factura-success-icon{margin-bottom:10px}.factura-success-icon i{font-size:48px;color:#fff}.factura-success-header h2{margin:0;font-size:24px;font-weight:600}.factura-success-content{padding:20px}.factura-success-details{background-color:#f9f9f9;padding:15px;border-radius:8px;margin-bottom:20px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.factura-success-detail{display:flex;flex-direction:column}.detail-label{font-size:12px;color:#666;margin-bottom:4px}.detail-value{font-size:16px;font-weight:600;color:#333}.factura-success-message{text-align:center;margin-bottom:20px;color:#555;line-height:1.5}.factura-success-actions{display:flex;gap:10px;margin-bottom:20px}.factura-success-btn{flex:1;padding:12px;border:none;border-radius:6px;cursor:pointer;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:background-color .2s}.download-pdf{background-color:#f44336;color:#fff}.download-pdf:hover{background-color:#d32f2f}.download-xml{background-color:#2196f3;color:#fff}.download-xml:hover{background-color:#1976d2}.factura-success-footer{text-align:center;padding-top:15px;border-top:1px solid #eee}.factura-success-link{color:#4caf50;text-decoration:none;font-weight:500;display:inline-block}.factura-success-link:hover{text-decoration:underline}.factura-success-close{position:absolute;top:10px;right:10px;background:transparent;border:none;color:#fff;font-size:20px;cursor:pointer;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.factura-success-close:hover{background-color:#fff3}.profile-card{background:linear-gradient(to right,#f8f9fa,#fff);border-radius:12px;box-shadow:0 4px 15px #0000000d;border:none;overflow:hidden}.profile-card .user-card-header{background-color:#f8f9fa;border-bottom:1px solid #eaeaea;padding:18px 20px}.user-profile-info{display:flex;align-items:center;padding:20px}.user-profile-avatar{width:80px;height:80px;background:linear-gradient(135deg,#4a90e2,#007bff);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:36px;color:#fff;margin-right:20px;box-shadow:0 4px 10px #007bff4d}.user-profile-details{flex:1}.user-profile-details .user-info-item{margin-bottom:12px;display:flex;align-items:baseline}.user-profile-details .user-info-label{font-weight:600;color:#555;margin-right:10px;min-width:150px}.user-profile-details .user-info-value{color:#333;font-size:16px}.branch-selector-container{margin-bottom:20px}.fiscal-data-card{background-color:#fff;border-radius:12px;box-shadow:0 4px 15px #0000000d;border:none;margin-bottom:25px}.fiscal-data-card .user-card-header{background:linear-gradient(to right,#f0f7ff,#fff);border-bottom:1px solid #e6f0fa;padding:18px 20px;display:flex;justify-content:space-between;align-items:center}.fiscal-data-card .user-card-title{color:#2c5282;font-size:18px;margin:0}.fiscal-data-card .user-card-title i{color:#4299e1;margin-right:10px}.user-fiscal-info{padding:20px}.user-info-section{margin-bottom:25px}.user-info-section-title{font-size:18px;color:#2d3748;margin-bottom:18px;padding-bottom:10px;border-bottom:1px solid #edf2f7;display:flex;align-items:center}.user-info-section-title i{color:#4299e1;margin-right:10px;font-size:18px}.user-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:15px}.user-info-item{margin-bottom:10px}.user-info-label{font-weight:500;color:#718096;margin-bottom:4px;font-size:14px}.user-info-value{color:#2d3748;font-size:15px}.user-info-actions{margin-top:20px;display:flex;justify-content:flex-end}.user-btn{padding:10px 20px;border-radius:6px;font-weight:500;font-size:14px;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:none}.user-btn i{margin-right:8px}.user-btn.primary{background-color:#3182ce;color:#fff}.user-btn.primary:hover{background-color:#2b6cb0}.user-btn.secondary{background-color:#e2e8f0;color:#4a5568}.user-btn.secondary:hover{background-color:#cbd5e0}.user-btn-sm{padding:6px 12px;font-size:13px}.fiscal-summary-container{margin-top:30px;margin-bottom:40px}.fiscal-summary-header{text-align:center;margin-bottom:25px}.fiscal-summary-header h2{font-size:22px;color:#2d3748;margin-bottom:10px;display:flex;align-items:center;justify-content:center}.fiscal-summary-header h2 i{color:#4299e1;margin-right:10px}.fiscal-summary-header p{color:#718096;font-size:15px;margin:0}.fiscal-summary-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.fiscal-summary-card{background-color:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px #00000014;transition:transform .3s ease,box-shadow .3s ease;height:100%;display:flex;flex-direction:column}.fiscal-summary-card:hover{transform:translateY(-5px);box-shadow:0 8px 15px #0000001a}.fiscal-card-header{background:linear-gradient(135deg,#4a90e2,#007bff);color:#fff;padding:20px;text-align:center;position:relative;overflow:hidden}.fiscal-card-header:after{content:"";position:absolute;top:-10px;right:-10px;width:60px;height:60px;background:#ffffff1a;border-radius:50%;z-index:1}.fiscal-card-header i{font-size:32px;margin-bottom:12px;position:relative;z-index:2}.fiscal-card-header h3{font-size:20px;margin:0;font-weight:600;position:relative;z-index:2}.fiscal-card-body{padding:20px;flex:1}.fiscal-data-item{margin-bottom:12px;font-size:14px;color:#4a5568;line-height:1.5}.fiscal-data-item span{font-weight:600;color:#2d3748;margin-right:5px}.no-data-message{text-align:center;color:#a0aec0;font-style:italic;padding:20px 0}.fiscal-card-footer{padding:15px 20px;border-top:1px solid #edf2f7;text-align:center}.branch-btn{width:100%;padding:10px;border-radius:6px;font-weight:500;border:none;cursor:pointer;transition:all .2s ease;font-size:14px}.branch-btn:not(.active){background-color:#e2e8f0;color:#4a5568}.branch-btn:not(.active):hover{background-color:#cbd5e0}.branch-btn.active{background-color:#4299e1;color:#fff}.edit-help-message{background-color:#ebf8ff;border-left:4px solid #4299e1;border-radius:6px;padding:18px;margin-bottom:25px;display:flex;align-items:flex-start;box-shadow:0 2px 8px #4299e11a}.help-icon{color:#4299e1;font-size:28px;margin-right:18px;margin-top:2px}.help-content h4{margin-top:0;margin-bottom:12px;font-size:17px;color:#2c5282;font-weight:600}.help-content ul{margin:0;padding-left:20px}.help-content li{margin-bottom:8px;font-size:14px;color:#4a5568;line-height:1.5}.help-content strong{color:#2d3748;font-weight:600}.test-invoice-card{margin-top:30px;margin-bottom:30px}.test-invoice-card .user-card-header{background:linear-gradient(to right,#f0f4fa,#fff)}.test-invoice-card .user-card-title i{color:#4a90e2}.test-invoice-section{padding:10px 0}.test-invoice-title{font-size:18px;font-weight:600;color:#2d3748;margin-bottom:15px}.test-invoice-description{color:#718096;margin-bottom:20px;line-height:1.6}.test-invoice-actions{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}.test-btn{padding:12px 24px;font-size:15px;margin-bottom:15px}.test-invoice-note{display:flex;align-items:flex-start;color:#718096;font-size:14px;background-color:#f7fafc;padding:12px;border-radius:6px;border-left:3px solid #cbd5e0}.test-invoice-note i{color:#4299e1;margin-right:10px;font-size:16px;margin-top:2px}.test-invoice-result{margin-top:25px;border-radius:8px;overflow:hidden;box-shadow:0 4px 12px #00000014}.test-result-header{display:flex;align-items:center;padding:20px;background-color:#ebfaf0;border-bottom:1px solid #d1f0e0}.test-result-header.error{background-color:#fef2f2;border-bottom:1px solid #fee2e2}.test-result-icon{font-size:32px;margin-right:20px;color:#10b981}.test-result-header.error .test-result-icon{color:#ef4444}.test-result-title h3{margin:0 0 5px;font-size:18px;color:#065f46}.test-result-header.error .test-result-title h3{color:#b91c1c}.test-result-title p{margin:0;color:#047857;font-size:14px}.test-result-header.error .test-result-title p{color:#dc2626}.test-result-content{padding:20px;background-color:#fff}.test-result-details{margin-bottom:20px}.test-result-item{display:flex;margin-bottom:10px;font-size:15px}.test-result-label{font-weight:600;color:#4a5568;width:100px}.test-result-value{color:#2d3748}.test-result-downloads{display:flex;gap:15px}.test-error-message{background-color:#fff5f5;border-left:4px solid #fc8181;padding:15px;margin-bottom:20px;color:#c53030;font-size:14px;border-radius:4px}.test-error-message p{margin:0 0 10px}.test-error-message p:last-child{margin-bottom:0}.test-error-help{background-color:#f7fafc;padding:15px;border-radius:6px}.test-error-help h4{margin-top:0;margin-bottom:10px;font-size:16px;color:#2d3748}.test-error-help ul{margin-bottom:20px;padding-left:20px}.test-error-help li{margin-bottom:8px;color:#4a5568;font-size:14px}.user-alert.warning{background-color:#fffbeb;color:#b45309;border-left:4px solid #f59e0b;padding:15px;border-radius:6px;display:flex;align-items:center;margin-bottom:20px}.user-alert.warning i{margin-right:10px;font-size:18px}@media (max-width: 768px){.user-profile-info{flex-direction:column;align-items:center;text-align:center}.user-profile-avatar{margin-right:0;margin-bottom:20px}.user-info-grid,.fiscal-summary-cards{grid-template-columns:1fr}.user-profile-details .user-info-item{flex-direction:column}.user-profile-details .user-info-label{margin-bottom:5px}.test-result-downloads{flex-direction:column}.test-result-item{flex-direction:column;margin-bottom:15px}.test-result-label{margin-bottom:5px}}.success-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease-out}.success-modal{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:90%;max-width:500px;overflow:hidden;animation:slideIn .4s ease-out}.success-modal-header{background-color:#22c55e;color:#fff;padding:20px;text-align:center}.success-modal-header i{font-size:48px;margin-bottom:10px;display:block}.success-modal-header h2{margin:0;font-size:24px;font-weight:700}.success-modal-body{padding:30px 25px;text-align:center}.success-modal-body p{margin:10px 0;font-size:16px;color:#333;line-height:1.5}.success-modal-body p:first-child{font-weight:700;font-size:18px}.success-modal-footer{padding:15px 25px 25px;text-align:center}.success-modal-footer button{font-size:16px;padding:12px 30px;background-color:#22c55e;border:none;border-radius:6px;color:#fff;cursor:pointer;transition:all .2s}.success-modal-footer button:hover{background-color:#16a34a;transform:translateY(-2px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}:root{--primary-color: #185a9d;--secondary-color: #e63946;--accent-color: #333333;--text-color: #333;--light-bg: #f7f7f7;--white: #ffffff;--gray-light: #f5f7fa;--gray: #ced4da;--shadow-small: 0 2px 4px rgba(0, 0, 0, .08);--pink-light: rgb(255, 228, 228);--blue-light: #e6f7ff;--purple-light: #f5e6ff;--yellow-light: #fff9e6;--green-light: #e6fff0;--red: #ff0000;--blue: #0039b3;--deep-blue: #154989}.landing-container{height:100vh!important;box-sizing:border-box;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--text-color);background:var(--white);overflow-x:hidden}.hero-section{position:relative;display:flex;flex-wrap:wrap;align-items:flex-start;padding:8rem 5% 0;min-height:600px;background-color:#ffe4e4;overflow:hidden}.hero-branding-logo{position:absolute;top:2rem;left:3rem;z-index:5;width:100px;height:100px}.branding-logo{width:100%;height:auto;object-fit:contain}.hero-content-left{flex:1;max-width:550px;margin-right:2rem;text-align:left;position:relative;z-index:2;padding-bottom:3rem}.hero-title{font-size:2.8rem;font-weight:700;line-height:1.2;margin-bottom:1.5rem;color:var(--primary-color)}.hero-subtitle{font-size:2.2rem;display:block;margin-top:.5rem}.hero-description{font-size:1.2rem;line-height:1.5;margin-bottom:2rem;color:#555}.mascot-container-right{position:absolute;bottom:0;right:5%;width:50%;max-width:600px;z-index:1}.mascot-image-bottom{width:100%;height:auto;display:block;max-height:none;object-fit:contain}.security-badge{display:inline-flex;align-items:center;background-color:var(--white);border-left:3px solid var(--secondary-color);padding:.6rem 1rem;border-radius:0 4px 4px 0;margin:1rem 0 1.5rem;box-shadow:var(--shadow-small)}.security-badge i{font-size:1.2rem;color:var(--secondary-color);margin-right:.8rem}.security-badge span{font-weight:600;color:var(--primary-color)}.accent{color:var(--secondary-color)}.cta-buttons{display:flex;gap:1rem;margin-top:1.5rem}.btn-primary,.btn-secondary{padding:.8rem 1.5rem;border-radius:4px;font-size:1rem;font-weight:600;text-decoration:none;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.btn-primary{background:red;color:#fff;text-align:center;display:flex;justify-content:center;align-items:center;box-shadow:var(--shadow-small)}.btn-primary:hover{background:#d32f2f}.btn-secondary{background:transparent;color:var(--primary-color);border:2px solid var(--primary-color)}.btn-secondary:hover{background-color:var(--primary-color);color:#fff}.how-it-works-section{padding:4rem 0;background-color:var(--white)}.steps-header{text-align:center;max-width:1200px;margin:0 auto 3rem;padding:0 2rem}.steps-title{font-size:2.5rem;font-weight:900;color:#000;margin-bottom:1rem;text-transform:uppercase;line-height:1.2}.steps-subtitle{font-size:1.2rem;color:#333;max-width:800px;margin:0 auto}.steps-flow-container{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;max-width:1400px;margin:0 auto;padding:0 2rem}.step-flow-item{flex:1;min-width:280px;max-width:350px;background-color:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 15px #00000014;transition:all .3s ease;position:relative;border:1px solid #eaeaea;display:flex;flex-direction:column;margin-bottom:1.5rem}.step-flow-item:hover{transform:translateY(-10px);box-shadow:0 10px 25px #0000001f}.step-number{width:80px;height:80px;display:flex;justify-content:center;align-items:center;border-radius:50%;font-size:2.2rem;font-weight:700;color:#fff;margin:1.5rem auto 1rem}.step-red{background-color:var(--red)}.step-blue{background-color:var(--blue)}.step-content{padding:1rem 2rem 2rem;text-align:center;flex:1;display:flex;flex-direction:column}.step-flow-title{font-size:1.2rem;font-weight:700;margin-bottom:1rem;text-transform:uppercase;color:#000;min-height:2.5rem;display:flex;align-items:center;justify-content:center}.step-flow-description{font-size:1rem;line-height:1.6;color:#444;flex:1}.security-section{padding:5rem 0;background:var(--deep-blue);color:#fff;position:relative;overflow:hidden}.security-section:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:radial-gradient(circle at center,#ffffff1a,#0000 70%);background-size:100% 100%;background-position:center;z-index:1}.security-title{text-align:center;font-size:2.5rem;font-weight:800;margin-bottom:3rem;position:relative;z-index:2;text-transform:uppercase}.security-title:after{content:"";position:absolute;bottom:-15px;left:50%;transform:translate(-50%);width:80px;height:4px;background-color:var(--secondary-color);border-radius:2px}.security-cards-container{display:flex;flex-wrap:wrap;justify-content:center;gap:2rem;max-width:1200px;margin:0 auto;padding:0 2rem;position:relative;z-index:2}.security-card{flex:1;min-width:250px;max-width:280px;background-color:#ffffff1a;border-radius:16px;padding:2rem;text-align:center;border:1px solid rgba(255,255,255,.2);transition:all .3s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);position:relative;overflow:hidden}.security-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#ffffff1a,#fff0);z-index:-1}.security-card:hover{transform:translateY(-10px);box-shadow:0 10px 30px #0003;background-color:#ffffff26}.security-card-icon-container{width:90px;height:90px;background-color:#fff3;border-radius:50%;margin:0 auto 1.5rem;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 15px #0000001a;border:2px solid rgba(255,255,255,.3)}.security-card-icon{font-size:2.5rem;color:#fff}.security-card-title{font-size:1.5rem;margin-bottom:1rem;font-weight:700}.security-card-description{font-size:1rem;line-height:1.6;opacity:.9}.landing-footer{background-color:#162033;color:#f1f1f1;padding:2rem 0;text-align:center}.footer-content{display:flex;flex-direction:column;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;padding:0 2rem}.footer-logo{width:60px;height:auto}.footer-text{font-size:.9rem;color:#aaa;margin:0}@media (max-width: 1024px){.hero-section{padding:8rem 5% 0;min-height:650px}.hero-title{font-size:2.5rem}.hero-subtitle{font-size:2rem}.mascot-container-right{right:2%;width:45%}.security-card{min-width:220px}.steps-title{font-size:2.2rem}.step-flow-item{min-width:260px}}@media (max-width: 900px){.hero-section{padding:7rem 5% 300px;min-height:auto}.hero-branding-logo{left:50%;transform:translate(-50%)}.hero-content-left{max-width:100%;margin-right:0;text-align:center}.hero-title{font-size:2.4rem}.hero-subtitle{font-size:2rem}.hero-description{font-size:1.1rem}.security-badge{margin:1rem auto 1.5rem}.cta-buttons{justify-content:center}.mascot-container-right{position:absolute;bottom:0;left:0;width:100%;max-width:100%;right:auto;text-align:center}.mascot-image-bottom{width:auto;max-width:350px;margin:0 auto}.steps-flow-container{flex-direction:row;flex-wrap:wrap}.step-flow-item{min-width:280px;max-width:100%;width:calc(50% - 1.5rem)}.security-card{width:calc(50% - 2rem)}}@media (max-width: 768px){.hero-section{padding:7rem 5% 250px}.hero-branding-logo{width:90px;height:90px}.hero-title{font-size:2.2rem}.hero-subtitle{font-size:1.8rem}.hero-description{font-size:1rem}.mascot-image-bottom{max-width:300px}.security-title{font-size:2rem}.security-card{width:100%;min-width:100%;max-width:100%}.steps-title{font-size:1.8rem}.steps-subtitle{font-size:1rem}.step-flow-title{font-size:1.1rem;min-height:auto}.step-flow-item{width:100%;margin-bottom:1.5rem}.step-content{padding:1rem 1.5rem 1.5rem}}@media (max-width: 480px){.hero-section{padding:6rem 5% 200px}.hero-branding-logo{width:80px;height:80px}.hero-title{font-size:1.8rem}.hero-subtitle{font-size:1.5rem}.mascot-image-bottom{max-width:250px}.cta-buttons{flex-direction:column;width:100%}.btn-primary,.btn-secondary{width:100%;justify-content:center}.security-card-icon-container{width:70px;height:70px}.security-card-icon{font-size:2rem}.security-card-title{font-size:1.3rem}.steps-flow-container{padding:0 1rem}.step-flow-description{font-size:.95rem}}
