*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity,1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-purple-500{--tw-gradient-from:#a855f7 var(--tw-gradient-from-position);--tw-gradient-to:rgba(168,85,247,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-500{--tw-gradient-from:#ef4444 var(--tw-gradient-from-position);--tw-gradient-to:rgba(239,68,68,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-purple-600{--tw-gradient-to:#9333ea var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position)}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}*{box-sizing:border-box;padding:0;margin:0}body,html{max-width:100vw;overflow-x:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.navbar{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.1);position:sticky;top:0;z-index:50;padding:1rem 2rem}.nav-container{justify-content:space-between;max-width:1200px;margin:0 auto;position:relative}.nav-container,.nav-logo{display:flex;align-items:center}.nav-logo{gap:.5rem;font-size:1.5rem;font-weight:700;color:#16a34a}.nav-search{flex:1;max-width:500px;margin:0 2rem;position:relative}.nav-search input{width:100%;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:25px;outline:none}.nav-search input:focus{border-color:#16a34a}.mobile-menu-btn{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#16a34a}.nav-links{display:flex;align-items:center;gap:1.5rem}.nav-links a{color:#374151;text-decoration:none}.nav-links a:hover{color:#16a34a}.btn-login{border:2px solid #16a34a;background:transparent;color:#16a34a;border-radius:8px}.btn-login,.btn-signup{padding:.5rem 1rem;cursor:pointer}.btn-signup{background:#16a34a;color:#fff;border:none;border-radius:8px}@media (max-width:768px){.mobile-menu-btn{display:block}.nav-links,.nav-search{display:none}.nav-links{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:1rem;box-shadow:0 2px 10px rgba(0,0,0,.1);gap:1rem}.nav-links-mobile{display:flex}.nav-container{flex-wrap:wrap}}.hero{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;padding:5rem 2rem;text-align:center}.hero h1{font-size:3rem;margin-bottom:1rem;font-weight:700}.hero p{font-size:1.25rem;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.cta-btn{background:#ea580c;color:#fff;padding:1rem 2rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer}.products{padding:4rem 2rem;max-width:1200px;margin:0 auto}.products h2{text-align:center;font-size:2.5rem;margin-bottom:3rem;color:#374151}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.product-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 15px rgba(0,0,0,.1);text-align:center;transition:transform .3s}.product-card:hover{transform:translateY(-5px)}.product-emoji{font-size:4rem;margin-bottom:1rem}.product-image{width:100%;height:200px;margin-bottom:1rem;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;background-color:#f9fafb;cursor:pointer;padding:10px}.product-image img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;border-radius:8px;transition:transform .2s ease}.product-image:hover img{transform:scale(1.05)}.image-modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:1000;cursor:pointer}.image-modal img{max-width:90%;max-height:90%;-o-object-fit:contain;object-fit:contain;border-radius:8px}.image-modal-close{position:absolute;top:20px;right:30px;color:#fff;font-size:40px;font-weight:700;cursor:pointer}.product-card h3{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;color:#374151}.product-card p{color:#6b7280;margin-bottom:1rem}.product-footer{display:flex;flex-direction:column;gap:.75rem;align-items:center}.price{font-size:1.5rem;font-weight:700;color:#16a34a}.add-cart-btn{background:#16a34a;color:#fff;padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;width:100%}.products-page{max-width:1200px;margin:0 auto;padding:2rem}.products-header{text-align:center;margin-bottom:3rem}.products-header h1{font-size:2.5rem;color:#374151;margin-bottom:1rem}.products-header p{font-size:1.1rem;color:#6b7280}.category-filter{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;margin-bottom:3rem}.category-btn{padding:.5rem 1rem;border:2px solid #e5e7eb;background:#fff;border-radius:25px;cursor:pointer;transition:all .3s}.category-btn:hover{border-color:#16a34a;color:#16a34a}.category-btn.active{background:#16a34a;color:#fff;border-color:#16a34a}.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.product-category{background:#f0fdf4;color:#16a34a;padding:.25rem .75rem;border-radius:15px;font-size:.8rem;font-weight:500;margin-bottom:.5rem;display:inline-block}.footer{background:#1f2937;color:#fff;padding:3rem 2rem 1rem;margin-top:4rem}.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.footer-logo,.footer-section h3{margin-bottom:1rem;color:#16a34a}.footer-logo{display:flex;align-items:center;gap:.5rem;font-size:1.5rem;font-weight:700}.footer-section ul{list-style:none}.footer-section ul li{margin-bottom:.5rem}.footer-section ul li a{color:#d1d5db;text-decoration:none}.footer-section ul li a:hover{color:#16a34a}.footer-bottom{text-align:center;margin-top:2rem;padding-top:2rem;border-top:1px solid #374151;color:#9ca3af}.modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:100}.modal-content{padding:2rem;width:100%;max-width:400px;margin:1rem}.modal-header{margin-bottom:1.5rem}.modal h2{font-size:1.5rem;font-weight:700;color:#374151}.auth-form{display:flex;flex-direction:column;gap:1rem}.auth-form input{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;outline:none}.auth-form input:focus{border-color:#16a34a}.auth-form button{background:#16a34a;color:#fff;padding:.75rem;border:none;border-radius:8px;font-weight:600;cursor:pointer}.auth-switch{text-align:center;margin-top:1rem;color:#6b7280}.auth-switch button{background:none;border:none;color:#16a34a;font-weight:600;cursor:pointer;text-decoration:underline}.dashboard-container{max-width:1200px;margin:0 auto;padding:2rem}.dashboard-header{text-align:center;margin-bottom:2rem}.dashboard-header h1{font-size:2.5rem;color:#374151;margin-bottom:.5rem}.dashboard-tabs{display:flex;justify-content:center;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.tab-btn{padding:.75rem 1.5rem;border:2px solid #e5e7eb;background:#fff;border-radius:8px;cursor:pointer;transition:all .3s;font-weight:500}.tab-btn:hover{border-color:#16a34a;color:#16a34a}.tab-btn.active{background:#16a34a;color:#fff;border-color:#16a34a}.dashboard-content{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 15px rgba(0,0,0,.1)}.profile-card,.profile-section{display:grid;gap:2rem}.profile-card{grid-template-columns:auto 1fr;align-items:start}.profile-image{text-align:center}.upload-btn{background:#16a34a;color:#fff;padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;margin-top:1rem;display:block}.profile-details h2{color:#374151;margin-bottom:1rem}.profile-header{justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.level-badge,.profile-header{display:flex;align-items:center}.level-badge{gap:.5rem;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:.5rem 1rem;border-radius:25px;font-weight:600;box-shadow:0 2px 8px rgba(251,191,36,.3)}.level-icon{font-size:1.2rem}.level-text{font-size:.9rem}.unique-id{font-family:Courier New,monospace;background:#f3f4f6;padding:.25rem .5rem;border-radius:4px;font-weight:600;color:#16a34a}.level-display{font-weight:600;color:#f59e0b}.detail-row{display:grid;grid-template-columns:120px 1fr;gap:1rem;margin-bottom:.75rem;padding:.5rem 0;border-bottom:1px solid #f3f4f6}.detail-row span:first-child{font-weight:600;color:#6b7280}.document-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.document-card{border:2px dashed #d1d5db;border-radius:8px;padding:1.5rem;text-align:center}.document-placeholder{font-size:3rem;margin:1rem 0}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);text-align:center}.stat-card h3{font-size:2rem;color:#16a34a;margin-bottom:.5rem}.stat-card p{color:#6b7280;font-weight:500}.trend{font-size:.8rem;color:#16a34a;display:block;margin-top:.25rem}.customers-table,.payouts-table,.products-table,.sales-table,.team-table{width:100%;margin-top:1rem}.customers-table table,.payouts-table table,.products-table table,.sales-table table,.team-table table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1)}.customers-table th,.payouts-table th,.products-table th,.sales-table th,.team-table th{background:#f9fafb;padding:1rem;text-align:left;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.customers-table td,.payouts-table td,.products-table td,.sales-table td,.team-table td{padding:1rem;border-bottom:1px solid #f3f4f6}.status{border-radius:15px;font-weight:500}.status.active{background:#dcfce7;color:#16a34a}.status.inactive{background:#fee2e2;color:#dc2626}.incentive{color:#16a34a;font-weight:600}.sp-info{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:1rem;border-radius:8px;margin-bottom:2rem;text-align:center}.sp-conversion h4{margin-bottom:.5rem;font-size:1.1rem}.sp-conversion p{font-size:.9rem;opacity:.9}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.section-header h2{color:#374151}.add-btn{background:#16a34a;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;cursor:pointer;font-weight:500}.action-buttons{display:flex;gap:.5rem}.deactivate-btn,.delete-btn,.edit-btn,.view-btn{padding:.5rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.edit-btn{background:#fbbf24}.delete-btn{background:#ef4444;color:#fff}.deactivate-btn{background:#6b7280;color:#fff}.history-btn,.view-btn{background:#3b82f6;color:#fff}.history-btn{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.history-btn:hover{background:#2563eb}.history-modal{max-width:800px;width:90%}.history-table{margin:1rem 0}.history-table table{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1)}.history-table th{padding:1rem;text-align:left;border-bottom:1px solid #e5e7eb}.history-table td{padding:1rem;border-bottom:1px solid #f3f4f6}.pagination{justify-content:space-between;margin-top:1rem;padding:1rem 0}.page-btn{background:#16a34a;font-weight:500}.page-btn:disabled{background:#d1d5db;cursor:not-allowed}.page-btn:hover:not(:disabled){background:#15803d}.page-info{color:#374151}.product-form{display:flex;flex-direction:column;gap:1rem}.product-form input,.product-form textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;outline:none;font-size:1rem}.product-form input:focus,.product-form textarea:focus{border-color:#16a34a}.product-form textarea{resize:vertical}.product-form .submit-btn{background:#16a34a;color:#fff;padding:1rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer}.product-form .submit-btn:hover{background:#15803d}.kyc-btn{background:#3b82f6;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.kyc-btn:hover{background:#2563eb}.kyc-btn.approved{background:#16a34a;color:#fff}.kyc-btn.approved:hover{background:#15803d}.kyc-btn.rejected{background:#ef4444;color:#fff}.kyc-btn.rejected:hover{background:#dc2626}.tree-btn{background:#8b5cf6;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem}.tree-btn:hover{background:#7c3aed}.tree-form{margin:1rem 0}.form-group{margin-bottom:1.5rem}.form-group input{border-radius:8px;outline:none}.form-group input:focus{border-color:#8b5cf6}.tree-actions{display:flex;gap:1rem;justify-content:center}.add-left-btn,.add-right-btn{padding:1rem 2rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer}.add-left-btn{background:#3b82f6;color:#fff}.add-left-btn:hover{background:#2563eb}.add-right-btn{background:#f59e0b;color:#fff}.add-right-btn:hover{background:#d97706}.header-buttons{display:flex;gap:1rem}.customer-modal{max-width:700px;width:95%}.customer-form{display:flex;flex-direction:column;gap:1rem}.customer-form input{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;outline:none;font-size:1rem}.customer-form input:focus{border-color:#16a34a}.customer-form .submit-btn{background:#16a34a;color:#fff;padding:1rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;margin-top:1rem}.customer-form .submit-btn:hover{background:#15803d}.close-btn-payout{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500}.close-btn-payout.open{background:#ef4444;color:#fff}.close-btn-payout.open:hover{background:#dc2626}.close-btn-payout.closed{background:#16a34a;color:#fff}.close-btn-payout.closed:hover{background:#15803d}.payouts-table h3{margin-bottom:1rem;color:#374151}.actual-pay{color:#ea580c;font-weight:600}.kyc-modal{max-width:900px;width:95%;max-height:90vh;overflow-y:auto}.kyc-details{margin:1rem 0}.info-section{margin-bottom:2rem}.info-section h3{color:#374151;margin-bottom:1rem;border-bottom:2px solid #e5e7eb;padding-bottom:.5rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.info-item{display:flex;justify-content:space-between;padding:.75rem;background:#f9fafb;border-radius:6px}.info-item span:first-child{font-weight:600;color:#6b7280}.info-item span:last-child{color:#374151}.documents-section h3{color:#374151;margin-bottom:1rem;border-bottom:2px solid #e5e7eb;padding-bottom:.5rem}.documents-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.doc-preview{background:#f9fafb;padding:1rem;border-radius:8px;text-align:center;border:2px dashed #d1d5db}.doc-preview h4{color:#374151;margin-bottom:.5rem;font-size:.9rem}.doc-image{font-size:3rem;margin:1rem 0}.doc-preview p{color:#6b7280;font-size:.8rem}.kyc-actions{display:flex;gap:1rem;justify-content:center;margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.approve-btn,.decline-btn{padding:1rem 2rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer}.approve-btn{background:#16a34a;color:#fff}.approve-btn:hover{background:#15803d}.decline-btn{background:#ef4444;color:#fff}.decline-btn:hover{background:#dc2626}.charts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}.chart-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.chart-placeholder{height:200px;background:#f9fafb;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#6b7280;font-size:1.1rem;margin-top:1rem}.items-list{margin-top:1rem}.item-row{display:flex;align-items:center;gap:1rem;padding:.75rem;border-bottom:1px solid #f3f4f6;transition:background-color .2s}.item-row:hover{background:#f9fafb}.item-row:last-child{border-bottom:none}.item-rank{font-weight:700;color:#16a34a;min-width:30px}.item-emoji{font-size:1.5rem}.item-name{color:#374151}.item-count{font-weight:600;color:#6b7280;font-size:.9rem}.franchise-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.franchise-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);border-left:4px solid #16a34a}.franchise-card h3{color:#374151;margin-bottom:.5rem}.franchise-card p{color:#6b7280;margin-bottom:.25rem}.matching-income-filter,.payout-filters input[type=date],.payout-filters select{padding:.5rem 1rem;border:2px solid #e5e7eb;border-radius:6px;background:#fff;margin-left:1rem}.filter-btn,.search-btn{padding:.5rem 1.5rem;background:#059669;color:#fff;border:none;border-radius:6px;margin-left:1rem;cursor:pointer;transition:background-color .2s}.filter-btn:hover,.search-btn:hover{background:#047857}.table-header{justify-content:space-between;margin-bottom:1rem}.filter-section,.table-header{display:flex;align-items:center}.matching-income-filter{width:200px;margin-left:0}.payout-stats,.sales-stats,.team-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.about-container,.contact-container{max-width:1200px;margin:0 auto;padding:2rem}.about-hero,.contact-hero{text-align:center;margin-bottom:4rem}.about-hero h1,.contact-hero h1{font-size:3rem;color:#374151;margin-bottom:1rem}.about-hero p,.contact-hero p{font-size:1.2rem;color:#6b7280}.about-section{margin-bottom:4rem}.section-content{display:grid;grid-template-columns:1fr auto;gap:3rem;align-items:center}.section-content.reverse{grid-template-columns:auto 1fr}.text-content h2{font-size:2rem;color:#374151;margin-bottom:1rem}.text-content p{font-size:1.1rem;line-height:1.6;color:#6b7280}.image-placeholder{font-size:8rem;text-align:center;background:#f9fafb;padding:2rem;border-radius:12px;min-width:200px}.stats-section,.values-section{text-align:center;margin:4rem 0}.stats-section h2,.values-section h2{font-size:2.5rem;color:#374151;margin-bottom:3rem}.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:2rem}.value-card{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);text-align:center}.value-icon{font-size:3rem;display:block;margin-bottom:1rem}.value-card h3{color:#374151;margin-bottom:1rem}.business-model{margin:4rem 0;text-align:center}.business-model h2{font-size:2.5rem;color:#374151;margin-bottom:3rem}.model-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem}.step{text-align:center}.step-number{display:inline-block;width:50px;height:50px;background:#16a34a;color:#fff;border-radius:50%;line-height:50px;font-size:1.5rem;font-weight:700;margin-bottom:1rem}.step h3{color:#374151;margin-bottom:.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:2rem}.stat-item{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1)}.stat-item h3{font-size:2.5rem;color:#16a34a;margin-bottom:.5rem}.contact-content{display:grid;grid-template-columns:1fr 1fr;gap:4rem;margin-bottom:4rem}.contact-info{gap:1.5rem}.info-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);text-align:center}.info-icon{font-size:2.5rem;display:block;margin-bottom:1rem}.info-card h3{color:#374151;margin-bottom:.5rem}.info-card p{color:#6b7280;margin-bottom:.25rem;word-wrap:break-word;overflow-wrap:break-word;word-break:break-all}.contact-form-section h2{color:#374151;margin-bottom:2rem;text-align:center}.contact-form{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.contact-form input,.contact-form select,.contact-form textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;outline:none;font-size:1rem}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#16a34a}.contact-form textarea{width:100%;resize:vertical;margin-bottom:1rem}.submit-btn{background:#16a34a;padding:1rem 2rem;border-radius:8px;font-size:1.1rem;width:100%}.submit-btn:hover{background:#15803d}.faq-section{margin:4rem 0;text-align:center}.faq-section h2{font-size:2.5rem;color:#374151;margin-bottom:3rem}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.faq-item{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);text-align:left}.faq-item h3{color:#374151;margin-bottom:1rem}.faq-item p{color:#6b7280;line-height:1.6}.map-section{text-align:center;margin:4rem 0}.map-section h2{font-size:2.5rem;color:#374151;margin-bottom:2rem}.map-link{display:block;text-decoration:none;cursor:pointer}.map-image{background:linear-gradient(135deg,#667eea,#764ba2);height:400px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;transition:all .3s ease;margin-bottom:1rem;position:relative;overflow:hidden}.map-image:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,hsla(0,0%,100%,.1) 0,transparent 70%);animation:pulse 3s ease-in-out infinite}.map-image:hover{transform:scale(1.02);box-shadow:0 20px 40px rgba(102,126,234,.3)}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}.map-icon{font-size:4rem;margin-bottom:1rem;position:relative;z-index:1;filter:drop-shadow(0 4px 8px rgba(0,0,0,.3))}.weekly-closing-section{padding:2rem}.closing-buttons{display:flex;gap:1rem;align-items:center}.start-closing-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.start-closing-btn:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-1px)}.start-closing-btn:disabled{background:#9ca3af;cursor:not-allowed}.close-week-btn{background:#dc2626;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.close-week-btn:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px)}.close-week-btn:disabled{background:#9ca3af;cursor:not-allowed}.period-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin:2rem 0}.period-info .stat-card{background:linear-gradient(135deg,#fff,#f0fdf4);border-radius:16px;padding:2rem;box-shadow:0 8px 25px rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.2);transition:all .3s ease;position:relative;overflow:hidden}.period-info .stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#10b981,#059669)}.period-info .stat-card:hover{transform:translateY(-4px);box-shadow:0 12px 35px rgba(16,185,129,.15)}.period-info .stat-card h3{color:#065f46;font-size:1.1rem;font-weight:700;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.period-info .stat-card h3:before{content:"📊";font-size:1.2rem}.period-info .stat-card:nth-child(2) h3:before{content:"👥"}.period-info .stat-card:nth-child(3) h3:before{content:"💰"}.period-info .stat-card p{color:#374151;font-size:1.1rem;font-weight:600;line-height:1.4}.closing-payouts-table{background:linear-gradient(135deg,#f0fdf4,#fff);border-radius:16px;padding:2rem;box-shadow:0 8px 25px rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.1);margin-bottom:2rem}.closing-payouts-table .table-header{margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid rgba(16,185,129,.1)}.closing-payouts-table .table-header h3{color:#065f46;margin-bottom:.75rem;font-size:1.5rem;font-weight:700;display:flex;align-items:center;gap:.5rem}.closing-payouts-table .table-header h3:before{content:"💚";font-size:1.25rem}.closing-payouts-table .table-header p{color:#059669;font-size:1rem;font-weight:500}.closing-payouts-table table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 15px rgba(16,185,129,.08)}.closing-payouts-table th{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:1rem .75rem;text-align:left;font-weight:600;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #047857}.closing-payouts-table td{padding:1rem .75rem;border-bottom:1px solid #f0fdf4;font-size:.9rem;color:#374151;transition:all .2s ease}.closing-payouts-table tbody tr{transition:all .2s ease}.closing-payouts-table tbody tr:hover{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);transform:translateY(-1px);box-shadow:0 2px 8px rgba(16,185,129,.1)}.closing-payouts-table tbody tr:nth-child(2n){background:rgba(240,253,244,.3)}.closing-payouts-table tbody tr:nth-child(2n):hover{background:linear-gradient(135deg,#f0fdf4,#ecfdf5)}.mark-paid-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px rgba(16,185,129,.2)}.mark-paid-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 4px 15px rgba(16,185,129,.3)}.mark-paid-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.paid-indicator{color:#059669;font-size:.9rem;gap:.25rem}.paid-indicator,.paid-indicator:before{font-weight:700;display:flex;align-items:center}.paid-indicator:before{content:"✓";background:#10b981;color:#fff;border-radius:50%;width:20px;height:20px;justify-content:center;font-size:.75rem}.status-badge{padding:.4rem .9rem;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;display:inline-flex;align-items:center;gap:.25rem}.status-badge.calculated{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b}.status-badge.calculated:before{content:"⏳";font-size:.8rem}.status-badge.paid{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.status-badge.paid:before{content:"✅";font-size:.8rem}.no-payouts{text-align:center;padding:4rem 2rem;color:#6b7280;background:linear-gradient(135deg,#f9fafb,#f0fdf4);border-radius:12px;border:2px dashed #d1d5db;margin:2rem 0}.no-payouts:before{content:"📋";font-size:3rem;display:block;margin-bottom:1rem}.no-payouts p{font-size:1.1rem;font-weight:500}@media (max-width:768px){.weekly-closing-section{padding:1rem}.closing-payouts-table{padding:1rem;margin:1rem 0}.closing-payouts-table .table-header h3{font-size:1.25rem}.closing-payouts-table table{font-size:.8rem}.closing-payouts-table td,.closing-payouts-table th{padding:.5rem .4rem}.mark-paid-btn{padding:.4rem .8rem;font-size:.75rem}.period-info{grid-template-columns:1fr;gap:1rem;margin:1rem 0}.period-info .stat-card{padding:1.5rem}.status-badge{padding:.3rem .6rem;font-size:.7rem}}@media (max-width:1024px) and (min-width:769px){.closing-payouts-table{padding:1.5rem}.period-info{grid-template-columns:repeat(2,1fr)}}.error,.loading{text-align:center;padding:2rem;color:#6b7280}.error{color:#dc2626}.map-image p{font-size:1.2rem;font-weight:600;margin:0;color:#fff;position:relative;z-index:1;text-shadow:0 2px 4px rgba(0,0,0,.3)}.map-placeholder{background:#f9fafb;padding:4rem;border-radius:12px;border:2px dashed #d1d5db}.map-placeholder span{font-size:4rem;display:block;margin-bottom:1rem}.map-placeholder p{color:#6b7280;margin-bottom:.5rem}@media (max-width:768px){.hero h1,.products-header h1{font-size:2rem}.category-filter{justify-content:flex-start;overflow-x:auto;padding-bottom:.5rem}.footer-content,.profile-card{grid-template-columns:1fr;text-align:center}.dashboard-tabs{justify-content:flex-start;overflow-x:auto}.section-header{flex-direction:column;gap:1rem;align-items:stretch}.charts-section{grid-template-columns:1fr}.action-buttons{flex-wrap:wrap}.about-hero h1,.contact-hero h1{font-size:2rem}.section-content,.section-content.reverse{grid-template-columns:1fr;text-align:center}.contact-content{gap:2rem}.contact-content,.form-row,.model-steps,.plans-grid{grid-template-columns:1fr}.plan-card.popular{transform:none}.cta-buttons{flex-direction:column;align-items:center}}.franchise-container{max-width:1200px;margin:0 auto;padding:2rem}.franchise-hero{text-align:center;margin-bottom:4rem}.franchise-hero h1{font-size:3rem;color:#374151;margin-bottom:1rem}.franchise-hero p{font-size:1.2rem;color:#6b7280}.franchise-benefits{margin-bottom:4rem}.franchise-benefits h2{text-align:center;font-size:2.5rem;color:#374151;margin-bottom:3rem}.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.benefit-card{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);text-align:center}.benefit-icon{font-size:3rem;display:block;margin-bottom:1rem}.benefit-card h3{color:#374151;margin-bottom:1rem}.benefit-card p{color:#6b7280;line-height:1.6}.franchise-plans{margin-bottom:4rem}.franchise-plans h2{text-align:center;font-size:2.5rem;color:#374151;margin-bottom:3rem}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.plan-card{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);position:relative;border:2px solid transparent;transition:all .3s}.plan-card.popular{border-color:#16a34a;transform:scale(1.05)}.popular-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#16a34a;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.8rem;font-weight:600}.plan-card h3{font-size:1.5rem;color:#374151;margin-bottom:1rem;text-align:center}.plan-price{text-align:center;margin-bottom:2rem}.amount{display:block;font-size:2.5rem;font-weight:700;color:#16a34a}.discount{color:#ea580c;font-weight:600;font-size:.9rem}.plan-features{list-style:none;margin-bottom:2rem}.plan-features li{padding:.5rem 0;color:#374151}.apply-btn{width:100%;background:#16a34a;color:#fff;padding:1rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer}.apply-btn:hover{background:#15803d}.documents-section{margin-bottom:4rem}.documents-section h2{text-align:center;font-size:2.5rem;color:#374151;margin-bottom:1rem}.documents-intro{text-align:center;color:#6b7280;font-size:1.1rem;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.documents-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.document-item{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);text-align:center}.doc-icon{font-size:3rem;display:block;margin-bottom:1rem}.document-item h3{color:#374151;margin-bottom:1rem}.document-item p{color:#6b7280;line-height:1.6}.application-process{margin-bottom:4rem}.application-process h2{text-align:center;font-size:2.5rem;color:#374151;margin-bottom:3rem}.process-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem}.process-step{text-align:center}.process-step .step-number{display:inline-block;width:50px;height:50px;background:#16a34a;color:#fff;border-radius:50%;line-height:50px;font-size:1.5rem;font-weight:700;margin-bottom:1rem}.process-step h3{color:#374151;margin-bottom:.5rem}.process-step p{color:#6b7280;line-height:1.6}.franchise-cta{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;padding:4rem 2rem;border-radius:12px;text-align:center;margin-bottom:4rem}.cta-content h2{font-size:2.5rem;margin-bottom:1rem}.cta-content p{font-size:1.2rem;margin-bottom:2rem}.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.primary-cta,.secondary-cta{padding:1rem 2rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer}.primary-cta{background:#fff;color:#16a34a}.secondary-cta{background:transparent;color:#fff;border:2px solid #fff}.franchise-contact{text-align:center}.franchise-contact h2{font-size:2.5rem;color:#374151;margin-bottom:3rem}.contact-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.contact-item{display:flex;align-items:center;gap:1rem;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1)}.contact-item span{font-size:2rem}.contact-item h4{color:#374151;margin-bottom:.5rem}.contact-item p{color:#6b7280}.upload-message{padding:.75rem;margin:1rem 0;border-radius:4px;font-size:.875rem;font-weight:500}.upload-message.success{background:#d1fae5;color:#065f46;border:1px solid #10b981}.upload-message.error{background:#fee2e2;color:#991b1b;border:1px solid #ef4444}.select-img-btn{padding:.25rem .5rem;background:#10b981;color:#fff;border:none;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background-color .2s;margin-right:.5rem}.select-img-btn:hover{background:#059669}.upload-img-btn{padding:.25rem .5rem;background:#3b82f6;color:#fff;border:none;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background-color .2s}.upload-img-btn:hover:not(:disabled){background:#2563eb}.upload-img-btn:disabled{background:#9ca3af;cursor:not-allowed}.pricing-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px rgba(0,0,0,.1)}.pricing-table table{width:100%;border-collapse:collapse;margin-top:1rem}.pricing-table td,.pricing-table th{padding:1rem;text-align:left;border-bottom:1px solid #e5e7eb}.pricing-table th{background:#f9fafb;font-weight:600;color:#374151}.price-input{width:100px;padding:.5rem;border:2px solid #e5e7eb;border-radius:6px;text-align:center;font-weight:500;transition:border-color .2s}.price-input:focus{outline:none;border-color:#059669}.edit-price-btn{padding:.5rem 1rem;background:#059669;color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.edit-price-btn:hover{background:#047857;transform:translateY(-1px)}.save-btn{background:#059669;margin-right:.5rem}.cancel-btn,.save-btn{padding:.25rem .75rem;color:#fff;border:none;border-radius:4px;font-size:.75rem;cursor:pointer}.cancel-btn{background:#dc2626}.dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}@media (max-width:768px){.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}}@media (max-width:480px){.dashboard-stats{grid-template-columns:1fr 1fr;gap:.75rem}}.levels-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px rgba(0,0,0,.1)}.levels-table{overflow-x:auto;margin-top:1rem}.levels-table table{width:100%;border-collapse:collapse;min-width:800px}.levels-table td,.levels-table th{padding:.75rem;text-align:left;border-bottom:1px solid #e5e7eb;font-size:.875rem}.levels-table th{font-weight:600;color:#374151;position:sticky;top:0}.levels-table th,.levels-table tr:hover{background:#f9fafb}.levels-table td:first-child{font-weight:600;color:#059669}.levels-table td:nth-child(2){font-weight:600;color:#1f2937}.header-actions{display:flex;align-items:center;gap:1rem}.edit-bank-btn{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:.875rem;cursor:pointer;transition:background-color .2s}.edit-bank-btn:hover{background:#2563eb}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280}.modal-body{padding:1.5rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-weight:500}.form-group input{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-actions button{flex:1;padding:.75rem;border:none;border-radius:6px;font-weight:500;cursor:pointer}.modal-actions .save-btn{background:#059669;color:#fff}.user-name{color:#059669;white-space:nowrap}.btn-logout,.user-name{font-weight:500;padding:.5rem 1rem}.btn-logout{background:#dc2626;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background-color .2s}.btn-logout:hover{background:#b91c1c}.message{padding:.75rem;border-radius:6px;margin:1rem 0;font-size:.875rem;text-align:center}.message.success{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.message.error{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.auth-form button:disabled{opacity:.6;cursor:not-allowed}.genealogy-section{margin-top:2rem;background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px rgba(0,0,0,.1)}.binary-tree{flex-direction:column;gap:3rem;padding:2rem 0;overflow-x:auto;min-width:800px}.binary-tree,.tree-level{display:flex;align-items:center}.tree-level{width:100%;position:relative}.level-0,.tree-level{justify-content:center}.level-1{max-width:600px}.level-1,.level-2{justify-content:space-between}.level-2{max-width:800px}.tree-branch{display:flex;justify-content:center;flex:1}.tree-node{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:15px;padding:1rem;box-shadow:0 8px 25px rgba(0,0,0,.15);transition:all .3s ease;cursor:pointer;min-width:140px;max-width:160px}.tree-node:hover{transform:translateY(-5px);box-shadow:0 12px 35px rgba(0,0,0,.2)}.root-node{background:linear-gradient(135deg,#f093fb,#f5576c);border:3px solid gold;transform:scale(1.1)}.clickable-node:hover{transform:translateY(-5px) scale(1.05);box-shadow:0 12px 35px rgba(59,130,246,.3);border:2px solid #3b82f6}.current-root{border:3px solid #2196f3!important;box-shadow:0 0 15px rgba(33,150,243,.6)!important}.current-root .node-content{background:linear-gradient(135deg,#2196f3,#1976d2)!important}.empty-node{background:linear-gradient(135deg,#e0e0e0,#bdbdbd);border:2px dashed #9e9e9e;opacity:.7;cursor:pointer;transition:all .3s ease}.empty-node:hover{opacity:1;background:linear-gradient(135deg,#81c784,#4caf50);border:2px solid #4caf50;transform:scale(1.05)}.node-content{text-align:center;color:#fff}.node-avatar{font-size:2rem;margin-bottom:.5rem;display:block}.node-info{font-size:.875rem}.node-name{font-weight:600;font-size:.9rem}.node-id,.node-name{margin-bottom:.25rem}.node-id{font-size:.75rem;opacity:.9}.node-level{font-size:.7rem;background:hsla(0,0%,100%,.2);padding:.2rem .5rem;border-radius:10px;display:inline-block}.tree-level:before{content:"";position:absolute;top:-1.5rem;left:50%;width:2px;height:1.5rem;background:#667eea;transform:translateX(-50%)}.level-0:before{display:none}.level-1:after{left:25%;right:25%}.level-1:after,.level-2:after{content:"";position:absolute;top:-1.5rem;height:2px;background:#667eea}.level-2:after{left:12.5%;right:12.5%}@media (max-width:768px){.binary-tree{min-width:600px;gap:2rem}.tree-node{min-width:100px;max-width:120px;padding:.75rem}.node-avatar{font-size:1.5rem}.node-name{font-size:.8rem}}.status-dot{position:absolute;top:8px;right:8px;width:12px;height:12px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 4px rgba(0,0,0,.2)}.green-dot{background-color:#22c55e}.red-dot{background-color:#ef4444}.tree-node{position:relative}.history-section{margin-top:2rem}.history-table{overflow-x:auto;margin-top:1rem}.history-table table{width:100%;border-collapse:collapse}.history-table td,.history-table th{padding:.75rem;text-align:left;border-bottom:1px solid #e5e7eb}.history-table th{background:#f9fafb;font-weight:600;color:#374151}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.5rem}.page-btn{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background-color .2s}.page-btn:hover{background:#2563eb}.page-info{font-weight:500;color:#6b7280}.associates-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px rgba(0,0,0,.1)}.associate-form{margin-top:2rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1/-1}.form-group label{margin-bottom:.5rem;font-weight:600;color:#374151}.form-group input,.form-group select,.form-group textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#059669}.form-actions{display:flex;gap:1rem;justify-content:center}.submit-btn{padding:.75rem 2rem;background:#059669;color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.submit-btn:hover{background:#047857}.reset-btn{padding:.75rem 2rem;background:#f3f4f6;color:#374151;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.reset-btn:hover{background:#e5e7eb}@media (max-width:768px){.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}.orders-section{padding:2rem}.orders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-top:1rem}.order-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);transition:all .3s ease}.order-card:hover{border-color:#3b82f6;box-shadow:0 8px 25px -5px rgba(0,0,0,.15);transform:translateY(-2px)}.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #f3f4f6}.order-header h4{color:#1f2937;font-size:1.25rem;font-weight:700;margin:0}.order-date{color:#6b7280;font-size:.875rem;background:#f9fafb;padding:.25rem .75rem;border-radius:6px}.order-details{margin-bottom:1.5rem}.order-details p{margin:.5rem 0;font-size:.95rem;line-height:1.5}.order-details strong{color:#374151;font-weight:600;display:inline-block;min-width:80px}.status{font-size:.8rem;margin-left:.5rem}.order-actions{display:flex;gap:.75rem;flex-wrap:wrap}.btn-delivered,.btn-paid{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-paid{background:#10b981;color:#fff}.btn-paid:hover:not(:disabled){background:#059669}.btn-delivered{background:#3b82f6;color:#fff}.btn-delivered:hover:not(:disabled){background:#2563eb}.btn-delivered:disabled,.btn-paid:disabled{opacity:.6;cursor:not-allowed}@media (max-width:768px){.orders-grid{grid-template-columns:1fr;gap:1rem}.order-card{padding:1rem}.order-header{align-items:flex-start;gap:.5rem}.order-actions,.order-header{flex-direction:column}}.order-items{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.order-items strong{color:#374151;font-weight:600;display:block;margin-bottom:.5rem}.items-list{background:#f9fafb;border-radius:6px;padding:.75rem}.order-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #e5e7eb}.order-item:last-child{border-bottom:none}.item-name{font-weight:500;color:#1f2937;flex:1}.item-details{font-size:.875rem;color:#6b7280;font-weight:500}.orders-table-container{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px rgba(0,0,0,.1);overflow-x:auto}.orders-table{width:100%;border-collapse:collapse;margin-top:1rem}.orders-table td,.orders-table th{padding:1rem;text-align:left;border-bottom:1px solid #e5e7eb}.orders-table th{background:#f9fafb;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.orders-table td{color:#1f2937;font-size:.95rem}.orders-table tbody tr:hover{background:#f9fafb}.status{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;display:inline-block}.status.paid{background:#d1fae5;color:#065f46}.status.unpaid{background:#fee2e2;color:#991b1b}.status.completed,.status.delivered{background:#dbeafe;color:#1e40af}.status.pending{background:#fef3c7;color:#92400e}.status.cancelled{background:#f3f4f6;color:#374151}.empty-state,.loading-state{text-align:center;padding:3rem;color:#6b7280;background:#fff;border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.1)}.empty-state p{font-size:1.1rem;margin:0}@media (max-width:768px){.orders-table-container{padding:1rem}.orders-table td,.orders-table th{padding:.75rem .5rem;font-size:.875rem}}.stat-card.payout-highlight{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;border:3px solid #2e7d32;box-shadow:0 8px 25px rgba(76,175,80,.3);transform:scale(1.05)}.stat-card.payout-highlight h3{color:#fff;font-size:2rem;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.3)}.stat-card.payout-highlight p{color:#fff;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}.stat-card.selling-points{background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff;border:2px solid #1565c0;box-shadow:0 6px 20px rgba(33,150,243,.3)}.stat-card.selling-points h3{color:#fff;font-weight:600}.stat-card.selling-points p{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.2)}.stat-card.matching-points{background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:2px solid #00838f;box-shadow:0 6px 20px rgba(0,188,212,.3)}.stat-card.matching-points h3{color:#fff;font-weight:600}.stat-card.matching-points p{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.2)}.stat-card.carry-forward{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;border:2px solid #e65100;box-shadow:0 6px 20px rgba(255,152,0,.3)}.stat-card.carry-forward h3{color:#fff;font-weight:600}.stat-card.carry-forward p{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.2)}.stat-card.level-bonus{background:linear-gradient(135deg,#9c27b0,#7b1fa2);color:#fff;border:2px solid #6a1b9a;box-shadow:0 6px 20px rgba(156,39,176,.3)}.stat-card.level-bonus h3{color:#fff;font-weight:600}.stat-card.level-bonus p{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.2)}.stat-card.capping-limit{background:linear-gradient(135deg,#f44336,#d32f2f);color:#fff;border:2px solid #c62828;box-shadow:0 6px 20px rgba(244,67,54,.3)}.stat-card.capping-limit h3{color:#fff;font-weight:600}.stat-card.capping-limit p{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.2)}.tree-level.level-0 .tree-node{background:linear-gradient(135deg,#667eea,#764ba2)!important;box-shadow:0 8px 25px rgba(102,126,234,.4)!important;transform:scale(1.2)!important}.tree-level.level-0 .tree-node .node-avatar,.tree-level.level-0 .tree-node .node-content,.tree-level.level-0 .tree-node .node-info{background:transparent!important;border:none!important}.tree-level.level-1 .tree-node{background:linear-gradient(135deg,#f093fb,#f5576c)!important;box-shadow:0 6px 20px rgba(240,147,251,.4)!important;transform:scale(1)!important}.tree-level.level-1 .tree-node .node-avatar,.tree-level.level-1 .tree-node .node-content,.tree-level.level-1 .tree-node .node-info{background:transparent!important;border:none!important}.tree-level.level-2 .tree-node{background:linear-gradient(135deg,#4facfe,#00f2fe)!important;box-shadow:0 6px 20px rgba(79,172,254,.4)!important;transform:scale(.9)!important}.tree-level.level-2 .tree-node .node-avatar,.tree-level.level-2 .tree-node .node-content,.tree-level.level-2 .tree-node .node-info{background:transparent!important;border:none!important}.tree-node:hover{transform:translateY(-3px) scale(1.05)!important;box-shadow:0 12px 35px rgba(0,0,0,.3)!important;transition:all .3s ease!important}.tree-level.level-0 .tree-node:hover{transform:translateY(-3px) scale(1.25)!important}.tree-level.level-1 .tree-node:hover{transform:translateY(-3px) scale(1.05)!important}.tree-level.level-2 .tree-node:hover{transform:translateY(-3px) scale(.95)!important}.tree-node .node-id,.tree-node .node-level,.tree-node .node-name{color:#fff!important;text-shadow:0 2px 4px rgba(0,0,0,.5)!important;font-weight:600!important}.mark-green-btn{padding:8px 16px;border:none;border-radius:5px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease;background:#22c55e;color:#fff}.mark-green-btn:hover{background:#16a34a;transform:translateY(-1px)}.mark-green-btn.marked{background:#059669;cursor:default}.mark-green-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.status-indicator{display:flex;align-items:center;gap:8px;font-weight:500}.status-indicator.green{color:#22c55e}.status-indicator.red{color:#ef4444}.view-items-btn{padding:6px 12px;border:none;border-radius:4px;background:#3b82f6;color:#fff;cursor:pointer;font-size:12px;font-weight:500;transition:background .3s ease}.view-items-btn:hover{background:#2563eb}.items-table{width:100%;border-collapse:collapse;margin-top:10px}.items-table td,.items-table th{padding:12px;text-align:left;border-bottom:1px solid #e5e7eb}.items-table th{font-weight:600;color:#374151}.items-table th,.items-table tr:hover{background:#f9fafb}.metrics-section{padding:2rem}.metrics-content{max-width:800px;margin:0 auto}.metrics-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px rgba(0,0,0,.1);border:1px solid #e5e7eb}.metrics-card h3{font-size:1.5rem;color:#374151;margin-bottom:1rem}.metrics-card p{color:#6b7280;margin-bottom:1rem;line-height:1.6}.metrics-card ul{margin:1rem 0;padding-left:1.5rem}.metrics-card li{color:#6b7280;margin-bottom:.5rem}.warning-box{background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:1rem;margin:1.5rem 0;color:#92400e}.recalculate-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;margin-top:1.5rem;min-width:280px;justify-content:center}.recalculate-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1e40af);transform:translateY(-2px);box-shadow:0 8px 25px rgba(59,130,246,.3)}.recalculate-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.spinner{width:20px;height:20px;border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-blue-600:hover{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.hover\:from-purple-600:hover{--tw-gradient-from:#9333ea var(--tw-gradient-from-position);--tw-gradient-to:rgba(147,51,234,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:from-red-600:hover{--tw-gradient-from:#dc2626 var(--tw-gradient-from-position);--tw-gradient-to:rgba(220,38,38,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:to-purple-700:hover{--tw-gradient-to:#7e22ce var(--tw-gradient-to-position)}.hover\:to-red-700:hover{--tw-gradient-to:#b91c1c var(--tw-gradient-to-position)}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}