:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#fff;--text-primary: #213547;--text-secondary: #666666;--surface-card: #ffffff;--border-color: #dddddd;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#747bff}body{margin:0;min-height:100vh}#root{width:100%;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#f9f9f9;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.change-password-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.change-password-modal{background-color:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:400px}.change-password-modal h2{margin-top:0;margin-bottom:1.5rem;color:#333}.change-password-modal .form-group{margin-bottom:1rem}.change-password-modal .form-group label{display:block;margin-bottom:.5rem;color:#666}.change-password-modal .form-group input{width:100%;padding:.75rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.change-password-modal .modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.change-password-modal .btn-cancel{background-color:transparent;border:1px solid #ccc;color:#666;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:500}.change-password-modal .btn-cancel:hover{background-color:#f5f5f5}.change-password-modal .error-message{color:#dc3545;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:.75rem;margin-bottom:1rem;font-size:.9rem}.change-password-modal .success-message{color:#155724;background-color:#d4edda;border:1px solid #c3e6cb;border-radius:4px;padding:.75rem;margin-bottom:1rem;font-size:.9rem}.navbar{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background-color:#fff;box-shadow:0 2px 4px #0000001a;position:sticky;top:0;z-index:1000}.navbar-brand a{font-size:1.5rem;font-weight:700;color:#2d3748;text-decoration:none}.navbar-links{display:flex;gap:2rem}.navbar-links a{color:#4a5568;text-decoration:none;font-weight:500;padding:.5rem 1rem;border-radius:4px;transition:all .2s}.navbar-links a:hover{color:#2b6cb0;background-color:#ebf8ff}.navbar-links a.active{color:#2b6cb0;background-color:#ebf8ff;font-weight:600}.navbar-user{display:flex;align-items:center;gap:1rem}.user-name{color:#4a5568;font-weight:500}.navbar .logout-btn{padding:.5rem 1rem;background-color:transparent;border:1px solid #e2e8f0;color:#e53e3e;border-radius:4px;cursor:pointer;transition:all .2s}.navbar .logout-btn:hover{background-color:#fff5f5;border-color:#feb2b2}*,*:before,*:after{box-sizing:border-box}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2)}.login-card{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:400px}.login-card h1{color:#667eea;margin-bottom:.5rem;font-size:1.75rem;text-align:center}.login-card h2{color:#333;margin-bottom:1.5rem;font-size:1.25rem;text-align:center}.error-message{background:#fee;color:#c33;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem}.form-group label{display:block;margin-bottom:.5rem;color:#555;font-weight:500}.form-group input{width:100%;padding:.75rem;border:2px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .3s;background-color:#fff;color:#333;caret-color:#333}.form-group input:focus{outline:none;border-color:#667eea}.form-group input:-webkit-autofill,.form-group input:-webkit-autofill:hover,.form-group input:-webkit-autofill:focus,.form-group input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px white inset!important;-webkit-text-fill-color:#333!important;transition:background-color 5000s ease-in-out 0s}.submit-btn{width:100%;padding:.875rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.toggle-form{margin-top:1.5rem;text-align:center;color:#666;font-size:.9rem}.link-btn{background:none;border:none;color:#667eea;cursor:pointer;font-weight:600;font-size:.9rem;text-decoration:underline}.link-btn:hover{color:#764ba2}.dashboard{min-height:100vh;background:#f5f7fa}.dashboard-nav{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 6px #0000001a}.dashboard-nav h1{margin:0;font-size:1.5rem}.user-info{display:flex;align-items:center;gap:1rem}.user-info span{font-size:1rem}.logout-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:500;transition:all .3s}.logout-btn:hover{background:#ffffff4d;transform:translateY(-2px)}.dashboard-content{padding:2rem;max-width:1200px;margin:0 auto}.welcome-card{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.welcome-card h2{color:#333;margin-bottom:.5rem}.welcome-card p{color:#666;margin-bottom:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;border-radius:8px;transition:transform .3s,box-shadow .3s}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #667eea4d}.stat-card h3{margin:0 0 .5rem;font-size:1.25rem}.stat-card p{margin:0;opacity:.9;font-size:.9rem}.dashboard-card{background:#fff;color:#2d3748;padding:2rem;border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px #0000000d;position:relative;overflow:hidden;border-left:6px solid #667eea}.dashboard-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#667eea0d,#764ba20d);opacity:0;transition:opacity .3s}.dashboard-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #0000001a}.dashboard-card:hover:before{opacity:1}.dashboard-card:active{transform:translateY(-4px);box-shadow:0 6px 12px #0000000d}.dashboard-card h2{margin:0 0 .75rem;font-size:1.5rem;font-weight:600;position:relative;z-index:1;color:#2d3748}.dashboard-card p{margin:0;opacity:1;font-size:1rem;line-height:1.5;position:relative;z-index:1;color:#4a5568}.campaigns-container{padding:2rem;max-width:1200px;margin:0 auto}.campaigns-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.campaigns-header h1{margin:0;color:#333}.create-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.75rem 1.5rem;border-radius:6px;text-decoration:none;font-weight:600;transition:transform .2s;border:none;cursor:pointer}.create-btn:hover{transform:translateY(-2px)}.campaigns-table{width:100%;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;border-collapse:collapse;overflow:hidden}.campaigns-table th,.campaigns-table td{padding:1rem;text-align:left;border-bottom:1px solid #eee}.campaigns-table th{background-color:#f8f9fa;font-weight:600;color:#555}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:500}.status-published{background-color:#e6fffa;color:#2c7a7b}.status-draft{background-color:#fffaf0;color:#9c4221}.actions-cell{display:flex;gap:.5rem}.action-btn{padding:.4rem .8rem;border-radius:4px;border:1px solid #ddd;background:#fff;cursor:pointer;font-size:.9rem;transition:all .2s}.action-btn:hover{background-color:#f5f5f5}.edit-btn{color:#2b6cb0}.delete-btn{color:#c53030}.publish-btn{color:#2f855a}.assign-btn{color:#805ad5}.campaign-form-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.form-section{margin-bottom:2rem}.form-section h3{margin-bottom:1rem;color:#4a5568;border-bottom:1px solid #e2e8f0;padding-bottom:.5rem}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem}.cancel-btn{background:#edf2f7;color:#4a5568;padding:.75rem 1.5rem;border-radius:6px;border:none;font-weight:600;cursor:pointer}.shop-lookup-container{display:flex;gap:1rem;margin-bottom:1.5rem}.shop-input{flex:1;min-height:100px;padding:.75rem;border:1px solid #e2e8f0;border-radius:6px;font-family:monospace}.lookup-results{margin-top:2rem}.found-shops{margin-bottom:2rem}.shop-item{display:flex;justify-content:space-between;padding:.75rem;background:#f7fafc;border-radius:4px;margin-bottom:.5rem}.not-found-shops{color:#c53030}.collaborator-container{padding:2rem;max-width:800px;margin:0 auto;min-height:100vh;background:#f5f7fa}.collaborator-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.collaborator-header h1{font-size:1.875rem;color:#2d3748;margin:0;font-weight:700}.collaborator-form-card{background:#fff;border-radius:16px;box-shadow:0 4px 6px #0000000d,0 10px 15px #0000001a;padding:2.5rem;border-top:6px solid #667eea}.form-section{margin-bottom:2.5rem;animation:fadeIn .5s ease-out}.form-section:last-child{margin-bottom:0}.form-section h3{font-size:1.25rem;color:#4a5568;margin:0 0 1.5rem;padding-bottom:.75rem;border-bottom:2px solid #edf2f7;font-weight:600}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#4a5568;font-weight:500;font-size:.95rem}.form-group input[type=text],.form-group input[type=number],.form-group select,.form-group textarea{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;color:#2d3748;transition:all .2s;background:#f8fafc}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:120px}.helper-text{font-size:.85rem;color:#718096;margin-bottom:.5rem}.checkbox-label{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:.5rem;border-radius:6px;transition:background .2s}.checkbox-label:hover{background:#f7fafc}.checkbox-input{width:20px;height:20px;margin-right:.75rem;accent-color:#667eea;cursor:pointer}.location-list{max-height:300px;overflow-y:auto;border:2px solid #e2e8f0;border-radius:12px;padding:.75rem;background:#f8fafc}.location-item{margin-bottom:.5rem;padding:.75rem 1rem;border-radius:8px;background:#fff;border:1px solid #e2e8f0;transition:all .2s ease;cursor:pointer}.location-item:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}.location-item.selected{background:#ebf4ff;border-color:#667eea}.location-type-badge{font-size:.7rem;padding:.15rem .5rem;border-radius:4px;margin-left:.5rem;text-transform:uppercase;font-weight:600;letter-spacing:.05em}.location-type-district{background:#e2e8f0;color:#4a5568}.location-type-state{background:#bee3f8;color:#2b6cb0}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:3rem;padding-top:2rem;border-top:1px solid #e2e8f0}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 6px #667eea40}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 12px #667eea59}.btn-primary:disabled{opacity:.7;cursor:not-allowed;transform:none}.lookup-btn{background:#4fd1c5;color:#fff;padding:.5rem 1rem;border-radius:6px;border:none;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.5rem}.lookup-btn:hover{background:#38b2ac;transform:translateY(-1px)}.error-message{background:#fff5f5;color:#c53030;padding:1rem;border-radius:8px;border-left:4px solid #c53030;margin-bottom:2rem}.location-list::-webkit-scrollbar{width:8px}.location-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.location-list::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.location-list::-webkit-scrollbar-thumb:hover{background:#a0aec0}.check-code-container{padding:2rem;max-width:1200px;margin:0 auto;min-height:100vh;background:#f5f7fa}.check-code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.check-code-header h1{font-size:1.875rem;color:#2d3748;margin:0;font-weight:700}.check-code-card{background:#fff;border-radius:16px;box-shadow:0 4px 6px #0000000d,0 10px 15px #0000001a;overflow:hidden}.search-section{padding:3rem;background:linear-gradient(135deg,#667eea,#764ba2)}.description{color:#fff;font-size:1.125rem;margin:0 0 2rem;opacity:.95}.search-form{max-width:600px}.input-group{display:flex;gap:1rem;animation:slideIn .4s ease-out}.input-group input{flex:1;padding:1rem 1.5rem;border:none;border-radius:12px;font-size:1.125rem;background:#fff;box-shadow:0 4px 12px #00000026;transition:all .3s}.input-group input:focus{outline:none;box-shadow:0 6px 20px #0003;transform:translateY(-2px)}.input-group input:disabled{opacity:.6;cursor:not-allowed}.btn-search{padding:1rem 2rem;background:#48bb78;color:#fff;border:none;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #48bb784d;white-space:nowrap}.btn-search:hover:not(:disabled){background:#38a169;transform:translateY(-2px);box-shadow:0 6px 20px #48bb7866}.btn-search:disabled{opacity:.6;cursor:not-allowed;transform:none}.results-section{padding:3rem;animation:fadeIn .5s ease-out}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.results-header h2{font-size:1.5rem;color:#2d3748;margin:0;font-weight:700}.btn-reset{padding:.75rem 1.5rem;background:#e2e8f0;color:#4a5568;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-reset:hover{background:#cbd5e0;transform:translateY(-1px)}.code-check-result{background:#f7fafc;border-radius:12px;padding:2rem;border:2px solid #e2e8f0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-item{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 8px #0000000d;display:flex;flex-direction:column;gap:.75rem;transition:all .3s}.stat-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.stat-item.highlight-stat{background:linear-gradient(135deg,#667eea,#764ba2)}.stat-item.highlight-stat .stat-label{color:#ffffffe6}.stat-item.highlight-stat .stat-value{color:#fff}.stat-label{font-size:.875rem;color:#718096;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:1.5rem;color:#2d3748;font-weight:700}.stat-value.highlight{font-size:2rem;color:#fff}.stat-value.capitalize{text-transform:capitalize}.shops-section{margin-top:2.5rem;padding-top:2.5rem;border-top:2px solid #e2e8f0}.shops-section h3{font-size:1.125rem;color:#4a5568;margin:0 0 1.5rem;font-weight:600}.shops-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}.shop-card{background:#fff;padding:1rem;border-radius:10px;box-shadow:0 2px 8px #0000000d;display:flex;flex-direction:column;align-items:center;gap:.75rem;transition:all .3s}.shop-card:hover{transform:translateY(-3px);box-shadow:0 4px 12px #0000001f}.shop-image{width:60px;height:60px;border-radius:50%;object-fit:cover;border:3px solid #e2e8f0}.shop-name{font-size:.875rem;color:#4a5568;font-weight:500;text-align:center}.error-message{background:#fffffff2;color:#c53030;padding:1rem;border-radius:8px;border-left:4px solid #c53030;margin-bottom:2rem;font-weight:500}.btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s;border:none}.btn-secondary{background:#fff;color:#4a5568;border:2px solid #e2e8f0}.btn-secondary:hover{background:#f7fafc;border-color:#cbd5e0;color:#2d3748}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.vouchers-container{padding:2rem;max-width:1200px;margin:0 auto;min-height:100vh;background:#f5f7fa}.vouchers-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.vouchers-header h1{font-size:1.875rem;color:#2d3748;margin:0;font-weight:700}.filter-tabs{display:flex;gap:1rem;margin-bottom:2rem;background:#fff;padding:.5rem;border-radius:12px;box-shadow:0 2px 4px #0000000d;width:fit-content}.filter-tab{padding:.75rem 1.5rem;border-radius:8px;border:none;background:transparent;color:#718096;font-weight:600;cursor:pointer;transition:all .2s}.filter-tab:hover{color:#4a5568;background:#f7fafc}.filter-tab.active{background:#ebf8ff;color:#3182ce}.requests-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.request-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;transition:transform .2s}.request-card:hover{transform:translateY(-2px);box-shadow:0 8px 12px #0000001a}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #edf2f7}.user-info h3{margin:0 0 .25rem;color:#2d3748;font-size:1.1rem}.user-phone{color:#718096;font-size:.9rem;margin:0}.status-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-pendingApproval{background:#feebc8;color:#c05621}.status-active{background:#c6f6d5;color:#2f855a}.status-expired{background:#e2e8f0;color:#718096}.status-rejected{background:#fed7d7;color:#c53030}.card-details{margin-bottom:1.5rem}.detail-row{display:flex;justify-content:space-between;margin-bottom:.75rem;font-size:.95rem}.detail-label{color:#718096}.detail-value{color:#2d3748;font-weight:500}.card-actions{display:flex;gap:1rem;margin-top:auto}.action-btn{flex:1;padding:.75rem;border-radius:8px;border:none;font-weight:600;cursor:pointer;transition:all .2s}.btn-approve{background:#48bb78;color:#fff}.btn-approve:hover{background:#38a169}.btn-reject{background:#fff;border:1px solid #fc8181;color:#c53030}.btn-reject:hover{background:#fff5f5}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:12px;width:100%;max-width:500px;box-shadow:0 20px 25px #0000001a}.modal-content h2{margin-top:0;color:#2d3748}.modal-content textarea{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;margin:1rem 0;min-height:100px;font-family:inherit}.modal-actions{display:flex;justify-content:flex-end;gap:1rem}.user-management{padding:20px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-header h1{margin:0;color:#333}.user-form-card{background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:30px}.user-form-card h2{margin-top:0;margin-bottom:20px;color:#333}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#555}.form-group input{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px}.form-group input:focus{outline:none;border-color:#007bff}.btn-primary{background-color:#007bff;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500}.btn-primary:hover{background-color:#0056b3}.btn-secondary{background-color:#6c757d;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:13px}.btn-secondary:hover{background-color:#5a6268}.users-list{background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.users-list h2{margin-top:0;margin-bottom:20px;color:#333}.users-table{width:100%;border-collapse:collapse}.users-table th,.users-table td{padding:12px;text-align:left;border-bottom:1px solid #ddd}.users-table th{background-color:#f8f9fa;font-weight:600;color:#555}.users-table tbody tr:hover{background-color:#f8f9fa}.badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600}.badge-admin{background-color:#28a745;color:#fff}.badge-user{background-color:#6c757d;color:#fff}.error-message{background-color:#f8d7da;color:#721c24;padding:12px;border-radius:4px;margin-bottom:20px;border:1px solid #f5c6cb}.loading{text-align:center;padding:40px;font-size:18px;color:#666}.app-config-container{padding:2rem;max-width:1200px;margin:0 auto}.config-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.config-header h1{color:var(--text-primary);margin:0}.config-card{background:var(--surface-card);border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000001a}.config-info{margin-bottom:1.5rem;color:var(--text-secondary)}.editor-container{margin-bottom:2rem;height:600px;border:1px solid var(--border-color);border-radius:8px;overflow:hidden}.json-editor{width:100%;height:100%;padding:1rem;background-color:#1e1e1e;color:#d4d4d4;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace;font-size:14px;line-height:1.5;border:none;resize:none;outline:none}.actions{display:flex;justify-content:flex-end}.loading{padding:2rem;text-align:center;color:var(--text-secondary)}.success-message{background-color:#10b9811a;color:#10b981;padding:1rem;border-radius:8px;margin-bottom:1rem}.error-message{background-color:#ef44441a;color:#ef4444;padding:1rem;border-radius:8px;margin-bottom:1rem}.payment-status-container{padding:2rem;max-width:800px;margin:0 auto}.status-form{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;display:flex;gap:1rem;align-items:flex-end}.form-group{flex:1;display:flex;flex-direction:column;gap:.5rem}.form-group input{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.status-form button{padding:.75rem 1.5rem;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;height:42px}.status-form button:disabled{background-color:#ccc}.status-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.status-item{display:flex;flex-direction:column;gap:.5rem}.status-item strong{color:#666;font-size:.9rem;text-transform:uppercase}.status-badge{display:inline-block;padding:.25rem .5rem;border-radius:4px;font-weight:700;font-size:.9rem}.status-badge.success{background-color:#d4edda;color:#155724}.status-badge.failure{background-color:#f8d7da;color:#721c24}.error-message{padding:1rem;background-color:#f8d7da;color:#721c24;border-radius:4px;margin-bottom:1rem}.shops-container{padding:2rem;max-width:1200px;margin:0 auto;min-height:100vh;background:#f5f7fa}.shops-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.shops-header h1{font-size:1.875rem;color:#2d3748;margin:0;font-weight:700}.search-section{margin-bottom:2rem;background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 4px #0000000d}.search-form{display:flex;gap:1rem}.search-input{flex:1;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s}.search-input:focus{border-color:#3182ce;outline:none}.search-btn{min-width:120px}.shops-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.shop-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}.shop-card:hover{transform:translateY(-2px);box-shadow:0 8px 12px #0000001a}.shop-info{margin-bottom:1rem}.shop-info h3{margin:0 0 .5rem;color:#2d3748;font-size:1.25rem}.shop-phone,.shop-location{color:#718096;margin:.25rem 0;font-size:.95rem}.shop-status{margin-bottom:1.5rem}.shop-actions{margin-top:auto}.btn-outline-primary{width:100%;padding:.75rem;background:transparent;border:2px solid #3182ce;color:#3182ce;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-outline-primary:hover{background:#ebf8ff}.no-results{grid-column:1 / -1;text-align:center;padding:3rem;color:#718096;background:#fff;border-radius:12px}.shop-actions{margin-top:auto;display:flex;gap:.75rem}.shop-actions .btn{flex:1}.btn-analytics{flex:1;padding:.75rem;background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;font-size:.875rem}.btn-analytics:hover{opacity:.88;transform:translateY(-1px);box-shadow:0 4px 12px #667eea80}.shop-edit-container{padding:2rem;max-width:900px;margin:0 auto;min-height:100vh;background:#f5f7fa}.shop-edit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.shop-edit-header h1{font-size:1.875rem;color:#2d3748;margin:0}.edit-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 4px #0000000d}.form-section h2{margin:0 0 1.5rem;font-size:1.25rem;color:#4a5568;border-bottom:1px solid #edf2f7;padding-bottom:.75rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;color:#718096;font-weight:500}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:all .2s}.form-group input:focus{border-color:#3182ce;outline:none;box-shadow:0 0 0 3px #3182ce1a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.json-editor{width:100%;min-height:300px;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace;font-size:.9rem;padding:1rem;border:1px solid #cbd5e0;border-radius:8px;background:#2d3748;color:#e2e8f0;line-height:1.5}.json-editor.has-error{border-color:#e53e3e}.json-error{color:#e53e3e;background:#fff5f5;padding:.5rem 1rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem}.helper-text{color:#718096;margin-bottom:1rem;font-size:.9rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;border-bottom:1px solid #edf2f7;padding-bottom:.75rem}.section-header h2{margin:0;border:none;padding:0}.info-badge{background:#ebf8ff;color:#3182ce;font-size:.8rem;padding:.25rem .75rem;border-radius:9999px;font-weight:600}.form-actions{display:flex;justify-content:flex-end;margin-top:1rem}.btn-lg{padding:1rem 2rem;font-size:1.1rem}.alert{padding:1rem;border-radius:8px;margin-bottom:2rem}.image-preview{margin-bottom:1.5rem;text-align:center}.profile-image-preview{max-width:200px;max-height:200px;border-radius:8px;box-shadow:0 2px 4px #0000001a;object-fit:cover}.place-search-container{position:relative}.places-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 4px 6px #0000001a;max-height:200px;overflow-y:auto;z-index:1000;list-style:none;padding:0;margin:0}.places-dropdown li{padding:10px 15px;cursor:pointer;border-bottom:1px solid #eee;display:flex;flex-direction:column}.places-dropdown li:last-child{border-bottom:none}.places-dropdown li.no-results{color:#999;cursor:default;background:transparent}.places-dropdown li:hover:not(.no-results){background-color:#f7fafc}.places-dropdown li strong{display:block;color:#2d3748}.places-dropdown li small{color:#718096;font-size:.85em}.alert-error{background:#fff5f5;color:#c53030;border:1px solid #feb2b2}.alert-success{background:#f0fff4;color:#2f855a;border:1px solid #9ae6b4}.album-gallery{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.album-image-container{position:relative;width:150px;height:150px;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.album-image-preview{width:100%;height:100%;object-fit:cover}.remove-album-btn{position:absolute;bottom:5px;left:50%;transform:translate(-50%);background:#e53e3ee6;color:#fff;border:none;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;cursor:pointer;transition:background .2s}.remove-album-btn:hover{background:#c53030}.mt-3{margin-top:1rem}.btn-danger{background-color:#e53e3e;color:#fff}.btn-danger:hover{background-color:#c53030}.analytics-page{padding:2rem;max-width:1200px;margin:0 auto;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f7fa;min-height:100vh}.analytics-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.analytics-title{font-size:1.875rem;font-weight:700;color:#1a202c;margin:0 0 .25rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.analytics-subtitle{color:#718096;margin:0;font-size:1rem;font-weight:500}.header-btns{display:flex;gap:.75rem}.btn-back{padding:.6rem 1.25rem;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;color:#4a5568;font-weight:600;cursor:pointer;font-size:.875rem;transition:all .2s}.btn-back:hover{border-color:#667eea;color:#667eea;background:#f0eeff}.filter-card{background:#fff;border-radius:14px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 8px #0000000f;border:1px solid #e2e8f0}.filter-row{display:flex;gap:1.5rem;align-items:flex-end;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column;gap:.4rem;flex:1;min-width:160px}.filter-group label{font-size:.8rem;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.05em}.filter-group input[type=date]{padding:.6rem .9rem;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.9rem;color:#2d3748;outline:none;transition:border-color .2s}.filter-group input[type=date]:focus{border-color:#667eea}.apply-btn{padding:.65rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:opacity .2s,transform .2s;white-space:nowrap;height:40px}.apply-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.apply-btn:disabled{opacity:.6;cursor:not-allowed}.analytics-error{background:#fff5f5;border:1px solid #fed7d7;color:#c53030;border-radius:8px;padding:1rem 1.25rem;margin-bottom:1.5rem;font-size:.9rem}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem;margin-bottom:2rem}.kpi-card{background:#fff;border-radius:14px;padding:1.5rem 1.25rem;display:flex;align-items:center;gap:1rem;box-shadow:0 4px 12px #0000000f;border:1px solid #e2e8f0;border-left:4px solid var(--accent);transition:transform .2s;page-break-inside:avoid;break-inside:avoid}.kpi-card>div:last-child{min-width:0;flex:1}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.kpi-icon{font-size:2rem;line-height:1;flex-shrink:0}.kpi-label{font-size:.75rem;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.06em;margin:0 0 .3rem}.kpi-value{font-size:1.25rem;font-weight:700;color:#1a202c;margin:0;word-break:break-word}.bar-chart{display:flex;align-items:flex-end;gap:3px;height:200px;padding-bottom:24px;overflow-x:auto}.bar-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex-shrink:0;min-width:12px;height:100%;gap:4px}.bar-fill{width:100%;min-width:12px;border-radius:3px 3px 0 0;transition:opacity .2s}.bar-col:hover .bar-fill{opacity:.75}.bar-x-label{font-size:8px;color:#a0aec0;writing-mode:vertical-rl;transform:rotate(180deg);max-height:40px;overflow:hidden}.line-chart-svg{width:100%;height:160px;display:block}.hourly-chart{display:flex;align-items:flex-end;gap:4px;height:160px;padding-bottom:24px}.hourly-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;height:100%;gap:4px}.hourly-fill{width:100%;background:linear-gradient(180deg,#38b2ac,#2c7a7b);border-radius:3px 3px 0 0;transition:opacity .2s;min-height:2px}.hourly-col:hover .hourly-fill{opacity:.75}.hourly-label{font-size:8px;color:#a0aec0;text-align:center}.section-title{font-size:1.1rem;font-weight:700;color:#2d3748;margin:2rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0;display:flex;align-items:center;gap:.5rem}.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:.5rem}.charts-grid.three-col{grid-template-columns:repeat(3,1fr)}.chart-card{background:#fff;border-radius:14px;padding:1.5rem;box-shadow:0 4px 12px #0000000f;border:1px solid #e2e8f0;overflow:hidden;page-break-inside:avoid;break-inside:avoid}.chart-card.wide{grid-column:1 / -1}.chart-title{font-size:1rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.chart-desc{font-size:.8rem;color:#a0aec0;margin:0 0 1rem}.donut-wrap{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.donut-legend{display:flex;flex-direction:column;gap:.75rem}.legend-row{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#4a5568}.legend-row strong{color:#1a202c;font-weight:700}.legend-row small{color:#a0aec0}.legend-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.horiz-bar-list{display:flex;flex-direction:column;gap:.75rem}.horiz-row{display:flex;align-items:center;gap:.75rem}.horiz-label{font-size:.8rem;color:#4a5568;min-width:90px;max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.horiz-track{flex:1;height:10px;background:#edf2f7;border-radius:99px;overflow:hidden}.horiz-fill{height:100%;border-radius:99px;transition:width .5s ease;min-width:4px}.horiz-value{font-size:.8rem;font-weight:700;color:#2d3748;min-width:30px;text-align:right;flex-shrink:0}.analytics-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5rem 2rem;color:#718096;gap:1rem}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:3rem;color:#718096;font-size:1rem}.no-data{color:#a0aec0;font-size:.875rem;text-align:center;padding:2rem 0;margin:0}@media(max-width:1024px){.charts-grid.three-col{grid-template-columns:1fr 1fr}}@media(max-width:768px){.analytics-header{flex-direction:column;gap:1rem}.kpi-grid{grid-template-columns:repeat(2,1fr)}.filter-row{flex-direction:column}.charts-grid,.charts-grid.three-col{grid-template-columns:1fr}.donut-wrap{flex-direction:column;align-items:flex-start}}.product-modal-backdrop{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.product-modal-content{background:#fff;padding:24px;border-radius:8px;width:90%;max-width:800px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 4px 6px #0000001a}.product-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.product-modal-header h2{margin:0;font-size:1.5rem;color:#2c3e50}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#6c757d}.product-modal-body{overflow-y:auto;flex-grow:1}.products-table{width:100%;border-collapse:collapse}.products-table th,.products-table td{padding:12px;border-bottom:1px solid #e9ecef;text-align:left}.products-table th{font-weight:600;color:#495057;background-color:#f8f9fa}.product-img-tiny{width:40px;height:40px;object-fit:cover;border-radius:4px}.product-img-placeholder{width:40px;height:40px;background-color:#e9ecef;border-radius:4px}.btn-sm{padding:4px 8px;font-size:.85rem;cursor:pointer;margin-right:8px}.approvals-container{padding:2rem;max-width:1200px;margin:0 auto}.approvals-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.approvals-header h1{margin:0;color:#2c3e50;font-size:1.8rem}.approvals-tabs{display:flex;gap:12px;margin-bottom:24px;border-bottom:2px solid #e9ecef;padding-bottom:8px}.tab-btn{background:none;border:none;padding:8px 16px;font-size:1rem;font-weight:500;color:#6c757d;cursor:pointer;border-radius:4px;transition:all .2s ease}.tab-btn:hover{background:#f8f9fa;color:#495057}.tab-btn.active{background:#e9ecef;color:#212529;font-weight:600}.approvals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.approval-card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.approval-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.approval-info{flex:1;margin-bottom:1rem}.approval-card-header{display:flex;gap:1rem;align-items:center;margin-bottom:1rem}.shop-profile-img{width:60px;height:60px;border-radius:50%;object-fit:cover;border:1px solid #eee}.shop-profile-placeholder{width:60px;height:60px;border-radius:50%;background-color:#e9ecef;color:#495057;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700}.approval-info{flex:1}.approval-info h3{margin:0 0 .25rem;color:#2c3e50;font-size:1.15rem}.owner-text,.id-text{margin:0 0 .15rem;color:#666;font-size:.85rem}.approval-details{background-color:#f8f9fa;border-radius:6px;padding:.85rem;margin-bottom:1rem;display:flex;flex-direction:column;gap:.5rem}.detail-row{display:flex;justify-content:space-between;font-size:.9rem}.note-row{flex-direction:column;gap:.25rem}.note-row .detail-value{color:#666;font-style:italic;background:#fff;padding:.4rem;border-radius:4px;border:1px solid #e9ecef}.detail-label{font-weight:600;color:#495057}.detail-value{color:#212529;text-transform:capitalize}.approval-status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500;background-color:#fff3cd;color:#856404;margin-bottom:1rem}.approval-actions{display:flex;gap:.5rem;border-top:1px solid #eee;padding-top:1rem}.approval-actions .btn{flex:1;padding:.5rem;font-size:.9rem}.btn-approve{background-color:#28a745;color:#fff;border:none}.btn-approve:hover{background-color:#218838}.btn-reject{background-color:#dc3545;color:#fff;border:none}.btn-reject:hover{background-color:#c82333}.btn-warning{background-color:#ffc107;color:#212529;border:none}.btn-warning:hover{background-color:#e0a800}.review-products-btn{position:relative;padding-right:28px}.btn-badge{position:absolute;top:-8px;right:-8px;background-color:#dc3545;color:#fff;border-radius:50%;padding:.2rem .5rem;font-size:.75rem;font-weight:700;box-shadow:0 2px 4px #0003}.no-results{text-align:center;padding:3rem;background:#fff;border-radius:8px;color:#666;box-shadow:0 2px 4px #0000001a}.error-message{background-color:#f8d7da;color:#721c24;padding:1rem;border-radius:8px;margin-bottom:1.5rem;border:1px solid #f5c6cb}.ai-query-container{padding:2rem;max-width:1000px;margin:0 auto}.subtitle{color:#666;margin-bottom:2rem}.query-form{margin-bottom:2rem}.input-group{display:flex;gap:1rem}.query-input{flex:1;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:16px}.query-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.query-btn{padding:12px 24px;background-color:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.query-btn:hover:not(:disabled){background-color:#0056b3}.query-btn:disabled{background-color:#ccc;cursor:not-allowed}.error-message{padding:1rem;background-color:#ffebee;color:#c62828;border-radius:6px;margin-bottom:1rem;border:1px solid #ffcdd2}.results-section{background:#f8f9fa;padding:1.5rem;border-radius:8px;border:1px solid #dee2e6}.json-view{background:#1e1e1e;color:#d4d4d4;padding:1rem;border-radius:6px;overflow-x:auto;font-family:Consolas,Monaco,monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word}.live-kpi-strip{background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:16px;padding:24px;color:#fff;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;margin-bottom:32px;position:relative;overflow:hidden}.live-kpi-strip:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899)}.live-kpi-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:16px}.header-left,.header-right{display:flex;flex-direction:column;gap:12px}.header-right{align-items:flex-end}.live-kpi-header h3{margin:0;font-size:1.25rem;font-weight:600;display:flex;align-items:center;gap:12px}.kpi-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.kpi-filters select,.custom-date-filters input[type=date]{background:#0f172a99;color:#f8fafc;border:1px solid rgba(255,255,255,.2);padding:6px 12px;border-radius:6px;font-size:.85rem;outline:none;transition:border-color .2s}.kpi-filters select:hover,.kpi-filters select:focus,.custom-date-filters input[type=date]:hover,.custom-date-filters input[type=date]:focus{border-color:#3b82f6}.custom-date-filters{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#cbd5e1}.live-badge{font-size:.8rem;color:#10b981;background:#10b9811a;padding:4px 10px;border-radius:20px;border:1px solid rgba(16,185,129,.2);display:flex;align-items:center;font-weight:500}.pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#10b981;margin-right:8px;box-shadow:0 0 8px #10b981;animation:pulse 2s infinite ease-in-out}.live-kpi-header .last-updated{font-size:.85rem;color:#64748b;display:flex;align-items:center}@keyframes pulse{0%{transform:scale(.95);opacity:.8;box-shadow:0 0 #10b981b3}70%{transform:scale(1);opacity:1;box-shadow:0 0 0 6px #10b98100}to{transform:scale(.95);opacity:.8;box-shadow:0 0 #10b98100}}.live-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.live-kpi-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:16px 12px;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;flex-direction:column;justify-content:center}.live-kpi-card:hover{transform:translateY(-4px);background:#ffffff14;border-color:#fff3;box-shadow:0 10px 15px -3px #0000001a}.live-kpi-label{font-size:.75rem;color:#94a3b8;margin-bottom:8px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;line-height:1.3}.live-kpi-value{font-size:1.25rem;font-weight:700;color:#f8fafc;background:linear-gradient(to right,#fff,#94a3b8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;word-break:break-word;line-height:1.2}.live-kpi-value.text-value{font-size:1rem;white-space:normal}.live-kpi-strip.loading,.live-kpi-strip.error{display:flex;justify-content:center;align-items:center;height:200px;font-size:1.1rem}.live-kpi-strip.error{color:#ef4444;background:#ef44441a;border:1px solid rgba(239,68,68,.2)}.spinner{border:3px solid rgba(255,255,255,.1);border-radius:50%;border-top:3px solid #3b82f6;width:24px;height:24px;animation:spin 1s linear infinite;margin-right:12px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.kpi-change{font-size:.75rem;margin-top:10px;font-weight:600;display:flex;align-items:center;background:#0003;width:fit-content;padding:3px 8px;border-radius:12px}.kpi-change.positive{color:#10b981;background:#10b9811a}.kpi-change.negative{color:#ef4444;background:#ef44441a}.kpi-change.neutral{color:#94a3b8;background:#94a3b81a}.top-promo-container{background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:16px;padding:24px;color:#fff;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;margin-bottom:32px;border:1px solid rgba(255,255,255,.05)}.top-promo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:12px}.top-promo-header h3{margin:0;font-size:1.25rem;font-weight:600;display:flex;align-items:center;gap:12px}.top-promo-header h3 span{font-size:.8rem;color:#94a3b8;background:#ffffff1a;padding:4px 10px;border-radius:20px}.refresh-btn{background:#ffffff1a;border:none;color:#94a3b8;padding:8px;border-radius:8px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.refresh-btn:hover{background:#fff3;color:#fff}.refresh-btn svg{width:18px;height:18px}.top-promo-loading,.top-promo-error,.top-promo-empty{display:flex;justify-content:center;align-items:center;height:200px;font-size:1.1rem;color:#94a3b8}.top-promo-error{color:#ef4444;background:#ef44440d;border-radius:8px}.top-promo-table-wrapper{overflow-x:auto}.top-promo-table{width:100%;border-collapse:collapse}.top-promo-table th{text-align:left;padding:12px 16px;color:#94a3b8;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid rgba(255,255,255,.05)}.top-promo-table th.text-right,.top-promo-table td.text-right{text-align:right}.top-promo-table td{padding:16px;border-bottom:1px solid rgba(255,255,255,.05);color:#f8fafc;font-size:.95rem}.top-promo-table tbody tr{transition:background-color .2s ease}.top-promo-table tbody tr:hover{background-color:#ffffff08}.top-promo-table tbody tr:last-child td{border-bottom:none}.notif-title{font-weight:500;color:#e2e8f0;max-width:350px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notif-date{color:#94a3b8;font-size:.85rem;white-space:nowrap}.font-medium{font-weight:500}.font-bold{font-weight:700}.text-emerald-400{color:#34d399}.open-rate-bar-container{display:flex;align-items:center;justify-content:flex-end;gap:12px}.open-rate-bar{height:6px;background:linear-gradient(90deg,#3b82f6,#10b981);border-radius:3px;min-width:2px}.app-analytics{min-height:100vh;background-color:#f8fafc;color:#1e293b;font-family:Inter,-apple-system,sans-serif}.app-analytics-nav{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:1rem 2rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.back-btn{background:none;border:none;color:#3b82f6;font-size:1rem;cursor:pointer;font-weight:500;transition:color .2s}.back-btn:hover{color:#2563eb;text-decoration:underline}.analytics-content{max-width:1400px;margin:0 auto;padding:2rem}.analytics-placeholder{display:flex;justify-content:center;align-items:center;height:300px;background:#fff;border-radius:12px;border:2px dashed #cbd5e1;color:#64748b;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
