*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333}.app{min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 20px}.header{background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);color:#fff;padding:1.5rem 0;box-shadow:0 2px 10px #0000001a}.header .container{display:flex;justify-content:space-between;align-items:center}.header h1{font-size:1.8rem}.header nav{display:flex;gap:2rem}.header nav a{color:#fff;text-decoration:none;transition:opacity .3s}.header nav a:hover{opacity:.8}.hero{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;text-align:center;padding:5rem 0}.hero h2{font-size:2.5rem;margin-bottom:1rem}.hero p{font-size:1.2rem;opacity:.9}.services{padding:4rem 0;background:#f8f9fa}.services h2{text-align:center;font-size:2rem;margin-bottom:3rem;color:#2a5298}.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.service-card{background:white;padding:2rem;border-radius:10px;text-align:center;box-shadow:0 4px 6px #0000001a;transition:transform .3s}.service-card:hover{transform:translateY(-5px)}.service-icon{font-size:3rem;margin-bottom:1rem}.service-card h3{color:#2a5298;margin-bottom:.5rem}.about{padding:4rem 0}.about h2{text-align:center;font-size:2rem;margin-bottom:1.5rem;color:#2a5298}.about p{text-align:center;max-width:800px;margin:0 auto 3rem;font-size:1.1rem}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-top:2rem}.stat{text-align:center}.stat h3{font-size:2.5rem;color:#667eea;margin-bottom:.5rem}.stat p{color:#666}.flights-section{padding:4rem 0;background:#f5f7fa}.flights-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:2rem}.spinner{border:3px solid #f3f3f3;border-top:3px solid #667eea;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 1rem}.contact{padding:4rem 0;background:#f8f9fa}.contact h2{text-align:center;font-size:2rem;margin-bottom:3rem;color:#2a5298}.contact-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;max-width:1000px;margin:0 auto}.contact-item{background:white;padding:2rem;border-radius:10px;text-align:center;box-shadow:0 4px 6px #0000001a;transition:transform .3s}.contact-item:hover{transform:translateY(-5px)}.contact-icon{font-size:3rem;margin-bottom:1rem;display:flex;justify-content:center;align-items:center}.contact-item h3{color:#2a5298;margin-bottom:.5rem}.contact-item p{color:#666;font-size:1rem}.submit-btn{width:100%;padding:1rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:5px;font-size:1.1rem;cursor:pointer;transition:opacity .3s}.submit-btn:hover{opacity:.9}.footer{background:#2a5298;color:#fff;text-align:center;padding:2rem 0}@media (max-width: 768px){.header .container{flex-direction:column;gap:1rem}.header h1{font-size:1.5rem}.header nav{gap:1rem;font-size:.9rem}.hero{padding:3rem 0}.hero h2{font-size:1.8rem}.hero p{font-size:1rem}.services{padding:3rem 0}.services h2{font-size:1.8rem}.service-grid{grid-template-columns:1fr;gap:1.5rem}.service-card{padding:1.5rem}.about{padding:3rem 0}.about h2{font-size:1.8rem}.about p{font-size:1rem;padding:0 1rem}.stats{grid-template-columns:1fr 1fr;gap:1.5rem}.stat h3{font-size:2rem}.contact{padding:3rem 0}.contact h2{font-size:1.8rem}.contact-info{grid-template-columns:1fr;gap:1.5rem}.contact-item{padding:1.5rem}.contact-icon{font-size:2.5rem}.footer{padding:1.5rem 0}.footer p{font-size:.9rem}}@media (max-width: 480px){.container{padding:0 15px}.header h1{font-size:1.3rem}.header nav{gap:.8rem;font-size:.85rem}.hero h2{font-size:1.5rem}.hero p{font-size:.95rem}.services h2,.about h2,.contact h2{font-size:1.5rem}.service-icon{font-size:2.5rem}.stat h3{font-size:1.8rem}.stats,.flights-grid{grid-template-columns:1fr}}.login-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:20px}.login-box{background:white;border-radius:15px;box-shadow:0 10px 40px #0003;padding:3rem;max-width:450px;width:100%}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{font-size:2rem;color:#2a5298;margin-bottom:.5rem}.login-header p{color:#666;font-size:.95rem}.login-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #e0e0e0}.tab-btn{flex:1;padding:.8rem;background:transparent;border:none;border-bottom:3px solid transparent;font-size:1rem;font-weight:600;color:#666;cursor:pointer;transition:all .3s}.tab-btn.active{color:#667eea;border-bottom-color:#667eea}.tab-btn:hover{color:#667eea}.login-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#333;font-size:.95rem}.form-group input{padding:.9rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s}.platform-select{padding:.9rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background:white;cursor:pointer;transition:border-color .3s}.platform-select:focus{outline:none;border-color:#667eea}.login-btn{padding:1rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:opacity .3s}.login-btn:hover:not(:disabled){opacity:.9}.login-btn:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#fee;color:#c33;padding:1rem;border-radius:8px;font-size:.9rem;border:1px solid #fcc}.success-message{background:#efe;color:#3c3;padding:1rem;border-radius:8px;font-size:.9rem;border:1px solid #cfc}.input-hint{color:#999;font-size:.85rem;margin-top:-.3rem}.login-footer{text-align:center;margin-top:1.5rem}.login-footer a{color:#667eea;text-decoration:none;font-size:.95rem}.login-footer a:hover{text-decoration:underline}@media (max-width: 480px){.login-box{padding:2rem 1.5rem}.login-header h1{font-size:1.6rem}}.notification-popup{position:fixed;top:2rem;right:2rem;z-index:99999;min-width:320px;max-width:420px;background:white;border-radius:12px;box-shadow:0 10px 40px #0003;padding:1.2rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;animation:slideInRight .3s ease-out,fadeIn .3s ease-out}.notification-popup.success{border-left:5px solid #4CAF50;background:linear-gradient(135deg,#f0fff4 0%,#c6f6d5 100%)}.notification-popup.error{border-left:5px solid #f44336;background:linear-gradient(135deg,#fff5f5 0%,#fed7d7 100%)}.notification-popup.info{border-left:5px solid #2196F3;background:linear-gradient(135deg,#f0f9ff 0%,#bfdbfe 100%)}.notification-content{display:flex;align-items:center;gap:1rem;flex:1}.notification-icon{font-size:1.8rem;flex-shrink:0}.notification-message{font-size:1rem;font-weight:500;color:#333;line-height:1.4}.notification-close{background:rgba(0,0,0,.1);border:none;border-radius:50%;width:28px;height:28px;font-size:1.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;flex-shrink:0;color:#666}.notification-close:hover{background:rgba(0,0,0,.2);transform:scale(1.1)}@keyframes slideInRight{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 768px){.notification-popup{top:1rem;right:1rem;left:1rem;min-width:auto;max-width:none}}.dashboard-loading{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem}.spinner{width:50px;height:50px;border:4px solid #e0e0e0;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.dashboard-header{background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);color:#fff;padding:1.5rem 0;box-shadow:0 2px 10px #0000001a;width:100%}.dashboard-container{max-width:100%;margin:0 auto;padding:0 20px}.dashboard-header .dashboard-container{display:flex;justify-content:space-between;align-items:center;max-width:100%;width:100%}.profile-container{max-width:800px;margin:0 auto}.profile-card{background:white;border-radius:12px;padding:2rem;box-shadow:0 2px 10px #00000014}.profile-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #f0f0f0}.profile-item:last-child{border-bottom:none}.profile-label{font-weight:600;color:#555;font-size:1rem}.profile-value{color:#333;font-size:1rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.edit-btn{padding:.4rem .8rem;background:#667eea;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .3s}.edit-btn:hover{background:#5568d3;transform:translateY(-1px)}.edit-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.edit-modal-content{background:white;padding:2rem;border-radius:12px;max-width:500px;width:90%;box-shadow:0 10px 30px #0000004d}.edit-modal-content h3{margin-bottom:1.5rem;color:#2a5298}.edit-modal-content .form-group{margin-bottom:1.2rem}.edit-modal-content .form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#555}.edit-modal-content .form-group input{width:100%;padding:.8rem;border:1px solid #ddd;border-radius:6px;font-size:1rem}.edit-modal-content .form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.modal-buttons{display:flex;gap:1rem;margin-top:1.5rem}.save-btn{flex:1;padding:.8rem;background:#667eea;color:#fff;border:none;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .3s}.save-btn:hover:not(:disabled){background:#5568d3}.save-btn:disabled{opacity:.6;cursor:not-allowed}.cancel-btn{flex:1;padding:.8rem;background:#e0e0e0;color:#333;border:none;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .3s}.cancel-btn:hover{background:#d0d0d0}.error-message{background:#fee;color:#c33;padding:1rem;border-radius:6px;border-left:4px solid #c33}.success-message{background:#efe;color:#3c3;padding:1rem;border-radius:6px;border-left:4px solid #3c3}.booking-form-container{max-width:900px;margin:0 auto}.booking-header{text-align:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e0e0e0}.booking-header h3{font-size:1.8rem;color:#2a5298;margin-bottom:.5rem}.booking-subtitle{color:#666;font-size:.95rem}.booking-form{background:white;padding:2rem;border-radius:16px;box-shadow:0 4px 20px #00000014}.booking-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.form-group-modern{display:flex;flex-direction:column;gap:.5rem}.form-group-modern label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#333;font-size:.95rem}.label-icon{font-size:1.1rem}.modern-select,.modern-input,.modern-textarea{padding:.9rem 1rem;border:2px solid #e0e0e0;border-radius:10px;font-size:1rem;transition:all .3s;font-family:inherit}.modern-select:focus,.modern-input:focus,.modern-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a}.modern-textarea{resize:vertical;min-height:100px}.shipping-address-card{background:linear-gradient(135deg,#f5f7fa 0%,#e8ecf4 100%);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border:2px solid #e0e0e0}.address-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.address-icon{font-size:1.3rem}.address-title{font-weight:700;color:#2a5298;font-size:1.1rem}.address-content{display:flex;gap:1rem;align-items:flex-start}.address-textarea{flex:1;padding:1rem;border:2px solid #d0d0d0;border-radius:10px;background:white;font-size:.95rem;line-height:1.6;resize:none;font-family:inherit}.copy-address-btn{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.8rem 1.2rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s;white-space:nowrap}.copy-address-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.copy-address-btn span:first-child{font-size:1.5rem}.booking-submit-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.8rem;padding:1.2rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s;margin-top:1.5rem}.booking-submit-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.btn-icon{font-size:1.3rem}@media (max-width: 768px){.booking-form-grid{grid-template-columns:1fr}.address-content{flex-direction:column}.copy-address-btn{width:100%;flex-direction:row;justify-content:center}}.submenu-content{background:white;padding:2rem;border-radius:12px;margin-top:1.5rem;box-shadow:0 4px 6px #0000001a}.flights-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:1.5rem}.flight-card{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .3s,box-shadow .3s}.flight-card:hover{transform:translateY(-5px);box-shadow:0 4px 16px #667eea33}.flight-header{border-bottom:2px solid #667eea;padding-bottom:1rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center}.flight-header h3{color:#667eea;font-size:1.3rem;margin:0}.flight-status-badge{background-color:#e8f5e9;color:#4caf50;padding:.3rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.flight-info{display:flex;flex-direction:column;gap:1rem}.flight-detail{display:flex;flex-direction:column;gap:.3rem}.flight-detail .label{font-size:.9rem;color:#666;font-weight:500}.flight-detail .value{font-size:1rem;color:#333;font-weight:600}.parcels-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:1.5rem}.parcel-card{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .3s,box-shadow .3s}.parcel-card:hover{transform:translateY(-5px);box-shadow:0 4px 16px #667eea33}.parcel-header{border-bottom:2px solid #667eea;padding-bottom:1rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.parcel-header h4{color:#667eea;font-size:1.1rem;margin:0}.status-badge{padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.status-badge.cod{background-color:#fff3e0;color:#ff6f00;font-weight:600}.status-badge.no-cod{background-color:#f5f5f5;color:#757575}.cod-toggle-btn{padding:.5rem 1rem;border:2px solid #ddd;background:white;border-radius:20px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .3s;white-space:nowrap}.cod-toggle-btn:hover:not([style*=not-allowed]){background:#f5f5f5;border-color:#667eea}.cod-toggle-btn.active{background:#fff3e0;color:#ff6f00;border-color:#ff9800}.shipment-status-กำลังขนส่งไปจีน{background-color:#fff9c4;color:#f57f17}.shipment-status-กำลังจัดส่งในจีน{background-color:#ffe0b2;color:#e65100}.parcel-image{width:100%;height:200px;object-fit:cover;border-radius:8px;margin-bottom:1rem;border:2px solid #e0e0e0}.parcel-info{display:flex;flex-direction:column;gap:.8rem}.parcel-detail{display:flex;flex-direction:column;gap:.3rem}.parcel-detail .label{font-size:.9rem;color:#666;font-weight:500}.parcel-detail .value{font-size:.95rem;color:#333;font-weight:600}.loading-container{display:flex;flex-direction:column;align-items:center;padding:3rem;gap:1rem}.table-container{overflow-x:auto;margin-top:1rem}.parcels-table{width:100%;border-collapse:collapse;background:white}.parcels-table thead{background:#f8f9fa}.parcels-table th{padding:1rem;text-align:left;font-weight:600;color:#2a5298;border-bottom:2px solid #e0e0e0}.parcels-table td{padding:1rem;border-bottom:1px solid #f0f0f0;vertical-align:middle}.parcels-table tbody tr:hover{background:#f8f9fa}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.dashboard-card{background:white;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a;transition:transform .3s,box-shadow .3s;text-align:center}.dashboard-card:hover{transform:translateY(-5px);box-shadow:0 8px 15px #00000026}.card-icon{font-size:3rem;margin-bottom:1rem}.dashboard-card h3{color:#2a5298;margin-bottom:.5rem;font-size:1.3rem}.dashboard-card p{color:#666;margin-bottom:1.5rem;font-size:.95rem}.card-btn{padding:.8rem 2rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:opacity .3s}.card-btn:hover{opacity:.9}.shop-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-top:1rem}.shop-product-card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000001a;transition:transform .3s,box-shadow .3s}.shop-product-card.clickable:hover{transform:translateY(-5px);box-shadow:0 4px 16px #52c2344d}.shop-product-card:not(.clickable){opacity:.7}.shop-product-image{width:100%;height:200px;overflow:hidden;background:#f5f5f5}.shop-product-image img{width:100%;height:100%;object-fit:cover}.shop-product-info{padding:1rem}.shop-product-info h4{margin:0 0 .3rem;font-size:1.1rem;color:#333}.shop-product-category{color:#888;margin:0 0 .5rem;font-size:.85rem}.shop-product-price{font-size:1.3rem;font-weight:700;color:#4caf50;margin:.5rem 0}.shop-product-weight{color:#666;margin:.3rem 0;font-size:.9rem}.shop-product-stock{color:#888;margin:.3rem 0 .8rem;font-size:.9rem}.shop-order-btn{width:100%;padding:.8rem;background:linear-gradient(135deg,#52c234 0%,#34a622 100%);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.5rem}.shop-order-btn:hover:not(.disabled){transform:translateY(-2px);box-shadow:0 4px 12px #52c2344d}.shop-order-btn.disabled{background:#ccc;cursor:not-allowed}.order-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:center;z-index:1000;padding:1rem}.order-popup-content{background:white;border-radius:16px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 10px 40px #0000004d}.order-popup-close{position:absolute;top:1rem;right:1rem;background:rgba(0,0,0,.1);border:none;border-radius:50%;width:32px;height:32px;font-size:1.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .3s;z-index:10}.order-popup-close:hover{background:rgba(0,0,0,.2)}.order-popup-title{text-align:center;padding:1.5rem 1rem 1rem;margin:0;font-size:1.5rem;color:#333;border-bottom:1px solid #eee}.order-popup-body{padding:1.5rem}.order-product-image{width:100%;max-height:250px;margin-bottom:1.5rem;border-radius:12px;overflow:hidden;background:#f5f5f5;cursor:pointer;transition:opacity .3s;display:flex;align-items:center;justify-content:center}.order-product-image:hover{opacity:.9}.order-product-image img{max-width:100%;max-height:250px;object-fit:contain}.order-product-details{margin-bottom:1.5rem;text-align:center;padding-bottom:1rem;border-bottom:1px solid #eee}.order-product-details h3{margin:0 0 .3rem;font-size:1.3rem;color:#333}.order-product-category{color:#888;margin:0 0 .8rem;font-size:.9rem}.order-product-price{font-size:1.5rem;font-weight:700;color:#4caf50;margin:.5rem 0}.order-product-weight{color:#666;margin:.3rem 0;font-size:.95rem}.order-product-stock{color:#888;margin:.3rem 0;font-size:.95rem}.order-form{margin-top:1rem}.order-form-group{margin-bottom:1.2rem}.order-form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#333;font-size:.95rem}.order-quantity-control{display:flex;align-items:center;gap:1rem;justify-content:center}.quantity-btn{width:40px;height:40px;border:2px solid #667eea;background:white;color:#667eea;border-radius:8px;font-size:1.3rem;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center}.quantity-btn:hover{background:#667eea;color:#fff}.quantity-input{width:80px;height:40px;text-align:center;font-size:1.1rem;font-weight:700;border:2px solid #ddd;border-radius:8px;outline:none}.quantity-input:focus{border-color:#667eea}.order-summary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:1rem;border-radius:12px;margin:1rem 0;color:#fff;text-align:center}.order-summary p{margin:.3rem 0;font-size:1rem}.order-total-price{font-size:1.4rem;font-weight:700}.order-total-weight{font-size:.95rem;opacity:.9}.payment-type-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.payment-type-btn{flex:1;min-width:120px;padding:.8rem 1rem;border:2px solid #ddd;background:white;border-radius:8px;cursor:pointer;transition:all .3s;font-size:.95rem;font-weight:500}.payment-type-btn:hover{border-color:#667eea;background:#f5f7ff}.payment-type-btn.active{border-color:#667eea;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.order-file-input{width:100%;padding:.8rem;border:2px dashed #ddd;border-radius:8px;cursor:pointer;transition:all .3s}.order-file-input:hover{border-color:#667eea;background:#f5f7ff}.upload-status{color:#667eea;font-size:.9rem;margin-top:.5rem;text-align:center}.slip-preview{margin-top:1rem;text-align:center}.slip-preview img{max-width:100%;max-height:300px;border-radius:8px;border:2px solid #ddd;margin-bottom:.5rem}.remove-slip-btn{padding:.5rem 1rem;background:#ff4444;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .3s;font-size:.9rem}.remove-slip-btn:hover{background:#cc0000}.status-badge.paid{background-color:#e8f5e9;color:#2e7d32;padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.status-badge.closed{background-color:#ffebee;color:#c62828;padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.order-select{width:100%;padding:.75rem;border:2px solid #ddd;border-radius:8px;font-size:1rem;outline:none;transition:border-color .3s}.order-select:focus{border-color:#667eea}.order-textarea{width:100%;padding:.75rem;border:2px solid #ddd;border-radius:8px;font-size:1rem;outline:none;resize:vertical;font-family:inherit;transition:border-color .3s}.order-textarea:focus{border-color:#667eea}.order-actions{display:flex;gap:1rem;margin-top:1.5rem}.order-cancel-btn{flex:1;padding:.9rem;background:#f5f5f5;color:#666;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s}.order-cancel-btn:hover{background:#e0e0e0}.order-submit-btn{flex:1;padding:.9rem;background:linear-gradient(135deg,#52c234 0%,#34a622 100%);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .3s}.order-submit-btn:hover{opacity:.9}.qr-code-container{display:flex;justify-content:center;align-items:center;padding:1rem;background:#f5f5f5;border-radius:8px}.payment-qr-code{max-width:100%;width:300px;height:auto;border-radius:8px;box-shadow:0 2px 8px #0000001a}.topup-form-container{max-width:800px;margin:0 auto}.topup-header{text-align:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e0e0e0}.topup-header h3{font-size:1.8rem;color:#2a5298;margin-bottom:.5rem}.topup-subtitle{color:#666;font-size:.95rem}.topup-form{background:white;padding:2rem;border-radius:16px;box-shadow:0 4px 20px #00000014}.exchange-rate-info{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:1.5rem;border-radius:12px;margin-bottom:2rem;color:#fff;text-align:center}.rate-box{display:flex;flex-direction:column;gap:.5rem}.rate-box span:first-child{font-size:1.1rem;font-weight:600}.rate-box span:not(:first-child){font-size:1rem;opacity:.95}.currency-buttons{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.5rem}.currency-btn{padding:1.2rem;border:2px solid #ddd;background:white;border-radius:12px;cursor:pointer;transition:all .3s;font-size:1rem;font-weight:500;text-align:center}.currency-btn:hover{border-color:#667eea;background:#f5f7ff}.currency-btn.active{border-color:#667eea;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.topup-calculation{background:linear-gradient(135deg,#f5f7fa 0%,#e8ecf4 100%);padding:1.5rem;border-radius:12px;margin:1.5rem 0;border:2px solid #e0e0e0}.calc-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;font-size:1rem}.calc-row.total{border-top:2px solid #667eea;margin-top:.5rem;padding-top:1rem;font-weight:600}.calc-value{font-weight:600;color:#333}.calc-value-highlight{font-size:1.3rem;font-weight:700;color:#667eea}@media (max-width: 768px){.dashboard-header .dashboard-container{flex-direction:column;gap:1rem}.dashboard-header h1{font-size:1.5rem}.user-info{flex-direction:column;gap:.5rem}.dashboard-layout{flex-direction:column}.dashboard-sidebar{width:100%;border-right:none;border-bottom:1px solid #e0e0e0;padding:.5rem 0;display:flex;overflow-x:auto}.menu-item{flex-shrink:0;padding:.8rem 1rem;font-size:.85rem;border-left:none;border-bottom:3px solid transparent}.menu-item.active{border-left-color:transparent;border-bottom-color:#667eea}.dashboard-content{padding:1.5rem}.dashboard-content h2{font-size:1.6rem}.submenu-tabs{flex-direction:column;gap:.5rem;border-bottom:none}.submenu-tab{padding:.8rem 1rem;border-left:3px solid transparent;border-bottom:none;margin-bottom:0;text-align:left}.submenu-tab.active{border-left-color:#667eea;border-bottom-color:transparent;background:#f0f4ff}.submenu-content{padding:1.5rem}.submenu-content h3{font-size:1.3rem}}.expenses-table-wrapper{width:100%;padding:1rem;border-radius:12px;margin-top:1.5rem;box-shadow:0 4px 6px #0000001a;background:white;border:1px solid #e0e0e0}.expenses-table-container{overflow-x:auto;overflow-y:auto;max-height:600px;border:2px solid #e0e0e0;border-radius:8px;background:white}.expenses-table-container::-webkit-scrollbar{width:10px;height:10px}.expenses-table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.expenses-table-container::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.expenses-table-container::-webkit-scrollbar-thumb:hover{background:#555}.expenses-table{width:max-content;min-width:100%;border-collapse:collapse;background:white;font-size:.85rem}.expenses-table thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.expenses-table th{padding:.6rem .5rem;text-align:center;font-weight:600;color:#2a5298;border-bottom:2px solid #e0e0e0;white-space:nowrap;background:#f8f9fa;font-size:.8rem}.expenses-table td{padding:.5rem .4rem;border-bottom:1px solid #f0f0f0;vertical-align:middle;white-space:nowrap;text-align:center}.expenses-table tbody tr:hover{background:#f8f9fa}.parcel-thumbnail{width:40px;height:40px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #ddd;display:block;margin:0 auto}.status-badge{display:inline-block;padding:.3rem .6rem;border-radius:20px;font-weight:600;font-size:.75rem;white-space:nowrap}.status-badge.paid{background-color:#e8f5e9;color:#2e7d32}.status-badge.closed{background-color:#ffebee;color:#c62828}.status-badge.waiting{background-color:#fff3e0;color:#f57c00}.chat-container{position:fixed;bottom:10px;right:20px;z-index:10000}.sound-enable-btn{position:fixed;bottom:100px;right:20px;padding:1rem 1.5rem;background:linear-gradient(135deg,#ff6b6b 0%,#ee5a6f 100%);color:#fff;border:none;border-radius:30px;cursor:pointer;font-size:1rem;font-weight:700;box-shadow:0 6px 20px #ff6b6b80;transition:all .3s ease;animation:pulseScale 1.5s infinite;z-index:9999}.sound-enable-btn:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 8px 25px #ff6b6b99}@keyframes pulseScale{0%,to{transform:scale(1);box-shadow:0 6px 20px #ff6b6b80}50%{transform:scale(1.08);box-shadow:0 8px 30px #ff6b6bb3}}.chat-window-inline{width:100%;height:100%;background:#ffffff;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow:hidden;flex:1}.chat-window-inline .chat-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:11;flex-shrink:0}.chat-window-inline .chat-header h3{margin:0;font-size:1.5rem;font-weight:600}.chat-window-inline .chat-close{display:none}.chat-window-inline .chat-messages{flex:1;padding:1rem;padding-bottom:140px;overflow-y:auto;background:#ffffff}.chat-window-inline .chat-input-container{padding:.2rem;background:white;border-top:1px solid #e2e8f0;position:fixed;bottom:65px;left:0;right:0;z-index:100;box-shadow:0 -2px 10px #0000001a}.chat-button{width:65px;height:65px;border-radius:50%;background:linear-gradient(135deg,#00B900 0%,#00D400 100%);border:none;color:#fff;font-size:2rem;cursor:pointer;box-shadow:0 6px 25px #00b90066;transition:all .3s ease;display:flex;align-items:center;justify-content:center;position:relative}.chat-button:hover{transform:translateY(-3px);box-shadow:0 8px 30px #00b90080}.chat-button:active{transform:translateY(-1px)}.chat-window{position:absolute;bottom:85px;right:0;width:420px;height:550px;background:#ffffff;border-radius:20px;box-shadow:0 15px 50px #00000040;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:1.2rem 1.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px #0000001a}.chat-header h3{margin:0;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.chat-close{background:rgba(255,255,255,.25);border:none;color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1.4rem;display:flex;align-items:center;justify-content:center;transition:all .3s;font-weight:300}.chat-close:hover{background:rgba(255,255,255,.35);transform:rotate(90deg)}.chat-messages{flex:1;padding:1.5rem;overflow-y:auto;background:linear-gradient(180deg,#f0f4f8 0%,#ffffff 100%);scrollbar-width:thin;scrollbar-color:#cbd5e0 #f7fafc;display:flex;flex-direction:column-reverse}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:#f7fafc}.chat-messages::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#a0aec0}.chat-message{margin-bottom:1.2rem;display:flex;flex-direction:column;animation:messageSlide .3s ease-out}@keyframes messageSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-message.user{align-items:flex-end}.chat-message.admin{align-items:flex-start}.message-bubble{max-width:75%;padding:.9rem 1.2rem;border-radius:18px;word-wrap:break-word;line-height:1.5;box-shadow:0 2px 8px #00000014;position:relative}.chat-message.user .message-bubble{background:linear-gradient(135deg,#38ad38 0%,#38ad38 100%);color:#fff;border-bottom-right-radius:4px}.chat-message.admin .message-bubble{background:white;color:#2d3748;border-bottom-left-radius:4px;border:1px solid #e2e8f0}.message-image{max-width:100%;max-height:250px;border-radius:12px;margin-top:.6rem;cursor:pointer;transition:transform .2s;box-shadow:0 2px 8px #0000001a}.message-image:hover{transform:scale(1.02)}.message-time{font-size:.7rem;color:#a0aec0;margin-top:.4rem;padding:0 .3rem}.chat-input-container{padding:1.2rem;background:white;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.7rem}.chat-image-preview{position:relative;max-width:180px;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.chat-image-preview img{width:100%;display:block;border-radius:12px}.remove-image-btn{position:absolute;top:-10px;right:-10px;background:#ef4444;color:#fff;border:none;border-radius:50%;width:28px;height:28px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;box-shadow:0 2px 8px #ef444466;transition:all .2s}.remove-image-btn:hover{background:#dc2626;transform:scale(1.1)}.chat-input-row{display:flex;gap:.6rem;align-items:center;background:#f7fafc;padding:.6rem;border-radius:25px;border:2px solid #e2e8f0;transition:border-color .3s}.chat-input-row:focus-within{border-color:#00b900}.chat-file-input{display:none}.chat-file-btn{background:transparent;border:none;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:1.4rem;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.chat-file-btn:hover{background:#e2e8f0;transform:scale(1.1)}.chat-input{flex:1;padding:.6rem .8rem;border:none;background:transparent;outline:none;font-size:.95rem;resize:none;min-height:24px;max-height:100px;font-family:inherit;color:#2d3748}.chat-input::placeholder{color:#a0aec0}.chat-send-btn{background:linear-gradient(135deg,#00B900 0%,#00D400 100%);border:none;color:#fff;width:42px;height:42px;border-radius:50%;cursor:pointer;font-size:1.5rem;display:flex;align-items:center;justify-content:center;transition:all .3s;flex-shrink:0;box-shadow:0 2px 8px #00b9004d}.chat-send-btn:hover:not(:disabled){transform:scale(1.1);box-shadow:0 4px 15px #00b90066}.chat-send-btn:disabled{opacity:1;cursor:not-allowed}.chat-loading{text-align:center;padding:3rem 1rem;color:#718096}.chat-loading .spinner{border:3px solid #e2e8f0;border-top:3px solid #00B900;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 1rem}.chat-empty{text-align:center;padding:9rem 2rem;color:#718096}.chat-empty p:first-child{font-size:2rem;margin-bottom:1rem}.chat-empty p:last-child{font-size:.95rem;color:#a0aec0}.unread-badge{position:absolute;top:-5px;right:-5px;background:#ef4444;color:#fff;border-radius:50%;min-width:26px;height:26px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;padding:0 .4rem;box-shadow:0 2px 8px #ef444466;animation:pulse 2s infinite}.chat-image-popup{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;z-index:20000;cursor:pointer;animation:fadeIn .3s ease-out}.chat-image-popup img{max-width:90%;max-height:90%;border-radius:12px;box-shadow:0 10px 50px #00000080}@media (max-width: 768px){.chat-container{bottom:80px}.chat-window{width:calc(100vw - 30px);height:calc(100vh - 180px);bottom:85px;right:15px;border-radius:16px}.chat-button{width:60px;height:60px;font-size:1.8rem}.message-bubble{max-width:85%}}.mobile-dashboard{min-height:100vh;background:#f5f7fa;display:flex;flex-direction:column;padding-bottom:65px}.mobile-flights-list{display:flex;flex-direction:column;gap:1rem}.mobile-flight-card-full{background:white;border-radius:12px;padding:1.2rem;box-shadow:0 2px 8px #0000001a}.mobile-flight-header-full{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #667eea}.mobile-flight-header-full h3{color:#667eea;font-size:1.1rem;margin:0}.mobile-badge-open{background:#e8f5e9;color:#4caf50;padding:.3rem .7rem;border-radius:12px;font-size:.75rem;font-weight:600}.mobile-flight-info-full{display:flex;flex-direction:column;gap:.8rem}.info-row-full{display:flex;flex-direction:column;gap:.3rem}.info-label-full{color:#666;font-size:.85rem}.info-value-full{color:#333;font-weight:600;font-size:.9rem}.address-section{margin-top:.5rem}.address-actions{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.address-text-full{width:100%;padding:.7rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.85rem;line-height:1.5;resize:none;font-family:inherit;background:#f9f9f9}.mobile-copy-btn-full{width:100%;padding:.7rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:opacity .3s}.mobile-copy-btn-full:hover{opacity:.9}.mobile-form-full{background:white;padding:1.2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:1rem}.mobile-form-group-full{margin-bottom:1rem}.mobile-form-group-full label{display:block;margin-bottom:.5rem;font-weight:600;color:#333;font-size:.9rem}.mobile-form-group-full input,.mobile-form-group-full select,.mobile-form-group-full textarea{width:100%;padding:.8rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.9rem;font-family:inherit;transition:border-color .3s}.mobile-form-group-full input:focus,.mobile-form-group-full select:focus,.mobile-form-group-full textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.mobile-form-group-full textarea{resize:vertical}.mobile-submit-btn-full{width:100%;padding:1rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:.5rem;transition:transform .2s}.mobile-submit-btn-full:hover{transform:translateY(-2px)}.shipping-address-section{background:#f5f7fa;padding:1rem;border-radius:10px;margin:1rem 0;border:2px solid #e0e0e0}.shipping-address-section label{display:block;margin-bottom:.5rem;font-weight:600;color:#667eea;font-size:.95rem}.mobile-table-wrapper{background:white;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #0000001a}.table-container-mobile{overflow-x:auto;overflow-y:auto;max-height:600px;border:2px solid #e0e0e0;border-radius:8px;margin-top:1rem}.table-container-mobile::-webkit-scrollbar{width:8px;height:8px}.table-container-mobile::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.table-container-mobile::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.mobile-table-full{width:max-content;min-width:100%;border-collapse:collapse;background:white;font-size:.85rem}.mobile-table-full thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.mobile-table-full th{padding:.7rem .5rem;text-align:center;font-weight:600;color:#2a5298;border-bottom:2px solid #e0e0e0;white-space:nowrap;background:#f8f9fa;font-size:.8rem}.mobile-table-full td{padding:.6rem .5rem;border-bottom:1px solid #f0f0f0;vertical-align:middle;white-space:nowrap;text-align:center}.mobile-table-full tbody tr:hover{background:#f8f9fa}.mobile-thumbnail{width:50px;height:50px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #ddd;display:block;margin:0 auto}.mobile-thumbnail:hover{opacity:.8}.mobile-status-badge{display:inline-block;padding:.2rem .4rem;border-radius:8px;font-weight:600;font-size:.65rem;white-space:nowrap}.mobile-status-badge.paid{background-color:#e8f5e9;color:#2e7d32}.mobile-status-badge.received{background-color:#e8f5e9;color:#4caf50}.mobile-status-badge.closed{background-color:#ffebee;color:#c62828}.mobile-status-badge.waiting{background-color:#fff3e0;color:#f57c00}.mobile-status-badge.cod{background-color:#fff3e0;color:#ff6f00}.mobile-status-badge.no-cod{background-color:#f5f5f5;color:#757575}.mobile-status-badge.shipment-status-ตรวจสอบแล้ว{background-color:#e3f2fd;color:#1976d2}.mobile-status-badge.shipment-status-กำลังขนส่งไปจีน{background-color:#fff9c4;color:#f57f17}.mobile-status-badge.shipment-status-กำลังจัดส่งในจีน{background-color:#ffe0b2;color:#e65100}.mobile-status-badge.shipment-status-กำลังขนส่งไปไทย{background-color:#f3e5f5;color:#7b1fa2}.mobile-status-badge.shipment-status-กำลังจัดส่งในไทย{background-color:#e0f2f1;color:#00897b}.mobile-status-badge.shipment-status-ขนส่งเข้ารับไม่สำเร็จ{background-color:#ffebee;color:#c62828}.mobile-status-badge.shipment-status-จัดส่งสำเร็จ{background-color:#e8f5e9;color:#2e7d32}.mobile-select-filter{padding:.6rem 1rem;border:2px solid #667eea;border-radius:8px;font-size:.85rem;background:white;color:#333;cursor:pointer;flex:1;min-width:200px}.mobile-products-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.mobile-product-card-full{background:white;border-radius:10px;overflow:hidden;box-shadow:0 2px 6px #00000014;cursor:pointer;transition:transform .3s}.mobile-product-card-full:hover{transform:translateY(-3px);box-shadow:0 4px 12px #667eea33}.mobile-product-card-full img{width:100%;height:140px;object-fit:cover}.mobile-product-info-full{padding:.8rem}.mobile-product-info-full h4{margin:0 0 .3rem;font-size:.95rem;color:#333}.mobile-product-category{color:#888;font-size:.8rem;margin:0 0 .5rem}.mobile-product-price-full{font-size:1.2rem;font-weight:700;color:#4caf50;margin:.4rem 0}.mobile-product-weight,.mobile-product-stock{color:#666;font-size:.85rem;margin:.2rem 0}.mobile-order-btn-full{width:100%;padding:.6rem;background:linear-gradient(135deg,#52c234 0%,#34a622 100%);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;margin-top:.5rem;transition:opacity .3s}.mobile-order-btn-full:hover:not(.disabled){opacity:.9}.mobile-order-btn-full.disabled{background:#ccc;cursor:not-allowed}.mobile-currency-select-full{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:1rem}.currency-option-full{padding:1rem;border:2px solid #e0e0e0;background:white;border-radius:10px;cursor:pointer;transition:all .3s;font-size:.9rem;font-weight:500;text-align:center}.currency-option-full:hover{border-color:#667eea;background:#f5f7ff}.currency-option-full.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-color:#667eea}.balance-info{font-size:.8rem;margin-top:.3rem;opacity:.9}.mobile-payment-select-full{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-bottom:1rem}.payment-option-full{padding:.8rem .5rem;border:2px solid #e0e0e0;background:white;border-radius:8px;cursor:pointer;transition:all .3s;font-size:.85rem;font-weight:500;text-align:center}.payment-option-full:hover{border-color:#667eea;background:#f5f7ff}.payment-option-full.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-color:#667eea}.mobile-qr-display-full{text-align:center;margin:1rem 0;padding:1rem;background:#f5f5f5;border-radius:10px}.mobile-qr-display-full img{max-width:100%;width:220px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.exchange-rate-box{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:1rem;border-radius:10px;margin-bottom:1rem;color:#fff;text-align:center}.exchange-rate-box p{margin:.3rem 0;font-size:.9rem}.exchange-rate-box p:first-child{font-weight:600;font-size:1rem}.topup-calculation-box{background:#f5f7fa;padding:1rem;border-radius:10px;margin:1rem 0;border:2px solid #e0e0e0}.calc-row-full{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.9rem}.calc-row-full.total{border-top:2px solid #667eea;margin-top:.5rem;padding-top:.8rem;font-weight:600}.calc-row-full .highlight{color:#667eea;font-size:1.1rem}.slip-preview-full{margin-top:1rem;text-align:center}.slip-preview-full img{max-width:100%;max-height:250px;border-radius:8px;border:2px solid #ddd;margin-bottom:.5rem}.remove-slip-btn-full{padding:.5rem 1rem;background:#ff4444;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .3s;font-size:.9rem}.remove-slip-btn-full:hover{background:#cc0000}.mobile-profile-full{background:white;padding:1rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.mobile-profile-item-full{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid #f0f0f0;font-size:.9rem}.mobile-profile-item-full:last-child{border-bottom:none}.mobile-profile-item-full span:first-child{color:#666}.mobile-profile-item-full strong{color:#333;font-weight:600}.mobile-edit-btn{padding:.4rem .8rem;background:#667eea;color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:opacity .3s}.mobile-edit-btn:hover{opacity:.9}.mobile-edit-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.mobile-edit-modal-content{background:white;padding:1.5rem;border-radius:12px;max-width:400px;width:100%;box-shadow:0 10px 30px #0000004d}.mobile-edit-modal-content h3{margin:0 0 1rem;color:#2a5298}.mobile-modal-buttons{display:flex;gap:.5rem;margin-top:1rem}.mobile-save-btn{flex:1;padding:.8rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.mobile-save-btn:disabled{opacity:.6;cursor:not-allowed}.mobile-cancel-btn{flex:1;padding:.8rem;background:#e0e0e0;color:#333;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.mobile-error-message{background:#fee;color:#c33;padding:.8rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #c33;font-size:.9rem}.mobile-success-message{background:#efe;color:#3c3;padding:.8rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #3c3;font-size:.9rem}.mobile-logout-btn-full{width:100%;padding:.9rem;background:#dc3545;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:1rem;transition:opacity .3s}.mobile-logout-btn-full:hover{opacity:.9}.mobile-expenses-grid{display:grid;grid-template-columns:1fr;gap:.8rem}.mobile-expense-card{background:white;border-radius:10px;padding:.8rem;box-shadow:0 2px 6px #00000014;transition:transform .2s,box-shadow .2s}.mobile-expense-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea26}.mobile-expense-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.6rem;padding-bottom:.6rem;border-bottom:2px solid #667eea;gap:.5rem}.mobile-expense-header-content{display:flex;align-items:center;gap:.6rem;flex:1}.mobile-expense-header-content h4{color:#667eea;font-size:.95rem;margin:0 0 .2rem;font-weight:600}.mobile-expense-date{font-size:.75rem;color:#888}.mobile-expense-image-inline{width:55px;height:55px;object-fit:cover;border-radius:6px;cursor:pointer;border:1px solid #e0e0e0;transition:transform .2s;flex-shrink:0}.mobile-expense-image-inline:hover{transform:scale(1.05)}.mobile-expense-info{display:flex;flex-direction:column;gap:.5rem}.mobile-expense-row{display:flex;justify-content:space-between;align-items:flex-start;font-size:.8rem;gap:.5rem}.mobile-expense-row .label{color:#666;font-weight:500;flex-shrink:0;font-size:.75rem}.mobile-expense-row .value{color:#333;font-weight:600;text-align:right;font-size:.8rem}.mobile-expense-receipt{width:45px;height:45px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #e0e0e0}.mobile-expense-total{display:flex;justify-content:space-between;align-items:flex-start;margin-top:.5rem;padding-top:.6rem;border-top:2px solid #e0e0e0;font-size:.85rem}.mobile-expense-total .label{color:#333;font-weight:700;font-size:.85rem}.mobile-expense-total .value{text-align:right}.mobile-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:1rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:10}.mobile-header-left{display:flex;align-items:center;gap:.1rem}.mobile-logo{height:43px;width:auto}.mobile-header h1{font-size:1.1rem;margin:0}.mobile-user{font-size:.85rem;background:rgba(255,255,255,.2);padding:.3rem .6rem;border-radius:15px}.mobile-content{flex:1;padding:1rem;overflow-y:auto}.mobile-section-chat{padding:0!important;margin:0!important;height:calc(100vh - 125px);display:flex;flex-direction:column;position:fixed;top:60px;left:0;right:0;bottom:65px;overflow:hidden}.mobile-section h2{color:#667eea;font-size:1.3rem;margin-bottom:1rem}.mobile-loading,.mobile-loading-content{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem}.spinner{border:3px solid rgba(102,126,234,.3);border-top:3px solid #667eea;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin-bottom:.5rem}.mobile-flights{display:flex;flex-direction:column;gap:1rem}.mobile-flight-card{background:white;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #0000001a}.mobile-flight-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem;padding-bottom:.8rem;border-bottom:2px solid #667eea}.mobile-flight-header h3{color:#667eea;font-size:1rem;margin:0}.mobile-badge{background:#e8f5e9;color:#4caf50;padding:.25rem .6rem;border-radius:12px;font-size:.7rem;font-weight:600}.mobile-flight-info{display:flex;flex-direction:column;gap:.6rem}.info-row{display:flex;justify-content:space-between;align-items:center;font-size:.85rem}.info-label{color:#666}.info-value{color:#333;font-weight:600;text-align:right}.mobile-copy-btn{width:100%;padding:.6rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;margin-top:.5rem}.mobile-tabs{display:flex;gap:.5rem;margin-bottom:1rem}.mobile-tab{flex:1;padding:.7rem;background:white;border:2px solid #e0e0e0;border-radius:8px;color:#666;font-size:.85rem;cursor:pointer;transition:all .3s;font-weight:500}.mobile-tab.active{background:#667eea;color:#fff;border-color:#667eea}.mobile-form{background:white;padding:1rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:1rem}.mobile-form-group{margin-bottom:1rem}.mobile-form-group label{display:block;margin-bottom:.4rem;font-weight:600;color:#333;font-size:.9rem}.mobile-form-group input,.mobile-form-group select,.mobile-form-group textarea{width:100%;padding:.7rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.9rem;font-family:inherit}.mobile-form-group textarea{resize:vertical}.mobile-submit-btn{width:100%;padding:.9rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:.5rem}.mobile-list{display:flex;flex-direction:column;gap:.8rem}.mobile-card{background:white;padding:1rem;border-radius:10px;box-shadow:0 2px 6px #00000014}.mobile-card-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;font-size:.9rem}.mobile-card-row span:first-child{color:#666}.mobile-status{padding:.25rem .6rem;border-radius:12px;font-size:.75rem;font-weight:600}.mobile-status.paid,.mobile-status.received{background:#e8f5e9;color:#4caf50}.mobile-status.waiting{background:#fff3e0;color:#ff9800}.mobile-products{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}.mobile-product-card{background:white;border-radius:10px;overflow:hidden;box-shadow:0 2px 6px #00000014;cursor:pointer}.mobile-product-card img{width:100%;height:120px;object-fit:cover}.mobile-product-info{padding:.7rem}.mobile-product-info h4{margin:0 0 .3rem;font-size:.9rem;color:#333}.mobile-product-price{font-size:1.1rem;font-weight:700;color:#4caf50;margin:.3rem 0}.mobile-order-btn{width:100%;padding:.5rem;background:linear-gradient(135deg,#52c234 0%,#34a622 100%);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;margin-top:.3rem}.mobile-order-btn.disabled{background:#ccc;cursor:not-allowed}.mobile-price{font-size:1.1rem;font-weight:700;color:#667eea}.mobile-currency-select,.mobile-payment-select{display:flex;gap:.5rem;margin-bottom:1rem}.currency-option,.payment-option{flex:1;padding:.7rem;border:2px solid #e0e0e0;background:white;border-radius:8px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .3s}.currency-option.active,.payment-option.active{background:#667eea;color:#fff;border-color:#667eea}.mobile-qr-display{text-align:center;margin:1rem 0}.mobile-qr-display img{max-width:100%;width:200px;border-radius:8px}.mobile-profile{background:white;padding:1rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.mobile-profile-item{display:flex;justify-content:space-between;padding:.8rem 0;border-bottom:1px solid #f0f0f0;font-size:.9rem}.mobile-profile-item span:first-child{color:#666}.mobile-refresh-btn{width:100%;padding:.8rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;margin-top:1rem}.mobile-logout-btn{width:100%;padding:.8rem;background:#dc3545;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;margin-top:.5rem}.no-data{text-align:center;padding:2rem;color:#999;background:white;border-radius:8px;font-style:italic}.mobile-notification{position:fixed;top:1rem;left:1rem;right:1rem;padding:1rem;border-radius:10px;z-index:100;font-weight:500;box-shadow:0 4px 12px #0003;animation:slideDown .3s ease-out}.mobile-notification.success{background:#e8f5e9;color:#2e7d32;border-left:4px solid #4CAF50}.mobile-notification.error{background:#ffebee;color:#c62828;border-left:4px solid #f44336}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.mobile-image-popup{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;z-index:200;padding:1rem}.mobile-image-popup img{max-width:100%;max-height:80vh;border-radius:8px}.mobile-image-popup button{position:absolute;top:1rem;right:1rem;background:#ff4444;color:#fff;border:none;border-radius:50%;width:40px;height:40px;font-size:1.5rem;cursor:pointer}.mobile-order-popup{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:150;padding:1rem}.mobile-popup-content{background:white;border-radius:16px;width:100%;max-width:400px;max-height:90vh;overflow-y:auto;padding:1.5rem;position:relative}.mobile-popup-close{position:absolute;top:.5rem;right:.5rem;background:rgba(0,0,0,.1);border:none;border-radius:50%;width:32px;height:32px;font-size:1.2rem;cursor:pointer}.mobile-popup-content h3{margin:0 0 1rem;color:#333;text-align:center}.mobile-popup-image{width:100%;max-height:200px;object-fit:cover;border-radius:10px;margin-bottom:1rem}.mobile-popup-content h4{margin:0 0 .5rem;text-align:center;color:#333}.mobile-popup-price{text-align:center;font-size:1.5rem;font-weight:700;color:#4caf50;margin:.5rem 0 1rem}.mobile-quantity-control{display:flex;justify-content:center;align-items:center;gap:1rem;margin-bottom:1rem}.mobile-quantity-control button{width:35px;height:35px;border:2px solid #667eea;background:white;color:#667eea;border-radius:8px;font-size:1.2rem;cursor:pointer}.mobile-quantity-control span{font-size:1.2rem;font-weight:700;min-width:40px;text-align:center}.mobile-popup-content select,.mobile-popup-content input[type=file]{width:100%;padding:.7rem;border:2px solid #e0e0e0;border-radius:8px;margin-bottom:1rem;font-size:.9rem}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:white;display:grid;grid-template-columns:repeat(7,1fr);padding:.3rem 0;box-shadow:0 -2px 10px #0000001a;z-index:100}.nav-btn{display:flex;flex-direction:column;align-items:center;gap:.1rem;background:transparent;border:none;color:#999;cursor:pointer;padding:.4rem .2rem;transition:color .3s}.nav-btn.active{color:#667eea;transform:scale(1.1)}.nav-icon{font-size:1.3rem}.nav-label{font-size:.65rem;font-weight:500}.mobile-nav-badge{position:absolute;top:3px;right:8px;background:#ef4444;color:#fff;border-radius:50%;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;padding:0 .3rem;box-shadow:0 2px 6px #ef444466;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.mobile-parcels-grid,.mobile-shipments-grid{display:grid;grid-template-columns:1fr;gap:.6rem}.mobile-shipment-card{background:white;border-radius:8px;padding:.6rem;box-shadow:0 1px 4px #00000014;transition:transform .2s,box-shadow .2s}.mobile-shipment-card:hover{transform:translateY(-2px);box-shadow:0 2px 8px #667eea26}.mobile-shipment-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;padding-bottom:.4rem;border-bottom:1px solid #667eea;gap:.3rem}.mobile-shipment-header-content{display:flex;align-items:center;gap:.5rem;flex:1}.mobile-shipment-header-content h4{color:#667eea;font-size:.85rem;margin:0 0 .2rem;font-weight:600}.mobile-shipment-date{font-size:.7rem;color:#888}.mobile-shipment-image-inline{width:50px;height:50px;object-fit:cover;border-radius:6px;cursor:pointer;border:1px solid #e0e0e0;transition:transform .2s;flex-shrink:0}.mobile-shipment-image-inline:hover{transform:scale(1.05)}.mobile-shipment-info{display:flex;flex-direction:column;gap:.4rem}.mobile-shipment-row{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;gap:.3rem}.mobile-shipment-row .label{color:#666;font-weight:500;flex-shrink:0;font-size:.7rem}.mobile-shipment-row .value{color:#333;font-weight:600;text-align:right;font-size:.75rem}.mobile-shipment-receipt{width:40px;height:40px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #e0e0e0}.mobile-cod-toggle{padding:.4rem .6rem;border:2px solid #e0e0e0;background:white;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .3s;color:#666}.mobile-cod-toggle.active{background:#fff3e0;border-color:#ff9800;color:#ff6f00;font-weight:600}.mobile-notes-input{width:100%;padding:.5rem;border:2px solid #667eea;border-radius:6px;font-size:.75rem;font-family:inherit;resize:vertical}.mobile-notes-input:focus{outline:none;box-shadow:0 0 0 3px #667eea1a}.mobile-notes-save-btn,.mobile-notes-cancel-btn{flex:1;padding:.4rem;border:none;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:opacity .3s}.mobile-notes-save-btn{background:#4CAF50;color:#fff}.mobile-notes-cancel-btn{background:#e0e0e0;color:#333}.mobile-notes-save-btn:hover,.mobile-notes-cancel-btn:hover{opacity:.8}.mobile-notes-display{padding:.5rem;background:#f5f5f5;border:2px dashed #e0e0e0;border-radius:6px;font-size:.75rem;color:#666;cursor:pointer;min-height:2rem;transition:all .3s}.mobile-notes-display:hover{border-color:#667eea;background:#f5f7ff}.mobile-parcel-card{background:white;border-radius:8px;padding:.6rem;box-shadow:0 1px 4px #00000014;transition:transform .2s,box-shadow .2s}.mobile-parcel-card:hover{transform:translateY(-2px);box-shadow:0 2px 8px #667eea26}.mobile-parcel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding-bottom:.4rem;border-bottom:1px solid #667eea;gap:.3rem}.mobile-parcel-header-content{display:flex;align-items:center;gap:.5rem;flex:1}.mobile-parcel-header h4{color:#667eea;font-size:.8rem;margin:0;word-break:break-all}.mobile-parcel-images-inline{display:flex;gap:.3rem;flex-wrap:wrap}.mobile-parcel-image-inline{width:40px;height:40px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #e0e0e0;transition:transform .2s}.mobile-parcel-image-inline:hover{transform:scale(1.05)}.mobile-parcel-info{display:flex;flex-direction:column;gap:.4rem}.mobile-parcel-row{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;gap:.3rem}.mobile-parcel-row .label{color:#666;font-weight:500;flex-shrink:0;font-size:.7rem}.mobile-parcel-row .value{color:#333;font-weight:600;text-align:right;font-size:.75rem}.mobile-parcel-slip{width:40px;height:40px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #e0e0e0}@media (min-width: 768px){.mobile-dashboard{max-width:480px;margin:0 auto}}.admin-loading{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);color:#fff}.admin-login-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);padding:20px}.admin-login-box{background:white;border-radius:15px;box-shadow:0 10px 40px #0000004d;padding:3rem;max-width:450px;width:100%}.admin-login-header{text-align:center;margin-bottom:2rem}.admin-login-header h1{font-size:2rem;color:#1e3c72;margin-bottom:.5rem}.admin-login-header p{color:#666;font-size:.95rem}.admin-login-form{display:flex;flex-direction:column;gap:1.5rem}.remember-me{margin-top:-.5rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.checkbox-label span{color:#555;font-size:.95rem}.admin-login-btn{padding:1rem;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:opacity .3s}.admin-login-btn:hover:not(:disabled){opacity:.9}.admin-login-btn:disabled{opacity:.6;cursor:not-allowed}.admin-login-footer{text-align:center;margin-top:1.5rem}.admin-login-footer a{color:#1e3c72;text-decoration:none;font-size:.95rem}.admin-login-footer a:hover{text-decoration:underline}.spinner{border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.success-popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);background:white;padding:2rem 3rem;border-radius:20px;box-shadow:0 20px 60px #0000004d;z-index:10000;text-align:center;animation:popupAppear .4s cubic-bezier(.68,-.55,.265,1.55) forwards;max-width:400px;width:90%}@keyframes popupAppear{0%{transform:translate(-50%,-50%) scale(0);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}@keyframes popupDisappear{0%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(-50%,-50%) scale(0);opacity:0}}.success-popup.hiding{animation:popupDisappear .3s ease-out forwards}.success-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:9999;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.success-popup-overlay.hiding{animation:fadeOut .3s ease-out forwards}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.success-popup-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(135deg,#4CAF50 0%,#45a049 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;animation:iconBounce .6s ease-out .2s}@keyframes iconBounce{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.success-popup-title{font-size:1.5rem;font-weight:700;color:#2e7d32;margin-bottom:.5rem}.success-popup-message{font-size:1rem;color:#666;margin-bottom:1.5rem}.success-popup-btn{padding:.8rem 2rem;background:linear-gradient(135deg,#4CAF50 0%,#45a049 100%);color:#fff;border:none;border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #4caf5066}.success-popup-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #4caf5080}.dashboard{min-height:100vh;background:#f5f7fa}.dashboard-header{background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);color:#fff;padding:1.5rem 0;box-shadow:0 2px 10px #0000001a}.dashboard-container{max-width:1200px;margin:0 auto;padding:0 20px}.dashboard-header .dashboard-container{display:flex;justify-content:space-between;align-items:center}.dashboard-header h1{font-size:1.8rem}.user-info{display:flex;align-items:center;gap:1rem}.logout-btn{padding:.6rem 1.2rem;background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:6px;cursor:pointer;transition:background .3s}.logout-btn:hover{background:rgba(255,255,255,.3)}.dashboard-layout{display:flex;min-height:calc(100vh - 80px)}.dashboard-sidebar{width:250px;background:white;border-right:1px solid #e0e0e0;padding:1rem 0}.menu-item{width:100%;padding:1rem 1.5rem;background:transparent;border:none;text-align:left;font-size:.95rem;color:#333;cursor:pointer;transition:all .3s;border-left:3px solid transparent}.menu-item:hover{background:#f5f7fa;color:#667eea}.menu-item.active{background:#f0f4ff;color:#667eea;font-weight:600;border-left-color:#667eea}.dashboard-content{flex:1;padding:3rem;background:#f5f7fa}.dashboard-content h2{font-size:2rem;color:#2a5298;margin-bottom:1rem}.dashboard-content p{color:#666;font-size:1rem}.submenu-tabs{display:flex;gap:1rem;margin:1.5rem 0;border-bottom:2px solid #e0e0e0}.submenu-tab{padding:.8rem 1.5rem;background:transparent;border:none;border-bottom:3px solid transparent;color:#666;font-size:1rem;cursor:pointer;transition:all .3s;margin-bottom:-2px}.submenu-tab:hover{color:#667eea}.submenu-tab.active{color:#667eea;font-weight:600;border-bottom-color:#667eea}.submenu-content{background:white;padding:2rem;border-radius:10px;box-shadow:0 2px 8px #0000001a;margin-top:1rem}.submenu-content h3{color:#2a5298;margin-bottom:1rem;font-size:1.5rem}.flight-form{margin-top:1.5rem}.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:600;margin-bottom:.5rem;color:#333}.form-group input{padding:.8rem;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#667eea}.submit-btn{padding:.8rem 2rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.refresh-btn{padding:.6rem 1.2rem;background:#f5f7fa;color:#667eea;border:1px solid #667eea;border-radius:6px;cursor:pointer;transition:all .3s}.refresh-btn:hover{background:#667eea;color:#fff}.loading-container{text-align:center;padding:3rem}.no-data{text-align:center;padding:2rem;color:#999;font-style:italic}.users-table{width:100%;border-collapse:collapse}.toggle-container{display:flex;align-items:center;gap:1rem;margin-top:.5rem}.toggle-switch{position:relative;display:inline-block;width:50px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#4caf50}.toggle-switch input:checked+.toggle-slider:before{transform:translate(26px)}.toggle-label{font-weight:600;font-size:.95rem}.toggle-label.open{color:#4caf50}.toggle-label.closed{color:#f44336}.status-badge{display:inline-block;padding:.4rem .8rem;border-radius:20px;font-weight:600;font-size:.85rem}.status-badge.open{background-color:#e8f5e9;color:#4caf50}.status-badge.closed{background-color:#ffebee;color:#f44336}.close-btn{background:#f44336;color:#fff}.close-btn:hover{background:#d32f2f}.open-btn{background:#4CAF50;color:#fff}.open-btn:hover{background:#388e3c}.users-table th,.users-table td{padding:1rem;text-align:left;border-bottom:1px solid #e0e0e0}.users-table th{background:#f5f7fa;font-weight:600;color:#2a5298}.users-table tr:hover{background:#f9fafb}.action-btn{padding:.4rem .8rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .3s}.delete-btn{background:#fee;color:#c33}.delete-btn:hover{background:#fcc}.status-received-btn{background:#e8f5e9;color:#4caf50;font-weight:600}.status-received-btn:hover{background:#c8e6c9}.status-pending-btn{background:#fff3e0;color:#ff9800;font-weight:600}.status-pending-btn:hover{background:#ffe0b2}.file-input{padding:.5rem;border:1px solid #ddd;border-radius:6px;cursor:pointer}.image-preview{margin-top:1rem;max-width:200px;max-height:200px;border-radius:8px;object-fit:cover;border:2px solid #ddd}.parcel-thumbnail{width:60px;height:60px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid #ddd}.parcel-thumbnail:hover{opacity:.8}.image-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:1000;cursor:pointer}.image-popup-content{position:relative;max-width:90%;max-height:90%;background:white;border-radius:8px;padding:1rem;cursor:default}.image-popup-img{max-width:100%;max-height:80vh;display:block;border-radius:4px}.image-popup-close{position:absolute;top:-10px;right:-10px;background:#ff4444;color:#fff;border:none;border-radius:50%;width:35px;height:35px;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000004d;transition:background .3s}.image-popup-close:hover{background:#cc0000}.status-badge.received{background-color:#e8f5e9;color:#4caf50}.status-badge.waiting{background-color:#fff3e0;color:#ff9800}.flight-filter-select{padding:.6rem 1rem;border:2px solid #667eea;border-radius:6px;font-size:.95rem;background:white;color:#333;cursor:pointer;transition:border-color .3s}.flight-filter-select:hover{border-color:#5568d3}.flight-filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.shipment-status-ตรวจสอบแล้ว{background-color:#e3f2fd;color:#1976d2}.shipment-status-กำลังขนส่งไปจีน{background-color:#fff3e0;color:#f57c00}.shipment-status-กำลังจัดส่งในจีน{background-color:#fce4ec;color:#c2185b}.shipment-status-กำลังขนส่งไปไทย{background-color:#f3e5f5;color:#7b1fa2}.shipment-status-กำลังจัดส่งในไทย{background-color:#e0f2f1;color:#00897b}.shipment-status-ขนส่งเข้ารับไม่สำเร็จ{background-color:#ffebee;color:#c62828}.shipment-status-จัดส่งสำเร็จ{background-color:#e8f5e9;color:#2e7d32}.inline-edit-input{width:100%;padding:.4rem;border:2px solid #667eea;border-radius:4px;font-size:.9rem;box-sizing:border-box}.inline-edit-input:focus{outline:none;border-color:#5568d3;box-shadow:0 0 0 3px #667eea1a}.inline-edit-select{width:100%;padding:.4rem;border:2px solid #667eea;border-radius:4px;font-size:.9rem;background:white;cursor:pointer;box-sizing:border-box}.inline-edit-select:focus{outline:none;border-color:#5568d3;box-shadow:0 0 0 3px #667eea1a}.submenu-content p{color:#666;font-size:1rem}.users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.refresh-btn{padding:.6rem 1.2rem;background:#1e3c72;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.95rem;transition:background .3s}.refresh-btn:hover{background:#2a5298}.loading-container{display:flex;flex-direction:column;align-items:center;padding:3rem}.loading-container .spinner{border:4px solid rgba(30,60,114,.3);border-top:4px solid #1e3c72}.no-data{text-align:center;padding:3rem;color:#666;font-size:1.1rem}.table-container{overflow-x:auto}.users-table{width:100%;border-collapse:collapse;background:white}.users-table thead{background:#f8f9fa}.users-table th{padding:1rem;text-align:left;font-weight:600;color:#1e3c72;border-bottom:2px solid #e0e0e0}.users-table td{padding:1rem;border-bottom:1px solid #f0f0f0}.users-table tbody tr:hover{background:#f8f9fa}.action-btn{padding:.4rem .8rem;margin-right:.5rem;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;transition:opacity .3s}.action-btn:hover{opacity:.8}.view-btn{background:#17a2b8;color:#fff}.edit-btn{background:#ffc107;color:#333}.delete-btn{background:#dc3545;color:#fff}.chat-container-admin{display:flex;flex:1;height:100%;background:white;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.chat-sidebar-admin{width:320px;border-right:1px solid #e0e0e0;background:#f8f9fa;display:flex;flex-direction:column}.chat-sidebar-header{padding:1rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.chat-sidebar-header h3{margin:0 0 .75rem;font-size:1.1rem}.chat-search-input{width:100%;padding:.6rem .8rem;border:none;border-radius:8px;font-size:.95rem;outline:none;background:rgba(255,255,255,.95)}.chat-search-input::placeholder{color:#999}.chat-user-list{list-style:none;padding:0;margin:0;overflow-y:auto;flex:1}.chat-user-list li{padding:1rem;cursor:pointer;border-bottom:1px solid #e0e0e0;transition:all .3s;display:flex;align-items:center;gap:.75rem}.chat-user-list li:hover{background:#e9ecef}.chat-user-list li.active{background:#667eea;color:#fff}.chat-user-avatar{width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.chat-user-list li.active .chat-user-avatar{background:rgba(255,255,255,.2)}.chat-user-info{flex:1;min-width:0}.chat-user-name{font-weight:600;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:.5rem}.chat-unread-badge{background:#ff4444;color:#fff;border-radius:50%;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;flex-shrink:0}.chat-user-id{font-size:.8rem;opacity:.8;margin-top:.2rem}.chat-user-last-message-time{font-size:.75rem;opacity:.7;margin-top:.3rem;font-style:italic}.chat-user-list li.active .chat-user-last-message-time{opacity:.9}.chat-main-admin{flex:1;display:flex;flex-direction:column;background:white}.chat-header-admin{padding:1rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.chat-header-user{display:flex;align-items:center;gap:.75rem}.chat-header-avatar{width:45px;height:45px;border-radius:50%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.chat-header-admin h4{margin:0;color:#333;font-size:1.2rem}.chat-header-id{font-size:.85rem;color:#666}.chat-messages-admin{flex:1;overflow-y:auto;padding:1.5rem;background:#f8f9fa;display:flex;flex-direction:column-reverse}.message-admin{display:flex;flex-direction:column;max-width:65%;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-admin.admin{align-self:flex-end;align-items:flex-end}.message-admin.user{align-self:flex-start;align-items:flex-start}.message-content-admin{padding:.75rem 1rem;border-radius:12px;word-wrap:break-word}.message-admin.admin .message-content-admin{background:linear-gradient(135deg,#17ee17 0%,#17ee17 100%);color:#fff;border-bottom-right-radius:4px}.message-admin.user .message-content-admin{background:white;color:#333;border-bottom-left-radius:4px;box-shadow:0 2px 8px #0000001a}.message-content-admin p{margin:0;line-height:1.5}.message-time-admin{font-size:.75rem;color:#999;margin-top:.3rem}.chat-input-admin{padding:1rem;background:white;border-top:1px solid #e0e0e0}.chat-image-preview-admin{position:relative;max-width:150px;margin-bottom:.75rem}.chat-image-preview-admin img{width:100%;border-radius:8px;border:2px solid #e0e0e0}.remove-image-btn-admin{position:absolute;top:-8px;right:-8px;background:#ff4444;color:#fff;border:none;border-radius:50%;width:26px;height:26px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;box-shadow:0 2px 8px #0003;transition:background .3s}.remove-image-btn-admin:hover{background:#cc0000}.chat-input-row-admin{display:flex;gap:.5rem;align-items:center}.chat-image-upload-btn-admin{background:#f0f0f0;border:none;width:42px;height:42px;border-radius:8px;cursor:pointer;font-size:1.3rem;display:flex;align-items:center;justify-content:center;transition:background .3s;flex-shrink:0}.chat-image-upload-btn-admin:hover{background:#e0e0e0}.chat-input-field-admin{flex:1;padding:.75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;outline:none;transition:border-color .3s;font-family:inherit}.chat-input-field-admin:focus{border-color:#667eea}.chat-send-btn-admin{background:linear-gradient(135deg,#ffffff 0%,#fafafa 100%);border:none;color:#28c82a;width:42px;height:42px;border-radius:50%;cursor:pointer;font-size:1.9rem;display:flex;align-items:center;justify-content:center;transition:all .3s;flex-shrink:0}.chat-send-btn-admin:hover:not(:disabled){transform:scale(1.1);box-shadow:0 4px 12px #667eea66}.chat-send-btn-admin:disabled{opacity:1;cursor:not-allowed}.no-chat-selected-admin{flex:1;display:flex;align-items:center;justify-content:center;color:#999}@media (max-width: 768px){.dashboard-header .dashboard-container{flex-direction:column;gap:1rem}.dashboard-header h1{font-size:1.5rem}.user-info{flex-direction:column;gap:.5rem}.dashboard-layout{flex-direction:column}.dashboard-sidebar{width:100%;border-right:none;border-bottom:1px solid #e0e0e0;padding:.5rem 0;display:flex;overflow-x:auto}.menu-item{flex-shrink:0;padding:.8rem 1rem;font-size:.85rem;border-left:none;border-bottom:3px solid transparent}.menu-item.active{border-left-color:transparent;border-bottom-color:#667eea}.dashboard-content{padding:1.5rem}.dashboard-content h2{font-size:1.6rem}.submenu-tabs{flex-direction:column;gap:.5rem;border-bottom:none}.submenu-tab{padding:.8rem 1rem;border-left:3px solid transparent;border-bottom:none;margin-bottom:0;text-align:left}.submenu-tab.active{border-left-color:#667eea;border-bottom-color:transparent;background:#f0f4ff}.submenu-content{padding:1.5rem}.submenu-content h3{font-size:1.3rem}.chat-container-admin{flex-direction:column}.chat-sidebar-admin{width:100%;max-height:40vh;border-right:none;border-bottom:1px solid #e0e0e0}.message-admin{max-width:85%}.chat-header-admin{flex-direction:column;gap:.75rem;align-items:flex-start}}.mobile-admin-dashboard{min-height:100vh;background:#f5f7fa;display:flex;flex-direction:column;padding-bottom:65px}.mobile-admin-loading,.mobile-admin-loading-content{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;min-height:200px}.mobile-admin-header{background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);color:#fff;padding:1rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:10}.mobile-admin-header-left{display:flex;align-items:center;gap:.5rem}.mobile-admin-logo{height:40px;width:auto}.mobile-admin-header h1{font-size:1.1rem;margin:0}.mobile-admin-user{font-size:.8rem;background:rgba(255,255,255,.2);padding:.3rem .6rem;border-radius:15px}.mobile-admin-content{flex:1;padding:1rem;overflow-y:auto}.mobile-admin-section{background:white;border-radius:10px;padding:.8rem;box-shadow:0 2px 8px #0000001a}.mobile-admin-section h2{color:#1e3c72;font-size:1.1rem;margin:0 0 .75rem}.mobile-admin-refresh{width:100%;padding:.6rem;background:#1e3c72;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;margin-bottom:.75rem;transition:opacity .3s}.mobile-admin-refresh:hover{opacity:.9}.mobile-admin-list{display:flex;flex-direction:column;gap:.6rem}.mobile-admin-card{background:#f8f9fa;border-radius:8px;padding:.7rem;box-shadow:0 2px 4px #0000000d;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.card-row{display:inline-flex;align-items:center;padding:.2rem .5rem;font-size:.75rem;line-height:1.3;background:white;border-radius:4px}.card-row.full-width{width:100%;justify-content:space-between}.badge{display:inline-block;padding:.2rem .5rem;border-radius:12px;font-size:.7rem;font-weight:600}.badge.open{background:#e8f5e9;color:#4caf50}.badge.closed{background:#ffebee;color:#f44336}.badge.received{background:#e8f5e9;color:#4caf50}.badge.waiting{background:#fff3e0;color:#ff9800}.badge.shipment-ตรวจสอบแล้ว{background:#e3f2fd;color:#1976d2}.badge.shipment-กำลังขนส่งไปจีน{background:#fff3e0;color:#f57c00}.badge.shipment-กำลังจัดส่งในจีน{background:#fce4ec;color:#c2185b}.badge.shipment-กำลังขนส่งไปไทย{background:#f3e5f5;color:#7b1fa2}.badge.shipment-กำลังจัดส่งในไทย{background:#e0f2f1;color:#00897b}.badge.shipment-จัดส่งสำเร็จ{background:#e8f5e9;color:#2e7d32}.mobile-admin-thumb{width:50px;height:50px;object-fit:cover;border-radius:4px;cursor:pointer;margin:.2rem 0;border:1px solid #ddd}.mobile-admin-btn{width:100%;padding:.6rem;background:#667eea;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;margin-top:.4rem;transition:opacity .3s}.mobile-admin-btn:hover{opacity:.9}.mobile-admin-btn.open{background:#4CAF50}.mobile-admin-btn.close{background:#f44336}.mobile-admin-popup{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;z-index:200;padding:1rem}.mobile-admin-popup img{max-width:90vw;max-height:90vh;border-radius:12px}#barcode-reader{border-radius:8px;overflow:hidden}#barcode-reader video{width:100%;border-radius:8px}.mobile-admin-nav{position:fixed;bottom:0;left:0;right:0;background:white;display:grid;grid-template-columns:repeat(7,1fr);padding:.3rem 0;box-shadow:0 -2px 10px #0000001a;z-index:100}.mobile-admin-form{background:#f8f9fa;padding:.75rem;border-radius:8px;margin:.75rem 0;display:flex;flex-direction:column;gap:.6rem}.mobile-admin-form input,.mobile-admin-form select{padding:.6rem;border:2px solid #e0e0e0;border-radius:6px;font-size:.85rem;width:100%}.mobile-admin-form input:focus,.mobile-admin-form select:focus{outline:none;border-color:#1e3c72}.mobile-admin-nav .nav-btn{display:flex;flex-direction:column;align-items:center;gap:.1rem;background:transparent;border:none;color:#999;cursor:pointer;padding:.4rem .2rem;transition:color .3s}.mobile-admin-nav .nav-btn.active{color:#1e3c72;transform:scale(1.1)}.mobile-admin-nav .nav-icon{font-size:1.3rem}.mobile-admin-nav .nav-label{font-size:.65rem;font-weight:500}@media (min-width: 768px){.mobile-admin-dashboard{max-width:480px;margin:0 auto}}
