*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:#111827;background:#f3f4f6;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;width:100%;max-width:480px;padding:48px;box-shadow:0 10px 30px #0000000f}.login-header{text-align:center;margin-bottom:38px}.login-header h1{letter-spacing:-.8px;margin:0;font-size:32px;font-weight:800}.login-header p{color:#6b7280;margin:8px 0 0;font-size:15px}.login-form{flex-direction:column;gap:20px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{color:#374151;font-size:14px;font-weight:600}.form-group input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:9px;outline:none;width:100%;height:46px;padding:0 14px;transition:border-color .2s,box-shadow .2s}.form-group input:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.form-group input:disabled{background:#f9fafb}.login-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:11px 12px;font-size:14px}.login-button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:9px;width:100%;height:46px;font-weight:600;transition:background .2s,transform .1s}.login-button:hover{background:#1f2937}.login-button:active{transform:translateY(1px)}.login-button:disabled{opacity:.65;cursor:not-allowed}.login-footer{text-align:center;color:#9ca3af;margin-top:28px;font-size:13px}.admin-layout{background:#f3f4f6;min-height:100vh;display:flex}.admin-main{flex:1;min-width:0}.admin-header{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:16px;height:64px;padding:0 24px;display:flex}.admin-content{padding:24px}.sidebar{color:#fff;background:#111827;flex-direction:column;flex-shrink:0;width:250px;min-height:100vh;display:flex}.sidebar-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:80px;padding:0 22px;display:flex}.sidebar-header h1{margin:0;font-size:22px;font-weight:800}.sidebar-header span{color:#9ca3af;font-size:12px}.sidebar-close{color:#fff;cursor:pointer;background:0 0;border:0;font-size:28px;display:none}.sidebar-nav{flex:1;padding:18px 12px}.sidebar-link{color:#d1d5db;border-radius:8px;align-items:center;gap:12px;height:46px;margin-bottom:5px;padding:0 14px;font-size:21px;font-weight:500;text-decoration:none;transition:background .2s,color .2s;display:flex}.sidebar-link:hover{color:#fff;background:#ffffff0f}.sidebar-link.active{color:#111827;background:#fff;font-weight:600}.sidebar-icon{text-align:center;width:28px;font-size:22px}.sidebar-footer{border-top:1px solid #ffffff14;padding:16px 12px}.logout-button{color:#d1d5db;cursor:pointer;background:#ffffff0f;border:0;border-radius:8px;width:100%;height:42px}.logout-button:hover{color:#fff;background:#ffffff1a}.sidebar-overlay{display:none}@media (width<=768px){.menu-button{display:block}.sidebar{z-index:1000;width:270px;transition:transform .25s;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-close{display:block}.sidebar-overlay{z-index:999;background:#00000073;position:fixed;inset:0}.sidebar-overlay.show{display:block}.admin-header{padding:0 16px}.admin-content{padding:16px}}.password-input-wrapper{width:100%;position:relative}.password-input-wrapper input{width:100%;padding-right:48px}.password-toggle{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:18px;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.password-toggle:disabled{cursor:default;opacity:.5}.dashboard{box-sizing:border-box;background:#e5e7eb;width:100%;max-width:1500px;min-height:100%;margin:0 auto;padding:30px 32px 50px}.dashboard-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.dashboard-heading h1{letter-spacing:-.6px;color:#111827;margin:0;font-size:28px;line-height:1.15}.dashboard-heading p{color:#6b7280;margin:6px 0 0;font-size:14px}.dashboard-user{align-items:center;gap:12px;display:flex}.notification{font-size:21px}.user-avatar{background:#e5e7eb;border-radius:50%;place-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:grid}.dashboard-top-grid{grid-template-columns:2fr 1fr;gap:18px;margin-bottom:18px;display:grid}.store-status-card,.schedule-card{box-sizing:border-box;background:#fff;border:1px solid #d9dee7;border-radius:15px;align-items:center;gap:18px;min-height:130px;padding:22px;display:flex;box-shadow:0 3px 10px #0f172a0a}.store-status-card{background:#ecfdf3;border-color:#d1fae5}.status-icon,.schedule-icon{border-radius:50%;flex-shrink:0;place-items:center;width:56px;height:56px;font-size:26px;display:grid}.status-icon{background:#d1fae5}.schedule-icon{background:#fee2e2}.status-info{flex:1;min-width:0}.status-info h2{color:#111827;margin:0 0 5px;font-size:21px;line-height:1.2}.status-info p{color:#374151;margin:0;font-size:14px}.status-control{text-align:center;flex-shrink:0}.status-toggle{cursor:pointer;background:#d1d5db;border:0;border-radius:30px;width:72px;height:38px;padding:4px}.status-toggle span{background:#fff;border-radius:50%;width:30px;height:30px;transition:transform .2s;display:block}.status-toggle.connected{background:#059669}.status-toggle.connected span{transform:translate(34px)}.status-control small{color:#047857;margin-top:5px;font-size:12px;font-weight:600;display:block}.schedule-card>div:last-child{flex-direction:column;gap:5px;display:flex}.schedule-card span{color:#4b5563}.schedule-card strong{font-size:18px}.schedule-card button,.card-header button{color:#2563eb;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px;display:grid}.stat-card{box-sizing:border-box;background:#fff;border:1px solid #d9dee7;border-radius:15px;min-width:0;padding:20px;box-shadow:0 3px 10px #0f172a0a}.stat-icon{border-radius:50%;place-items:center;width:40px;height:40px;margin-bottom:13px;font-size:19px;font-weight:700;display:grid}.stat-card span{color:#374151;font-size:14px;line-height:1.35;display:block}.stat-card strong{color:#111827;margin:5px 0;font-size:30px;line-height:1.1;display:block}.stat-card small{color:#6b7280;font-size:12px}.pending .stat-icon{color:#d97706;background:#fef3c7}.accepted .stat-icon{color:#2563eb;background:#dbeafe}.delivered .stat-icon{color:#059669;background:#d1fae5}.rejected .stat-icon{color:#dc2626;background:#fee2e2}.summary-grid{grid-template-columns:1.3fr 1fr 1fr;gap:18px;margin-bottom:18px;display:grid}.dashboard-card{background:#fff;border:1px solid #d9dee7;border-radius:15px;min-width:0;box-shadow:0 3px 10px #0f172a0a}.sales-card,.order-type-card,.average-card{box-sizing:border-box;align-items:flex-start;gap:18px;min-height:180px;padding:22px;display:flex}.card-icon{border-radius:50%;flex-shrink:0;place-items:center;width:58px;height:58px;font-weight:900;display:grid}.card-icon.green{color:#059669;background:#d1fae5}.card-icon.blue{color:#2563eb;background:#dbeafe}.card-icon.gray{color:#4b5563;background:#f3f4f6}.sales-card>div:last-child,.order-type-card>div:last-child,.average-card>div:last-child{flex:1;min-width:0}.sales-card span,.order-type-card>div:last-child>span,.average-card span{color:#374151;font-size:14px}.sales-card strong,.average-card strong{color:#111827;margin:8px 0;font-size:38px;line-height:1.1;display:block}.sales-card p,.average-card p{color:#6b7280;margin:3px 0;font-size:13px}.order-type-row{color:#4b5563;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:14px;display:flex}.order-type-icon{margin-right:5px;font-size:20px}.order-type-card>div:last-child>span{color:#374151;font-size:15px;font-weight:600}.orders-grid{grid-template-columns:1fr;gap:18px;display:grid}.orders-card{box-sizing:border-box;padding:22px}.card-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.card-header>div{align-items:center;gap:10px;min-width:0;display:flex}.card-header h2{color:#111827;margin:0;font-size:20px;line-height:1.2}.orders-count{color:#374151;background:#f3f4f6;border-radius:20px;padding:3px 9px;font-size:13px}.order-list{flex-direction:column;display:flex}.order-row{border-top:1px solid #eef1f5;grid-template-columns:minmax(190px,1.4fr) minmax(150px,1fr) 100px 80px 55px;align-items:center;gap:14px;min-height:62px;font-size:13px;display:grid}.order-main{flex-direction:column;gap:3px;min-width:0;display:flex}.order-main strong{color:#111827;font-size:14px}.order-main span{color:#4b5563;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.order-status-info{align-items:center;gap:8px;min-width:0;display:flex}.order-status-info>span:first-child{color:#4b5563}.order-total{text-align:right;white-space:nowrap;color:#111827}.order-time{color:#6b7280;white-space:nowrap}.order-view-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;height:32px;padding:0 9px;font-size:12px}.order-view-button:hover{background:#f9fafb}.badge{white-space:nowrap;border-radius:20px;width:fit-content;padding:5px 9px;font-size:12px;font-style:normal;font-weight:600}.pending-badge{color:#b45309;background:#fef3c7}.accepted-badge{color:#1d4ed8;background:#dbeafe}.delivered-badge{color:#047857;background:#d1fae5}.empty-orders{color:#6b7280;text-align:center;border-top:1px solid #eef1f5;padding:24px 10px}.dashboard-loading,.dashboard-error{text-align:center;place-items:center;min-height:300px;display:grid}.dashboard-error h2{margin-bottom:8px}.dashboard-error p{color:#6b7280}.dashboard-error button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:8px;height:40px;padding:0 18px}.dashboard-inline-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:18px;padding:12px 14px;font-size:14px}@media (width<=1100px){.summary-grid{grid-template-columns:1fr 1fr}.average-card{grid-column:1/-1}.order-row{grid-template-columns:minmax(160px,1.3fr) minmax(140px,1fr) 90px 75px 55px;gap:10px}}@media (width<=768px){.dashboard{padding:22px 18px 40px}.dashboard-heading{align-items:flex-start}.dashboard-heading h1{font-size:23px}.dashboard-user{display:none}.dashboard-top-grid{grid-template-columns:1fr;gap:16px}.store-status-card{align-items:flex-start}.stats-grid{grid-template-columns:1fr 1fr;gap:16px}.summary-grid{grid-template-columns:1fr;gap:16px}.average-card{grid-column:auto}.order-row{grid-template-columns:55px 1fr 70px 55px;gap:9px}.order-status-info{flex-direction:column;align-items:flex-start;gap:4px}.order-time,.order-row .badge{display:none}}@media (width<=500px){.dashboard{padding:18px 14px 32px}.dashboard-heading{margin-bottom:18px}.dashboard-heading h1{font-size:21px}.dashboard-heading p{font-size:13px}.dashboard-top-grid,.stats-grid,.summary-grid,.orders-grid{gap:14px}.store-status-card{gap:14px;padding:18px}.status-icon{width:48px;height:48px;font-size:22px}.status-info h2{font-size:18px}.status-info p{font-size:13px}.status-toggle{width:64px;height:34px}.status-toggle span{width:26px;height:26px}.status-toggle.connected span{transform:translate(30px)}.stat-card{padding:16px}.stat-icon{width:36px;height:36px;margin-bottom:10px;font-size:17px}.stat-card span{font-size:13px}.stat-card strong{font-size:26px}.stat-card small{font-size:11px}.sales-card,.order-type-card,.average-card{gap:14px;min-height:0;padding:18px}.card-icon{width:48px;height:48px}.sales-card strong,.average-card strong{font-size:32px}.card-header{align-items:flex-start;gap:10px}.orders-card{padding:16px}.card-header h2{font-size:18px}.card-header button{font-size:12px}.order-list{width:100%}.order-row{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 9px;min-height:0;padding:10px 0;font-size:13px;display:grid;position:relative}.order-main{grid-area:1/1/3;justify-content:center;gap:3px;min-width:0}.order-main strong{white-space:nowrap;font-size:14px;line-height:1.15;display:block}.order-main span{color:#4b5563;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;line-height:1.2;display:block;overflow:hidden}.order-status-info{flex-direction:row;grid-area:2/2;align-items:center;gap:5px;min-width:0;display:flex}.order-status-info>span:first-child{color:#4b5563;white-space:nowrap;font-size:12px}.order-status-info .badge{white-space:nowrap;padding:3px 6px;font-size:10px;line-height:1}.order-total{text-align:right;white-space:nowrap;grid-area:1/2;font-size:14px}.order-view-button{white-space:nowrap;grid-area:1/3/3;height:32px;padding:0 9px;font-size:11px}.order-time{display:none}}@media (width<=360px){.dashboard{padding:16px 10px 28px}.stats-grid{gap:10px}.stat-card{padding:14px}.sales-card,.order-type-card,.average-card{padding:16px}.orders-card{padding:14px}.card-header{gap:8px}.card-header h2{font-size:17px}.card-header button{font-size:11px}.order-row{grid-template-columns:minmax(0,1fr) auto auto;gap:4px 6px}.order-view-button{padding:0 7px;font-size:10px}}.sidebar{color:#fff;z-index:1000;box-sizing:border-box;background:#111827;border-right:1px solid #1f2937;flex-direction:column;width:250px;height:100vh;transition:transform .25s,box-shadow .25s;display:flex;position:fixed;top:0;left:0}.sidebar-header{box-sizing:border-box;border-bottom:1px solid #273244;justify-content:space-between;align-items:center;min-height:86px;padding:0 20px;display:flex}.sidebar-header h1{letter-spacing:.04em;color:#fff;margin:0;font-size:28px;font-weight:900;line-height:1}.sidebar-header span{letter-spacing:.18em;color:#60a5fa;text-transform:uppercase;margin-top:5px;font-size:10px;font-weight:800;display:block}.sidebar-close{color:#d1d5db;cursor:pointer;background:#1f2937;border:0;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:24px;line-height:1;transition:background .2s,color .2s;display:none}.sidebar-close:hover{color:#fff;background:#374151}.sidebar-nav{box-sizing:border-box;flex-direction:column;flex:1;gap:6px;padding:18px 10px;display:flex;overflow-y:auto}.sidebar-link{color:#cbd5e1;box-sizing:border-box;border-radius:9px;align-items:center;gap:12px;min-height:46px;padding:0 13px;font-size:14px;font-weight:500;text-decoration:none;transition:background .2s,color .2s,transform .2s;display:flex;position:relative}.sidebar-link:hover{color:#fff;background:#1f2937;transform:translate(2px)}.sidebar-icon{background:#1f2937;border-radius:8px;justify-content:center;align-items:center;width:30px;min-width:30px;height:30px;font-size:17px;line-height:1;transition:background .2s,transform .2s;display:flex}.sidebar-link:hover .sidebar-icon{background:#374151;transform:scale(1.05)}.sidebar-link.active{color:#fff;background:#2563eb;font-weight:700;box-shadow:0 5px 14px #2563eb40}.sidebar-link.active:before{content:"";background:#93c5fd;border-radius:0 4px 4px 0;width:3px;position:absolute;top:8px;bottom:8px;left:0}.sidebar-link.active .sidebar-icon{background:#ffffff29}.sidebar-footer{box-sizing:border-box;border-top:1px solid #273244;padding:16px 12px 18px}.logout-button{color:#cbd5e1;cursor:pointer;background:0 0;border:1px solid #374151;border-radius:8px;width:100%;min-height:42px;padding:0 14px;font-size:13px;font-weight:600;transition:background .2s,border-color .2s,color .2s}.logout-button:hover{color:#fff;background:#7f1d1d;border-color:#991b1b}.sidebar-overlay{z-index:999;background:#0f172a8c;display:none;position:fixed;inset:0}.sidebar-overlay.show{display:block}@media (width<=900px){.sidebar.open{transform:translate(0);box-shadow:10px 0 30px #00000040}.sidebar-close{display:flex}}@media (width<=520px){.sidebar{width:280px}.sidebar-header{min-height:76px;padding:0 18px}.sidebar-header h1{font-size:25px}.sidebar-nav{padding:14px 9px}.sidebar-link{min-height:48px;padding:0 13px;font-size:14px}.sidebar-icon{width:32px;min-width:32px;height:32px}}.alerta-overlay{z-index:9999;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.alerta-modal{text-align:center;background:#fff;border-radius:18px;width:100%;max-width:420px;padding:32px 28px;box-shadow:0 20px 60px #00000040}.alerta-icono{margin-bottom:14px;font-size:46px;line-height:1}.alerta-titulo{margin-bottom:16px;font-size:28px;font-weight:900}.alerta-folio{margin-bottom:12px;font-size:22px;font-weight:800}.alerta-total{margin-bottom:8px;font-size:20px;font-weight:700}.alerta-tipo{margin-bottom:28px;font-size:17px}.btn-ver-pedido{cursor:pointer;border:none;border-radius:12px;width:100%;padding:16px;font-size:18px;font-weight:900}.admin-layout{background:#f3f4f6;width:100%;min-height:100vh}.admin-main{box-sizing:border-box;width:calc(100% - 250px);min-width:0;min-height:100vh;margin-left:250px}.admin-header{box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:16px;width:100%;height:64px;padding:0 24px;display:flex}.menu-button{cursor:pointer;background:0 0;border:0;font-size:24px;display:none}.header-title{font-size:16px;font-weight:600}.admin-content{box-sizing:border-box;width:100%;min-width:0;padding:24px}@media (width<=900px){.admin-main{width:100%;margin-left:0}.menu-button{display:block}.admin-header{padding:0 16px}.admin-content{padding:16px}}.header-title{align-items:center;gap:10px;font-size:16px;font-weight:600;display:flex}.header-logo{object-fit:contain;width:150px;height:150px;display:block}.categories-page{box-sizing:border-box;width:100%;min-height:100%;padding:28px}.categories-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.categories-header h1{color:#111827;margin:0;font-size:32px;font-weight:700;line-height:1.1}.categories-header p{color:#64748b;margin:8px 0 0;font-size:15px;line-height:1.5}.primary-button{color:#fff;cursor:pointer;background:#16a36a;border:none;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:46px;padding:0 18px;font-size:14px;font-weight:700;transition:transform .15s,opacity .15s;display:inline-flex}.primary-button:hover{opacity:.92}.primary-button:active{transform:translateY(1px)}.primary-button span{font-size:20px;font-weight:400;line-height:1}.secondary-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:10px;min-height:46px;padding:0 18px;font-size:14px;font-weight:700}.secondary-button:disabled{opacity:.55;cursor:not-allowed}.categories-alert{border-radius:10px;margin-bottom:18px;padding:13px 16px;font-size:14px;font-weight:600}.categories-alert.error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.categories-alert.success{color:#15803d;background:#ecfdf5;border:1px solid #bbf7d0}.categories-content{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.categories-content.with-panel{grid-template-columns:minmax(0,1fr) 420px}.categories-card{background:#fff;border:1px solid #e7edf3;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px #0f172a0a}.categories-card-header{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.categories-card-header h2{color:#172033;margin:0;font-size:17px}.categories-card-header span{color:#94a3b8;margin-top:4px;font-size:13px;display:block}.categories-table{width:100%}.categories-table-head,.category-row{grid-template-columns:100px minmax(280px,1fr) 110px 140px 100px;align-items:center;display:grid}.categories-table-head{color:#64748b;text-transform:uppercase;letter-spacing:.03em;background:#f8fafc;border-bottom:1px solid #edf1f5;min-height:50px;font-size:12px;font-weight:700}.category-row{color:#1e293b;border-bottom:1px solid #edf1f5;min-height:92px}.category-row:last-child{border-bottom:none}.categories-table-head>div,.category-row>div{padding:12px 14px}.col-order{padding-left:20px!important}.col-actions{padding-right:20px!important}.order-control{align-items:center;gap:9px;display:flex}.drag-icon{color:#94a3b8;font-size:22px;line-height:1}.order-control strong{color:#64748b;min-width:15px;font-size:14px}.move-buttons{opacity:0;flex-direction:column;gap:2px;transition:opacity .15s;display:flex}.category-row:hover .move-buttons{opacity:1}.move-buttons button{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:4px;width:22px;height:18px;padding:0;font-size:11px;line-height:1}.move-buttons button:hover:not(:disabled){color:#0f172a;background:#e2e8f0}.move-buttons button:disabled{opacity:.3;cursor:not-allowed}.col-category{align-items:center;gap:13px;min-width:0;display:flex}.category-image{background:#f1f8f5;border-radius:12px;flex:0 0 52px;justify-content:center;align-items:center;width:52px;height:52px;font-size:25px;display:flex;overflow:hidden}.category-image img{object-fit:cover;width:100%;height:100%;display:block}.category-image span{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.category-image-field{background:#f8fafc;border:1px solid #e7edf3;border-radius:12px;flex-direction:column;gap:12px;margin-bottom:24px;padding:14px;display:flex}.category-image-field input[type=file]{box-sizing:border-box;color:#475569;cursor:pointer;background:#fff;border:1px dashed #cbd5e1;border-radius:10px;width:100%;padding:10px;font-family:inherit;font-size:13px}.category-image-field input[type=file]:hover{border-color:#16a36a}.category-image-field input[type=file]:focus{border-color:#16a36a;outline:none;box-shadow:0 0 0 3px #16a36a1a}.category-image-preview{background:#f1f8f5;border:1px solid #e2e8f0;border-radius:12px;flex:none;justify-content:center;align-items:center;width:120px;height:90px;font-size:32px;display:flex;overflow:hidden}.category-image-preview img{object-fit:cover;width:100%;height:100%;display:block}.category-image-info{color:#64748b;min-width:0;font-size:12px;line-height:1.4;display:block}.category-info{flex-direction:column;gap:4px;min-width:0;display:flex}.category-info strong{color:#172033;font-size:15px;font-weight:700}.category-info span{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.col-products strong{color:#334155;font-size:14px}.col-status{align-items:center;gap:8px;display:flex}.status-switch{cursor:pointer;background:#cbd5e1;border:none;border-radius:999px;width:38px;height:22px;padding:2px;transition:background .2s}.status-switch span{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;display:block;transform:translate(0);box-shadow:0 1px 3px #0f172a33}.status-text{font-size:13px;font-weight:600}.status-text.active{color:#15803d}.status-text.inactive{color:#94a3b8}.action-button{cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;display:inline-flex}.action-button.edit{color:#2563eb;background:#eff6ff}.action-button.edit:hover{background:#dbeafe}.category-panel{background:#fff;border:1px solid #e7edf3;border-radius:16px;position:sticky;top:20px;overflow:hidden;box-shadow:0 8px 28px #0f172a14}.panel-header{border-bottom:1px solid #edf1f5;justify-content:space-between;gap:20px;padding:22px;display:flex}.panel-header p{color:#64748b;margin:6px 0 0;font-size:13px;line-height:1.5}.close-panel{color:#64748b;cursor:pointer;background:#f8fafc;border:none;border-radius:8px;flex:0 0 36px;width:36px;height:36px;font-size:24px;line-height:1}.close-panel:hover{color:#0f172a;background:#f1f5f9}.category-form{padding:22px}.form-field input,.form-field textarea{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #d8e0e8;border-radius:10px;outline:none;width:100%;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.form-field input{height:46px;padding:0 13px}.form-field input:focus,.form-field textarea:focus{border-color:#16a36a;box-shadow:0 0 0 3px #16a36a1a}.form-field input:disabled,.form-field textarea:disabled{cursor:not-allowed;background:#f8fafc}.form-field small{text-align:right;color:#94a3b8;margin-top:6px;font-size:11px;display:block}.form-switch-field{background:#f8fafc;border-radius:12px;align-items:center;gap:12px;margin-bottom:22px;padding:16px;display:flex}.form-switch-field .status-switch{flex:none}.form-switch-field strong{color:#334155;font-size:14px;display:block}.form-switch-field p{color:#64748b;margin:4px 0 0;font-size:12px;line-height:1.4}.panel-info{border:1px solid #e7edf3;border-radius:12px;margin-bottom:24px;padding:16px}.panel-info span{color:#64748b;margin-bottom:5px;font-size:12px;display:block}.panel-info strong{color:#172033;font-size:18px;display:block}.panel-info p{color:#94a3b8;margin:5px 0 0;font-size:12px}.panel-actions{justify-content:flex-end;gap:10px;display:flex}.categories-empty{text-align:center;padding:70px 30px}.empty-icon{background:#f1f8f5;border-radius:18px;justify-content:center;align-items:center;width:66px;height:66px;margin:0 auto 16px;font-size:31px;display:flex}.categories-empty h3{color:#172033;margin:0;font-size:18px}.categories-empty p{color:#64748b;max-width:430px;margin:8px auto 22px;font-size:14px;line-height:1.5}.categories-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.loading-spinner{border:3px solid #e2e8f0;border-top-color:#16a36a;border-radius:50%;width:32px;height:32px;margin-bottom:12px;animation:.8s linear infinite categories-spin}@keyframes categories-spin{to{transform:rotate(360deg)}}.categories-error{text-align:center;background:#fff;border:1px solid #e7edf3;border-radius:16px;max-width:500px;margin:80px auto;padding:30px}.categories-error h2{color:#172033;margin:0 0 8px}.categories-error p{color:#64748b;margin:0 0 20px}.categories-error button{color:#fff;cursor:pointer;background:#16a36a;border:none;border-radius:9px;min-height:42px;padding:0 16px;font-weight:700}@media (width<=1100px){.categories-content.with-panel{grid-template-columns:1fr}.category-panel{position:static}}@media (width<=850px){.categories-page{padding:20px}.categories-header{flex-direction:column}.categories-header .primary-button{width:100%}.categories-table{overflow-x:auto}.categories-table-head,.category-row{min-width:760px}}@media (width<=560px){.categories-page{padding:15px}.categories-header h1{font-size:27px}.category-panel{border-radius:12px}.panel-actions{flex-direction:column-reverse}.panel-actions button{width:100%}}.products-page{box-sizing:border-box;background:#e5e7eb;width:100%;min-width:0;min-height:100%;padding:30px}.products-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;display:flex}.products-header h1{color:#111827;margin:0;font-size:32px;font-weight:700}.products-header p{color:#64748b;margin:7px 0 0;font-size:17px}.products-header strong{color:#334155}.primary-button,.secondary-button{cursor:pointer;white-space:nowrap;border-radius:9px;padding:12px 20px;font-size:16px;font-weight:600}.primary-button{color:#fff;background:#1769e0;border:none;transition:background .2s,transform .2s}.primary-button:hover{background:#125bc2}.primary-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{color:#334155;background:#fff;border:1px solid #d7dee8}.secondary-button:hover{background:#f8fafc}.page-error,.page-success{border-radius:10px;margin-bottom:20px;padding:13px 16px;font-size:15px}.page-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.page-success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.products-toolbar{box-sizing:border-box;background:#fff;border:1px solid #d9dee7;border-radius:14px;grid-template-columns:1.6fr 1fr 1fr;gap:16px;margin-bottom:22px;padding:18px;display:grid;box-shadow:0 3px 10px #0f172a0a}.products-toolbar select,.search-field{box-sizing:border-box;height:46px}.products-toolbar select{color:#334155;background:#fff;border:1px solid #d9e0e8;border-radius:9px;outline:none;width:100%;padding:0 13px;font-size:16px}.products-toolbar select:focus{border-color:#1769e0}.search-field{background:#fff;border:1px solid #d9e0e8;border-radius:9px;align-items:center;gap:9px;padding:0 13px;display:flex}.search-field span{color:#64748b;flex-shrink:0;font-size:22px}.search-field input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:16px}.search-field input::placeholder{color:#94a3b8}.products-table-card{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #d9dee7;border-radius:14px;width:100%;min-width:0;overflow:auto hidden;box-shadow:0 3px 10px #0f172a0a}.products-table{width:100%;min-width:850px}.products-table-head,.product-row{grid-template-columns:82px minmax(220px,1.8fr) minmax(130px,1fr) 110px 110px 90px;align-items:center;display:grid}.products-table-head{box-sizing:border-box;color:#52627a;text-transform:uppercase;letter-spacing:.02em;background:#f8fafc;min-height:54px;padding:0 18px;font-size:15px;font-weight:700}.product-row{box-sizing:border-box;border-top:1px solid #edf1f5;min-height:96px;padding:12px 18px}.product-row:hover{background:#fbfdff}.product-image{background:#f1f5f9;border-radius:10px;justify-content:center;align-items:center;width:62px;height:62px;font-size:28px;display:flex;overflow:hidden}.product-image img{object-fit:cover;width:100%;height:100%}.product-main{min-width:0;padding-right:20px}.product-main strong{color:#172033;margin-bottom:4px;font-size:18px;font-weight:650;display:block}.product-main small{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:340px;font-size:14px;line-height:1.4;display:block;overflow:hidden}.category-badge{color:#2563eb;white-space:nowrap;background:#eff6ff;border-radius:999px;align-items:center;padding:6px 10px;font-size:14px;font-weight:600;display:inline-flex}.product-price{color:#172033;white-space:nowrap;font-size:16px;font-weight:700}.status-switch{cursor:pointer;vertical-align:middle;background:#cbd5e1;border:none;border-radius:20px;flex-shrink:0;width:38px;height:22px;padding:0;position:relative}.status-switch span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;top:3px;left:3px}.status-switch.active{background:#16a34a}.status-switch.active span{transform:translate(16px)}.status-label{color:#64748b;white-space:nowrap;margin-left:7px;font-size:14px}.product-actions{justify-content:flex-start;align-items:center;display:flex}.icon-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;font-size:19px;display:flex}.icon-button:hover{background:#f1f5f9}.products-footer{color:#64748b;border-top:1px solid #edf1f5;padding:15px 18px;font-size:14px}.products-empty{text-align:center;background:#fff;border:1px solid #d9dee7;border-radius:14px;padding:70px 20px;box-shadow:0 3px 10px #0f172a0a}.products-empty-icon{margin-bottom:15px;font-size:48px}.products-empty h2{color:#172033;margin:0;font-size:23px}.products-empty p{color:#64748b;margin:8px 0 22px;font-size:16px}.products-loading{text-align:center;color:#64748b;padding:50px;font-size:16px}.panel-overlay{z-index:1000;background:#0f172a6b;justify-content:flex-end;display:flex;position:fixed;inset:0}.product-panel{background:#e5e7eb;width:min(560px,100vw);height:100vh;overflow-y:auto;box-shadow:-8px 0 30px #0f172a29}.panel-header{z-index:5;background:#fff;border-bottom:1px solid #d9dee7;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px 20px;display:flex;position:sticky;top:0}.panel-header h2{color:#111827;margin:0;font-size:24px}.panel-header p{color:#64748b;margin:6px 0 0;font-size:15px}.panel-close{color:#64748b;cursor:pointer;background:0 0;border:none;flex-shrink:0;width:36px;height:36px;font-size:30px;line-height:1}.panel-close:hover{color:#111827}.product-form{padding:24px 28px 40px}.form-field{margin-bottom:18px}.form-field label{color:#263247;margin-bottom:7px;font-size:15px;font-weight:650;display:block}.form-field input,.form-field select,.form-field textarea{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #d8e0e9;border-radius:9px;outline:none;width:100%;font-size:16px}.form-field input,.form-field select{height:46px;padding:0 12px}.form-field textarea{resize:vertical;min-height:90px;padding:12px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#1769e0;box-shadow:0 0 0 3px #1769e014}.product-form>.form-field:not(.image-upload-box),.product-form>.form-grid{padding-left:20px;padding-right:20px}.product-form>.form-field:first-of-type,.product-form>.form-grid,.product-form>.form-field:nth-of-type(2){background:#fff}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.price-input{position:relative}.price-input span{color:#64748b;font-size:15px;position:absolute;top:14px;left:12px}.price-input input{padding-left:28px}.image-upload-box{text-align:center;background:#fff;border:1px solid #d9dee7;border-radius:14px;justify-content:center;align-items:center;min-height:190px;margin-bottom:22px;display:flex;position:relative;overflow:hidden;box-shadow:0 3px 10px #0f172a0a}.image-upload-box>img{object-fit:cover;width:100%;height:230px}.image-upload-box input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.image-upload-placeholder{color:#64748b;pointer-events:none;flex-direction:column;align-items:center;gap:7px;display:flex}.image-upload-placeholder span{font-size:38px}.image-upload-placeholder strong{color:#334155;font-size:15px}.image-upload-placeholder small{font-size:13px}.product-settings{background:#fff;border:1px solid #d9dee7;border-radius:14px;margin:22px 0 26px;padding:12px 20px;box-shadow:0 3px 10px #0f172a0a}.setting-row{cursor:pointer;gap:12px;padding:13px 0;display:flex}.setting-row+.setting-row{border-top:1px solid #edf1f5}.setting-row input{accent-color:#1769e0;width:18px;height:18px;margin-top:2px}.setting-row span{flex-direction:column;gap:3px;display:flex}.setting-row strong{color:#263247;font-size:15px}.setting-row small{color:#64748b;font-size:13px}.options-section{background:#fff;border:1px solid #d9dee7;border-radius:14px;margin-top:26px;padding:20px;box-shadow:0 3px 10px #0f172a0a}.options-section-header{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px;display:flex}.options-section-header h3{color:#1e293b;margin:0;font-size:18px}.options-section-header p{color:#64748b;margin:5px 0 0;font-size:14px}.add-option-group-button{color:#1769e0;cursor:pointer;white-space:nowrap;background:#eff6ff;border:1px solid #9bbdf5;border-radius:8px;padding:9px 12px;font-size:14px;font-weight:650}.add-option-group-button:hover{background:#dbeafe}.no-options{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:18px;font-size:14px}.option-group-card{background:#f8fafc;border:1px solid #dfe6ee;border-radius:12px;margin-bottom:16px;padding:18px}.option-group-card:last-child{margin-bottom:0}.option-group-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}.option-group-header strong{color:#263247;font-size:15px}.remove-button{color:#dc2626;cursor:pointer;background:0 0;border:none;font-size:14px}.remove-button:hover{text-decoration:underline}.required-option{color:#475569;align-items:center;gap:7px;margin-bottom:18px;font-size:14px;display:flex}.required-option input{accent-color:#1769e0}.options-list{flex-direction:column;gap:8px;display:flex}.option-row{grid-template-columns:1fr 95px 30px;align-items:center;gap:7px;display:grid}.option-row>input,.option-price{box-sizing:border-box;background:#fff;border:1px solid #d8e0e9;border-radius:7px;height:40px}.option-row>input{outline:none;width:100%;padding:0 10px;font-size:15px}.option-row>input:focus,.option-price:focus-within{border-color:#1769e0;box-shadow:0 0 0 3px #1769e00f}.option-price{align-items:center;display:flex}.option-price span{color:#64748b;padding-left:9px;font-size:13px}.option-price input{border:none;outline:none;width:100%;height:100%;padding:0 7px;font-size:14px}.remove-option{color:#dc2626;cursor:pointer;background:#fee2e2;border:none;border-radius:6px;width:30px;height:30px;font-size:18px}.remove-option:hover{background:#fecaca}.add-option-button{color:#1769e0;cursor:pointer;background:#fff;border:1px dashed #b9c8db;border-radius:7px;width:100%;margin-top:10px;padding:9px;font-size:14px;font-weight:600}.add-option-button:hover{background:#f8fbff}.panel-actions{border-top:1px solid #cfd6df;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:25px;display:flex}@media (width<=1000px){.products-page{padding:24px}.products-header h1{font-size:30px}.products-toolbar{grid-template-columns:1fr 1fr}.products-toolbar .search-field{grid-column:1/-1}}@media (width<=768px){.products-page{padding:20px}.products-header{gap:18px}.products-header h1{font-size:28px}.products-header p{font-size:16px}.products-toolbar{grid-template-columns:1fr}.products-toolbar .search-field{grid-column:auto}.products-table{min-width:850px}.product-panel{width:min(560px,100vw)}.product-form{padding:22px}}@media (width<=700px){.products-page{padding:18px}.products-header{flex-direction:column;align-items:stretch}.products-header h1{font-size:27px}.products-header p{font-size:15px}.products-header .primary-button{justify-content:center;width:100%}.products-table{min-width:850px}.product-panel{width:100%}.panel-header{padding:20px}.panel-header h2{font-size:22px}.panel-header p{font-size:14px}.product-form{padding:20px}.form-grid{grid-template-columns:1fr;gap:0}.options-section-header{flex-direction:column}.add-option-group-button{width:100%}.option-row{grid-template-columns:1fr 80px 30px}}@media (width<=480px){.products-page{padding:14px}.products-header{margin-bottom:20px}.products-header h1{font-size:25px}.products-header p{font-size:14px}.products-toolbar{gap:10px;padding:12px}.products-toolbar select,.search-field{height:44px}.products-toolbar select,.search-field input{font-size:15px}.products-table-card{border-radius:10px}.products-table-head{font-size:15px}.product-main strong{font-size:17px}.category-badge{font-size:13px}.product-price{font-size:15px}.status-label{font-size:13px}.panel-header,.product-form{padding:18px}.image-upload-box{margin-bottom:18px}.product-settings,.options-section{padding:16px}.option-group-card{padding:15px}}.orders-page{box-sizing:border-box;background:#e5e7eb;width:100%;min-height:100%;padding:28px}.orders-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.orders-header h1{color:#172033;margin:0;font-size:35px;line-height:1.2}.orders-header p{color:#596579;margin:7px 0 0;font-size:17.5px}.orders-header strong{color:#172033}.orders-refresh-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:10px 15px;font-size:16.25px;font-weight:600;transition:background .2s,border-color .2s,box-shadow .2s}.orders-refresh-button:hover{background:#f8fafc;border-color:#c8ced8;box-shadow:0 3px 10px #0f172a14}.orders-refresh-button:disabled{opacity:.6;cursor:not-allowed}.orders-message{border-radius:9px;margin-bottom:18px;padding:12px 15px;font-size:17.5px}.orders-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.orders-success{color:#15803d;background:#ecfdf3;border:1px solid #bbf7d0}.orders-tabs{background:#d1d5db;border:1px solid #c5cad2;border-radius:10px;align-items:center;gap:4px;width:fit-content;margin-bottom:22px;padding:5px;display:flex}.orders-tabs button{color:#596579;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:9px 15px;font-size:16.25px;font-weight:600;transition:background .2s,color .2s,box-shadow .2s;display:flex}.orders-tabs button:hover{color:#172033}.orders-tabs button.active{color:#172033;background:#fff;box-shadow:0 2px 6px #0f172a1f}.orders-tabs button span{color:#475467;background:#e9edf2;border-radius:20px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:13.75px;display:inline-flex}.orders-tabs button.active span{color:#fff;background:#172033}.orders-layout{grid-template-columns:minmax(320px,.85fr) minmax(500px,1.35fr);align-items:start;gap:20px;display:grid}.orders-list{flex-direction:column;gap:16px;display:flex}.order-card{cursor:pointer;background:#fff;border:1px solid #d9dee7;border-radius:13px;padding:17px 18px;transition:border-color .2s,box-shadow .2s,transform .2s;box-shadow:0 3px 10px #0f172a12}.order-card:hover{border-color:#c3cad5;transform:translateY(-1px);box-shadow:0 7px 18px #0f172a1c}.order-card.selected{border-color:#172033;box-shadow:0 0 0 1px #172033,0 7px 18px #0f172a1f}.order-card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.order-card-top strong{color:#172033;font-size:17.5px}.order-card-top span{color:#7b8494;font-size:15px}.order-card-customer{color:#263247;margin-top:9px;font-size:17.5px;font-weight:700}.order-card-bottom{color:#667085;align-items:center;gap:12px;margin-top:13px;font-size:15px;display:flex}.order-card-bottom span{white-space:nowrap}.order-card-bottom strong{color:#172033;margin-left:auto;font-size:17.5px}.order-card-status{border-top:1px solid #e5e7eb;align-items:center;gap:8px;margin-top:14px;padding-top:13px;display:flex}.order-card-status button{color:#344054;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:3px 0;font-size:15px;font-weight:700;transition:color .2s}.order-card-status button:hover{color:#111827}.status-pending,.status-accepted,.status-delivered,.status-cancelled,.payment-paid,.payment-pending{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:4px 8px;font-size:13.75px;font-weight:700;display:inline-flex}.status-pending{color:#c2410c;background:#fff7ed}.status-accepted{color:#1d4ed8;background:#eff6ff}.status-delivered{color:#15803d;background:#ecfdf3}.status-cancelled{color:#b91c1c;background:#fef2f2}.payment-paid{color:#15803d;background:#ecfdf3}.payment-pending{color:#c2410c;background:#fff7ed}.orders-empty{text-align:center;background:#fff;border:1px solid #d9dee7;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:30px;display:flex;box-shadow:0 3px 10px #0f172a0f}.orders-empty-icon{background:#dfe3e8;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:12px;font-size:28.75px;display:flex}.orders-empty h2{color:#172033;margin:0;font-size:21.25px}.orders-empty p{color:#7b8494;margin:7px 0 0;font-size:16.25px}.orders-loading{color:#596579;justify-content:center;align-items:center;min-height:300px;font-size:17.5px;display:flex}.order-detail{background:#fff;border:1px solid #d9dee7;border-radius:13px;min-width:0;padding:22px;box-shadow:0 3px 10px #0f172a12}.order-detail-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:17px;display:flex}.detail-label{color:#7b8494;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px;font-size:13.75px;font-weight:600;display:block}.order-detail-header h2{color:#172033;margin:0;font-size:26.25px}.order-detail-header small{color:#7b8494;margin-top:5px;font-size:13.75px;display:block}.detail-close{color:#667085;cursor:pointer;background:#eef0f3;border:0;border-radius:7px;width:30px;height:30px;font-size:25px;line-height:1;transition:background .2s,color .2s}.detail-close:hover{color:#172033;background:#e1e5ea}.detail-status-row{margin-top:15px}.order-actions{gap:9px;margin-top:16px;display:flex}.order-actions button{cursor:pointer;border:1px solid #0000;border-radius:8px;min-height:40px;padding:0 14px;font-size:15px;font-weight:700;transition:background .2s,border-color .2s,color .2s}.order-actions button:disabled{opacity:.6;cursor:not-allowed}.accept-button{color:#fff;background:#15803d}.accept-button:hover{background:#166534}.cancel-button{color:#b91c1c;background:#fff;border-color:#fecaca!important}.cancel-button:hover{background:#fef2f2}.deliver-button{color:#fff;background:#172033}.deliver-button:hover{background:#111827}.detail-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.detail-card{background:#f8fafc;border:1px solid #e1e5ea;border-radius:10px;margin-top:12px;padding:16px}.detail-grid .detail-card{margin-top:0}.detail-card h3{color:#344054;margin:0 0 12px;font-size:16.25px;font-weight:700}.detail-value{color:#667085;margin-top:5px;font-size:16.25px}.detail-value strong{color:#172033}.detail-products{flex-direction:column;display:flex}.detail-product{color:#344054;border-bottom:1px solid #e8ebef;justify-content:space-between;gap:15px;padding:11px 0;font-size:16.25px;display:flex}.detail-product:first-child{padding-top:0}.detail-product:last-child{border-bottom:0;padding-bottom:0}.detail-product>strong{color:#172033;white-space:nowrap}.product-options{flex-wrap:wrap;gap:5px;margin-top:5px;display:flex}.product-options span{color:#667085;background:#e9edf2;border-radius:5px;padding:3px 6px;font-size:12.5px}.product-note{color:#8a94a6;margin-top:5px;font-size:13.75px;font-style:italic}.detail-totals>div{color:#667085;justify-content:space-between;gap:15px;margin-top:7px;font-size:15px;display:flex}.detail-totals .total-row{color:#172033;border-top:1px solid #e2e6eb;margin-top:12px;padding-top:11px;font-size:17.5px}.detail-totals .total-row strong{color:#172033;font-size:21.25px}.maps-link{color:#2563eb;margin-top:10px;font-size:15px;font-weight:600;text-decoration:none;display:inline-block}.maps-link:hover{text-decoration:underline}.delivery-reference{color:#667085;background:#fff;border:1px solid #e4e7ec;border-radius:7px;margin-top:11px;padding:10px;font-size:15px}.delivery-reference strong{color:#344054}.payment-detail{justify-content:space-between;align-items:center;gap:15px;display:flex}.payment-detail strong{color:#172033;font-size:16.25px}.payment-button{color:#15803d;cursor:pointer;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;width:100%;min-height:38px;margin-top:12px;font-size:15px;font-weight:700;transition:background .2s}.payment-button:hover{background:#dcfce7}.payment-button:disabled{opacity:.6;cursor:not-allowed}.tracking-url{color:#667085;word-break:break-all;background:#fff;border:1px solid #e4e7ec;border-radius:7px;padding:10px;font-size:13.75px;line-height:1.5}.copy-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d9dee7;border-radius:7px;min-height:34px;margin-top:9px;padding:0 11px;font-size:13.75px;font-weight:700;transition:background .2s}.copy-button:hover{background:#f8fafc}.print-buttons{grid-template-columns:1fr 1fr;gap:9px;display:grid}.print-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d9dee7;border-radius:8px;min-height:38px;font-size:13.75px;font-weight:700;transition:background .2s}.print-button:hover{background:#f8fafc}.print-button.secondary{background:#f4f6f8}@media (width<=1100px){.orders-layout{grid-template-columns:1fr}.order-detail{order:-1}}@media (width<=700px){.orders-page{padding:18px 14px}.orders-header{flex-direction:column;align-items:stretch}.orders-refresh-button{align-self:flex-start}.orders-tabs{width:100%;overflow-x:auto}.orders-tabs button{white-space:nowrap}.detail-grid{grid-template-columns:1fr}.order-detail{padding:16px}.order-actions{flex-direction:column}.order-actions button{width:100%}.print-buttons{grid-template-columns:1fr}}@media (width<=480px){.orders-page{padding:14px 10px}.orders-header h1{font-size:30px}.order-card{padding:13px}.order-card-bottom{flex-wrap:wrap;gap:7px}.order-card-bottom strong{margin-left:0}.order-card-status{flex-wrap:wrap}.order-card-status button{text-align:left;width:100%;margin-left:0;padding-top:4px}}@media print{body *{visibility:hidden}.order-detail,.order-detail *{visibility:visible}.order-detail{width:100%;box-shadow:none;border:0;position:absolute;inset:0}.detail-close,.order-actions,.payment-button,.copy-button,.print-buttons{display:none!important}}.order-detail-page{box-sizing:border-box;color:#172033;background:#e5e7eb;width:100%;min-height:100%;padding:24px 30px 40px}.detail-page-top{margin-bottom:12px}.back-to-orders{color:#344054;cursor:pointer;background:#fff;border:1px solid #dce3ec;border-radius:9px;align-items:center;gap:7px;min-height:36px;padding:0 13px;font-size:18px;font-weight:700;text-decoration:none;transition:background .18s,border-color .18s,transform .18s;display:inline-flex;box-shadow:0 2px 7px #1018280a}.back-to-orders:hover{background:#f8fafc;border-color:#cbd5e1;transform:translate(-2px)}.detail-page-header{background:#fff;border:1px solid #e1e7ef;border-radius:14px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:14px;padding:18px 20px;display:flex;box-shadow:0 5px 18px #1018280b}.detail-header-main{min-width:0}.detail-page-eyebrow{color:#7b8798;letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px;font-size:13px;font-weight:800;display:block}.detail-page-header h1{color:#101828;letter-spacing:-.025em;margin:0;font-size:34px;font-weight:800;line-height:1.05}.detail-page-header p{color:#667085;margin:6px 0 0;font-size:16px;line-height:1.4}.detail-header-meta{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.detail-meta-chip{color:#344054;background:#f8fafc;border:1px solid #dce3ec;border-radius:999px;align-items:center;min-height:60px;padding:0 12px;font-size:17px;font-weight:700;line-height:1;display:inline-flex}.detail-header-side{flex-direction:column;flex:none;align-items:flex-end;gap:12px;display:flex}.detail-header-status{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;justify-content:center;align-items:center;width:auto;min-width:0;max-width:100%;min-height:30px;padding:0 10px;font-size:20px;font-weight:800;line-height:1;display:flex;overflow:hidden}.detail-header-status.detail-status-pending{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.detail-header-status.detail-status-accepted{color:#15803d;background:#ecfdf3;border:1px solid #bbf7d0}.detail-header-status.detail-status-delivered{color:#15803d;background:#ecfdf3;border:1px solid #a7f3d0}.detail-header-status.detail-status-cancelled{color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3}.detail-header-print-actions{gap:7px;display:flex}.header-print-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:8px;justify-content:center;align-items:center;min-height:34px;padding:0 11px;font-size:15px;font-weight:800;transition:background .18s,border-color .18s,transform .18s;display:inline-flex}.header-print-button:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px)}.detail-message{border-radius:9px;margin-bottom:14px;padding:11px 14px;font-size:15px;font-weight:600}.detail-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.detail-success{color:#15803d;background:#ecfdf3;border:1px solid #bbf7d0}.detail-actions{align-items:center;gap:9px;margin-bottom:15px;display:flex}.detail-actions button{cursor:pointer;border-radius:8px;min-height:40px;padding:0 15px;font-size:15px;font-weight:800;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}.detail-actions button:hover:not(:disabled){transform:translateY(-1px)}.detail-actions button:disabled{opacity:.55;cursor:not-allowed}.detail-accept-button{color:#fff;background:#16a34a;border:1px solid #15803d;box-shadow:0 4px 10px #16a34a29}.detail-accept-button:hover{background:#15803d}.detail-cancel-button{color:#b91c1c;background:#fff;border:1px solid #fecaca}.detail-cancel-button:hover{background:#fff7f7;border-color:#fca5a5}.detail-deliver-button{color:#fff;background:#172033;border:1px solid #172033;box-shadow:0 4px 10px #17203324}.detail-deliver-button:hover{background:#0f172a}.detail-main-grid{grid-template-columns:minmax(0,1.72fr) minmax(290px,.88fr);align-items:start;gap:14px;width:100%;min-width:0;display:grid}.detail-main-column,.detail-side-column{flex-direction:column;gap:14px;min-width:0;display:flex}.detail-section{box-sizing:border-box;background:#fff;border:1px solid #e2e7ee;border-radius:13px;padding:17px 18px;transition:border-color .18s,box-shadow .18s;position:relative;overflow:visible;box-shadow:0 3px 12px #10182809}.detail-section:hover{border-color:#d7dde6;box-shadow:0 5px 16px #1018280b}.detail-products-section,.detail-customer-section,.detail-summary-section,.detail-delivery-section,.detail-tracking-section,.cancellation-section{border-top:1px solid #e2e7ee}.cancellation-section{background:linear-gradient(snow,#fff);border-color:#fecaca}.detail-section-header{border-bottom:1px solid #edf0f3;align-items:center;margin-bottom:14px;padding-bottom:11px;display:flex}.detail-section-title-wrap{align-items:center;gap:10px;min-width:0;display:flex}.detail-section-icon{background:#fdfdfd;border-radius:9px;flex:none;justify-content:center;align-items:center;width:31px;height:31px;font-size:20px;display:inline-flex;transform:translateY(45px)}.detail-section-header h2{color:#172033;margin:0;font-size:15px;font-weight:800;line-height:1.2}.detail-section-subtitle{color:#98a2b3;margin-top:3px;font-size:15px;font-weight:500;line-height:1.3;display:block}.detail-products-list{flex-direction:column;display:flex}.detail-product-row{border-bottom:1px solid #edf0f3;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:11px;padding:12px 0;display:grid}.detail-product-row:first-child{padding-top:0}.detail-product-row:last-child{border-bottom:0;padding-bottom:0}.detail-product-quantity{color:#175cd3;background:#eef4ff;border-radius:7px;justify-content:center;align-items:center;width:27px;height:27px;font-size:15px;font-weight:800;display:flex}.detail-product-info{min-width:0}.detail-product-name{color:#172033;font-size:15px;font-weight:800;line-height:1.35}.detail-product-price{color:#172033;white-space:nowrap;font-size:15px;font-weight:800}.detail-product-options{flex-wrap:wrap;gap:5px;margin-top:6px;display:flex}.detail-product-options span{color:#667085;background:#f8fafc;border:1px solid #e5eaf0;border-radius:5px;align-items:center;min-height:21px;padding:0 7px;font-size:15px;line-height:1.2;display:inline-flex}.detail-product-note{color:#7b8494;border-left:2px solid #d0d5dd;margin-top:7px;padding-left:8px;font-size:15px;font-style:italic;line-height:1.45}.detail-totals{border-top:1px solid #e5e7eb;margin-top:14px;padding-top:12px}.detail-totals>div{color:#667085;justify-content:space-between;align-items:center;gap:15px;margin-top:7px;font-size:23px;display:flex}.detail-totals>div:first-child{margin-top:0}.detail-totals strong{color:#344054}.detail-total-final{background:linear-gradient(135deg,#eef5ff,#f5f8ff);border-radius:9px;color:#344054!important;border:0!important;margin-top:11px!important;padding:11px 12px!important;font-size:22px!important}.detail-total-final strong{color:#101828;letter-spacing:-.02em;font-size:26px;font-weight:800}.customer-info{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-main{flex-direction:column;gap:5px;min-width:0;display:flex}.customer-main strong{color:#172033;font-size:15px;font-weight:800;line-height:1.3}.customer-main span{color:#667085;font-size:15.6px}.small-copy-button{color:#175cd3;cursor:pointer;background:#f5f9ff;border:1px solid #cfe0ff;border-radius:7px;flex:none;min-height:30px;padding:0 9px;font-size:15px;font-weight:800;transition:all .18s}.small-copy-button:hover{background:#eaf2ff;border-color:#b7d0ff}.detail-summary-list{flex-direction:column;display:flex}.detail-summary-row{color:#7b8494;border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;gap:10px;min-height:34px;font-size:15px;display:flex}.detail-summary-row:last-child{border-bottom:0}.detail-summary-row strong{color:#344054;text-align:right;font-size:15px;font-weight:800}.detail-payment-status-row{padding:2px 0}.payment-paid-detail,.payment-pending-detail{white-space:nowrap;border-radius:999px;align-items:center;min-height:23px;padding:0 8px;font-size:15px;font-weight:800;display:inline-flex}.payment-paid-detail{color:#15803d;background:#ecfdf3;border:1px solid #bbf7d0}.payment-pending-detail{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.mark-paid-button{color:#15803d;cursor:pointer;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;width:100%;min-height:36px;margin-top:11px;font-size:15px;font-weight:800;transition:all .18s}.mark-paid-button:hover{background:#dcfce7;border-color:#4ade80;transform:translateY(-1px)}.mark-paid-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.delivery-info{color:#667085;flex-direction:column;gap:9px;font-size:15px;line-height:1.45;display:flex}.delivery-reference{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:3px;padding:10px 11px;display:flex}.delivery-reference-label{color:#98a2b3;text-transform:uppercase;letter-spacing:.04em;font-size:15px;font-weight:700}.delivery-reference strong{color:#344054;font-size:15px;font-weight:600}.maps-link{box-sizing:border-box;color:#175cd3;background:#f5f9ff;border:1px solid #cfe0ff;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:36px;padding:0 10px;font-size:15px;font-weight:800;text-decoration:none;transition:all .18s;display:flex}.maps-link:hover{background:#eaf2ff;border-color:#b7d0ff}.tracking-url-detail{color:#6941c6;word-break:break-all;background:#faf7ff;border:1px solid #e9d5ff;border-radius:8px;padding:9px 10px;font-size:15px;line-height:1.45}.copy-tracking-button{color:#6941c6;cursor:pointer;background:#f8f4ff;border:1px solid #d9c2ff;border-radius:8px;width:100%;min-height:35px;margin-top:8px;font-size:15px;font-weight:800;transition:all .18s}.copy-tracking-button:hover{background:#f0e8ff;border-color:#c9a7ff;transform:translateY(-1px)}.cancellation-section p{color:#667085;margin:0;font-size:15px;line-height:1.5}.detail-muted{color:#98a2b3;margin:0;font-size:15px;line-height:1.5}.order-detail-loading{color:#667085;justify-content:center;align-items:center;min-height:400px;font-size:15px;display:flex}.order-detail-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:9px;margin-top:15px;padding:14px;font-size:15px}@media (width<=1100px){.order-detail-page{padding:20px 22px 35px}.detail-page-header{flex-direction:column;align-items:stretch;gap:16px}.detail-header-side{align-items:stretch;width:100%}.detail-header-status{align-self:flex-start}.detail-header-print-actions{width:100%}.header-print-button{flex:1 1 0}.detail-main-grid{grid-template-columns:1fr;gap:16px}}@media (width<=900px){.order-detail-page{padding:18px 20px 32px}.detail-page-header{padding:17px 18px}.detail-page-eyebrow{font-size:12px}.detail-page-header h1{font-size:32px}.detail-page-header p{font-size:15px}.detail-meta-chip{min-height:46px;padding:0 12px;font-size:16px}.detail-header-status{font-size:18px}.header-print-button{font-size:15px}.detail-actions{flex-wrap:wrap}.detail-actions button{font-size:15px}.detail-section{padding:17px}.detail-section-header h2{font-size:18px}.detail-section-subtitle{font-size:13px}.detail-product-name,.detail-product-price{font-size:16px}.detail-summary-row,.detail-summary-row strong{font-size:14px}.customer-main strong{font-size:17px}.small-copy-button,.maps-link,.copy-tracking-button{font-size:15px}.tracking-url-detail{font-size:14px}}@media (width<=700px){.order-detail-page{padding:15px 13px 28px}.detail-page-top{margin-bottom:12px}.back-to-orders{min-height:40px;padding:0 12px;font-size:17px}.detail-page-header{border-radius:13px;padding:16px}.detail-page-header h1{font-size:29px}.detail-page-header p{font-size:14px}.detail-header-meta{flex-direction:column;align-items:stretch;gap:8px}.detail-meta-chip{width:fit-content;min-height:42px;font-size:15px}.detail-header-side{gap:9px}.detail-header-status{box-sizing:border-box;text-align:center;align-self:flex-start;width:100%;padding:6px 12px;font-size:14px;line-height:1.1}.detail-header-print-actions{flex-direction:column;gap:8px}.header-print-button{width:100%;min-height:40px;font-size:15px}.detail-actions{flex-direction:column;gap:8px}.detail-actions button{width:100%;min-height:42px;font-size:15px}.detail-section{border-radius:12px;padding:15px}.detail-section-header{margin-bottom:12px;padding-bottom:10px}.detail-section-icon{text-align:center;width:30px;min-width:30px;height:30px;font-size:19px;line-height:30px;overflow:visible;transform:translateY(35px)}.detail-section-header h2{font-size:17px}.detail-section-subtitle{font-size:13px}.detail-product-row{grid-template-columns:27px minmax(0,1fr) auto;gap:8px}.detail-product-name,.detail-product-price{font-size:15px}.detail-product-price{white-space:nowrap}.detail-summary-row,.detail-summary-row strong{font-size:13px}.detail-total-final strong{font-size:23px}.customer-info{flex-direction:column;align-items:flex-start}.customer-main strong{font-size:17px}.small-copy-button{width:100%;min-height:40px;font-size:15px}.maps-link,.copy-tracking-button{min-height:40px;font-size:15px}.tracking-url-detail{font-size:13px}.cancellation-section p,.detail-muted{font-size:14px}}@media (width<=480px){.order-detail-page{padding:12px 10px 24px}.detail-page-header{padding:14px}.detail-page-header h1{font-size:27px}.detail-page-header p{font-size:13px}.detail-meta-chip{min-height:40px;font-size:14px}.detail-section{padding:14px}.detail-section-header h2{font-size:16px}.detail-section-subtitle{font-size:12px}.detail-product-row{grid-template-columns:26px minmax(0,1fr) auto}.detail-product-name,.detail-product-price{font-size:14px}.detail-summary-row,.detail-summary-row strong{font-size:12.5px}.detail-total-final strong{font-size:21px}}@media (width<=360px){.detail-section-icon{width:28px;min-width:28px;height:28px;font-size:18px;line-height:28px;transform:translateY(35px)}.order-detail-page{padding:10px 8px 22px}.detail-page-header{padding:13px}.detail-page-header h1{font-size:25px}.detail-header-meta{gap:7px}.detail-meta-chip{font-size:13.5px}.detail-product-row{grid-template-columns:26px minmax(0,1fr)}.detail-product-price{grid-column:2;justify-self:end;margin-top:-2px}}@media print{body{visibility:hidden}.order-detail-page,.order-detail-page{visibility:visible}.order-detail-page{background:#fff;width:100%;padding:15px;position:absolute;inset:0}.detail-page-top,.detail-actions,.detail-header-print-actions,.mark-paid-button,.copy-tracking-button,.small-copy-button{display:none!important}.detail-page-header,.detail-section{box-shadow:none!important}}.detail-rider-order-button{color:#fff;cursor:pointer;background:#5406fb;border:none;border-radius:10px;min-height:44px;padding:0 18px;font-size:14px;font-weight:700;transition:background .2s,transform .2s}.detail-rider-order-button:hover{background:#0284c7;transform:translateY(-1px)}.detail-rider-order-button:active{transform:translateY(0)}.delivery-settings-page{box-sizing:border-box;color:#172033;background:#e5e7eb;width:100%;min-height:100%;padding:28px 32px 40px}.delivery-settings-header{margin-bottom:24px}.delivery-settings-eyebrow{color:#667085;letter-spacing:.1em;text-transform:uppercase;margin-bottom:5px;font-size:10px;font-weight:800;display:block}.delivery-settings-header h1{color:#101828;letter-spacing:-.02em;margin:0;font-size:30px;font-weight:800;line-height:1.1}.delivery-settings-header p{color:#667085;max-width:680px;margin:8px 0 0;font-size:16px;line-height:1.5}.delivery-settings-message{border-radius:9px;margin-bottom:18px;padding:13px 15px;font-size:18px;font-weight:600}.delivery-settings-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.delivery-settings-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.delivery-settings-card{box-sizing:border-box;background:#fff;border:1px solid #d9dee7;border-radius:14px;width:100%;max-width:900px;padding:24px;box-shadow:0 4px 14px #0f172a12}.delivery-settings-card-header{border-bottom:1px solid #e5e7eb;align-items:flex-start;gap:13px;margin-bottom:26px;padding-bottom:18px;display:flex}.delivery-settings-icon{background:#f3f5f8;border-radius:9px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;font-size:17px;display:inline-flex}.delivery-settings-card-header h2{color:#172033;margin:0;font-size:25px;font-weight:800}.delivery-settings-card-header p{color:#667085;margin:5px 0 0;font-size:16px;line-height:1.45}.delivery-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 22px;display:grid}.delivery-field{min-width:0}.delivery-field label{color:#344054;margin-bottom:8px;font-size:20px;font-weight:700;display:block}.delivery-field small{color:#7b8798;margin-top:8px;font-size:18px;line-height:1.45;display:block}.delivery-field input{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #d9dee7;border-radius:8px;outline:none;width:100%;height:42px;font-family:inherit;font-size:20px;font-weight:600;transition:border-color .18s,box-shadow .18s}.delivery-field input:focus{border-color:#98a2b3;box-shadow:0 0 0 3px #47546714}.delivery-field input:disabled{cursor:not-allowed;background:#f8fafc}.delivery-input-prefix{background:#fff;border:1px solid #d9dee7;border-radius:8px;align-items:center;height:42px;transition:border-color .18s,box-shadow .18s;display:flex;overflow:hidden}.delivery-input-prefix:focus-within{border-color:#98a2b3;box-shadow:0 0 0 3px #47546714}.delivery-input-prefix span{color:#667085;flex:none;padding-left:12px;font-size:25px;font-weight:700}.delivery-input-prefix input{border:0;border-radius:0;height:40px;padding:0 11px;box-shadow:none!important}.delivery-input-suffix{background:#fff;border:1px solid #d9dee7;border-radius:8px;align-items:center;height:42px;transition:border-color .18s,box-shadow .18s;display:flex;overflow:hidden}.delivery-input-suffix:focus-within{border-color:#98a2b3;box-shadow:0 0 0 3px #47546714}.delivery-input-suffix input{border:0;border-radius:0;height:40px;padding:0 11px;box-shadow:none!important}.delivery-input-suffix span{color:#667085;flex:none;padding-right:12px;font-size:18px;font-weight:700}.delivery-settings-actions{justify-content:flex-start;width:100%;max-width:900px;margin-top:18px;display:flex}.delivery-save-button{color:#fff;cursor:pointer;background:#172033;border:1px solid #172033;border-radius:8px;min-width:170px;min-height:42px;padding:0 18px;font-family:inherit;font-size:20px;font-weight:800;transition:background .18s,transform .18s}.delivery-save-button:hover{background:#101828;transform:translateY(-1px)}.delivery-save-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.delivery-settings-loading{color:#697386;justify-content:center;align-items:center;min-height:400px;font-size:14px;display:flex}@media (width<=900px){.delivery-settings-page{padding:24px 20px 34px}.delivery-settings-grid{gap:22px 18px}}@media (width<=760px){.delivery-settings-page{padding:22px 18px 32px}.delivery-settings-header{margin-bottom:20px}.delivery-settings-header h1{font-size:26px}.delivery-settings-header p{font-size:15px}.delivery-settings-card{padding:18px}.delivery-settings-card-header{margin-bottom:22px}.delivery-settings-card-header h2{font-size:22px}.delivery-settings-card-header p{font-size:15px}.delivery-settings-grid{grid-template-columns:1fr;gap:19px}.delivery-field label{font-size:19px}.delivery-field small{font-size:17px}.delivery-settings-actions,.delivery-save-button{width:100%}}@media (width<=480px){.delivery-settings-page{padding:18px 12px 28px}.delivery-settings-card{padding:16px}.delivery-settings-card-header{gap:10px}.delivery-settings-icon{width:36px;height:36px;font-size:15px}.delivery-settings-card-header h2{font-size:20px}.delivery-field label{font-size:18px}.delivery-field small{font-size:16px}}.configuracion-page{box-sizing:border-box;color:#111827;background:#e5e7eb;width:100%;max-width:1240px;min-height:100%;margin:0 auto;padding:30px 32px 50px}.configuracion-header{margin-bottom:24px}.configuracion-header>span{color:#64748b;letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px;font-size:14px;font-weight:800;display:block}.configuracion-header h1{color:#0f172a;letter-spacing:-.6px;margin:0;font-size:32px;font-weight:850;line-height:1.15}.configuracion-header p{color:#64748b;margin:6px 0 0;font-size:16px;line-height:1.5}.configuracion-loading,.configuracion-error{color:#64748b;text-align:center;box-sizing:border-box;background:#fff;border:1px solid #d9dee7;border-radius:15px;padding:40px;box-shadow:0 4px 14px #0f172a0f}.configuracion-success,.configuracion-inline-error{box-sizing:border-box;border-radius:12px;margin-bottom:20px;padding:12px 16px;font-size:14px;font-weight:600}.configuracion-success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.configuracion-inline-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.configuracion-card{box-sizing:border-box;background:#fff;border:1px solid #d9dee7;border-radius:15px;margin-bottom:20px;padding:24px;box-shadow:0 4px 14px #0f172a0f}.configuracion-card-title{border-bottom:1px solid #e5e7eb;align-items:center;gap:16px;margin-bottom:22px;padding-bottom:18px;display:flex;position:relative}.configuracion-card-title>span{background:#f1f5f9;border-radius:14px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;font-size:22px;display:flex}.configuracion-card-title h2{color:#0f172a;margin:0;font-size:20px;font-weight:850;line-height:1.25}.configuracion-card-title p{color:#64748b;margin:4px 0 0;font-size:14px;line-height:1.45}.configuracion-readonly-badge{color:#64748b;background:#f1f5f9;border-radius:999px;flex:none;margin-left:auto;padding:8px 12px;font-size:12px;font-weight:700}.configuracion-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.configuracion-info-grid-three{grid-template-columns:1fr 1fr 1.4fr}.configuracion-info-grid>div,.configuracion-address{flex-direction:column;gap:8px;min-width:0;display:flex}.configuracion-info-grid label,.configuracion-address label,.configuracion-field label{color:#64748b;font-size:13px;font-weight:700}.configuracion-info-grid strong,.configuracion-address strong{color:#0f172a;font-size:16px;font-weight:650;line-height:1.5}.configuracion-subsection{border-top:1px solid #e5e7eb;margin-top:26px;padding-top:24px}.configuracion-subsection-title{align-items:center;gap:12px;margin-bottom:18px;display:flex}.configuracion-subsection-title>span{font-size:20px}.configuracion-subsection-title h3{color:#0f172a;margin:0;font-size:17px;font-weight:800;line-height:1.25}.configuracion-subsection-title p{color:#64748b;margin:3px 0 0;font-size:13px;line-height:1.45}.configuracion-location-grid{grid-template-columns:1.4fr .8fr;align-items:stretch;gap:22px;display:grid}.configuracion-map-button{color:#fff;background:#0f172a;border-radius:11px;justify-content:center;align-items:center;width:max-content;margin-top:10px;padding:11px 16px;font-size:14px;font-weight:700;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}.configuracion-map-button:hover{background:#1e293b;transform:translateY(-1px)}.configuracion-images{grid-template-columns:.85fr 1.15fr;gap:22px;display:grid}.configuracion-image-panel{min-width:0}.configuracion-image-heading{margin-bottom:12px}.configuracion-image-heading h3{color:#0f172a;margin:0;font-size:16px;font-weight:800}.configuracion-image-heading p{color:#64748b;margin:4px 0 0;font-size:13px;line-height:1.45}.configuracion-logo-preview,.configuracion-cover-preview{box-sizing:border-box;background:#f8fafc;border:1px solid #dfe4eb;border-radius:15px;width:100%;overflow:hidden}.configuracion-logo-preview{justify-content:center;align-items:center;height:240px;display:flex}.configuracion-logo-preview img{object-fit:contain;box-sizing:border-box;width:100%;height:100%;padding:18px;display:block}.configuracion-cover-preview{height:240px}.configuracion-cover-preview img{object-fit:cover;width:100%;height:100%;display:block}.configuracion-empty-image{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;font-size:14px;display:flex}.configuracion-empty-image span{font-size:30px}.configuracion-upload-button{color:#0f172a;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:11px;justify-content:center;align-items:center;min-width:180px;margin-top:12px;padding:11px 16px;font-size:14px;font-weight:700;transition:background .15s,border-color .15s,transform .15s;display:inline-flex;position:relative}.configuracion-upload-button:hover{background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px)}.configuracion-upload-button.disabled{opacity:.55;cursor:not-allowed;transform:none}.configuracion-upload-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.configuracion-image-panel small{color:#94a3b8;margin-top:8px;font-size:13px;display:block}.configuracion-permission-note{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;margin-bottom:18px;padding:12px 14px;font-size:14px;line-height:1.5}.configuracion-bank-form{width:100%}.configuracion-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;display:grid}.configuracion-field{flex-direction:column;gap:8px;min-width:0;display:flex}.configuracion-field label span{color:#dc2626}.configuracion-field input,.configuracion-field textarea{color:#0f172a;width:100%;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:11px;outline:none;font-size:16px;transition:border-color .15s,box-shadow .15s,background .15s}.configuracion-field input{height:46px;padding:0 13px}.configuracion-field textarea{resize:vertical;min-height:88px;padding:12px 13px}.configuracion-field input:focus,.configuracion-field textarea:focus{border-color:#64748b;box-shadow:0 0 0 3px #64748b1f}.configuracion-field input:disabled,.configuracion-field textarea:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc}.configuracion-field-full{margin-top:20px}.configuracion-bank-footer{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:24px;margin-top:22px;padding-top:20px;display:flex}.configuracion-bank-note{align-items:flex-start;gap:9px;max-width:620px;display:flex}.configuracion-bank-note span{flex:none;font-size:18px;line-height:1.5}.configuracion-bank-note p{color:#64748b;margin:0;font-size:14px;line-height:1.5}.configuracion-save-button{color:#fff;cursor:pointer;background:#0f172a;border:0;border-radius:11px;flex:none;min-height:46px;padding:0 20px;font-size:15px;font-weight:700;transition:background .15s,transform .15s,opacity .15s}.configuracion-save-button:hover:not(:disabled){background:#1e293b;transform:translateY(-1px)}.configuracion-save-button:disabled{opacity:.55;cursor:wait;transform:none}@media (width<=960px){.configuracion-info-grid-three,.configuracion-location-grid,.configuracion-images{grid-template-columns:1fr}.configuracion-logo-preview,.configuracion-cover-preview{height:240px}}@media (width<=768px){.configuracion-page{padding:24px 20px 40px}.configuracion-header{margin-bottom:20px}.configuracion-header h1{font-size:27px}.configuracion-header p{font-size:15px}.configuracion-card{border-radius:14px;margin-bottom:18px;padding:20px}.configuracion-card-title{align-items:flex-start;gap:13px;margin-bottom:20px;padding-bottom:17px}.configuracion-readonly-badge{display:none}.configuracion-info-grid,.configuracion-info-grid-three,.configuracion-form-grid,.configuracion-location-grid{grid-template-columns:1fr}.configuracion-coordinates{grid-template-columns:repeat(2,minmax(0,1fr))}.configuracion-images{grid-template-columns:1fr}.configuracion-bank-footer{flex-direction:column;align-items:stretch}.configuracion-bank-note{max-width:none}.configuracion-save-button{width:100%}}@media (width<=480px){.configuracion-page{padding:18px 12px 32px}.configuracion-header h1{font-size:25px}.configuracion-header p{font-size:14px}.configuracion-card{border-radius:13px;padding:16px}.configuracion-card-title{gap:11px}.configuracion-card-title>span{flex-basis:40px;width:40px;height:40px;font-size:19px}.configuracion-card-title h2{font-size:18px}.configuracion-card-title p{font-size:13px}.configuracion-info-grid strong,.configuracion-address strong{font-size:15px}.configuracion-subsection{margin-top:22px;padding-top:20px}.configuracion-coordinates{grid-template-columns:1fr}.configuracion-logo-preview,.configuracion-cover-preview{height:200px}.configuracion-upload-button{width:100%}.configuracion-field input,.configuracion-field textarea{font-size:16px}.configuracion-bank-note p{font-size:13px}}.compartir-tienda{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:16px;width:100%;padding:24px;display:flex}.compartir-tienda h2{color:#1f2937;margin:0;font-size:29px;font-weight:700}.compartir-tienda>p{color:#6b7280;margin:-8px 0 4px;font-size:20px}.compartir-contenido{grid-template-columns:minmax(0,1fr) minmax(220px,1fr);align-items:center;gap:30px;width:100%;display:grid}.compartir-enlace{flex-direction:column;align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.compartir-enlace input{color:#374151;box-sizing:border-box;background:#f9fafb;border:1px solid #d1d5db;border-radius:8px;width:100%;min-width:0;max-width:600px;height:44px;padding:0 12px;font-size:18px}.compartir-enlace button,.compartir-qr button{color:#fff;cursor:pointer;background:#166534;border:none;border-radius:8px;min-height:44px;padding:0 18px;font-size:22px;font-weight:600;transition:background .2s}.compartir-enlace button:hover,.compartir-qr button:hover{background:#14532d}.compartir-enlace button:disabled,.compartir-qr button:disabled{opacity:.5;cursor:not-allowed}.compartir-qr{flex-direction:column;justify-content:center;align-items:center;gap:12px;min-width:0;display:flex}.compartir-qr img{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:190px;max-width:100%;height:auto;padding:10px;display:block}@media (width<=700px){.compartir-tienda{padding:18px 14px}.compartir-contenido{grid-template-columns:1fr;gap:24px}.compartir-enlace{width:100%}.compartir-enlace input,.compartir-enlace button{width:100%;max-width:none}.compartir-qr{align-items:center}.compartir-qr img{width:200px}.compartir-qr button{width:100%}}.quotes-page{box-sizing:border-box;color:#172033;background:#e5e7eb;width:100%;max-width:1200px;min-height:100%;margin:0 auto;padding:28px 32px 40px}.quotes-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.quotes-heading h1{color:#111827;margin:0;font-size:30px;font-weight:800;line-height:1.15}.quotes-heading p{color:#667085;margin:8px 0 0;font-size:16px;line-height:1.5}.buy-quotes-button,.secondary-buy-button{color:#fff;cursor:pointer;white-space:nowrap;background:#111827;border:0;border-radius:9px;height:44px;padding:0 18px;font-family:inherit;font-size:15px;font-weight:700;transition:background .2s,transform .2s}.buy-quotes-button:hover,.secondary-buy-button:hover{background:#1f2937;transform:translateY(-1px)}.secondary-buy-button{margin-top:18px}.quotes-inline-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:20px;padding:12px 14px;font-size:15px}.purchase-success{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;align-items:center;gap:14px;margin-bottom:22px;padding:16px 18px;display:flex}.purchase-success-icon{color:#fff;background:#047857;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-weight:800;display:flex}.purchase-success>div:nth-child(2){flex:1}.purchase-success strong{color:#065f46;display:block}.purchase-success p{color:#047857;margin:4px 0;font-size:13px}.purchase-success small{color:#059669}.purchase-success button{color:#047857;cursor:pointer;background:0 0;border:0;font-weight:700}.quotes-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:30px;display:grid}.quote-balance-card,.quote-status-card{background:#fff;border:1px solid #d9dee7;border-radius:14px;padding:24px;box-shadow:0 4px 14px #0f172a0f}.quote-balance-card{align-items:center;gap:18px;display:flex}.quote-balance-icon{background:#f3f4f6;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:58px;height:58px;font-size:27px;display:flex}.quote-balance-info{flex-direction:column;display:flex}.quote-balance-info span{color:#6b7280;font-size:24px}.quote-balance-info strong{color:#0b7f04;margin-top:4px;font-size:45px;font-weight:900;line-height:1}.quote-balance-info small{color:#121d2f;margin-top:6px;font-size:14px}.quote-status-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.quote-status-header>span:first-child{color:#112718;font-weight:700}.quote-status-card p{color:#141e31;margin:16px 0 0;line-height:1.5}.status-badge,.package-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:5px 10px;font-size:15px;font-weight:700;display:inline-flex}.status-badge.active,.package-status.active{color:#047857;background:#ecfdf5}.status-badge.inactive,.package-status.expired,.package-status.cancelled{color:#b91c1c;background:#fef2f2}.package-status.exhausted{color:#162035;background:#f3f4f6}.quotes-section{margin-bottom:30px}.section-header{margin-bottom:14px}.section-header h2{color:#111827;margin:0;font-size:19px;font-weight:800}.section-header p{color:#596579;margin:5px 0 0;font-size:16px;line-height:1.5}.empty-card{text-align:center;background:#fff;border:1px solid #d9dee7;border-radius:14px;padding:34px 24px;box-shadow:0 4px 14px #0f172a0d}.empty-icon{margin-bottom:10px;font-size:30px}.empty-card h3{color:#111827;margin:0;font-size:18px}.empty-card p{color:#596579;margin:8px 0 0;line-height:1.5}.active-package-card{background:#fff;border:1px solid #d9dee7;border-radius:14px;padding:24px;box-shadow:0 4px 14px #0f172a0f}.package-main{justify-content:space-between;align-items:center;gap:20px;display:flex}.package-label{color:#039741;letter-spacing:.08em;font-size:21px;font-weight:800}.package-main h3{color:#111827;margin:6px 0 0;font-size:22px;font-weight:800}.package-balance{text-align:right}.package-balance strong{color:#05941f;font-size:40px;line-height:1;display:block}.package-balance span{color:#121a2a;margin-top:5px;font-size:16px;display:block}.package-details{border-top:1px solid #e5e7eb;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:24px;padding-top:20px;display:grid}.package-details div{flex-direction:column;gap:5px;display:flex}.package-details span{color:#667085;font-size:14px}.package-details strong{color:#111827;font-size:17px}.packages-table-wrapper{background:#fff;border:1px solid #d9dee7;border-radius:14px;overflow-x:auto;box-shadow:0 4px 14px #0f172a0d}.packages-table{border-collapse:collapse;width:100%;min-width:850px}.packages-table th,.packages-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #eef0f3;padding:14px 16px}.packages-table th{color:#667085;background:#f8fafc;font-size:15px;font-weight:700}.packages-table td{color:#374151;font-size:15px}.packages-table tbody tr:last-child td{border-bottom:0}.packages-table td strong{color:#111827}.movements-list{background:#fff;border:1px solid #d9dee7;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px #0f172a0d}.movement-row{border-bottom:1px solid #eef0f3;grid-template-columns:44px 1fr auto 90px;align-items:center;gap:14px;padding:16px 18px;display:grid}.movement-row:last-child{border-bottom:0}.movement-icon{color:#111827;background:#f3f4f6;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;font-weight:700;display:flex}.movement-info{flex-direction:column;gap:3px;min-width:0;display:flex}.movement-info strong{color:#111827}.movement-info span{color:#596579;font-size:15px;line-height:1.4}.movement-info small{color:#9ca3af;font-size:12px}.movement-quantity{font-size:16px;font-weight:800}.movement-quantity.positive{color:#047857}.movement-quantity.negative{color:#b91c1c}.movement-balance{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.movement-balance span{color:#9ca3af;font-size:11px}.movement-balance strong{color:#111827}.quotes-loading{color:#6b7280;justify-content:center;align-items:center;min-height:400px;font-size:15px;display:flex}.quotes-error{text-align:center;background:#fff;border:1px solid #d9dee7;border-radius:14px;max-width:600px;margin:60px auto;padding:30px;box-shadow:0 4px 14px #0f172a0f}.quotes-error h2{color:#111827;margin:0}.quotes-error p{color:#6b7280;margin:10px 0 20px}.quotes-error button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:8px;height:42px;padding:0 18px;font-family:inherit;font-weight:600}.purchase-overlay{z-index:2000;background:#1118278c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.purchase-modal{background:#fff;border-radius:16px;width:100%;max-width:760px;max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 20px 60px #0003}.purchase-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;display:flex}.purchase-modal-header span{color:#6b7280;letter-spacing:.08em;font-size:11px;font-weight:800}.purchase-modal-header h2{color:#111827;margin:5px 0 0;font-size:23px}.purchase-modal-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.purchase-close{color:#374151;cursor:pointer;background:#f3f4f6;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:24px;line-height:1;transition:background .2s;display:flex}.purchase-close:hover{background:#e5e7eb}.purchase-packages{background:#f8fafc;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 24px;display:grid}.purchase-package-card{box-sizing:border-box;text-align:left;color:#111827;cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:14px;width:100%;padding:20px;transition:border-color .2s,box-shadow .2s,transform .2s;position:relative;overflow:hidden;box-shadow:0 2px 6px #0f172a0a}.purchase-package-card:before{content:"";background:#e5e7eb;border-radius:14px 14px 0 0;height:4px;transition:background .2s;position:absolute;top:0;left:0;right:0}.purchase-package-card:hover{border-color:#2563eb;transform:translateY(-3px);box-shadow:0 10px 26px #2563eb1f}.purchase-package-card:hover:before{background:#2563eb}.purchase-package-card:active{transform:translateY(-1px)}.purchase-package-card.selected{border-color:#2563eb;transform:translateY(-2px);box-shadow:0 0 0 2px #2563eb,0 10px 28px #2563eb29}.purchase-package-card.selected:before{background:#2563eb}.purchase-package-card:disabled{opacity:.65;cursor:not-allowed;transform:none}.purchase-package-card:disabled:before{background:#e5e7eb}.purchase-package-top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.purchase-package-label{color:#64748b;letter-spacing:.08em;font-size:10px;font-weight:800}.purchase-package-top h3{color:#111827;margin:6px 0 0;font-size:20px;font-weight:800}.purchase-package-price{color:#111827;white-space:nowrap;font-size:22px;font-weight:900}.purchase-package-details{color:#64748b;flex-direction:column;gap:7px;margin-top:20px;font-size:14px;display:flex}.purchase-package-details strong{color:#111827;font-size:15px}.purchase-selected{color:#047857;border-top:1px solid #e5e7eb;margin-top:14px;padding-top:12px;font-size:13px;font-weight:700}.purchase-package-card:nth-child(5){background:linear-gradient(#fff 0%,#f8faff 100%);border-color:#c7d2fe}.purchase-package-card:nth-child(5):before{background:#4f46e5}.purchase-package-card:nth-child(5):hover{border-color:#4f46e5;box-shadow:0 10px 28px #4f46e529}.purchase-confirmation{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin:0 24px 24px;padding:18px;display:flex}.purchase-confirmation>div{flex-direction:column;gap:4px;display:flex}.purchase-confirmation span{color:#6b7280;font-size:12px}.purchase-confirmation strong{color:#111827}.purchase-confirmation small{color:#6b7280}.purchase-confirm-button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:9px;flex-shrink:0;height:44px;padding:0 18px;font-family:inherit;font-weight:700;transition:background .2s}.purchase-confirm-button:hover{background:#1f2937}.purchase-confirm-button:disabled{opacity:.6;cursor:not-allowed}.purchase-empty{text-align:center;padding:50px 24px}.purchase-empty h3{margin:0}.purchase-empty p{color:#6b7280;margin:8px 0 0}.quote-request-history{background:#fff;border:1px solid #d9dee7;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px #0f172a0d}.quote-request-history-row{border-bottom:1px solid #eef0f3;padding:20px 22px}.quote-request-history-row:last-child{border-bottom:0}.quote-request-history-main{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.quote-request-history-main>div:first-child{min-width:0}.quote-request-history-main strong{color:#111827;font-size:15px;font-weight:700;display:block}.quote-request-history-meta{color:#6b7280;flex-wrap:wrap;align-items:center;gap:7px;margin-top:6px;font-size:13px;display:flex}.quote-request-status{text-align:center;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;min-width:112px;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.quote-request-status.pending{color:#c2410c;background:#fff7ed}.quote-request-status.activated{color:#047857;background:#ecfdf5}.quote-request-status.rejected{color:#b91c1c;background:#fef2f2}.quote-request-status.cancelled{color:#6b7280;background:#f3f4f6}.quote-request-history-details{border-top:1px solid #eef0f3;grid-template-columns:180px 180px minmax(0,1fr);align-items:start;gap:18px;margin-top:18px;padding-top:16px;display:grid}.quote-request-history-details>div{flex-direction:column;gap:5px;min-width:0;display:flex}.quote-request-history-details span{color:#9ca3af;font-size:11px;font-weight:700}.quote-request-history-details strong{color:#374151;font-size:13px;font-weight:600;line-height:1.45}.quote-request-rejection{background:#fff7f7;border:1px solid #fecaca;border-radius:8px;padding:10px 12px}.quote-request-rejection span{color:#b91c1c}.quote-request-rejection strong{color:#991b1b}.history-view-all-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;margin:14px auto 0;padding:9px 16px;font-size:13px;font-weight:700;transition:background .2s,border-color .2s;display:block}.history-view-all-button:hover{background:#f9fafb;border-color:#9ca3af}.history-modal-overlay{z-index:1000;background:#1118278c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.history-modal{background:#fff;border-radius:16px;width:min(1100px,100%);max-height:90vh;overflow:hidden;box-shadow:0 20px 60px #0003}.history-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.history-modal-header h2{color:#111827;margin:0;font-size:20px;font-weight:800}.history-modal-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.history-modal-close{color:#374151;cursor:pointer;background:#f3f4f6;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:24px;line-height:1;transition:background .2s;display:flex}.history-modal-close:hover{background:#e5e7eb}.history-modal-content{max-height:calc(90vh - 100px);padding:24px;overflow-y:auto}.history-modal-content .quote-request-history,.history-modal-content .quote-movement-history{border:1px solid #d9dee7;border-radius:14px;overflow:hidden}.history-modal-content .quote-request-history-row{border-bottom:1px solid #eef0f3;padding:20px 22px}.history-modal-content .quote-request-history-row:last-child{border-bottom:0}.history-modal-content .quote-movement-row{border-bottom:1px solid #eef0f3}.history-modal-content .quote-movement-row:last-child{border-bottom:0}.quote-movement-history{background:#fff;border:1px solid #d9dee7;border-radius:14px;overflow:hidden}.quote-movement-row{border-bottom:1px solid #eef0f3;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;display:grid}.quote-movement-row:last-child{border-bottom:0}.quote-movement-icon{color:#111827;background:#f3f4f6;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;font-weight:700;display:flex}.quote-movement-info{flex-direction:column;gap:3px;min-width:0;display:flex}.quote-movement-info strong{color:#111827;line-height:1.3}.quote-movement-info span{color:#596579;word-break:break-word;line-height:1.4}.quote-movement-info small{color:#9ca3af;font-size:12px}.quote-movement-amount{white-space:nowrap;justify-content:flex-end;align-items:center;gap:5px;display:flex}.quote-movement-amount span{color:#6b7280;font-size:15px}.quote-movement-amount strong{color:#111827;font-size:22px;font-weight:800}@media (width<=800px){.quotes-page{padding:24px 20px 34px}.quotes-summary{grid-template-columns:1fr}.package-details{grid-template-columns:repeat(2,minmax(0,1fr))}.movement-row{grid-template-columns:40px minmax(0,1fr) auto}.movement-balance{display:none}.quote-request-history-main{flex-direction:column;gap:12px}.quote-request-status{align-self:flex-start}.quote-request-history-details{grid-template-columns:1fr 1fr}.quote-request-rejection{grid-column:1/-1}.history-modal-overlay{padding:12px}.history-modal{max-height:94vh}.history-modal-content{max-height:calc(94vh - 100px);padding:16px}}@media (width<=700px){.quotes-heading{flex-direction:column}.buy-quotes-button{width:100%}.purchase-packages{grid-template-columns:1fr}.purchase-confirmation{flex-direction:column;align-items:stretch}.purchase-confirm-button{width:100%}}@media (width<=520px){.quotes-page{padding:18px 12px 28px}.quotes-heading{margin-bottom:22px}.quotes-heading h1{font-size:25px}.quote-balance-card,.quote-status-card,.active-package-card{padding:18px}.quote-balance-info span{font-size:19px}.quote-balance-info strong{font-size:36px}.package-main{align-items:flex-start}.package-balance strong{font-size:26px}.package-details{grid-template-columns:1fr 1fr}.movement-row{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:14px}.quote-request-history-row{padding:18px}.quote-request-history-details{grid-template-columns:1fr;gap:14px}.quote-request-rejection{grid-column:auto}.purchase-overlay{padding:12px}.purchase-modal{max-height:calc(100vh - 24px)}.purchase-modal-header,.purchase-packages{padding:18px}.purchase-confirmation{margin:0 18px 18px}.purchase-package-card{padding:18px}.purchase-package-price{font-size:20px}.purchase-package-top h3{font-size:19px}.history-modal-header{padding:18px}.history-modal-content{padding:12px}.history-modal-header h2{font-size:18px}.quote-movement-row{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:16px}.quote-movement-icon{width:38px;height:38px}.quote-movement-info{min-width:0}.quote-movement-info strong{margin-bottom:4px;line-height:1.3;display:block}.quote-movement-info span{word-break:break-word;line-height:1.4;display:block}.quote-movement-info small{margin-top:5px;line-height:1.3;display:block}.quote-movement-amount{border-top:1px solid #f3f4f6;grid-column:2;justify-content:flex-end;align-items:center;gap:5px;margin-top:8px;padding-top:10px;display:flex}.quote-movement-amount span{font-size:15px}.quote-movement-amount strong{font-size:22px}.quote-request-folio{word-break:break-all;font-size:11px!important}}.statistics-page{box-sizing:border-box;color:#111827;background:#e5e7eb;width:100%;min-width:0;max-width:100%;margin:0 auto;padding:30px 32px 50px;overflow-x:hidden}.statistics-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.statistics-label{color:#64748b;letter-spacing:.13em;text-transform:uppercase;margin-bottom:5px;font-size:15px;font-weight:800}.statistics-header h1{color:#0f172a;letter-spacing:-.7px;margin:0;font-size:32px;font-weight:850;line-height:1.12}.statistics-header p{color:#64748b;margin:4px 0 0;font-size:20px;line-height:1.5}.statistics-header p strong{color:#1e293b}.statistics-refresh{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:10px;justify-content:center;align-items:center;gap:7px;height:42px;padding:0 17px;font-size:15px;font-weight:750;transition:background .18s,border-color .18s,transform .18s;display:inline-flex;box-shadow:0 2px 8px #0f172a0a}.statistics-refresh:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px)}.statistics-filter-card{background:#fff;border:1px solid #d9dee7;border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;padding:12px;display:flex;box-shadow:0 3px 12px #0f172a0d}.statistics-period-buttons{flex-wrap:wrap;gap:5px;display:flex}.statistics-period-buttons button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;height:38px;padding:0 17px;font-size:17px;font-weight:750;transition:background .18s,color .18s,border-color .18s}.statistics-period-buttons button:hover{background:#f8fafc;border-color:#cbd5e1}.statistics-period-buttons button.active{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 4px 10px #0f172a29}.custom-date-fields{align-items:flex-end;gap:10px;display:flex}.custom-date-fields div{flex-direction:column;gap:4px;display:flex}.custom-date-fields label{color:#64748b;font-size:14px;font-weight:750}.custom-date-fields input{color:#334155;background:#fff;border:1px solid #dbe2ea;border-radius:8px;outline:none;height:38px;padding:0 10px;font-size:15px}.custom-date-fields input:focus{border-color:#94a3b8}.statistics-period-label{color:#64748b;margin-left:auto;padding-right:7px;font-size:15px;font-weight:700}.statistics-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.statistics-kpi-card{background:#fff;border:1px solid #d9dee7;border-radius:15px;align-items:center;gap:16px;min-height:120px;padding:21px;transition:transform .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 14px #0f172a0f}.statistics-kpi-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a12,0 2px 4px #0f172a06}.statistics-kpi-card:after{content:"";opacity:.7;background:#f8fafc;border-radius:50%;width:100px;height:100px;position:absolute;bottom:-38px;right:-28px}.statistics-kpi-card>div{z-index:1;min-width:0;position:relative}.statistics-kpi-card.sales{border-color:#dce5ef}.kpi-icon{z-index:1;color:#0f172a;background:#eef2f7;border-radius:15px;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:48px;font-size:25px;font-weight:850;display:flex;position:relative}.statistics-kpi-card:first-child .kpi-icon{color:#16a34a;background:#dcfce7}.statistics-kpi-card:nth-child(2) .kpi-icon{color:#2563eb;background:#dbeafe}.statistics-kpi-card:nth-child(3) .kpi-icon{color:#7c3aed;background:#ede9fe}.statistics-kpi-card:nth-child(4) .kpi-icon{color:#16a34a;background:#dcfce7}.statistics-kpi-card span:not(.kpi-icon){color:#64748b;font-size:12px;font-weight:650;display:block}.statistics-kpi-card strong{color:#0f172a;letter-spacing:-.4px;margin-top:5px;font-size:28px;font-weight:850;line-height:1.05;display:block}.statistics-kpi-card small{color:#94a3b8;margin-top:6px;font-size:15px;font-weight:550;display:block}.statistics-small-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:24px;display:grid}.statistics-small-card{background:#fff;border:1px solid #d9dee7;border-radius:13px;min-width:0;padding:16px;position:relative;overflow:hidden;box-shadow:0 3px 10px #0f172a0d}.statistics-small-card span{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:650;display:block;overflow:hidden}.statistics-small-card strong{color:#0f172a;margin-top:8px;font-size:29px;font-weight:850;line-height:1;display:block}.statistics-card{background:#fff;border:1px solid #d9dee7;border-radius:15px;margin-bottom:20px;padding:24px;box-shadow:0 4px 14px #0f172a0f}.statistics-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:19px;display:flex}.statistics-card-header h2{color:#0f172a;letter-spacing:-.2px;align-items:center;gap:8px;margin:0;font-size:19px;font-weight:850;line-height:1.2;display:flex}.statistics-card-header p{color:#94a3b8;margin:5px 0 0;font-size:15px;line-height:1.45}.statistics-card-header>strong{color:#0f172a;font-size:20px;font-weight:850}.header-highlight{color:#64748b;white-space:nowrap;background:#f8fafc;border-radius:9px;padding:8px 11px;font-size:16px}.header-highlight strong{color:#0f172a}.daily-sales-chart{box-sizing:border-box;scrollbar-width:thin;-webkit-overflow-scrolling:touch;align-items:stretch;gap:10px;width:100%;min-width:0;max-width:100%;height:260px;padding:10px 4px 0;display:flex;overflow:auto hidden}.daily-sales-column{flex-direction:column;flex:0 0 48px;align-items:center;min-width:48px;display:flex}.daily-sales-value{color:#64748b;white-space:nowrap;height:20px;font-size:15px;font-weight:650}.daily-sales-bar-area{background:linear-gradient(#0000 24%,#f8fafc 25%,#0000 25.5% 49%,#f8fafc 50%,#0000 50.5% 74%,#f8fafc 75%,#0000 75.5%);border-bottom:1px solid #e5e7eb;justify-content:center;align-items:flex-end;width:100%;height:195px;padding:0 7px;display:flex}.daily-sales-bar{background:linear-gradient(#60a5fa 0%,#2563eb 100%);border-radius:7px 7px 2px 2px;width:100%;max-width:40px;min-height:3px;transition:height .3s,opacity .2s;box-shadow:0 5px 10px #2563eb29}.daily-sales-column:last-child .daily-sales-bar{background:linear-gradient(#334155 0%,#0f172a 100%)}.daily-sales-column>span{color:#94a3b8;white-space:nowrap;margin-top:8px;font-size:15px;font-weight:650}.daily-sales-column:last-child>span{color:#0f172a;font-weight:800}.statistics-chart-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px;display:grid}.statistics-chart-summary div{background:#f8fafc;border-radius:10px;flex-direction:column;gap:4px;padding:11px 13px;display:flex}.statistics-chart-summary span{color:#64748b;font-size:15px;font-weight:600}.statistics-chart-summary strong{color:#0f172a;font-size:15px;font-weight:850}.statistics-two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.statistics-two-columns .statistics-card{min-width:0}.order-type-chart{justify-content:center;align-items:center;gap:50px;min-height:210px;display:flex}.order-type-circle{border-radius:50%;flex:0 0 155px;justify-content:center;align-items:center;width:155px;height:155px;display:flex;box-shadow:0 8px 20px #0f172a14}.order-type-circle>div{background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:98px;height:98px;display:flex}.order-type-circle strong{color:#0f172a;font-size:28px;font-weight:850;line-height:1}.order-type-circle span{color:#94a3b8;margin-top:4px;font-size:15px;font-weight:600}.chart-legend{flex-direction:column;gap:17px;min-width:150px;display:flex}.chart-legend div{grid-template-columns:10px 1fr auto;align-items:center;gap:8px;display:grid}.legend-dot{border-radius:50%;width:9px;height:9px}.legend-dot.dark{background:#0f172a}.legend-dot.light{background:#cbd5e1}.chart-legend span:not(.legend-dot){color:#64748b;font-size:16px;font-weight:600}.chart-legend strong{color:#0f172a;font-size:17px;font-weight:850}.status-bars{flex-direction:column;gap:18px;padding-top:4px;display:flex}.status-bar-row>div:first-child{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.status-bar-row span{color:#64748b;font-size:17px;font-weight:600}.status-bar-row strong{color:#0f172a;font-size:12px;font-weight:800}.status-bar-track{background:#eef2f7;border-radius:99px;height:8px;overflow:hidden}.status-bar{border-radius:99px;min-width:0;height:100%;transition:width .3s}.status-bar.pending{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.status-bar.accepted{background:#64748b}.status-bar.delivered{background:linear-gradient(90deg,#16a34a,#34d399)}.status-bar.rejected{background:#ef4444}.hourly-chart{align-items:stretch;gap:4px;height:250px;padding:8px 3px 0;display:flex;overflow-x:auto}.hour-column{flex-direction:column;flex:1;align-items:center;min-width:28px;display:flex}.hour-value{color:#64748b;height:20px;font-size:15px;font-weight:700}.hour-bar-area{background:linear-gradient(#0000 24%,#f8fafc 25%,#0000 25.5% 49%,#f8fafc 50%,#0000 50.5% 74%,#f8fafc 75%,#0000 75.5%);border-bottom:1px solid #e5e7eb;justify-content:center;align-items:flex-end;width:100%;height:190px;display:flex}.hour-bar{background:linear-gradient(#818cf8,#4f46e5);border-radius:5px 5px 1px 1px;width:65%;max-width:22px;min-height:0;box-shadow:0 4px 8px #4f46e521}.hour-column>span{color:#94a3b8;margin-top:7px;font-size:14px;font-weight:650}.products-table-wrapper{overflow-x:auto}.products-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}@media (width>=901px){.products-table th:first-child,.products-table td:first-child{width:60px}.products-table th:nth-child(2),.products-table td:nth-child(2){width:38%}.products-table th:nth-child(3),.products-table td:nth-child(3){width:180px}.products-table th:nth-child(4),.products-table td:nth-child(4){width:220px}}.products-table th{color:#94a3b8;text-align:left;text-transform:uppercase;letter-spacing:.03em;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:10px;font-size:15px;font-weight:800}.products-table th:first-child{border-radius:8px 0 0 8px}.products-table th:last-child{border-radius:0 8px 8px 0}.products-table td{color:#475569;border-bottom:1px solid #f1f5f9;padding:13px 10px;font-size:15px}.products-table tbody tr{transition:background .15s}.products-table tbody tr:hover{background:#f8fafc}.products-table tr:last-child td{border-bottom:0}.products-table td:nth-child(3),.products-table td:nth-child(4),.products-table th:nth-child(3),.products-table th:nth-child(4){text-align:right}.products-table td:nth-child(2) strong{color:#1e293b;font-weight:750}.products-table td:nth-child(4) strong{color:#0f172a;font-weight:850}.product-cell{align-items:center;gap:12px;min-width:220px;display:flex}.product-image{background:#f3f4f6;border-radius:10px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;font-size:20px;display:flex;overflow:hidden}.product-image img{object-fit:cover;width:100%;height:100%;display:block}.product-name-block{flex-direction:column;gap:3px;min-width:0;display:flex}.product-name-block strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-name-block span{color:#9ca3af;font-size:15px}.product-sales-cell{min-width:120px}.product-sales-cell>strong{display:block}.product-sales-meta{margin-top:6px}.product-sales-track{background:#e5e7eb;border-radius:999px;width:100%;max-width:110px;height:5px;overflow:hidden}.product-sales-fill{border-radius:inherit;background:#111827;height:100%}.products-empty{color:#9ca3af;text-align:center!important;padding:30px!important}.product-rank{color:#334155;background:#f1f5f9;border-radius:8px;justify-content:center;align-items:center;width:27px;height:27px;font-size:15px;font-weight:850;display:inline-flex}.statistics-empty{color:#94a3b8;text-align:center;padding:42px 20px;font-size:18px}.operation-list,.indicator-list{flex-direction:column;display:flex}.operation-list>div,.indicator-list>div{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:20px;min-height:47px;padding:11px 0;display:flex}.operation-list>div:first-child,.indicator-list>div:first-child{padding-top:0}.operation-list>div:last-child,.indicator-list>div:last-child{border-bottom:0;padding-bottom:0}.operation-list span,.indicator-list span{color:#64748b;font-size:17px;font-weight:600}.operation-list strong,.indicator-list strong{color:#0f172a;text-align:right;max-width:55%;font-size:18px;font-weight:850}.statistics-message{color:#64748b;justify-content:center;align-items:center;min-height:300px;font-size:18px;display:flex}.statistics-error{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:15px;max-width:600px;margin:60px auto;padding:32px;box-shadow:0 5px 20px #0f172a0d}.statistics-error h2{color:#0f172a;margin:0;font-size:20px}.statistics-error p{color:#64748b;margin:10px 0 20px;font-size:13px}.statistics-error button{color:#fff;cursor:pointer;background:#0f172a;border:0;border-radius:9px;height:42px;padding:0 18px;font-size:13px;font-weight:750}@media (width<=1200px){.statistics-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-small-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.statistics-page{padding:24px 20px 40px}.statistics-two-columns{grid-template-columns:1fr;gap:0}.statistics-two-columns .statistics-card{margin-bottom:18px}.statistics-header{flex-direction:column}.statistics-refresh{width:100%}.statistics-period-label{width:100%;margin-left:0;padding:3px 5px 0}}@media (width<=650px){.statistics-page{padding:18px 12px 32px}.statistics-header h1{font-size:27px}.statistics-header p{font-size:16px}.statistics-kpi-grid{grid-template-columns:1fr}.statistics-small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-filter-card{flex-direction:column;align-items:stretch}.statistics-period-buttons{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.statistics-period-buttons button{width:100%;padding:0 10px}.custom-date-fields{grid-template-columns:1fr 1fr;display:grid}.custom-date-fields input{width:100%}.statistics-card{border-radius:13px;padding:17px}.statistics-card-header{flex-direction:column}.statistics-card-header>strong,.header-highlight{align-self:flex-start}.statistics-chart-summary{grid-template-columns:1fr}.order-type-chart{flex-direction:column;gap:25px}.chart-legend{width:100%}.hourly-chart{min-width:680px}.products-table{min-width:560px}}@media (width<=430px){.statistics-small-grid{grid-template-columns:1fr 1fr;gap:8px}.statistics-small-card{padding:12px}.statistics-small-card strong{font-size:19px}.statistics-kpi-card{min-height:105px;padding:16px}.kpi-icon{flex-basis:43px;width:43px;height:43px}.statistics-kpi-card strong{font-size:25px}}
