@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.5;color:#111827;background-color:#f3f4f6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button{cursor:pointer;border:none;font-family:inherit;font-size:inherit}input,select,textarea{font-family:inherit;font-size:inherit}@media(max-width:768px){input,select,textarea{font-size:16px!important}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}:focus-visible{outline:2px solid #667eea;outline-offset:2px}:focus:not(:focus-visible){outline:none}::selection{background:#667eea33;color:#111827}.toast-container{position:fixed;top:80px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;max-width:400px;width:calc(100% - 40px)}.toast{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026,0 2px 10px #0000001a;animation:slideIn .3s ease-out;position:relative;overflow:hidden}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast.removing{animation:slideOut .3s ease-in forwards}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.toast-icon{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.toast-icon svg{width:24px;height:24px}.toast-content{flex:1;min-width:0}.toast-message{margin:0;font-size:.9375rem;font-weight:500;color:#1f2937;line-height:1.5;word-wrap:break-word}.toast-close{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;cursor:pointer;color:#9ca3af;transition:all .2s;margin:-4px -4px -4px 0}.toast-close:hover{background:#f3f4f6;color:#6b7280}.toast-close svg{width:16px;height:16px}.toast-progress{position:absolute;bottom:0;left:0;height:3px;width:100%;animation:progress linear forwards}@keyframes progress{0%{width:100%}to{width:0%}}.toast-success{border-left:4px solid #10b981}.toast-success .toast-icon{color:#10b981}.toast-success .toast-progress{background:linear-gradient(90deg,#10b981,#34d399)}.toast-error{border-left:4px solid #ef4444}.toast-error .toast-icon{color:#ef4444}.toast-error .toast-progress{background:linear-gradient(90deg,#ef4444,#f87171)}.toast-warning{border-left:4px solid #f59e0b}.toast-warning .toast-icon{color:#f59e0b}.toast-warning .toast-progress{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.toast-info{border-left:4px solid #3b82f6}.toast-info .toast-icon{color:#3b82f6}.toast-info .toast-progress{background:linear-gradient(90deg,#3b82f6,#60a5fa)}@media(max-width:480px){.toast-container{inset:auto 16px 20px;width:auto;max-width:none}.toast{padding:14px}.toast-message{font-size:.875rem}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);padding:1rem}.login-card{width:100%;max-width:400px;background:#fffffff2;border-radius:16px;box-shadow:0 25px 50px -12px #0006;overflow:hidden}.login-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center}.login-logo{width:60px;height:60px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}.login-logo svg{width:32px;height:32px}.login-header h1{margin:0 0 .5rem;font-size:1.5rem;font-weight:700}.login-header p{margin:0;opacity:.9;font-size:.875rem}.login-form{padding:2rem}.form-group{margin-bottom:1.25rem}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background:#f3f4f6;cursor:not-allowed}.form-group input::placeholder{color:#9ca3af}.error-message{display:flex;align-items:center;gap:.5rem;padding:.875rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin-bottom:1.25rem;font-size:.875rem}.error-message svg{width:18px;height:18px;flex-shrink:0}.login-button{width:100%;padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s}.login-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px -10px #667eea80}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed}.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.login-footer{padding:1rem 2rem 1.5rem;text-align:center;border-top:1px solid #e5e7eb}.login-footer p{margin:0;color:#6b7280;font-size:.75rem}@media(max-width:480px){.login-container{padding:0;align-items:flex-start}.login-card{max-width:100%;min-height:100vh;border-radius:0;display:flex;flex-direction:column}.login-header{padding:3rem 1.5rem 2rem}.login-form{padding:1.5rem;flex:1}.login-footer{padding:1rem 1.5rem 2rem}}.table-wrapper{background:#fff}.table-wrapper.compact .desktop-table th:first-child,.table-wrapper.compact .desktop-table td:first-child{width:80px}.time-badge{display:inline-flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:600;color:#374151;background:#f3f4f6;padding:.375rem .625rem;border-radius:6px;font-variant-numeric:tabular-nums}.table-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:1rem}.table-loading p{color:#6b7280;margin:0}.table-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:.75rem;color:#6b7280}.table-empty svg{width:48px;height:48px;color:#d1d5db}.table-empty p{font-size:1.125rem;font-weight:600;color:#374151;margin:0}.table-empty span{font-size:.875rem}.desktop-table{width:100%;border-collapse:collapse}.desktop-table th{background:#f9fafb;padding:.875rem 1rem;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb;text-align:left}.desktop-table td{padding:1rem;border-bottom:1px solid #e5e7eb;vertical-align:middle}.desktop-table tr:hover{background:#f9fafb}.desktop-table tr:last-child td{border-bottom:none}.row-done{background:#f0fdf4}.row-done:hover{background:#dcfce7!important}.row-pending{background:#fff}.row-urgent{animation:pulse-urgent 2s infinite}@keyframes pulse-urgent{0%,to{background:#fef2f2}50%{background:#fee2e2}}.date-cell{display:flex;flex-direction:column;gap:.25rem}.date-main{font-weight:600;color:#111827}.days-badge{display:inline-block;padding:.125rem .5rem;font-size:.625rem;font-weight:600;border-radius:9999px;background:#e5e7eb;color:#6b7280}.days-badge.today{background:#dc2626;color:#fff}.days-badge.soon{background:#f59e0b;color:#fff}.customer-cell{display:flex;align-items:center;gap:.5rem}.customer-name{font-weight:500;color:#111827}.notes-indicator{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#6366f1;cursor:help}.notes-indicator svg{width:16px;height:16px}.tour-cell{display:flex;flex-direction:column;gap:.125rem}.tour-name-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.tour-name{font-weight:500;color:#111827}.tour-id{font-size:.75rem;color:#9ca3af}.product-badge{display:inline-flex;align-items:center;padding:.125rem .5rem;font-size:.625rem;font-weight:600;border-radius:9999px;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}.product-badge.tour{background:#fef3c7;color:#b45309;border:1px solid #fcd34d}.pax-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 .5rem;background:#eff6ff;color:#3b82f6;font-weight:600;font-size:.875rem;border-radius:6px}.pax-details{display:inline-flex;align-items:center;padding:.25rem .625rem;background:#eff6ff;color:#3b82f6;font-weight:500;font-size:.8125rem;border-radius:6px;white-space:nowrap}.status-badge{display:inline-block;padding:.25rem .75rem;font-size:.75rem;font-weight:600;border-radius:9999px}.status-badge.purchased{background:#dcfce7;color:#16a34a}.status-badge.pending{background:#fef3c7;color:#d97706}.ref-number{font-family:monospace;font-weight:600;color:#111827;background:#f3f4f6;padding:.25rem .5rem;border-radius:4px}.ref-empty{color:#9ca3af}.action-btn{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.action-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.action-btn.primary:hover{box-shadow:0 4px 12px #667eea66}.action-btn.edit{background:#f3f4f6;color:#374151}.action-btn.edit:hover{background:#e5e7eb}.mobile-cards{display:none}.modal{background:#fff;border-radius:16px;width:100%;max-width:420px;box-shadow:0 25px 50px -12px #00000040;position:relative;overflow:hidden}.modal-header{padding:1.5rem;border-bottom:1px solid #e5e7eb}.booking-summary{background:#f9fafb;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.summary-row{display:flex;justify-content:space-between;padding:.5rem 0}.summary-row:not(:last-child){border-bottom:1px solid #e5e7eb}.summary-row .label{color:#6b7280;font-size:.875rem}.summary-row .value{font-weight:500;color:#111827;font-size:.875rem;text-align:right}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#374151;font-size:.875rem}.form-group input{width:100%;padding:.875rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:all .2s;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder,.form-group textarea::placeholder{color:#9ca3af}.form-group textarea{width:100%;padding:.875rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.9rem;font-family:inherit;transition:all .2s;box-sizing:border-box;resize:vertical;min-height:80px}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem}.btn-cancel{flex:1;padding:.875rem 1rem;background:#f3f4f6;color:#374151;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.btn-cancel:hover{background:#e5e7eb}.btn-confirm{flex:2;padding:.875rem 1rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s}.btn-confirm:hover{box-shadow:0 4px 12px #10b98166}.btn-confirm svg{width:18px;height:18px}@media(max-width:768px){.desktop-table{display:none}.mobile-cards{display:block;padding:1rem}.booking-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;margin-bottom:1rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.booking-card.done{border-left:4px solid #10b981;background:#f0fdf4}.booking-card.pending{border-left:4px solid #f59e0b}.booking-card.urgent{animation:pulse-urgent 2s infinite;border-left-color:#dc2626}.card-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb}.card-date{display:flex;align-items:center;gap:.5rem}.card-date .date-main{font-weight:600;color:#111827}.card-body{padding:1rem}.card-customer,.card-tour,.card-ref{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.card-customer:last-child,.card-tour:last-child,.card-ref:last-child{margin-bottom:0}.card-customer svg,.card-tour svg,.card-ref svg{width:18px;height:18px;color:#9ca3af;flex-shrink:0}.card-customer span,.card-tour span,.card-ref span{color:#374151;font-size:.875rem}.card-customer .pax-badge{margin-left:auto;font-size:.75rem;min-width:auto;height:24px;padding:0 .5rem}.card-customer .pax-details{margin-left:auto;font-size:.75rem;padding:.25rem .5rem}.card-tour{flex-wrap:wrap}.card-tour .product-badge{margin-left:auto}.card-ref span{font-family:monospace;color:#10b981;font-weight:600}.card-notes{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:#f0f9ff;border-radius:8px;margin-top:.5rem}.card-notes svg{width:16px;height:16px;color:#6366f1;flex-shrink:0;margin-top:2px}.card-notes span{font-size:.8125rem;color:#4b5563;line-height:1.4}.card-footer{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9fafb;border-top:1px solid #e5e7eb}.booking-id{font-size:.75rem;color:#9ca3af}.card-footer .action-btn{padding:.625rem 1rem}.modal-overlay{padding:0;align-items:flex-end}.modal{max-width:100%;border-radius:16px 16px 0 0;max-height:90vh;overflow-y:auto}.modal-header{padding:1.25rem 1rem}.modal-body{padding:1.25rem 1rem 2rem}.modal-close{top:.75rem;right:.75rem}}@media(max-width:480px){.mobile-cards{padding:.75rem}.booking-card{margin-bottom:.75rem}.card-header,.card-body,.card-footer{padding:.875rem}.modal-actions{flex-direction:column}.btn-cancel,.btn-confirm{width:100%}}.dashboard{min-height:100vh;background:#f3f4f6}.dashboard-header{background:linear-gradient(135deg,#1a1a2e,#16213e);color:#fff;padding:0 1.5rem;height:64px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:0 2px 10px #0000001a}.header-left{display:flex;align-items:center;gap:1rem}.header-left h1{font-size:1.25rem;font-weight:700;margin:0}.menu-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:.5rem}.menu-toggle span{display:block;width:20px;height:2px;background:#fff;border-radius:1px}.header-right{display:flex;align-items:center;gap:1rem}.status-indicator{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:#ffffff1a;border-radius:20px;font-size:.875rem}.dot{width:8px;height:8px;border-radius:50%}.dot.online{background:#10b981;box-shadow:0 0 8px #10b981}.user-menu{position:relative}.user-button{display:flex;align-items:center;gap:.5rem;background:none;border:none;color:#fff;cursor:pointer;padding:.25rem}.user-avatar{width:36px;height:36px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600}.user-name{font-size:.875rem}.dropdown-menu{position:absolute;top:100%;right:0;margin-top:.5rem;background:#fff;border-radius:8px;box-shadow:0 10px 40px #00000026;min-width:200px;overflow:hidden;z-index:100}.dropdown-header{padding:1rem;border-bottom:1px solid #e5e7eb}.dropdown-header strong{display:block;color:#111827}.dropdown-header span{font-size:.75rem;color:#6b7280}.dropdown-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.75rem 1rem;border:none;background:none;cursor:pointer;color:#374151;font-size:.875rem;text-align:left}.dropdown-item:hover{background:#f3f4f6}.dropdown-item.logout{color:#dc2626}.dropdown-item svg{width:18px;height:18px}.dashboard-main{padding:1.5rem;max-width:1400px;margin:0 auto}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem}.stat-card{background:#fff;border-radius:12px;padding:1.25rem;display:flex;gap:1rem;box-shadow:0 1px 3px #0000001a}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon svg{width:24px;height:24px}.stat-card.urgent .stat-icon{background:#fef2f2;color:#dc2626}.stat-card.success .stat-icon{background:#ecfdf5;color:#10b981}.stat-card.warning .stat-icon{background:#fffbeb;color:#f59e0b}.stat-card.info .stat-icon{background:#eff6ff;color:#3b82f6}.stat-content h3{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .25rem}.stat-value{font-size:1.75rem;font-weight:700;color:#111827;line-height:1}.stat-desc{font-size:.75rem;color:#9ca3af;margin:.25rem 0 0}.bookings-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.section-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.section-header h2{font-size:1.125rem;font-weight:600;margin:0}.header-actions{display:flex;gap:.5rem}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover{background:#e5e7eb}.btn:disabled{opacity:.6;cursor:not-allowed}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.filters-bar{display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem 1.5rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.filter-group{flex:1;min-width:150px}.filter-group.date-range{display:flex;align-items:center;gap:.5rem;flex:2}.date-separator{color:#6b7280;font-size:.875rem}.filter-input,.filter-select{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff}.filter-input:focus,.filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;text-align:center;color:#6b7280}.loading-state .spinner.large,.empty-state svg{width:48px;height:48px;margin-bottom:1rem}.loading-state .spinner.large{border-width:3px;border-color:#667eea33;border-top-color:#667eea}.empty-state h3{font-size:1.125rem;font-weight:600;color:#374151;margin:0 0 .5rem}.empty-state p{margin:0;font-size:.875rem}.day-group{border-bottom:1px solid #e5e7eb}.day-group:last-child{border-bottom:none}.day-group.today{background:linear-gradient(to right,rgba(102,126,234,.05),transparent)}.day-group.today .day-header{border-left:4px solid #667eea}.day-group.tomorrow{background:linear-gradient(to right,rgba(245,158,11,.03),transparent)}.day-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.day-info{display:flex;align-items:baseline;gap:.75rem}.day-label{font-size:1.125rem;font-weight:600;color:#111827;margin:0;display:flex;align-items:center;gap:.5rem}.today-badge{font-size:.625rem;font-weight:700;padding:.25rem .5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:4px;text-transform:uppercase;letter-spacing:.05em}.day-date{font-size:.875rem;color:#6b7280}.day-stats{display:flex;gap:1rem}.day-stat{font-size:.875rem;color:#6b7280}.day-stat strong{color:#374151}.day-stat.pending,.day-stat.pending strong{color:#dc2626}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;border-top:1px solid #e5e7eb}.pagination-total{color:#6b7280;margin-left:.25rem}@media(max-width:1024px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.menu-toggle{display:flex}.header-left h1{font-size:1rem}.status-text,.user-name{display:none}.dashboard-main{padding:1rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.stat-card{padding:1rem}.stat-icon{width:40px;height:40px}.stat-icon svg{width:20px;height:20px}.stat-value{font-size:1.5rem}.section-header{flex-direction:column;gap:1rem;align-items:stretch}.header-actions{justify-content:stretch}.header-actions .btn{flex:1;justify-content:center}.filters-bar{flex-direction:column}.filter-group{min-width:100%}.filter-group.date-range{flex-direction:column;align-items:stretch}.date-separator{display:none}.pagination{flex-wrap:wrap;gap:.5rem}.pagination-btn{flex:1;text-align:center}}@media(max-width:768px){.day-header{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.75rem 1rem}.day-info{flex-direction:column;gap:.25rem}.day-stats{flex-wrap:wrap;gap:.5rem 1rem}}@media(max-width:480px){.dashboard-header{padding:0 1rem}.stats-grid{grid-template-columns:1fr}.stat-card{flex-direction:row;align-items:center}.stat-content{flex:1}.section-header,.filters-bar{padding:.75rem 1rem}.day-label{font-size:1rem}.day-date{font-size:.75rem}}.webhook-logs{min-height:100vh;background:#f3f4f6}.logs-header{background:linear-gradient(135deg,#1a1a2e,#16213e);color:#fff;padding:0 1.5rem;height:64px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:0 2px 10px #0000001a}.header-left{display:flex;align-items:center;gap:.75rem}.back-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#ffffff1a;border:none;border-radius:8px;cursor:pointer;transition:background .2s}.back-btn:hover{background:#fff3}.back-btn svg{width:20px;height:20px;color:#fff}.logs-header h1{font-size:1.25rem;font-weight:700;margin:0}.logs-main{padding:1.5rem;max-width:1000px;margin:0 auto}.error-banner{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin-bottom:1.5rem}.error-banner svg{width:20px;height:20px;flex-shrink:0}.error-banner button{margin-left:auto;padding:.375rem .75rem;background:#dc2626;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.875rem}.logs-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem}.stat-item{background:#fff;border-radius:12px;padding:1rem;text-align:center;box-shadow:0 1px 3px #0000001a}.stat-value{display:block;font-size:1.5rem;font-weight:700;color:#111827}.stat-item.success .stat-value{color:#10b981}.stat-item.warning .stat-value{color:#f59e0b}.stat-item.error .stat-value{color:#dc2626}.stat-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.logs-filters{display:flex;gap:.75rem;margin-bottom:1rem}.filter-select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;min-width:150px}.filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.logs-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.logs-loading,.logs-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:1rem}.loading-spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.logs-loading p,.logs-empty p{color:#6b7280;margin:0}.logs-empty svg{width:48px;height:48px;color:#d1d5db}.logs-list{border-top:1px solid #e5e7eb}.log-item{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb;cursor:pointer;transition:background .2s}.log-item:last-child{border-bottom:none}.log-item:hover{background:#f9fafb}.log-main{display:flex;flex-direction:column;gap:.25rem}.log-event{display:flex;align-items:center;gap:.5rem}.status-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af}.status-dot.success{background:#10b981}.status-dot.warning{background:#f59e0b}.status-dot.error{background:#dc2626}.event-type{font-weight:500;color:#111827}.log-meta{display:flex;gap:.75rem;font-size:.75rem;color:#9ca3af}.log-actions{display:flex;align-items:center;gap:.75rem}.status-badge{padding:.25rem .5rem;font-size:.625rem;font-weight:600;text-transform:uppercase;border-radius:4px;background:#f3f4f6;color:#6b7280}.status-badge.success{background:#dcfce7;color:#16a34a}.status-badge.warning{background:#fef3c7;color:#d97706}.status-badge.error{background:#fee2e2;color:#dc2626}.retry-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f3f4f6;border:none;border-radius:6px;cursor:pointer;transition:background .2s}.retry-btn:hover:not(:disabled){background:#e5e7eb}.retry-btn:disabled{opacity:.5;cursor:not-allowed}.retry-btn svg{width:16px;height:16px;color:#374151}.spinner-small{width:14px;height:14px;border:2px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.logs-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;border-top:1px solid #e5e7eb}.pagination-btn{padding:.5rem 1rem;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;cursor:pointer}.pagination-btn:hover:not(:disabled){background:#e5e7eb}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-info{font-size:.875rem;color:#374151}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.log-modal{background:#fff;border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040;position:relative}.modal-close{position:absolute;top:1rem;right:1rem;width:32px;height:32px;border:none;background:#f3f4f6;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.modal-close:hover{background:#e5e7eb}.modal-close svg{width:18px;height:18px;color:#6b7280}.modal-header{display:flex;align-items:center;gap:1rem;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.modal-body{padding:1.5rem}.log-detail-row{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #e5e7eb}.log-detail-row .label{color:#6b7280;font-size:.875rem}.log-detail-row .value{font-weight:500;color:#111827;font-size:.875rem}.log-detail-row.error .value{color:#dc2626}.log-payload{margin-top:1rem}.log-payload .label{display:block;color:#6b7280;font-size:.875rem;margin-bottom:.5rem}.log-payload pre{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;overflow-x:auto;font-size:.75rem;margin:0;max-height:300px;overflow-y:auto}.modal-actions{padding:1.5rem;border-top:1px solid #e5e7eb}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn svg{width:16px;height:16px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;width:100%;justify-content:center}.btn-primary:hover{box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#ffffff1a;color:#fff}.btn-secondary:hover{background:#fff3}@media(max-width:768px){.logs-stats{grid-template-columns:repeat(2,1fr);gap:.75rem}.logs-filters{flex-direction:column}.filter-select{min-width:100%}.log-item{flex-direction:column;align-items:flex-start;gap:.75rem}.log-actions{width:100%;justify-content:space-between}}@media(max-width:480px){.logs-main{padding:1rem}.logs-header{padding:0 1rem}.logs-header h1{font-size:1.125rem}.stat-item{padding:.75rem}.stat-value{font-size:1.25rem}.modal-overlay{padding:0;align-items:flex-end}.log-modal{max-width:100%;border-radius:16px 16px 0 0}}.app-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460)}.app-loading .loading-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.1);border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.app-loading p{color:#ffffffb3;font-size:.875rem;margin:0}@keyframes spin{to{transform:rotate(360deg)}}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f4f6}button,input,select,textarea{font-family:inherit}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
