:root{--gold:#c49432;--gold-dark:#a67d2a;--gold-light:#f5e6c3;--gold-gradient:linear-gradient(135deg, #dbac35 0%, #f5d77a 50%, #dbac35 100%);--gold-shimmer:linear-gradient(90deg, #dbac35 0%, #f5d77a 25%, #dbac35 50%, #f5d77a 75%, #dbac35 100%);--dark:#1a1a1a;--dark-soft:#2d2d2d;--gray:#6b7280;--gray-light:#9ca3af;--gray-lighter:#e5e7eb;--border:#f0f0f0;--off-white:#fafafa;--cream:#fbf8f1;--white:#fff;--whatsapp:#25d366;--whatsapp-dark:#128c7e;--whatsapp-light:#dcf8c6;--whatsapp-bg:#e5ddd5;--whatsapp-chat-bg:#ece5dd;--success:#10b981;--success-light:#d1fae5;--warning:#f59e0b;--warning-light:#fef3c7;--danger:#ef4444;--danger-light:#fee2e2;--info:#3b82f6;--info-light:#dbeafe;--status-pending:#f59e0b;--status-confirmed:#3b82f6;--status-processing:#8b5cf6;--status-shipped:#06b6d4;--status-delivered:#10b981;--status-cancelled:#ef4444;--shadow-xs:0 1px 2px #0000000d;--shadow-sm:0 2px 4px #0000000d;--shadow:0 4px 12px #00000014;--shadow-md:0 6px 20px #0000001a;--shadow-lg:0 12px 40px #00000026;--shadow-gold:0 4px 20px #dbac354d;--shadow-inset:inset 0 2px 4px #0000000d;--radius-xs:4px;--radius-sm:6px;--radius:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-2xl:24px;--radius-full:9999px;--transition-fast:.15s ease;--transition:.2s ease;--transition-slow:.3s ease;--transition-spring:.4s cubic-bezier(.34, 1.56, .64, 1);--z-dropdown:50;--z-sticky:100;--z-modal:200;--z-toast:300;--z-overlay:400;--safe-top:env(safe-area-inset-top);--safe-bottom:env(safe-area-inset-bottom);--nav-height:60px;--header-height:56px}@media (prefers-color-scheme:dark){:root{--dark:#f9fafb;--dark-soft:#e5e7eb;--gray:#9ca3af;--gray-light:#6b7280;--gray-lighter:#374151;--border:#374151;--off-white:#1f2937;--cream:#1f2937;--white:#111827}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-size:16px}body{background:var(--off-white);color:var(--dark);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;overflow-x:hidden}#root{min-height:100vh;min-height:100dvh}input,textarea,button,select{font-family:inherit;font-size:inherit}button{cursor:pointer;background:0 0;border:none}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.app{max-width:480px;min-height:100vh;background:var(--white);min-height:100dvh;margin:0 auto;position:relative;overflow-x:hidden}@media (min-width:481px){.app{box-shadow:var(--shadow-lg)}}.screen{min-height:100vh;background:var(--off-white);flex-direction:column;min-height:100dvh;display:flex}.screen-content{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:1;overflow:hidden auto}.screen-content.with-header{padding-top:var(--header-height)}.login-container{padding:24px;padding-top:calc(var(--safe-top) + 60px);background:linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);flex-direction:column;flex:1;display:flex}.login-brand{text-align:center;margin-bottom:40px}.login-logo{background:var(--gold-gradient);border-radius:var(--radius-xl);width:80px;height:80px;box-shadow:var(--shadow-gold);justify-content:center;align-items:center;margin:0 auto 20px;animation:3s infinite logoShimmer;display:flex}@keyframes logoShimmer{0%,to{box-shadow:var(--shadow-gold)}50%{box-shadow:0 4px 30px #dbac3580}}.login-logo i{color:var(--white);font-size:40px}.login-title{color:var(--dark);letter-spacing:-.5px;margin-bottom:8px;font-size:26px;font-weight:700}.login-subtitle{color:var(--gray);font-size:15px}.login-error{background:var(--danger-light);color:var(--danger);border-radius:var(--radius-md);border:1px solid #ef444433;align-items:center;gap:10px;margin-bottom:20px;padding:12px 16px;font-size:13px;animation:.4s shake;display:flex}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}.login-form{flex-direction:column;gap:20px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-label{color:var(--dark);justify-content:space-between;font-size:13px;font-weight:600;display:flex}.form-label a{color:var(--gold-dark);font-weight:500}.input-wrapper{position:relative}.form-input{border:2px solid var(--border);border-radius:var(--radius-md);width:100%;color:var(--dark);background:var(--white);transition:var(--transition);padding:14px 16px 14px 44px;font-size:15px}.form-input:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 4px #dbac351a}.form-input::placeholder{color:var(--gray-light)}.input-icon{color:var(--gray-light);font-size:16px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.input-toggle{color:var(--gray-light);cursor:pointer;padding:4px;font-size:16px;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.biometric-section{background:var(--cream);border-radius:var(--radius-lg);flex-direction:column;align-items:center;gap:16px;margin-bottom:20px;padding:24px;display:flex}.biometric-icon{background:var(--gold-gradient);width:64px;height:64px;box-shadow:var(--shadow-gold);border-radius:50%;justify-content:center;align-items:center;animation:2s infinite pulse;display:flex}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.biometric-icon i{color:var(--white);font-size:28px}.biometric-text{text-align:center}.biometric-title{color:var(--dark);margin-bottom:4px;font-size:16px;font-weight:600}.biometric-subtitle{color:var(--gray);font-size:13px}.biometric-btn{background:var(--gold-gradient);border-radius:var(--radius-md);width:100%;color:var(--white);box-shadow:var(--shadow-gold);transition:var(--transition);justify-content:center;align-items:center;gap:10px;padding:16px;font-size:15px;font-weight:600;display:flex}.biometric-btn:active{transform:scale(.98)}.biometric-btn:disabled{opacity:.7;cursor:not-allowed}.btn{border-radius:var(--radius-md);transition:var(--transition);justify-content:center;align-items:center;gap:8px;padding:14px 24px;font-size:15px;font-weight:600;display:flex;position:relative;overflow:hidden}.btn-gold{background:var(--gold-gradient);color:var(--white);box-shadow:var(--shadow-gold)}.btn-gold:active{transform:scale(.98)}.btn-gold:disabled{opacity:.7;cursor:not-allowed}.btn-outline{border:2px solid var(--gold);color:var(--gold-dark);background:0 0}.btn-ghost{background:var(--cream);color:var(--gold-dark)}.btn.loading .btn-text{opacity:0}.btn.loading .spinner{display:block}.spinner{border:2px solid #ffffff4d;border-top-color:var(--white);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin;display:none;position:absolute}@keyframes spin{to{transform:rotate(360deg)}}.btn-icon{border-radius:var(--radius);width:40px;height:40px;color:var(--gray);background:var(--off-white);transition:var(--transition);justify-content:center;align-items:center;display:flex}.btn-icon:active{background:var(--gray-lighter)}.header{background:var(--white);border-bottom:1px solid var(--border);z-index:var(--z-sticky);min-height:var(--header-height);justify-content:space-between;align-items:center;padding:14px 16px;display:flex;position:sticky;top:0}.header-title{color:var(--dark);font-size:20px;font-weight:700}.header-actions{gap:8px;display:flex}.header-btn{border-radius:var(--radius);width:36px;height:36px;color:var(--gray);transition:var(--transition);justify-content:center;align-items:center;display:flex;position:relative}.header-btn:active{background:var(--off-white)}.header-btn-dark{background:var(--cream);color:var(--gold)}.header-btn-glass{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--white);background:#ffffff26}.chat-screen-header{background:var(--gold-gradient);padding:12px 16px;padding-top:calc(var(--safe-top) + 12px)}.chat-header-top{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.chat-header-brand{align-items:center;gap:12px;display:flex}.brand-icon{border-radius:var(--radius-md);width:42px;height:42px;color:var(--white);background:#fff3;justify-content:center;align-items:center;font-size:22px;display:flex}.brand-name{color:var(--white);font-size:22px;font-weight:700}.brand-status{color:#ffffffd9;align-items:center;gap:6px;font-size:12px;display:flex}.status-dot{background:#4ade80;border-radius:50%;width:8px;height:8px;animation:2s infinite statusPulse}@keyframes statusPulse{0%,to{opacity:1}50%{opacity:.5}}.search-bar-container{padding:0 0 4px}.search-bar{border-radius:var(--radius-full);box-shadow:var(--shadow-sm);background:#fffffff2;align-items:center;gap:10px;padding:10px 14px;display:flex}.search-bar i{color:var(--gray);font-size:14px}.search-bar input{color:var(--dark);background:0 0;border:none;flex:1;font-size:14px}.search-bar input::placeholder{color:var(--gray-light)}.search-filter-btn{background:var(--cream);border-radius:var(--radius);width:32px;height:32px;color:var(--gold);justify-content:center;align-items:center;display:flex}.chat-filters{background:var(--white);border-bottom:1px solid var(--border);-webkit-overflow-scrolling:touch;gap:8px;padding:12px 16px;display:flex;overflow-x:auto}.chat-filters::-webkit-scrollbar{display:none}.filter-chip{background:var(--off-white);border-radius:var(--radius-full);color:var(--gray);white-space:nowrap;cursor:pointer;transition:var(--transition);flex-shrink:0;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:500;display:flex}.filter-chip.active{background:var(--gold);color:var(--white)}.filter-chip .count{background:#fff3;border-radius:10px;padding:2px 6px;font-size:11px;font-weight:700}.filter-chip.active .count{background:#ffffff4d}.chat-section-header{background:var(--off-white);justify-content:space-between;align-items:center;padding:12px 16px 8px;display:flex}.chat-section-title{color:var(--gray);text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:700}.chat-section-action{color:var(--gold-dark);cursor:pointer;font-size:12px;font-weight:600}.chat-item{background:var(--white);border-bottom:1px solid var(--border);cursor:pointer;transition:var(--transition);gap:12px;padding:14px 16px;display:flex}.chat-item:active{background:var(--off-white)}.chat-item.unread{background:var(--cream)}.chat-item.pinned{border-left:3px solid var(--gold)}.chat-avatar{flex-shrink:0;position:relative}.avatar{border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;font-size:16px;font-weight:600;display:flex;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.avatar-gold{background:var(--gold-gradient);color:var(--white)}.avatar-status{border:2px solid var(--white);border-radius:50%;width:14px;height:14px;position:absolute;bottom:2px;right:2px}.avatar-status.online{background:var(--success)}.avatar-status.away{background:var(--warning)}.avatar-status.offline{background:var(--gray-light)}.chat-content{flex:1;min-width:0}.chat-row{align-items:center;gap:8px;margin-bottom:4px;display:flex}.chat-name-wrapper{flex-shrink:0;align-items:center;gap:4px;display:flex}.chat-name{color:var(--dark);font-size:15px;font-weight:600}.chat-verified{color:var(--gold);font-size:12px}.chat-labels{flex:1;gap:4px;display:flex;overflow:hidden}.chat-label{border-radius:var(--radius-xs);text-transform:uppercase;letter-spacing:.3px;flex-shrink:0;padding:2px 6px;font-size:10px;font-weight:600}.label-order{background:var(--gold-light);color:var(--gold-dark)}.label-vip{color:#7c3aed;background:#ddd6fe}.label-new{background:var(--success-light);color:var(--success)}.label-support{background:var(--info-light);color:var(--info)}.label-urgent{background:var(--danger-light);color:var(--danger)}.chat-time{color:var(--gray-light);flex-shrink:0;font-size:11px}.chat-item.unread .chat-time{color:var(--gold);font-weight:600}.chat-preview-row{align-items:center;gap:8px;display:flex}.chat-preview{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.chat-preview-icon{color:var(--gray-light);flex-shrink:0;font-size:12px}.chat-preview-text{color:var(--gray);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.chat-item.unread .chat-preview-text{color:var(--dark);font-weight:500}.chat-typing{color:var(--gold);font-style:italic}.typing-dots{gap:3px;margin-right:4px;display:flex}.typing-dots span{background:var(--gold);border-radius:50%;width:5px;height:5px;animation:1.4s infinite typingBounce}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.chat-meta{flex-shrink:0;align-items:center;gap:6px;display:flex}.unread-badge{background:var(--gold);min-width:20px;height:20px;color:var(--white);border-radius:10px;justify-content:center;align-items:center;padding:0 6px;font-size:11px;font-weight:700;display:flex}.chat-pin,.chat-muted{color:var(--gray-light);font-size:12px}.chat-window{height:100vh;background:var(--whatsapp-chat-bg);flex-direction:column;height:100dvh;display:flex}.chat-window-header{padding:10px 12px;padding-top:calc(var(--safe-top) + 10px);background:var(--gold-gradient);box-shadow:var(--shadow);align-items:center;gap:10px;display:flex}.back-btn{width:36px;height:36px;color:var(--white);justify-content:center;align-items:center;font-size:18px;display:flex}.chat-window-user{cursor:pointer;flex:1;align-items:center;gap:10px;display:flex}.chat-window-avatar{width:40px;height:40px;color:var(--white);background:#fff3;border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.chat-window-info{flex:1;min-width:0}.chat-window-name{color:var(--white);align-items:center;gap:6px;font-size:16px;font-weight:600;display:flex}.chat-window-status{color:#fffc;align-items:center;gap:4px;font-size:12px;display:flex}.chat-window-status .status-dot{width:6px;height:6px}.chat-window-actions{gap:4px;display:flex}.messages-container{background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");flex-direction:column;flex:1;gap:4px;padding:16px;display:flex;overflow-y:auto}.message-date-divider{justify-content:center;margin:16px 0;display:flex}.message-date{border-radius:var(--radius-full);color:var(--gray);box-shadow:var(--shadow-xs);background:#fffffff2;padding:6px 14px;font-size:12px;font-weight:500}.message{margin-bottom:2px;display:flex}.message-bubble{border-radius:var(--radius-md);max-width:80%;padding:8px 12px;position:relative}.message.sent .message-bubble{background:var(--whatsapp-light);border-bottom-right-radius:4px}.message.received .message-bubble{background:var(--white);box-shadow:var(--shadow-xs);border-bottom-left-radius:4px}.message-text{color:var(--dark);word-wrap:break-word;font-size:14px;line-height:1.4}.message-footer{justify-content:flex-end;align-items:center;gap:4px;margin-top:4px;display:flex}.message-time{color:var(--gray-light);font-size:11px}.message-status{font-size:12px}.message-status.sending,.message-status.sent,.message-status.delivered{color:var(--gray-light)}.message-status.read{color:#53bdeb}.message-product{background:var(--white);border-radius:var(--radius-md);max-width:280px;box-shadow:var(--shadow);overflow:hidden}.message-product .product-img{object-fit:cover;width:100%;height:160px}.message-product .product-info{padding:12px}.message-product .product-name{color:var(--dark);margin-bottom:6px;font-size:14px;font-weight:600}.message-product .product-price-row{align-items:center;gap:8px;margin-bottom:10px;display:flex}.message-product .product-price{color:var(--gold-dark);font-size:18px;font-weight:700}.message-product .product-old-price{color:var(--gray-light);font-size:13px;text-decoration:line-through}.message-product .product-discount{color:var(--success);background:var(--success-light);border-radius:var(--radius-xs);padding:2px 6px;font-size:11px;font-weight:700}.message-product .product-actions{gap:8px;display:flex}.product-btn{border-radius:var(--radius);transition:var(--transition);flex:1;justify-content:center;align-items:center;gap:4px;padding:8px;font-size:12px;font-weight:600;display:flex}.product-btn-primary{background:var(--gold-gradient);color:var(--white)}.product-btn-secondary{background:var(--cream);color:var(--gold-dark)}.message-order{background:var(--white);border-radius:var(--radius-md);max-width:280px;box-shadow:var(--shadow);overflow:hidden}.message-order .order-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px;display:flex}.message-order .order-id{color:var(--dark);font-size:13px;font-weight:600}.order-status{border-radius:var(--radius-full);text-transform:capitalize;padding:4px 10px;font-size:11px;font-weight:600}.status-pending{background:var(--warning-light);color:var(--warning)}.status-confirmed{background:var(--info-light);color:var(--info)}.status-processing{color:#7c3aed;background:#ede9fe}.status-shipped{color:#0891b2;background:#cffafe}.status-delivered{background:var(--success-light);color:var(--success)}.status-cancelled{background:var(--danger-light);color:var(--danger)}.message-order .order-items{gap:4px;padding:12px;display:flex;overflow-x:auto}.order-item-img{border-radius:var(--radius);object-fit:cover;flex-shrink:0;width:50px;height:50px}.message-order .order-total{background:var(--cream);justify-content:space-between;align-items:center;padding:12px;display:flex}.order-total-label{color:var(--gray);font-size:12px}.order-total-value{color:var(--gold-dark);font-size:18px;font-weight:700}.ai-suggestions{background:linear-gradient(135deg,#f8f7ff 0%,#f0eeff 100%);border-top:1px solid #8b5cf61a;padding:12px 16px}.ai-header{align-items:center;gap:8px;margin-bottom:10px;display:flex}.ai-icon{width:24px;height:24px;color:var(--white);background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:50%;justify-content:center;align-items:center;font-size:11px;display:flex}.ai-label{color:#7c3aed;font-size:12px;font-weight:600}.ai-suggestions-list{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.ai-suggestion{background:var(--white);border-radius:var(--radius-full);color:#7c3aed;white-space:nowrap;cursor:pointer;transition:var(--transition);border:1px solid #8b5cf633;padding:8px 14px;font-size:12px;font-weight:500}.ai-suggestion:active{background:#f0eeff}.quick-replies-bar{background:var(--white);border-top:1px solid var(--border);gap:8px;padding:10px 16px;display:flex;overflow-x:auto}.quick-reply{background:var(--cream);border-radius:var(--radius-full);color:var(--gold-dark);white-space:nowrap;cursor:pointer;transition:var(--transition);flex-shrink:0;padding:8px 14px;font-size:12px;font-weight:500}.quick-reply:active{background:var(--gold-light)}.chat-input-container{padding:10px 12px;padding-bottom:calc(var(--safe-bottom) + 10px);background:var(--off-white);border-top:1px solid var(--border);align-items:flex-end;gap:8px;display:flex}.input-action-btn{background:var(--white);width:40px;height:40px;color:var(--gold);box-shadow:var(--shadow-xs);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:18px;display:flex}.message-input-box{background:var(--white);box-shadow:var(--shadow-xs);border-radius:24px;flex:1;align-items:flex-end;gap:8px;padding:8px 16px;display:flex}.message-input{color:var(--dark);resize:none;background:0 0;border:none;flex:1;max-height:100px;font-size:15px;line-height:1.4}.message-input::placeholder{color:var(--gray-light)}.emoji-btn{color:var(--gray-light);cursor:pointer;font-size:20px}.send-btn{background:var(--gold-gradient);width:44px;height:44px;color:var(--white);box-shadow:var(--shadow-gold);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:18px;display:flex}.panel-overlay{opacity:0;visibility:hidden;transition:var(--transition);z-index:var(--z-overlay);background:#00000080;position:fixed;top:0;bottom:0;left:0;right:0}.panel-overlay.show{opacity:1;visibility:visible}.customer-panel{background:var(--white);width:320px;max-width:90vw;z-index:var(--z-overlay);transition:right var(--transition-slow);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:-320px}.customer-panel.open{right:0}.panel-header{padding:16px;padding-top:calc(var(--safe-top) + 16px);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex}.panel-title{color:var(--dark);font-size:18px;font-weight:700}.panel-close{width:32px;height:32px;color:var(--gray);justify-content:center;align-items:center;display:flex}.panel-content{flex:1;padding:16px;overflow-y:auto}.customer-profile{text-align:center;padding:20px 0}.customer-avatar-lg{background:var(--gold-gradient);width:80px;height:80px;color:var(--white);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 12px;font-size:28px;font-weight:700;display:flex}.customer-name-lg{color:var(--dark);margin-bottom:4px;font-size:20px;font-weight:700}.customer-phone-lg{color:var(--gray);margin-bottom:12px;font-size:14px}.customer-tags{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.customer-tag{background:var(--cream);border-radius:var(--radius-full);color:var(--gold-dark);padding:4px 10px;font-size:11px;font-weight:600}.customer-actions-row{border-bottom:1px solid var(--border);justify-content:center;gap:16px;padding:16px 0;display:flex}.customer-action-btn{flex-direction:column;align-items:center;gap:6px;display:flex}.customer-action-btn i{border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;display:flex}.customer-action-btn span{color:var(--gray);font-size:11px;font-weight:500}.customer-action-btn.whatsapp i{background:var(--whatsapp);color:var(--white)}.customer-action-btn.call i{background:var(--info);color:var(--white)}.customer-action-btn.email i{background:var(--warning);color:var(--white)}.panel-section{border-bottom:1px solid var(--border);padding:16px 0}.panel-section:last-child{border-bottom:none}.panel-section-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.panel-section-title{color:var(--gray);text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:700}.panel-section-link{color:var(--gold-dark);cursor:pointer;font-size:12px;font-weight:600}.stats-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.stat-item{text-align:center;background:var(--off-white);border-radius:var(--radius-md);padding:12px}.stat-value{color:var(--gold-dark);font-size:20px;font-weight:700}.stat-label{color:var(--gray);margin-top:2px;font-size:11px}.recent-orders-list{flex-direction:column;gap:10px;display:flex}.recent-order-item{background:var(--off-white);border-radius:var(--radius);align-items:center;gap:10px;padding:10px;display:flex}.recent-order-img{border-radius:var(--radius);object-fit:cover;width:44px;height:44px}.recent-order-info{flex:1}.recent-order-id{color:var(--dark);font-size:13px;font-weight:600}.recent-order-date{color:var(--gray);font-size:11px}.recent-order-amount{color:var(--gold-dark);font-size:14px;font-weight:700}.notes-box{background:var(--off-white);border-radius:var(--radius);margin-bottom:10px;padding:12px}.notes-text{color:var(--dark);font-size:13px;line-height:1.5}.add-note-btn{background:var(--cream);border-radius:var(--radius);width:100%;color:var(--gold-dark);justify-content:center;align-items:center;gap:6px;padding:10px;font-size:13px;font-weight:600;display:flex}.dashboard-header{background:var(--gold-gradient);padding:20px 16px;padding-top:calc(var(--safe-top) + 20px)}.dashboard-top{justify-content:space-between;align-items:center;display:flex}.greeting-text{color:#fffc;font-size:14px}.user-name{color:var(--white);font-size:24px;font-weight:700}.user-avatar{width:44px;height:44px;color:var(--white);cursor:pointer;background:#fff3;border-radius:50%;justify-content:center;align-items:center;font-size:16px;font-weight:600;display:flex}.dashboard-stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:-30px;padding:16px;display:grid}.dash-stat-card{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow);cursor:pointer;transition:var(--transition);padding:16px}.dash-stat-card:active{transform:scale(.98)}.dash-stat-icon{border-radius:var(--radius-md);justify-content:center;align-items:center;width:40px;height:40px;margin-bottom:12px;font-size:18px;display:flex}.dash-stat-icon.green{background:var(--success-light);color:var(--success)}.dash-stat-icon.gold{background:var(--gold-light);color:var(--gold-dark)}.dash-stat-icon.blue{background:var(--info-light);color:var(--info)}.dash-stat-icon.purple{color:#7c3aed;background:#ede9fe}.dash-stat-value{color:var(--dark);font-size:24px;font-weight:700;line-height:1}.dash-stat-label{color:var(--gray);margin-top:4px;font-size:12px}.dash-stat-change{align-items:center;gap:4px;margin-top:8px;font-size:11px;font-weight:500;display:flex}.dash-stat-change.up{color:var(--success)}.dash-stat-change.down{color:var(--danger)}.section{padding:0 16px 20px}.section-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-title{color:var(--dark);font-size:16px;font-weight:700}.section-link{color:var(--gold-dark);cursor:pointer;font-size:13px;font-weight:600}.activity-list{flex-direction:column;gap:10px;display:flex}.activity-item{background:var(--white);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);align-items:center;gap:12px;padding:14px;display:flex}.activity-icon{border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;display:flex}.activity-icon.order{background:var(--gold-light);color:var(--gold-dark)}.activity-icon.message{background:var(--success-light);color:var(--success)}.activity-icon.payment{background:var(--info-light);color:var(--info)}.activity-content{flex:1;min-width:0}.activity-text{color:var(--dark);font-size:13px;line-height:1.4}.activity-text strong{font-weight:600}.activity-time{color:var(--gray-light);margin-top:4px;font-size:11px}.activity-action{background:var(--cream);border-radius:var(--radius-full);color:var(--gold-dark);cursor:pointer;flex-shrink:0;padding:6px 12px;font-size:11px;font-weight:600}.pills{background:var(--white);border-bottom:1px solid var(--border);gap:8px;padding:12px 16px;display:flex;overflow-x:auto}.pill{border-radius:var(--radius-full);border:2px solid var(--border);background:var(--white);color:var(--gray);cursor:pointer;white-space:nowrap;transition:var(--transition);flex-shrink:0;padding:8px 16px;font-size:13px;font-weight:600}.pill.active{background:var(--gold);border-color:var(--gold);color:var(--white)}.order-card{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin:12px 16px;padding:16px}.order-top{justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.order-id{color:var(--dark);font-size:13px;font-weight:600}.order-date{color:var(--gray);margin-top:2px;font-size:11px}.order-customer{align-items:center;gap:12px;margin-bottom:12px;display:flex}.order-customer-avatar{background:var(--gold-light);width:40px;height:40px;color:var(--gold-dark);border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.order-customer-name{color:var(--dark);font-size:14px;font-weight:600}.order-customer-phone{color:var(--gray);font-size:12px}.order-products{gap:8px;margin-bottom:12px;display:flex;overflow-x:auto}.order-product-img{border-radius:var(--radius);object-fit:cover;flex-shrink:0;width:60px;height:60px}.order-bottom{border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding-top:12px;display:flex}.order-meta{color:var(--gray);font-size:12px}.order-total{color:var(--gold-dark);font-size:18px;font-weight:700}.order-actions{gap:8px;margin-top:12px;display:flex}.order-btn{border-radius:var(--radius);transition:var(--transition);flex:1;justify-content:center;align-items:center;gap:6px;padding:10px;font-size:12px;font-weight:600;display:flex}.order-btn-primary{background:var(--gold-gradient);color:var(--white)}.order-btn-secondary{background:var(--cream);color:var(--gold-dark)}.products-grid{grid-template-columns:repeat(2,1fr);gap:12px;padding:16px;display:grid}.product-card{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);cursor:pointer;transition:var(--transition);overflow:hidden}.product-card:active{transform:scale(.98)}.product-image{height:140px;position:relative}.product-image img{object-fit:cover;width:100%;height:100%}.product-badge{border-radius:var(--radius-full);padding:4px 8px;font-size:10px;font-weight:600;position:absolute;top:8px;left:8px}.badge-best{background:var(--gold-gradient);color:var(--white)}.badge-out{background:var(--danger-light);color:var(--danger)}.product-details{padding:12px}.product-title{color:var(--dark);white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px;font-size:13px;font-weight:600;overflow:hidden}.product-price{color:var(--gold-dark);font-size:16px;font-weight:700}.product-old-price{color:var(--gray-light);margin-left:6px;font-size:12px;text-decoration:line-through}.product-stock{color:var(--gray);margin-top:6px;font-size:11px}.settings-profile{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);align-items:center;gap:14px;margin:16px;padding:20px 16px;display:flex}.settings-avatar{background:var(--gold-gradient);width:60px;height:60px;color:var(--white);border-radius:50%;justify-content:center;align-items:center;font-size:22px;font-weight:600;display:flex}.settings-user-info{flex:1}.settings-user-name{color:var(--dark);font-size:18px;font-weight:700}.settings-user-email{color:var(--gray);font-size:13px}.settings-edit-btn{background:var(--cream);border-radius:var(--radius-full);color:var(--gold-dark);padding:8px 16px;font-size:12px;font-weight:600}.settings-section{padding:0 16px 20px}.settings-section-title{color:var(--gray);text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px;padding-left:4px;font-size:11px;font-weight:700}.settings-card{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.settings-item{border-bottom:1px solid var(--border);cursor:pointer;transition:var(--transition);align-items:center;gap:14px;padding:14px 16px;display:flex}.settings-item:last-child{border-bottom:none}.settings-item:active{background:var(--off-white)}.settings-icon{border-radius:var(--radius-md);background:var(--cream);width:40px;height:40px;color:var(--gold);justify-content:center;align-items:center;display:flex}.settings-text{flex:1}.settings-label{color:var(--dark);font-size:14px;font-weight:500}.settings-desc{color:var(--gray);margin-top:2px;font-size:12px}.settings-arrow{color:var(--gray-light);font-size:12px}.toggle{background:var(--gray-lighter);cursor:pointer;width:48px;height:28px;transition:var(--transition);border-radius:14px;position:relative}.toggle.active{background:var(--gold)}.toggle:after{content:"";background:var(--white);width:24px;height:24px;transition:var(--transition);box-shadow:var(--shadow);border-radius:50%;position:absolute;top:2px;left:2px}.toggle.active:after{left:22px}.settings-item.danger .settings-icon{background:var(--danger-light);color:var(--danger)}.settings-item.danger .settings-label{color:var(--danger)}.screen{flex-direction:column;height:100vh;display:flex;overflow:hidden}.screen-content{-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto!important}.screen-content.with-nav{padding-bottom:80px}.settings-floating-save{pointer-events:none}.settings-floating-save button{pointer-events:auto}.settings-item,.settings-tab,.toggle{cursor:pointer;pointer-events:auto}.settings-form-group input,.settings-form-group select,.settings-form-group textarea{pointer-events:auto}.settings-header{justify-content:space-between;align-items:center;display:flex}.header-actions{align-items:center;gap:8px;display:flex}.btn-text{color:var(--gray);cursor:pointer;background:0 0;border:none;padding:8px 12px;font-size:13px;font-weight:500}.btn-save{background:var(--gold-gradient);color:var(--white);border-radius:var(--radius-full);cursor:pointer;border:none;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;display:flex}.btn-save:disabled{opacity:.7;cursor:not-allowed}.settings-user-badge{background:var(--cream);color:var(--gold-dark);border-radius:var(--radius-full);padding:4px 10px;font-size:11px;font-weight:600}.settings-tabs{scrollbar-width:none;-ms-overflow-style:none;background:var(--white);border-bottom:1px solid var(--border);z-index:10;gap:6px;padding:12px 16px;display:flex;position:sticky;top:56px;overflow-x:auto}.settings-tabs::-webkit-scrollbar{display:none}.settings-tab{background:var(--off-white);border-radius:var(--radius-md);color:var(--gray);cursor:pointer;transition:var(--transition);white-space:nowrap;border:2px solid #0000;flex-direction:column;align-items:center;gap:4px;min-width:70px;padding:10px 16px;font-size:11px;font-weight:600;display:flex}.settings-tab i{font-size:16px}.settings-tab.active{background:var(--cream);border-color:var(--gold);color:var(--gold-dark)}.settings-tab:not(.active):active{background:var(--gray-lighter)}.settings-tab-content{padding-top:8px}.settings-form-group{border-bottom:1px solid var(--border);padding:14px 16px}.settings-form-group:last-child{border-bottom:none}.settings-form-group label{color:var(--gray);text-transform:uppercase;letter-spacing:.3px;margin-bottom:8px;font-size:12px;font-weight:600;display:block}.settings-form-group input,.settings-form-group select,.settings-form-group textarea{border:2px solid var(--border);border-radius:var(--radius-md);width:100%;color:var(--dark);background:var(--white);transition:var(--transition);padding:12px 14px;font-size:14px;font-weight:500}.settings-form-group input:focus,.settings-form-group select:focus,.settings-form-group textarea:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px #dbac351a}.settings-form-group textarea{resize:vertical;min-height:80px}.settings-form-group small{color:var(--gray-light);margin-top:6px;font-size:11px;display:block}.settings-form-row{grid-template-columns:1fr 1fr;gap:12px;padding:14px 16px;display:grid}.settings-form-row .settings-form-group{border-bottom:none;padding:0}.settings-status-card{border-radius:var(--radius-md);align-items:center;gap:14px;margin:14px 16px;padding:16px;display:flex}.settings-status-card.connected{background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%)}.settings-status-card.disconnected{background:linear-gradient(135deg,#fff8e1 0%,#ffecb3 100%)}.settings-status-card .status-icon{border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex}.settings-status-card.connected .status-icon{background:var(--white);color:#25d366}.settings-status-card.disconnected .status-icon{background:var(--white);color:#f57c00}.settings-status-card .status-info{flex:1}.settings-status-card .status-info h3{color:var(--dark);margin-bottom:4px;font-size:14px;font-weight:600}.settings-status-card .status-info p{color:var(--gray);margin:0;font-size:12px}.screen-content{-webkit-overflow-scrolling:touch;height:calc(100vh - 116px);overflow-y:auto}.settings-tab-content{max-height:calc(100vh - 200px);padding-bottom:100px;overflow-y:auto}.btn-outline{background:var(--white);border:2px solid var(--gold);border-radius:var(--radius-full);color:var(--gold-dark);cursor:pointer;transition:var(--transition);align-items:center;gap:6px;padding:8px 14px;font-size:12px;font-weight:600;display:flex}.btn-outline:active{background:var(--cream)}.btn-outline:disabled{opacity:.6;cursor:not-allowed}.settings-sub-item{background:var(--off-white);border-top:1px solid var(--border)}.settings-sub-item .settings-form-group{padding:12px 16px 12px 70px}.settings-loading{color:var(--gray);flex-direction:column;justify-content:center;align-items:center;padding:80px 20px;display:flex}.settings-loading-spinner{background:var(--cream);border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:16px;display:flex}.settings-loading-spinner i{color:var(--gold);font-size:24px}.settings-loading p{font-size:14px;font-weight:500}.settings-floating-save{background:linear-gradient(to top, var(--white) 60%, transparent);z-index:100;pointer-events:none;padding:16px;position:fixed;bottom:70px;left:0;right:0}.btn-floating-save{background:var(--gold-gradient);border-radius:var(--radius-lg);width:100%;color:var(--white);cursor:pointer;pointer-events:all;transition:var(--transition);border:none;justify-content:center;align-items:center;gap:10px;padding:14px 24px;font-size:15px;font-weight:700;display:flex;box-shadow:0 8px 24px #dbac3566}.btn-floating-save:active{transform:scale(.98)}.btn-floating-save:disabled{opacity:.8;cursor:not-allowed}.toggle.loading{opacity:.5;pointer-events:none}.toggle.loading:after{animation:1s infinite pulse}@media (max-width:380px){.settings-tab{min-width:60px;padding:8px 12px;font-size:10px}.settings-tab i{font-size:14px}.settings-form-row{grid-template-columns:1fr}}.bottom-nav{background:var(--white);max-width:480px;padding:8px 0;padding-bottom:max(8px, var(--safe-bottom));border-top:1px solid var(--border);z-index:var(--z-sticky);justify-content:space-around;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 20px #0000000d}.nav-item{cursor:pointer;color:var(--gray-light);transition:var(--transition);flex-direction:column;align-items:center;gap:4px;padding:6px 16px;display:flex;position:relative}.nav-item.active{color:var(--gold)}.nav-item:before{content:"";background:var(--gold);width:0;height:3px;transition:width var(--transition);border-radius:0 0 3px 3px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.nav-item.active:before{width:24px}.nav-item i{font-size:20px}.nav-item span{font-size:10px;font-weight:600}.nav-badge{background:var(--danger);min-width:18px;height:18px;color:var(--white);border-radius:9px;justify-content:center;align-items:center;padding:0 5px;font-size:10px;font-weight:600;display:flex;position:absolute;top:2px;right:10px}.fab{bottom:calc(var(--nav-height) + var(--safe-bottom) + 20px);background:var(--gold-gradient);width:56px;height:56px;color:var(--white);cursor:pointer;box-shadow:var(--shadow-gold);z-index:var(--z-dropdown);transition:transform var(--transition-spring);border-radius:50%;justify-content:center;align-items:center;font-size:22px;display:flex;position:fixed;right:20px}.fab:active{transform:scale(.95)}.toast{color:#fff;z-index:9999;opacity:0;background:#333;border-radius:8px;align-items:center;gap:10px;min-width:250px;max-width:90%;padding:12px 20px;transition:all .3s;display:flex;position:fixed;bottom:80px;left:50%;transform:translate(-50%)translateY(100px);box-shadow:0 4px 12px #00000026}.toast.show{opacity:1;transform:translate(-50%)translateY(0)}.toast-icon .fas:not(:empty)+.emoji-fallback{display:none}.toast-icon .fas:empty+.emoji-fallback{display:inline}.toast-message{flex:1}.toast-close{color:#fff;cursor:pointer;opacity:.7;background:0 0;border:none;margin-left:10px;padding:0;font-size:24px;transition:opacity .2s}.toast-close:hover{opacity:1}.toast.success{background:#4caf50}.toast.error{background:#f44336}.toast.warning{background:#ff9800}.toast.info{background:#2196f3}@media (max-width:640px){.toast{max-width:calc(100% - 20px);bottom:70px}}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 24px;display:flex}.empty-state i{color:var(--gray-lighter);margin-bottom:16px;font-size:48px}.empty-state p{color:var(--gray);font-size:14px}.skeleton{background:linear-gradient(90deg, var(--gray-lighter) 25%, var(--off-white) 50%, var(--gray-lighter) 75%);border-radius:var(--radius);background-size:200% 100%;animation:1.5s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.loading-overlay{z-index:var(--z-modal);background:#ffffffe6;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.loading-spinner{border:3px solid var(--gray-lighter);border-top-color:var(--gold);border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}.modal-overlay{z-index:var(--z-modal);opacity:0;visibility:hidden;transition:var(--transition);background:#00000080;justify-content:center;align-items:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.modal-overlay.open{opacity:1;visibility:visible}.modal{background:var(--white);border-radius:var(--radius-xl) var(--radius-xl) 0 0;width:100%;max-width:480px;max-height:90vh;transition:transform var(--transition-slow);flex-direction:column;display:flex;transform:translateY(100%)}.modal-overlay.open .modal{transform:translateY(0)}.modal-handle{background:var(--gray-lighter);border-radius:2px;width:40px;height:4px;margin:12px auto}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-title{color:var(--dark);font-size:18px;font-weight:700}.modal-close{width:32px;height:32px;color:var(--gray);justify-content:center;align-items:center;font-size:18px;display:flex}.modal-content{flex:1;padding:20px;overflow-y:auto}.modal-footer{padding:16px 20px;padding-bottom:calc(var(--safe-bottom) + 16px);border-top:1px solid var(--border)}.hidden{display:none!important}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--gray-lighter);border-radius:2px}::selection{background:var(--gold-light);color:var(--dark)}@media print{.bottom-nav,.fab,.toast{display:none!important}}.message{margin-bottom:8px;padding:0 16px;display:flex}.message.sent{justify-content:flex-end}.message.received{justify-content:flex-start}.message.sent .message-bubble{color:#fff;background:linear-gradient(135deg,#d4a84b 0%,#c49432 100%);border-radius:16px 16px 4px;max-width:280px;padding:10px 14px;position:relative;box-shadow:0 2px 8px #c4943240}.message.sent .message-text{color:#fff;word-wrap:break-word;font-size:14px;line-height:1.5}.message.sent .message-footer{justify-content:flex-end;align-items:center;gap:4px;margin-top:4px;display:flex}.message.sent .message-time{color:#fffc;font-size:11px}.message.sent .message-status{color:#fffc;font-size:14px}.message.sent .message-status.read{color:#53bdeb}.message.received .message-bubble{color:#1a1a1a;background:#fff;border:1px solid #e5e7eb;border-radius:16px 16px 16px 4px;max-width:280px;padding:10px 14px;position:relative;box-shadow:0 1px 4px #0000001a}.message.received .message-text{color:#1a1a1a;word-wrap:break-word;font-size:14px;line-height:1.5}.message.received .message-footer{justify-content:flex-end;align-items:center;gap:4px;margin-top:4px;display:flex}.message.received .message-time{color:#6b7280;font-size:11px}.message-buttons-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;max-width:300px;overflow:hidden;box-shadow:0 2px 12px #0000001a}.message-buttons-card:before{content:"";background:linear-gradient(90deg,#c49432 0%,#d4a84b 50%,#c49432 100%);height:4px;display:block}.message-buttons-card .card-body{background:#fff;padding:16px}.message-buttons-card .card-text{color:#1a1a1a;margin:0;font-size:14px;line-height:1.6}.message-buttons-card .card-buttons{border-top:1px solid #e5e7eb;flex-direction:column;display:flex}.message-buttons-card .card-btn{color:#c49432;text-align:center;cursor:pointer;background:#fff;border:none;border-top:1px solid #e5e7eb;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px 16px;font-size:15px;font-weight:600;transition:background .2s;display:flex}.message-buttons-card .card-btn:first-child{border-top:none}.message-buttons-card .card-btn:hover{background:#fbf8f1}.message-buttons-card .card-btn:active{background:#f5eed9}.message-buttons-card .card-btn i{color:#c49432;font-size:16px}.message-quick-buttons{background:#fff;border:1px solid #e5e7eb;border-radius:16px;max-width:300px;padding:14px;box-shadow:0 2px 8px #0000001a}.message-quick-buttons .buttons-text{color:#1a1a1a;margin-bottom:12px;font-size:14px;line-height:1.5}.message-quick-buttons .buttons-list{flex-direction:column;gap:8px;display:flex}.message-quick-buttons .quick-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#d4a84b 0%,#c49432 100%);border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:600;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 2px 6px #c494324d}.message-quick-buttons .quick-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #c4943266}.message-quick-buttons .quick-btn:active{transform:translateY(0)}.message-quick-buttons .quick-btn.secondary{color:#c49432;box-shadow:none;background:#fff;border:2px solid #c49432}.message-quick-buttons .quick-btn.secondary:hover{background:#fbf8f1;box-shadow:0 2px 8px #c4943233}.message-product-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;max-width:280px;overflow:hidden;box-shadow:0 2px 12px #0000001a}.message-product-card .product-image{object-fit:cover;width:100%;height:160px}.message-product-card .product-body{padding:14px}.message-product-card .product-name{color:#1a1a1a;margin-bottom:6px;font-size:15px;font-weight:600;line-height:1.3}.message-product-card .product-price-row{align-items:center;gap:8px;margin-bottom:12px;display:flex}.message-product-card .product-price{color:#c49432;font-size:18px;font-weight:700}.message-product-card .product-old-price{color:#9ca3af;font-size:13px;text-decoration:line-through}.message-product-card .product-discount{color:#059669;background:#d1fae5;border-radius:20px;padding:3px 8px;font-size:11px;font-weight:600}.message-product-card .product-actions{gap:8px;display:flex}.message-product-card .product-btn{cursor:pointer;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:10px 12px;font-size:13px;font-weight:600;transition:all .15s;display:flex}.message-product-card .product-btn.primary{color:#fff;background:linear-gradient(135deg,#d4a84b 0%,#c49432 100%);box-shadow:0 2px 6px #c494324d}.message-product-card .product-btn.secondary{color:#c49432;background:#fbf8f1;border:1px solid #e5d9b8}.message-order-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;max-width:280px;overflow:hidden;box-shadow:0 2px 12px #0000001a}.message-order-card .order-header{background:#fafafa;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.message-order-card .order-id{color:#1a1a1a;font-size:13px;font-weight:600}.message-order-card .order-status-badge{border-radius:20px;padding:4px 10px;font-size:11px;font-weight:600}.message-order-card .order-status-badge.pending{color:#d97706;background:#fef3c7}.message-order-card .order-status-badge.confirmed{color:#2563eb;background:#dbeafe}.message-order-card .order-status-badge.shipped{color:#0891b2;background:#cffafe}.message-order-card .order-status-badge.delivered{color:#059669;background:#d1fae5}.message-order-card .order-items{gap:6px;padding:12px 14px;display:flex;overflow-x:auto}.message-order-card .order-item-thumb{object-fit:cover;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;width:50px;height:50px}.message-order-card .order-footer{background:#fbf8f1;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.message-order-card .order-total-label{color:#6b7280;font-size:12px}.message-order-card .order-total-amount{color:#c49432;font-size:18px;font-weight:700}.message.sent .message-image-container{border-radius:16px 16px 4px;max-width:280px;overflow:hidden;box-shadow:0 2px 8px #c4943240}.message.received .message-image-container{border:1px solid #e5e7eb;border-radius:16px 16px 16px 4px;max-width:280px;overflow:hidden;box-shadow:0 1px 4px #0000001a}.message .message-image-container img{width:100%;display:block}.message .message-image-container .image-caption{padding:8px 12px}.message.sent .message-image-container .image-caption{color:#fff;background:linear-gradient(135deg,#d4a84b 0%,#c49432 100%)}.message.received .message-image-container .image-caption{color:#1a1a1a;background:#fff}.message.sent .message-text a{color:#fff;text-underline-offset:2px;text-decoration:underline}.message.received .message-text a{color:#c49432;text-underline-offset:2px;text-decoration:underline}.typing-bubble{background:#fff;border:1px solid #e5e7eb;border-radius:16px 16px 16px 4px;align-items:center;gap:4px;padding:12px 16px;display:inline-flex;box-shadow:0 1px 4px #0000001a}.typing-bubble .dot{background:#c49432;border-radius:50%;width:8px;height:8px;animation:1.4s infinite typingDot}.typing-bubble .dot:nth-child(2){animation-delay:.2s}.typing-bubble .dot:nth-child(3){animation-delay:.4s}@keyframes typingDot{0%,60%,to{opacity:.6;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}
