.stachesepl-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--stachesepl-space-4);margin-bottom:var(--stachesepl-space-6)}@media(max-width: 640px){.stachesepl-page-header{flex-direction:column;align-items:stretch;gap:var(--stachesepl-space-4);margin-bottom:var(--stachesepl-space-5)}}.stachesepl-page-header-content{flex:1;min-width:0}.stachesepl-page-header-title{font-size:var(--stachesepl-text-2xl);font-weight:600;color:var(--stachesepl-text-primary);margin:0;line-height:1.2}@media(max-width: 640px){.stachesepl-page-header-title{font-size:var(--stachesepl-text-xl)}}.stachesepl-page-header-description{font-size:15px;color:var(--stachesepl-text-secondary);margin:0;line-height:var(--stachesepl-leading-normal);max-width:720px}.stachesepl-page-header-actions{display:flex;flex-wrap:wrap;gap:var(--stachesepl-space-3);flex-shrink:0}@media(max-width: 640px){.stachesepl-page-header-actions{width:100%;flex-wrap:wrap}.stachesepl-page-header-actions>.stachesepl-dashboard-button{width:100%}}
.stachesepl-container{background-color:var(--stachesepl-bg-card);border:1px solid var(--stachesepl-border);border-radius:var(--stachesepl-radius-lg);padding:var(--stachesepl-space-6);box-shadow:none;transition:border-color var(--stachesepl-transition-fast)}.stachesepl-container-title{font-size:var(--stachesepl-text-lg);font-weight:500;color:var(--stachesepl-text-primary);margin:0;margin-bottom:var(--stachesepl-space-4)}.stachesepl-container--plain{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0;box-shadow:none}@media(max-width: 782px){.stachesepl-container{padding:var(--stachesepl-space-4)}.stachesepl-container--plain{padding:0}}
a.stachesepl-dashboard-button{text-decoration:none}.stachesepl-dashboard-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--stachesepl-space-2);min-height:40px;padding:0 var(--stachesepl-space-4);border:1px solid rgba(0,0,0,0);border-radius:var(--stachesepl-radius-full);font-family:var(--stachesepl-font-sans);font-size:var(--stachesepl-text-sm);font-weight:500;cursor:pointer;line-height:1;transition:background-color var(--stachesepl-transition-fast),border-color var(--stachesepl-transition-fast),box-shadow var(--stachesepl-transition-fast),color var(--stachesepl-transition-fast);user-select:none}.stachesepl-dashboard-button:focus{outline:none}.stachesepl-dashboard-button:focus-visible{border-color:var(--stachesepl-primary);box-shadow:var(--stachesepl-shadow-focus)}.stachesepl-dashboard-button:disabled{opacity:.5;cursor:not-allowed}.stachesepl-dashboard-button--primary{background-color:var(--stachesepl-primary);color:var(--stachesepl-text-inverse)}.stachesepl-dashboard-button--primary:hover:not(:disabled){background-color:var(--stachesepl-primary-hover);color:var(--stachesepl-text-inverse)}.stachesepl-dashboard-button--secondary{background-color:var(--stachesepl-bg-card);color:var(--stachesepl-text-primary);border-color:var(--stachesepl-border-strong)}.stachesepl-dashboard-button--secondary:hover:not(:disabled){background-color:var(--stachesepl-bg-muted);border-color:var(--stachesepl-border-strong);color:var(--stachesepl-text-primary)}
.stachesepl-qr-reader-wrapper{width:100%;display:flex;justify-content:center;padding:var(--stachesepl-space-4);box-sizing:border-box}.stachesepl-qr-reader-container{position:relative;width:100%;max-width:400px;aspect-ratio:1;border-radius:var(--stachesepl-radius-lg);overflow:hidden;background:var(--stachesepl-gray-900)}.stachesepl-qr-reader-scanner{position:absolute;inset:0;width:100%;height:100%}.stachesepl-qr-reader-scanner video{width:100% !important;height:100% !important;object-fit:cover !important;border-radius:var(--stachesepl-radius-lg)}.stachesepl-qr-reader-scanner canvas{display:none !important}.stachesepl-qr-reader-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.stachesepl-qr-reader-frame{position:relative;width:65%;aspect-ratio:1}.stachesepl-qr-reader-corner{position:absolute;width:24px;height:24px;border-color:var(--stachesepl-primary);border-style:solid;border-width:0}.stachesepl-qr-reader-corner--tl{top:0;left:0;border-top-width:3px;border-left-width:3px;border-top-left-radius:8px}.stachesepl-qr-reader-corner--tr{top:0;right:0;border-top-width:3px;border-right-width:3px;border-top-right-radius:8px}.stachesepl-qr-reader-corner--bl{bottom:0;left:0;border-bottom-width:3px;border-left-width:3px;border-bottom-left-radius:8px}.stachesepl-qr-reader-corner--br{bottom:0;right:0;border-bottom-width:3px;border-right-width:3px;border-bottom-right-radius:8px}
.stachesepl-scan-result{background:var(--stachesepl-bg-card);border-radius:var(--stachesepl-radius-lg);border:1px solid var(--stachesepl-border);overflow:hidden;animation:stachesepl-scan-result-appear .3s ease}@keyframes stachesepl-scan-result-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.stachesepl-scan-result-status{display:flex;flex-direction:column;align-items:center;gap:var(--stachesepl-space-3);padding:var(--stachesepl-space-6);text-align:center}.stachesepl-scan-result--valid .stachesepl-scan-result-status{background:var(--stachesepl-success-light);color:var(--stachesepl-success)}.stachesepl-scan-result--used .stachesepl-scan-result-status{background:var(--stachesepl-warning-light);color:var(--stachesepl-warning)}.stachesepl-scan-result--expired .stachesepl-scan-result-status{background:var(--stachesepl-gray-100);color:var(--stachesepl-gray-600)}.stachesepl-scan-result--invalid .stachesepl-scan-result-status{background:var(--stachesepl-error-light);color:var(--stachesepl-error)}.stachesepl-scan-result-status-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:currentColor}.stachesepl-scan-result-status-icon svg{stroke:#fff}.stachesepl-scan-result-status-label{font-size:var(--stachesepl-text-base);font-weight:600;line-height:var(--stachesepl-leading-tight)}.stachesepl-scan-result-product{padding:var(--stachesepl-space-4) var(--stachesepl-space-5);font-size:var(--stachesepl-text-lg);font-weight:600;color:var(--stachesepl-text-primary);background:var(--stachesepl-bg-muted);border-bottom:1px solid var(--stachesepl-border)}.stachesepl-scan-result-details{padding:var(--stachesepl-space-2) 0}.stachesepl-scan-result-row{display:flex;justify-content:space-between;align-items:center;padding:var(--stachesepl-space-3) var(--stachesepl-space-5);gap:var(--stachesepl-space-4)}.stachesepl-scan-result-row:not(:last-child){border-bottom:1px solid var(--stachesepl-border-light)}.stachesepl-scan-result-row-label{font-size:var(--stachesepl-text-sm);color:var(--stachesepl-text-secondary);flex-shrink:0}.stachesepl-scan-result-row-value{font-size:var(--stachesepl-text-sm);font-weight:500;color:var(--stachesepl-text-primary);text-align:right;word-break:break-word}.stachesepl-scan-result-order-link{display:flex;align-items:center;justify-content:center;gap:var(--stachesepl-space-2);padding:var(--stachesepl-space-4);font-size:var(--stachesepl-text-sm);font-weight:500;color:var(--stachesepl-primary);text-decoration:none;border-top:1px solid var(--stachesepl-border);transition:background var(--stachesepl-transition-fast)}.stachesepl-scan-result-order-link:hover{background:var(--stachesepl-primary-light)}.stachesepl-scan-result-order-link svg{flex-shrink:0}
.stachesepl-panel-modal-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:var(--stachesepl-space-4, 16px);box-sizing:border-box;background-color:rgba(0,0,0,.4);backdrop-filter:blur(2px);transition:opacity .2s ease-out}@starting-style{.stachesepl-panel-modal-overlay{opacity:0}}.stachesepl-panel-modal-overlay-inner{width:100%;max-height:calc(100dvh - var(--stachesepl-space-8, 32px));display:flex;flex-direction:column;transition:transform .2s ease-out}@starting-style{.stachesepl-panel-modal-overlay-inner{transform:translateY(10px)}}.stachesepl-panel-modal-overlay-container{width:100%;max-height:inherit;display:flex;flex-direction:column;background:var(--stachesepl-bg-elevated, #fff);border:1px solid var(--stachesepl-border, #e5e7eb);border-radius:var(--stachesepl-radius-lg, 12px);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.05);overflow:hidden}.stachesepl-panel-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--stachesepl-border, #e5e7eb);background:var(--stachesepl-bg-subtle, #f9fafb)}.stachesepl-panel-modal-header h4{margin:0;font-size:15px;font-weight:600;color:var(--stachesepl-text-primary, #111827);display:flex;align-items:center;gap:8px}.stachesepl-panel-modal-close{background:rgba(0,0,0,0);border:none;cursor:pointer;padding:4px;border-radius:4px;color:var(--stachesepl-text-secondary, #6b7280);display:flex;transition:all .2s}.stachesepl-panel-modal-close:hover{background:rgba(0,0,0,.05);color:var(--stachesepl-text-primary)}.stachesepl-panel-modal-content{padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:20px}.stachesepl-panel-modal-footer{padding:16px;border-top:1px solid var(--stachesepl-border, #e5e7eb);background:var(--stachesepl-bg-subtle, #f9fafb);display:flex;flex-direction:column;gap:8px}.stachesepl-panel-modal-primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--stachesepl-space-2, 8px);width:100%;padding:var(--stachesepl-space-2, 8px) var(--stachesepl-space-4, 16px);font-size:var(--stachesepl-text-sm, 14px);font-weight:500;color:#fff;background:var(--stachesepl-primary, #6366f1);border:1px solid var(--stachesepl-primary, #6366f1);border-radius:var(--stachesepl-radius-md, 8px);cursor:pointer;transition:all .2s}.stachesepl-panel-modal-primary-btn:hover:not(:disabled){background:var(--stachesepl-primary-hover, #4f46e5);border-color:var(--stachesepl-primary-hover, #4f46e5)}.stachesepl-panel-modal-primary-btn:disabled{opacity:.6;cursor:not-allowed;background:#9ca3af;border-color:#9ca3af}.stachesepl-panel-modal-close-btn{display:inline-flex;align-items:center;justify-content:center;padding:var(--stachesepl-space-2, 8px) var(--stachesepl-space-4, 16px);font-size:var(--stachesepl-text-sm, 14px);font-weight:500;color:var(--stachesepl-text-secondary, #6b7280);background:var(--stachesepl-bg-card, #fff);border:1px solid var(--stachesepl-border, #e5e7eb);border-radius:var(--stachesepl-radius-md, 8px);cursor:pointer;transition:all .2s}.stachesepl-panel-modal-close-btn:hover{color:var(--stachesepl-text-primary, #111827);border-color:var(--stachesepl-text-muted, #9ca3af);background:var(--stachesepl-bg-card, #fff)}html[dir=rtl] .stachesepl-panel-modal-primary-btn svg{transform:rotate(180deg)}
.stachesepl-select-wrapper{display:flex;flex-direction:column;gap:var(--stachesepl-space-2)}.stachesepl-select-wrapper--full-width .stachesepl-select-container{max-width:none}.stachesepl-select-wrapper--disabled{opacity:.6}.stachesepl-select-wrapper--error .stachesepl-select-container{border-color:var(--stachesepl-error)}.stachesepl-select-wrapper--error .stachesepl-select-container:focus-within{border-color:var(--stachesepl-error);box-shadow:0 0 0 3px rgba(239,68,68,.15)}.stachesepl-select-label{font-size:var(--stachesepl-text-sm);font-weight:500;color:var(--stachesepl-text-primary);margin:0}.stachesepl-select-description{font-size:var(--stachesepl-text-sm);color:var(--stachesepl-text-secondary);margin:0;line-height:var(--stachesepl-leading-relaxed)}.stachesepl-select-container{width:100%;display:flex;align-items:center;background-color:var(--stachesepl-bg-card);border:1px solid var(--stachesepl-border);border-radius:var(--stachesepl-radius-md);transition:border-color var(--stachesepl-transition-fast),box-shadow var(--stachesepl-transition-fast);overflow:hidden;position:relative}.stachesepl-select-container:hover:not(:has(select:disabled)){border-color:var(--stachesepl-gray-400)}.stachesepl-select-container:focus-within{border-color:var(--stachesepl-primary);box-shadow:var(--stachesepl-shadow-focus)}select.stachesepl-select{flex:1;width:100%;max-width:100%;padding:var(--stachesepl-space-3) var(--stachesepl-space-4) !important;padding-right:calc(var(--stachesepl-space-4) + 24px) !important;border:none !important;font-size:var(--stachesepl-text-sm) !important;line-height:var(--stachesepl-leading-normal) !important;color:var(--stachesepl-text-primary) !important;background-color:rgba(0,0,0,0) !important;outline:none !important;box-shadow:none !important;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27 fill=%27%23646970%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right var(--stachesepl-space-3) center;background-size:16px}select.stachesepl-select:focus{outline:none}select.stachesepl-select:disabled{background-color:var(--stachesepl-bg-muted);color:var(--stachesepl-text-muted);cursor:not-allowed}select.stachesepl-select option{padding:var(--stachesepl-space-2)}select.stachesepl-select option:disabled{color:var(--stachesepl-text-muted)}.stachesepl-select-error{display:flex;align-items:center;gap:var(--stachesepl-space-2);font-size:var(--stachesepl-text-sm);color:var(--stachesepl-error)}.stachesepl-select-error svg{flex-shrink:0}
.stachesepl-scanner-settings-body{display:flex;flex-direction:column;gap:var(--stachesepl-space-3);align-items:stretch}.stachesepl-scanner-settings-label{font-size:var(--stachesepl-text-sm);font-weight:500;color:var(--stachesepl-text-primary);text-align:left}.stachesepl-scanner-settings-hint{margin:0;font-size:var(--stachesepl-text-sm);color:var(--stachesepl-text-secondary);text-align:left}.stachesepl-scanner-settings-footer{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--stachesepl-space-3);flex-wrap:wrap}
.stachesepl-page-scanner{max-width:782px}.stachesepl-scanner-content{min-height:400px;display:flex;flex-direction:column}.stachesepl-scanner-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--stachesepl-space-10);gap:var(--stachesepl-space-4)}.stachesepl-scanner-empty-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:var(--stachesepl-radius-xl);background:var(--stachesepl-primary-light);color:var(--stachesepl-primary);margin-bottom:var(--stachesepl-space-2)}.stachesepl-scanner-empty-title{font-size:var(--stachesepl-text-xl);font-weight:600;color:var(--stachesepl-text-primary);margin:0}.stachesepl-scanner-empty-description{font-size:var(--stachesepl-text-sm);color:var(--stachesepl-text-secondary);margin:0;max-width:280px}.stachesepl-scanner-empty-actions{display:flex;flex-wrap:wrap;gap:var(--stachesepl-space-3);justify-content:center;align-items:center;margin-top:var(--stachesepl-space-2)}.stachesepl-scanner-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--stachesepl-space-4);color:var(--stachesepl-text-secondary);font-size:var(--stachesepl-text-sm)}.stachesepl-scanner-loading-spinner{width:40px;height:40px;border:3px solid var(--stachesepl-border);border-top-color:var(--stachesepl-primary);border-radius:50%;animation:stachesepl-spinner .8s linear infinite}@keyframes stachesepl-spinner{to{transform:rotate(360deg)}}.stachesepl-scanner-error{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--stachesepl-space-10);gap:var(--stachesepl-space-4)}.stachesepl-scanner-error-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:var(--stachesepl-radius-xl);background:var(--stachesepl-error-light);color:var(--stachesepl-error);margin-bottom:var(--stachesepl-space-2)}.stachesepl-scanner-error-title{font-size:var(--stachesepl-text-xl);font-weight:600;color:var(--stachesepl-text-primary);margin:0}.stachesepl-scanner-error-message{font-size:var(--stachesepl-text-sm);color:var(--stachesepl-text-secondary);margin:0;max-width:320px}.stachesepl-scanner-result-wrapper{display:flex;flex-direction:column;gap:var(--stachesepl-space-6)}.stachesepl-scanner-result-actions{display:flex;justify-content:center}.stachesepl-scanner-modal-overlay{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:var(--stachesepl-space-4);animation:stachesepl-modal-fade-in .2s ease}@keyframes stachesepl-modal-fade-in{from{opacity:0}to{opacity:1}}.stachesepl-scanner-modal{width:100%;max-width:480px;background:var(--stachesepl-bg-card);border-radius:var(--stachesepl-radius-xl);box-shadow:var(--stachesepl-shadow-lg);overflow:hidden;animation:stachesepl-modal-slide-up .3s ease}@keyframes stachesepl-modal-slide-up{from{opacity:0;transform:translateY(20px) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}.stachesepl-scanner-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--stachesepl-space-4) var(--stachesepl-space-5);border-bottom:1px solid var(--stachesepl-border)}.stachesepl-scanner-modal-title{font-size:var(--stachesepl-text-lg);font-weight:600;color:var(--stachesepl-text-primary);margin:0}.stachesepl-scanner-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:var(--stachesepl-radius-md);background:rgba(0,0,0,0);color:var(--stachesepl-text-secondary);cursor:pointer;transition:all var(--stachesepl-transition-fast)}.stachesepl-scanner-modal-close:hover{background:var(--stachesepl-bg-muted);color:var(--stachesepl-text-primary)}.stachesepl-scanner-modal-body{padding:var(--stachesepl-space-4)}.stachesepl-scanner-modal-hint{text-align:center;font-size:var(--stachesepl-text-sm);color:var(--stachesepl-text-secondary);margin:var(--stachesepl-space-4) 0 0}.stachesepl-scanner-modal-footer{display:flex;justify-content:center;padding:var(--stachesepl-space-4);border-top:1px solid var(--stachesepl-border)}
