/* Multi Vendor Marketplace - Beautiful Frontend Styles */

:root {
    --mvm-primary: #6366f1;
    --mvm-primary-dark: #4f46e5;
    --mvm-secondary: #f43f5e;
    --mvm-success: #10b981;
    --mvm-warning: #f59e0b;
    --mvm-danger: #ef4444;
    --mvm-dark: #1e293b;
    --mvm-gray-50: #f8fafc;
    --mvm-gray-100: #f1f5f9;
    --mvm-gray-200: #e2e8f0;
    --mvm-gray-300: #cbd5e1;
    --mvm-gray-400: #94a3b8;
    --mvm-gray-500: #64748b;
    --mvm-gray-600: #475569;
    --mvm-gray-700: #334155;
    --mvm-gray-800: #1e293b;
    --mvm-gray-900: #0f172a;
    --mvm-radius: 12px;
    --mvm-radius-sm: 8px;
    --mvm-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --mvm-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --mvm-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }

/* Buttons */
.mvm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: none; border-radius: var(--mvm-radius-sm); font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s; }
.mvm-btn-primary { background: linear-gradient(135deg, var(--mvm-primary), var(--mvm-primary-dark)); color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.4); }
.mvm-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99,102,241,0.5); color: #fff; }
.mvm-btn-secondary { background: var(--mvm-gray-100); color: var(--mvm-gray-700); }
.mvm-btn-secondary:hover { background: var(--mvm-gray-200); }
.mvm-btn-danger { background: var(--mvm-danger); color: #fff; }
.mvm-btn-small { padding: 8px 16px; font-size: 15px; }
.mvm-btn-large { padding: 16px 32px; font-size: 18px; }
.mvm-btn-block { display: flex; width: 100%; }
.mvm-btn-whatsapp { background: #25D366; color: #fff; }
.mvm-btn-whatsapp:hover { background: #128C7E; color: #fff; }

/* Badges */
.mvm-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.mvm-status-pending { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.mvm-status-processing { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; }
.mvm-status-shipped { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #3730a3; }
.mvm-status-delivered { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #166534; }
.mvm-status-cancelled { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }
.mvm-status-active, .mvm-status-approved { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #166534; }
.mvm-status-inactive, .mvm-status-rejected { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }

/* Notices */
.mvm-notice { padding: 16px 20px; border-radius: var(--mvm-radius-sm); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.mvm-notice-info { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; }
.mvm-notice-warning { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.mvm-notice-error { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }
.mvm-notice-success { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #166534; }

/* Forms */
.mvm-form-row { margin-bottom: 20px; }
.mvm-form-row label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--mvm-gray-700); font-size: 16px; }
.mvm-form-row input[type="text"], .mvm-form-row input[type="email"], .mvm-form-row input[type="tel"], 
.mvm-form-row input[type="number"], .mvm-form-row input[type="password"], .mvm-form-row input[type="url"],
.mvm-form-row input[type="datetime-local"], .mvm-form-row textarea, .mvm-form-row select {
    width: 100%; padding: 12px 16px; border: 2px solid var(--mvm-gray-200); border-radius: var(--mvm-radius-sm);
    font-size: 17px; transition: all 0.3s; background: #fff;
}
.mvm-form-row input:focus, .mvm-form-row textarea:focus, .mvm-form-row select:focus {
    outline: none; border-color: var(--mvm-primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}
.mvm-form-row .description { font-size: 15px; color: var(--mvm-gray-500); margin-top: 6px; }
.mvm-form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mvm-form-actions { margin-top: 30px; display: flex; gap: 12px; }
.mvm-form-section { background: var(--mvm-gray-50); padding: 20px; border-radius: var(--mvm-radius); margin-top: 20px; }
.mvm-form-section h3 { margin: 0 0 16px; font-size: 18px; color: var(--mvm-gray-800); }

/* Dashboard */
.mvm-dashboard { max-width: 1200px; margin: 0 auto; padding: 20px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.mvm-dashboard-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; background: linear-gradient(135deg, var(--mvm-primary), var(--mvm-primary-dark)); border-radius: var(--mvm-radius); box-shadow: var(--mvm-shadow-lg); margin-bottom: 24px; color: #fff; }
.mvm-store-info { display: flex; align-items: center; gap: 16px; }
.mvm-store-info .mvm-store-logo { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.3); }
.mvm-store-info h1 { margin: 0 0 4px; font-size: 26px; }
.mvm-store-link { color: rgba(255,255,255,0.8); font-size: 16px; }

.mvm-dashboard-nav { display: flex; gap: 4px; background: #fff; padding: 8px; border-radius: var(--mvm-radius); box-shadow: var(--mvm-shadow); margin-bottom: 24px; overflow-x: auto; }
.mvm-dashboard-nav a { padding: 12px 20px; border-radius: var(--mvm-radius-sm); color: var(--mvm-gray-600); text-decoration: none; white-space: nowrap; transition: all 0.3s; font-weight: 500; }
.mvm-dashboard-nav a:hover { background: var(--mvm-gray-100); color: var(--mvm-gray-800); }
.mvm-dashboard-nav a.active { background: linear-gradient(135deg, var(--mvm-primary), var(--mvm-primary-dark)); color: #fff; }

.mvm-dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; }
.mvm-stat-card { background: #fff; padding: 24px; border-radius: var(--mvm-radius); box-shadow: var(--mvm-shadow); display: flex; align-items: center; gap: 16px; transition: transform 0.3s; }
.mvm-stat-card:hover { transform: translateY(-4px); box-shadow: var(--mvm-shadow-lg); }
.mvm-stat-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--mvm-gray-100), var(--mvm-gray-50)); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mvm-stat-icon .dashicons { font-size: 30px; color: var(--mvm-primary); }
.mvm-stat-info h3 { margin: 0 0 4px; font-size: 34px; color: var(--mvm-gray-900); font-weight: 700; }
.mvm-stat-info p { margin: 0; color: var(--mvm-gray-500); font-size: 16px; }

.mvm-widget { background: #fff; padding: 24px; border-radius: var(--mvm-radius); box-shadow: var(--mvm-shadow); margin-bottom: 20px; }
.mvm-widget h3 { margin: 0 0 20px; font-size: 20px; color: var(--mvm-gray-800); font-weight: 600; }
.mvm-dashboard-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }

/* Tables */
.mvm-table { width: 100%; border-collapse: collapse; }
.mvm-table th, .mvm-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--mvm-gray-100); }
.mvm-table th { font-weight: 600; color: var(--mvm-gray-600); background: var(--mvm-gray-50); font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.mvm-table tbody tr { transition: background 0.2s; }
.mvm-table tbody tr:hover { background: var(--mvm-gray-50); }

/* Products Grid */
.mvm-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.mvm-product-card { background: #fff; border-radius: var(--mvm-radius); box-shadow: var(--mvm-shadow); overflow: hidden; transition: all 0.3s; }
.mvm-product-card:hover { transform: translateY(-6px); box-shadow: var(--mvm-shadow-xl); }
.mvm-product-image { position: relative; height: 200px; background: var(--mvm-gray-100); }
.mvm-product-image img { width: 100%; height: 100%; object-fit: cover; }
.mvm-no-image { height: 100%; display: flex; align-items: center; justify-content: center; }
.mvm-no-image .dashicons { font-size: 50px; color: var(--mvm-gray-300); }
.mvm-product-info { padding: 20px; }
.mvm-product-info h3, .mvm-product-info h4 { margin: 0 0 10px; font-size: 18px; color: var(--mvm-gray-800); font-weight: 600; }
.mvm-product-price { margin-bottom: 12px; }
.mvm-price, .mvm-price-sale { font-size: 22px; font-weight: 700; color: var(--mvm-primary); }
.mvm-price-sale { color: var(--mvm-secondary); }
.mvm-price-original { font-size: 16px; color: var(--mvm-gray-400); text-decoration: line-through; margin-left: 8px; }
.mvm-product-actions { padding: 0 20px 20px; display: flex; gap: 8px; }

/* Subscription Plans */
.mvm-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.mvm-plan-card { background: #fff; border: 2px solid var(--mvm-gray-200); border-radius: var(--mvm-radius); padding: 28px; position: relative; transition: all 0.3s; }
.mvm-plan-card:hover { border-color: var(--mvm-primary); transform: translateY(-4px); box-shadow: var(--mvm-shadow-lg); }
.mvm-plan-card.mvm-plan-current { border-color: var(--mvm-success); background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(16,185,129,0.02)); }
.mvm-plan-current-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--mvm-success), #059669); color: #fff; padding: 6px 20px; border-radius: 20px; font-size: 14px; font-weight: 700; }
.mvm-plan-card h4 { margin: 0 0 20px; font-size: 24px; color: var(--mvm-gray-800); }
.mvm-plan-pricing { margin-bottom: 20px; }
.mvm-price-amount { font-size: 42px; font-weight: 800; color: var(--mvm-gray-900); }
.mvm-price-period { color: var(--mvm-gray-500); font-size: 18px; }
.mvm-price-yearly { font-size: 16px; color: var(--mvm-gray-500); margin-top: 4px; }
.mvm-save-badge { background: linear-gradient(135deg, var(--mvm-success), #059669); color: #fff; padding: 3px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; margin-left: 8px; }
.mvm-plan-features { list-style: none; padding: 0; margin: 20px 0; }
.mvm-plan-features li { padding: 10px 0; display: flex; align-items: center; gap: 10px; color: var(--mvm-gray-600); }
.mvm-plan-actions { margin-top: 24px; }

/* Empty State */
.mvm-empty-state { text-align: center; padding: 80px 20px; }
.mvm-empty-state .dashicons { font-size: 82px; color: var(--mvm-gray-300); margin-bottom: 20px; }
.mvm-empty-state h3 { margin: 0 0 10px; color: var(--mvm-gray-700); font-size: 24px; }
.mvm-empty-state p { color: var(--mvm-gray-500); margin-bottom: 24px; }

/* Modal */
.mvm-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 20px; }
.mvm-modal-content { background: #fff; padding: 32px; border-radius: var(--mvm-radius); max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.mvm-modal-close { position: absolute; top: 16px; right: 20px; font-size: 30px; cursor: pointer; color: var(--mvm-gray-400); background: none; border: none; transition: color 0.2s; }
.mvm-modal-close:hover { color: var(--mvm-gray-600); }

/* Image Upload */
.mvm-image-upload { display: flex; flex-direction: column; gap: 12px; }
.mvm-image-preview { width: 150px; height: 150px; border: 2px dashed var(--mvm-gray-300); border-radius: var(--mvm-radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--mvm-gray-50); }
.mvm-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.mvm-banner-preview { width: 100%; height: 150px; }

/* Responsive */
@media (max-width: 1024px) {
    .mvm-dashboard-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mvm-dashboard-widgets { grid-template-columns: 1fr; }
    .mvm-products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
    .mvm-plans-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mvm-dashboard { padding: 16px; }
    .mvm-store-info h1 { font-size: 26px; }
    .mvm-stat-card { padding: 18px; gap: 12px; }
    .mvm-stat-icon { width: 44px; height: 44px; }
    .mvm-stat-info h3 { font-size: 28px; }
    .mvm-stat-info p { font-size: 14px; }
    .mvm-widget { padding: 20px; }
    .mvm-widget h3 { font-size: 19px; }
    .mvm-table th, .mvm-table td { padding: 12px 14px; font-size: 15px; }
    .mvm-payment-methods { flex-direction: column; }
    .mvm-form-row-2col { grid-template-columns: 1fr; }
    .mvm-product-image { height: 170px; }
    .mvm-product-info { padding: 14px; }
    .mvm-product-info h3, .mvm-product-info h4 { font-size: 16px; }
    .mvm-price, .mvm-price-sale { font-size: 19px; }
    .mvm-product-actions { padding: 0 14px 14px; gap: 8px; }
    .mvm-plan-card { padding: 22px; border-radius: 18px; }
    .mvm-price-amount { font-size: 38px; }
    .mvm-modal-content { padding: 24px; margin: 16px; }
    .mvm-btn { padding: 12px 22px; font-size: 16px; }
    .mvm-empty-state { padding: 48px 20px; }
    .mvm-empty-state .dashicons { font-size: 60px; }
    .mvm-empty-state h3 { font-size: 22px; }
    .mvm-dashboard-header { padding: 22px; }
    .mvm-dashboard-nav { gap: 3px; padding: 6px; }
    .mvm-dashboard-nav a { padding: 10px 16px; font-size: 16px; }
}
@media (max-width: 900px) {
    .mvm-dashboard-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mvm-dashboard-widgets { grid-template-columns: 1fr; }
    .mvm-dashboard-header { flex-direction: column; text-align: center; gap: 14px; padding: 18px; }
    .mvm-store-info { flex-direction: column; }
    .mvm-store-info h1 { font-size: 22px; }
    .mvm-store-info .mvm-store-logo { width: 52px; height: 52px; }
    .mvm-products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .mvm-product-image { height: 150px; }
    .mvm-product-info { padding: 12px; }
    .mvm-product-info h3, .mvm-product-info h4 { font-size: 15px; }
    .mvm-price, .mvm-price-sale { font-size: 17px; }
    .mvm-plans-grid { grid-template-columns: 1fr; }
    .mvm-dashboard { padding: 12px; }
    .mvm-dashboard-nav { gap: 2px; padding: 5px; }
    .mvm-dashboard-nav a { padding: 9px 14px; font-size: 15px; }
    .mvm-stat-card { padding: 16px; gap: 10px; }
    .mvm-stat-icon { width: 40px; height: 40px; }
    .mvm-stat-info h3 { font-size: 24px; }
    .mvm-stat-info p { font-size: 13px; }
    .mvm-widget { padding: 16px; }
    .mvm-widget h3 { font-size: 17px; }
    .mvm-table th, .mvm-table td { padding: 10px 12px; font-size: 14px; }
    .mvm-modal-content { padding: 20px; margin: 12px; }
    .mvm-payment-option { min-width: 100%; }
    .mvm-form-actions { flex-direction: column; }
    .mvm-form-actions .mvm-btn { width: 100%; }
    .mvm-plan-card { padding: 20px; border-radius: 16px; }
    .mvm-price-amount { font-size: 32px; }
    .mvm-empty-state { padding: 40px 18px; }
    .mvm-empty-state h3 { font-size: 20px; }
    .mvm-form-row-2col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .mvm-dashboard-header { flex-direction: column; text-align: center; gap: 14px; padding: 16px; }
    .mvm-store-info { flex-direction: column; }
    .mvm-store-info h1 { font-size: 20px; }
    .mvm-store-info .mvm-store-logo { width: 50px; height: 50px; }
    .mvm-products-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .mvm-product-image { height: 130px; }
    .mvm-product-info { padding: 10px; }
    .mvm-product-info h3, .mvm-product-info h4 { font-size: 14px; }
    .mvm-price, .mvm-price-sale { font-size: 16px; }
    .mvm-product-actions { padding: 0 10px 10px; flex-wrap: wrap; gap: 6px; }
    .mvm-plans-grid { grid-template-columns: 1fr; }
    .mvm-dashboard { padding: 10px; }
    .mvm-dashboard-nav { gap: 2px; padding: 4px; border-radius: 10px; }
    .mvm-dashboard-nav a { padding: 8px 12px; font-size: 14px; border-radius: 8px; }
    .mvm-dashboard-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mvm-stat-card { padding: 14px; gap: 10px; }
    .mvm-stat-icon { width: 38px; height: 38px; }
    .mvm-stat-info h3 { font-size: 22px; }
    .mvm-stat-info p { font-size: 12px; }
    .mvm-widget { padding: 14px; }
    .mvm-widget h3 { font-size: 16px; }
    .mvm-table th, .mvm-table td { padding: 8px 10px; font-size: 13px; }
    .mvm-modal-content { padding: 18px; margin: 10px; border-radius: 14px; }
    .mvm-payment-option { min-width: 100%; }
    .mvm-form-actions { flex-direction: column; }
    .mvm-form-actions .mvm-btn { width: 100%; }
    .mvm-plan-card { padding: 18px; border-radius: 14px; }
    .mvm-price-amount { font-size: 30px; }
    .mvm-empty-state { padding: 36px 14px; }
    .mvm-empty-state .dashicons { font-size: 54px; }
    .mvm-empty-state h3 { font-size: 18px; }
}
@media (max-width: 480px) {
    .mvm-dashboard { padding: 8px; }
    .mvm-dashboard-header { padding: 12px; border-radius: 12px; }
    .mvm-store-info h1 { font-size: 18px; }
    .mvm-dashboard-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
    .mvm-dashboard-nav a { padding: 7px 10px; font-size: 13px; white-space: nowrap; }
    .mvm-dashboard-stats { grid-template-columns: 1fr; gap: 8px; }
    .mvm-stat-card { padding: 12px; }
    .mvm-stat-icon { width: 34px; height: 34px; }
    .mvm-stat-info h3 { font-size: 20px; }
    .mvm-stat-info p { font-size: 11px; }
    .mvm-products-grid { grid-template-columns: 1fr; gap: 8px; }
    .mvm-product-image { height: 160px; }
    .mvm-product-info h3, .mvm-product-info h4 { font-size: 13px; }
    .mvm-price, .mvm-price-sale { font-size: 15px; }
    .mvm-btn { padding: 8px 14px; font-size: 14px; }
    .mvm-btn-large { padding: 10px 20px; font-size: 15px; }
    .mvm-widget { padding: 12px; }
    .mvm-widget h3 { font-size: 15px; }
    .mvm-table th, .mvm-table td { padding: 6px 8px; font-size: 12px; }
    .mvm-plan-card { padding: 14px; }
    .mvm-price-amount { font-size: 26px; }
    .mvm-empty-state { padding: 30px 12px; }
    .mvm-empty-state .dashicons { font-size: 46px; }
    .mvm-empty-state h3 { font-size: 16px; }
}
@media (max-width: 360px) {
    .mvm-store-info h1 { font-size: 16px; }
    .mvm-stat-info h3 { font-size: 18px; }
    .mvm-dashboard-nav a { font-size: 12px; padding: 6px 8px; }
    .mvm-widget h3 { font-size: 14px; }
    .mvm-price-amount { font-size: 24px; }
}

/* Payment Methods */
.mvm-payment-methods { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.mvm-payment-option { display: block; cursor: pointer; flex: 1; min-width: 150px; }
.mvm-payment-option input[type="radio"] { display: none; }
.mvm-payment-label { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border: 2px solid var(--mvm-gray-200); border-radius: var(--mvm-radius-sm); background: #fff; transition: all 0.3s; font-weight: 500; color: var(--mvm-gray-600); }
.mvm-payment-option input[type="radio"]:checked + .mvm-payment-label { border-color: var(--mvm-primary); background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(99,102,241,0.02)); color: var(--mvm-primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.mvm-payment-label .dashicons { font-size: 26px; width: 24px; height: 24px; }
.mvm-cod-info { background: linear-gradient(135deg, #fef3c7, #fde68a); padding: 16px 20px; border-radius: var(--mvm-radius-sm); color: #92400e; }
.mvm-cod-info p { margin: 0; display: flex; align-items: center; gap: 8px; }
.mvm-cod-notice { background: linear-gradient(135deg, #dcfce7, #bbf7d0); padding: 16px 20px; border-radius: var(--mvm-radius-sm); color: #166534; }
.mvm-cod-notice h4 { margin: 0 0 8px; color: #166534; }
.mvm-cod-notice p { margin: 0; display: flex; align-items: center; gap: 8px; }
#mvm-bank-transfer-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--mvm-gray-200); }

/* Premium Orders Dashboard */
.mvm-orders-premium { --p: #6366f1; --pl: #818cf8; --pd: #4f46e5; --s: #10b981; --w: #f59e0b; --d: #ef4444; --i: #3b82f6; }
.mvm-orders-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.mvm-orders-header h2 { font-size: 26px; font-weight: 700; color: var(--mvm-gray-900); margin: 0; display: flex; align-items: center; gap: 12px; }
.mvm-orders-header h2 .header-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--p) 0%, var(--pd) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }

/* Orders Stats Cards */
.mvm-orders-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 24px; }
.mvm-orders-stats .mvm-stat-card { background: #fff; border-radius: 16px; padding: 20px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid var(--mvm-gray-100); transition: all 0.3s ease; cursor: pointer; text-decoration: none; display: block; }
.mvm-orders-stats .mvm-stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15); border-color: var(--pl); }
.mvm-orders-stats .mvm-stat-card.active { border-color: var(--p); background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%); }
.mvm-orders-stats .stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.mvm-orders-stats .stat-all .stat-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
.mvm-orders-stats .stat-pending .stat-icon { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.mvm-orders-stats .stat-processing .stat-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.mvm-orders-stats .stat-shipped .stat-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.mvm-orders-stats .stat-delivered .stat-icon { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.mvm-orders-stats .stat-number { font-size: 30px; font-weight: 700; color: var(--mvm-gray-900); line-height: 1; margin-bottom: 4px; }
.mvm-orders-stats .stat-label { font-size: 15px; color: var(--mvm-gray-500); font-weight: 500; }

/* Premium Orders Table */
.mvm-orders-table-wrapper { background: #fff; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid var(--mvm-gray-100); }
.mvm-orders-table-header { padding: 20px 24px; border-bottom: 1px solid var(--mvm-gray-100); display: flex; justify-content: space-between; align-items: center; background: var(--mvm-gray-50); }
.mvm-orders-table-header h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--mvm-gray-800); }
.mvm-orders-table-header .order-count { background: var(--p); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 15px; font-weight: 600; }

.mvm-premium-table { width: 100%; border-collapse: collapse; }
.mvm-premium-table thead th { background: #fff; padding: 16px 20px; text-align: left; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--mvm-gray-500); border-bottom: 1px solid var(--mvm-gray-100); }
.mvm-premium-table tbody tr { transition: all 0.2s ease; }
.mvm-premium-table tbody tr:hover { background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%); }
.mvm-premium-table tbody td { padding: 20px; border-bottom: 1px solid var(--mvm-gray-100); vertical-align: middle; }
.mvm-premium-table tbody tr:last-child td { border-bottom: none; }

/* Order Cells */
.mvm-order-number { display: flex; align-items: center; gap: 12px; }
.mvm-order-number .order-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--pl) 0%, var(--p) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.mvm-order-number .order-info strong { display: block; font-size: 16px; color: var(--mvm-gray-900); font-weight: 600; }
.mvm-order-number .order-info span { font-size: 14px; color: var(--mvm-gray-500); }

.mvm-customer-cell { display: flex; align-items: center; gap: 12px; }
.mvm-customer-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--i); font-weight: 600; font-size: 16px; }
.mvm-customer-info .customer-name { font-weight: 600; color: var(--mvm-gray-800); font-size: 16px; display: block; }
.mvm-customer-info .customer-phone { font-size: 14px; color: var(--mvm-gray-500); display: flex; align-items: center; gap: 4px; }
.mvm-amount { font-weight: 700; font-size: 17px; color: var(--mvm-gray-900); }

/* Status Badges Premium */
.mvm-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 50px; font-size: 14px; font-weight: 600; text-transform: capitalize; }
.mvm-status-badge.status-pending { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.mvm-status-badge.status-processing { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; }
.mvm-status-badge.status-shipped { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #5b21b6; }
.mvm-status-badge.status-delivered { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; }
.mvm-status-badge.status-cancelled { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }
.mvm-status-badge .status-dot { width: 8px; height: 8px; border-radius: 50%; animation: statuspulse 2s infinite; }
.status-pending .status-dot { background: #f59e0b; }
.status-processing .status-dot { background: #3b82f6; }
.status-shipped .status-dot { background: #8b5cf6; }
.status-delivered .status-dot { background: #10b981; }
.status-cancelled .status-dot { background: #ef4444; }
@keyframes statuspulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.mvm-date-cell { color: var(--mvm-gray-600); font-size: 15px; }
.mvm-date-cell .date-time { display: block; font-size: 13px; color: var(--mvm-gray-400); margin-top: 2px; }

.mvm-action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: linear-gradient(135deg, var(--p) 0%, var(--pd) 100%); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; }
.mvm-action-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); color: #fff; }

/* Orders Empty State */
.mvm-orders-empty { padding: 60px 40px; text-align: center; }
.mvm-orders-empty .empty-icon { width: 100px; height: 100px; background: linear-gradient(135deg, var(--mvm-gray-100), var(--mvm-gray-200)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 42px; color: var(--mvm-gray-400); }
.mvm-orders-empty h3 { font-size: 22px; font-weight: 600; color: var(--mvm-gray-800); margin: 0 0 8px; }
.mvm-orders-empty p { color: var(--mvm-gray-500); font-size: 16px; margin: 0 auto; max-width: 300px; }

/* Single Order Detail Premium */
.mvm-order-detail-header { background: linear-gradient(135deg, var(--p) 0%, #8b5cf6 50%, #ec4899 100%); border-radius: 20px; padding: 32px; margin-bottom: 24px; color: #fff; position: relative; overflow: hidden; }
.mvm-order-detail-header::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: rgba(255,255,255,0.1); border-radius: 50%; transform: translate(30%, -50%); }
.mvm-order-detail-header .header-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; position: relative; z-index: 1; }
.mvm-order-detail-header .back-link { color: rgba(255,255,255,0.9); text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.mvm-order-detail-header .back-link:hover { color: #fff; }
.mvm-order-detail-header .order-title { font-size: 30px; font-weight: 700; margin: 0 0 8px; position: relative; z-index: 1; }
.mvm-order-detail-header .order-meta { display: flex; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.mvm-order-detail-header .meta-item { display: flex; align-items: center; gap: 8px; font-size: 16px; opacity: 0.9; }

.mvm-status-update-card { background: #fff; border-radius: 16px; padding: 24px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--mvm-gray-100); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mvm-status-update-card label { font-weight: 600; color: var(--mvm-gray-700); font-size: 16px; display: flex; align-items: center; gap: 8px; }
.mvm-status-update-card select { padding: 12px 40px 12px 16px; border: 2px solid var(--mvm-gray-200); border-radius: 12px; font-size: 16px; color: var(--mvm-gray-700); background: #fff; appearance: none; cursor: pointer; min-width: 180px; }
.mvm-status-update-card select:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }

.mvm-order-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 24px; }
.mvm-detail-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--mvm-gray-100); overflow: hidden; }
.mvm-detail-card .card-header { padding: 20px 24px; border-bottom: 1px solid var(--mvm-gray-100); display: flex; align-items: center; gap: 12px; }
.mvm-detail-card .card-header .card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mvm-detail-card .card-header.customer .card-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--i); }
.mvm-detail-card .card-header.payment .card-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--s); }
.mvm-detail-card .card-header h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--mvm-gray-800); }
.mvm-detail-card .card-body { padding: 24px; }

.mvm-detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--mvm-gray-200); }
.mvm-detail-row:last-child { border-bottom: none; }
.mvm-detail-row .label { color: var(--mvm-gray-500); font-size: 15px; }
.mvm-detail-row .value { color: var(--mvm-gray-800); font-weight: 500; font-size: 16px; text-align: right; }
.mvm-detail-row .value a { color: var(--p); text-decoration: none; }

.mvm-contact-buttons { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.mvm-contact-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.mvm-contact-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; }
.mvm-contact-btn.whatsapp:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); color: #fff; }
.mvm-contact-btn.phone { background: var(--mvm-gray-100); color: var(--mvm-gray-700); }

.mvm-items-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--mvm-gray-100); overflow: hidden; margin-bottom: 24px; }
.mvm-items-card .card-header { padding: 20px 24px; border-bottom: 1px solid var(--mvm-gray-100); display: flex; align-items: center; gap: 12px; }
.mvm-items-card .card-header .card-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #fef3c7, #fde68a); display: flex; align-items: center; justify-content: center; color: var(--w); font-size: 20px; }
.mvm-items-card .card-header h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--mvm-gray-800); }

.mvm-items-table { width: 100%; border-collapse: collapse; }
.mvm-items-table thead th { padding: 14px 24px; text-align: left; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--mvm-gray-500); background: var(--mvm-gray-50); }
.mvm-items-table tbody td { padding: 20px 24px; border-bottom: 1px solid var(--mvm-gray-100); }
.mvm-items-table tbody tr:last-child td { border-bottom: none; }
.mvm-items-table .product-name { font-weight: 600; color: var(--mvm-gray-800); }
.mvm-items-table tfoot td { padding: 20px 24px; background: var(--mvm-gray-50); font-weight: 700; }
.mvm-items-table .total-row { font-size: 20px; color: var(--mvm-gray-900); }

.mvm-notes-card { background: linear-gradient(135deg, #fefce8, #fef9c3); border-radius: 16px; padding: 24px; border: 1px solid #fde047; }
.mvm-notes-card h4 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: #854d0e; display: flex; align-items: center; gap: 8px; }
.mvm-notes-card p { margin: 0; color: #713f12; font-size: 16px; line-height: 1.6; }

.mvm-payment-proof { margin-top: 16px; }
.mvm-payment-proof-label { font-size: 15px; color: var(--mvm-gray-500); margin-bottom: 8px; }
.mvm-payment-proof img { max-width: 100%; max-height: 200px; border-radius: 12px; border: 2px solid var(--mvm-gray-200); }
.mvm-no-proof { background: var(--mvm-gray-50); padding: 16px; border-radius: 12px; text-align: center; color: var(--mvm-gray-500); font-size: 15px; }

@media (max-width: 1024px) {
    .mvm-orders-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .mvm-orders-stats .mvm-stat-card { padding: 18px; }
    .mvm-orders-stats .stat-icon { width: 42px; height: 42px; font-size: 22px; margin-bottom: 10px; }
    .mvm-orders-stats .stat-number { font-size: 26px; }
    .mvm-orders-stats .stat-label { font-size: 13px; }
    .mvm-orders-header h2 { font-size: 24px; }
    .mvm-orders-header h2 .header-icon { width: 38px; height: 38px; font-size: 20px; }
    .mvm-order-detail-grid { grid-template-columns: 1fr; gap: 20px; }
    .mvm-order-detail-header { padding: 24px; }
    .mvm-order-detail-header .order-title { font-size: 24px; }
    .mvm-order-detail-header .meta-item { font-size: 15px; }
    .mvm-premium-table thead th { padding: 12px 16px; font-size: 12px; }
    .mvm-premium-table tbody td { padding: 14px 16px; font-size: 15px; }
    .mvm-order-number .order-icon { width: 38px; height: 38px; }
    .mvm-customer-avatar { width: 34px; height: 34px; }
    .mvm-status-update-card { padding: 20px; }
    .mvm-detail-card .card-header { padding: 18px 22px; font-size: 17px; }
    .mvm-detail-card .card-body { padding: 20px; }
    .mvm-contact-btn { font-size: 15px; padding: 12px 22px; }
    .mvm-orders-table-header { padding: 18px 22px; }
    .mvm-orders-empty { padding: 50px 28px; }
    .mvm-orders-empty .empty-icon { width: 90px; height: 90px; }
    .mvm-orders-empty h3 { font-size: 22px; }
    .mvm-orders-empty p { font-size: 15px; }
}
@media (max-width: 900px) {
    .mvm-orders-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mvm-orders-stats .mvm-stat-card { padding: 16px; }
    .mvm-orders-stats .stat-icon { width: 38px; height: 38px; font-size: 20px; margin-bottom: 8px; }
    .mvm-orders-stats .stat-number { font-size: 24px; }
    .mvm-orders-stats .stat-label { font-size: 13px; }
    .mvm-orders-header { flex-direction: column; align-items: stretch; gap: 12px; }
    .mvm-orders-header h2 { font-size: 22px; }
    .mvm-order-detail-grid { grid-template-columns: 1fr; gap: 16px; }
    .mvm-order-detail-header { padding: 20px; }
    .mvm-order-detail-header .order-title { font-size: 22px; }
    .mvm-premium-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .mvm-premium-table thead th { padding: 10px 14px; font-size: 12px; white-space: nowrap; }
    .mvm-premium-table tbody td { padding: 12px 14px; font-size: 14px; }
    .mvm-status-update-card { flex-direction: column; align-items: stretch; padding: 16px; }
    .mvm-status-update-card select { width: 100%; }
    .mvm-orders-table-header { padding: 16px 18px; flex-direction: column; gap: 8px; }
    .mvm-contact-buttons { flex-direction: column; gap: 8px; }
    .mvm-contact-btn { width: 100%; justify-content: center; }
    .mvm-items-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .mvm-detail-card .card-body { padding: 16px; }
    .mvm-detail-card .card-header { padding: 16px 18px; }
    .mvm-orders-empty { padding: 44px 22px; }
    .mvm-orders-empty .empty-icon { width: 80px; height: 80px; }
    .mvm-orders-empty h3 { font-size: 20px; }
}
@media (max-width: 768px) {
    .mvm-orders-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mvm-orders-stats .mvm-stat-card { padding: 12px; border-radius: 12px; }
    .mvm-orders-stats .stat-icon { width: 34px; height: 34px; font-size: 18px; margin-bottom: 6px; border-radius: 10px; }
    .mvm-orders-stats .stat-number { font-size: 22px; }
    .mvm-orders-stats .stat-label { font-size: 12px; }
    .mvm-premium-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .mvm-premium-table thead th { padding: 10px 12px; font-size: 11px; white-space: nowrap; letter-spacing: 0.5px; }
    .mvm-premium-table tbody td { padding: 12px; font-size: 14px; }
    .mvm-order-number .order-icon { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
    .mvm-order-number .order-info strong { font-size: 14px; }
    .mvm-customer-avatar { width: 28px; height: 28px; font-size: 13px; }
    .mvm-order-detail-header { padding: 18px; border-radius: 14px; }
    .mvm-order-detail-header .order-title { font-size: 20px; }
    .mvm-order-detail-header .order-meta { gap: 10px; }
    .mvm-order-detail-header .meta-item { font-size: 13px; }
    .mvm-status-update-card { flex-direction: column; align-items: stretch; padding: 14px; border-radius: 12px; }
    .mvm-status-update-card select { width: 100%; font-size: 14px; }
    .mvm-orders-header { flex-direction: column; align-items: stretch; gap: 10px; }
    .mvm-orders-header h2 { font-size: 20px; }
    .mvm-orders-header h2 .header-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
    .mvm-orders-table-header { padding: 12px 16px; flex-direction: column; gap: 8px; }
    .mvm-contact-buttons { flex-direction: column; gap: 8px; }
    .mvm-contact-btn { width: 100%; justify-content: center; font-size: 13px; padding: 10px 16px; }
    .mvm-items-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .mvm-items-table thead th { padding: 8px 14px; white-space: nowrap; font-size: 11px; }
    .mvm-items-table tbody td { padding: 12px 14px; font-size: 14px; }
    .mvm-detail-card .card-body { padding: 14px; }
    .mvm-detail-card .card-header { padding: 14px 16px; font-size: 15px; }
    .mvm-orders-empty { padding: 36px 18px; border-radius: 14px; }
    .mvm-orders-empty .empty-icon { width: 70px; height: 70px; }
    .mvm-orders-empty h3 { font-size: 18px; }
    .mvm-orders-empty p { font-size: 14px; }
}
@media (max-width: 480px) {
    .mvm-orders-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .mvm-orders-stats .mvm-stat-card { padding: 10px; }
    .mvm-orders-stats .stat-icon { width: 30px; height: 30px; font-size: 16px; margin-bottom: 4px; }
    .mvm-orders-stats .stat-number { font-size: 18px; }
    .mvm-orders-stats .stat-label { font-size: 11px; }
    .mvm-order-detail-header { padding: 14px; border-radius: 12px; }
    .mvm-order-detail-header .order-title { font-size: 18px; }
    .mvm-order-detail-header .header-top { flex-direction: column; gap: 10px; }
    .mvm-orders-header h2 { font-size: 18px; }
    .mvm-premium-table thead th { font-size: 10px; padding: 8px 10px; }
    .mvm-premium-table tbody td { font-size: 13px; padding: 10px; }
    .mvm-orders-empty { padding: 28px 14px; }
    .mvm-orders-empty .empty-icon { width: 56px; height: 56px; }
    .mvm-orders-empty h3 { font-size: 16px; }
    .mvm-orders-empty p { font-size: 13px; }
}
@media (max-width: 360px) {
    .mvm-orders-header h2 { font-size: 16px; }
    .mvm-orders-stats .stat-number { font-size: 16px; }
    .mvm-order-detail-header .order-title { font-size: 16px; }
}
