.pagination{display:flex;justify-content:center;margin-bottom:10px;align-items:center;margin-top:20px}.pagination-btn{padding:8px 16px;margin:0 5px;border:1px solid #ccc;background-color:#fff;font-size:16px;cursor:pointer;transition:background-color .3s ease,border-color .3s ease;color:#f68b1e;border-radius:5px}.pagination-btn:disabled{background-color:#f0f0f0;color:#aaa;cursor:not-allowed}.pagination-btn:hover:not(:disabled){background-color:#007bff;color:#fff;border-color:#007bff}.pagination-btn.active{background-color:#007bff;color:#fff;border-color:#007bff}.pagination-btn:first-child,.pagination-btn:last-child{font-weight:700}@media(max-width:768px){.pagination-btn{padding:6px 12px;font-size:14px}}@media(max-width:480px){.pagination-btn{padding:4px 10px;font-size:12px}}.admin-product{align-items:center;width:50%;margin:auto;font-size:16px}.add-product,.edit{border-radius:5px;margin:5px 8px;padding:10px;font-weight:700;cursor:pointer;font-size:18px;color:#fff;border:none;background-color:#2c3e50}.delete{border-radius:5px;margin:5px 8px;padding:10px;font-weight:700;cursor:pointer;font-size:18px;color:#fff;border:none;background-color:tomato}.admin-product button:hover{background-color:#96693c}.admin-product ul{list-style-type:none;padding:0}.admin-product li{display:flex;align-items:center;justify-content:space-between;padding:10px;margin-bottom:1.5px;border-radius:5px;border:1px solid #ddd}.admin-product span{flex:1;color:#444}.add-product-container{max-width:800px;margin:50px auto;padding:20px;background-color:#f9f9f9;border-radius:10px;box-shadow:0 4px 8px #0000001a;font-family:Arial,sans-serif}.add-product-title{text-align:center;font-size:2rem;color:#333;margin-bottom:20px}.add-product-form{display:flex;flex-direction:column;gap:15px}.form-group{display:flex;flex-direction:column;gap:5px}.form-label{font-weight:700;color:#555}.form-input,textarea,select{padding:10px;border:1px solid #ccc;border-radius:5px;font-size:1rem;background-color:#fff;transition:border .3s ease}.form-input:focus,textarea:focus,select:focus{border-color:#4caf50;outline:none}.submit-button{padding:10px 15px;background-color:#2c3e50;color:#fff;font-size:1rem;font-weight:700;border:none;border-radius:5px;cursor:pointer;transition:background-color .3s ease}.submit-button:hover{background-color:#45a049}.message{text-align:center;padding:10px;border-radius:5px;font-size:1rem}.message.success{background-color:#dff0d8;color:#3c763d}.message.error{background-color:#f2dede;color:#a94442}.image-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.preview-image{width:100px;height:100px;object-fit:cover;border:1px solid #ccc;border-radius:5px}@media(max-width:600px){.add-product-container{padding:15px}.add-product-title{font-size:1.5rem}.submit-button{font-size:.9rem}.preview-image{width:80px;height:80px}}.edit-product-container{max-width:800px;margin:0 auto;padding:20px;background-color:#f9f9f9;border-radius:10px;box-shadow:0 4px 8px #0000001a}.edit-product-title{text-align:center;font-size:2rem;color:#333;margin-bottom:20px}.edit-product-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:10px}.form-label{font-size:1rem;color:#555}.form-input{padding:10px;border:1px solid #ccc;border-radius:5px;font-size:1rem}.form-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 5px #007bff80}.image-preview,.existing-images{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.preview-image,.existing-image{width:100px;height:100px;object-fit:cover;border-radius:5px;border:1px solid #ccc}.submit-button{padding:10px 20px;background-color:#2c3e50;color:#fff;border:none;border-radius:5px;font-size:1rem;cursor:pointer;transition:background-color .3s ease}.submit-button:hover{background-color:#8ac}.message{text-align:center;padding:10px;border-radius:5px;margin-bottom:20px}.message.success{background-color:#d4edda;color:#155724}.message.error{background-color:#f8d7da;color:#721c24}.admin-orders-container{padding:2rem;max-width:1400px;margin:0 auto}.error-banner{background:#fed7d7;color:#c53030;padding:1rem;border-radius:8px;display:flex;align-items:center;gap:.5rem;margin-bottom:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;border-radius:10px;padding:1.5rem;display:flex;align-items:center;gap:1.5rem;box-shadow:0 2px 15px #0000001a}.stat-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff}.stat-icon.total-orders{background:#4299e1}.stat-icon.revenue{background:#48bb78}.stat-content h3{margin:0;color:#718096;font-size:.9rem}.stat-content p{margin:.5rem 0 0;font-size:1.5rem;font-weight:700;color:#2d3748}.charts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;margin-bottom:2rem}.chart-card{background:#fff;border-radius:10px;padding:1.5rem;box-shadow:0 2px 15px #0000001a}.chart-card h3{margin:0 0 1.5rem;display:flex;align-items:center;gap:.5rem;color:#2d3748}.filters-container{display:flex;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.filter-group{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.8rem 1.2rem;border-radius:8px;box-shadow:0 2px 10px #0000000d}.filter-group label{display:flex;align-items:center;gap:.5rem;color:#4a5568}.filter-group select{padding:.5rem;border-radius:6px;border:1px solid #cbd5e0;background:#f7fafc}.orders-table-container{overflow-x:auto;margin-bottom:2rem}.orders-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 15px #0000001a}.orders-table th,.orders-table td{padding:1rem;text-align:left}.orders-table th{background:#f7fafc;color:#4a5568;font-weight:600}.orders-table tr:nth-child(2n){background:#f7fafc}.status-indicator{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:20px;color:#fff;width:fit-content}.status-icon{font-size:1rem}.details-btn{background:#4299e1;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:opacity .2s}.details-btn:hover{opacity:.9}@media(max-width:768px){.charts-section{grid-template-columns:1fr}.orders-table th,.orders-table td{padding:.8rem;font-size:.9rem}}.order-details-container{padding:2rem;max-width:1400px;margin:0 auto;background:#f8f9fa}.page-title{display:flex;align-items:center;gap:1rem;color:#2d3748;margin-bottom:2rem}.message-banner{padding:1rem;border-radius:8px;margin-bottom:2rem;display:flex;align-items:center;gap:.5rem;font-weight:500}.message-banner.success{background:#c6f6d5;color:#22543d;border:1px solid #48bb78}.message-banner.error{background:#fed7d7;color:#c53030;border:1px solid #f56565}.order-details-grid{display:grid;grid-template-columns:1fr;gap:2rem}.product-details-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d;overflow:hidden}.product-header{padding:1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;align-items:center;gap:1rem}.product-content{padding:2rem;display:grid;grid-template-columns:300px 1fr;gap:2rem}.product-image-container{position:relative;border-radius:8px;overflow:hidden;background:#f8f9fa;padding:1rem}.product-image{width:100%;height:300px;object-fit:contain;border-radius:4px;margin-top:40px}.product-badge{position:absolute;top:1rem;left:1rem;background:#ffffffe6;padding:.5rem 1rem;border-radius:20px;display:flex;align-items:center;gap:.5rem;font-size:.9rem;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.product-info{display:flex;flex-direction:column;gap:2rem}.info-group{background:#f8f9fa;padding:1.5rem;border-radius:8px}.info-row{display:flex;align-items:center;gap:1rem;padding:.75rem 0;border-bottom:1px solid #e9ecef}.info-row:last-child{border-bottom:none}.color-swatch{width:24px;height:24px;border-radius:50%;border:2px solid #e2e8f0}.total-price{font-size:1.1rem;color:#2d3748;font-weight:600}.status-timeline-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d}.status-header{padding:1.5rem;border-bottom:1px solid #e9ecef}.timeline-container{padding:2rem;position:relative}.timeline-step{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;position:relative;z-index:2}.timeline-step:not(:last-child):after{content:"";position:absolute;left:12px;top:32px;bottom:-24px;width:2px;background:#e2e8f0;z-index:1}.status-marker{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:500;flex-shrink:0}.status-info{display:flex;flex-direction:column;gap:.25rem}.status-label{font-weight:500;color:#2d3748}.status-date{font-size:.9rem;color:#718096}.status-update-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d}.update-header{padding:1.5rem;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.current-status{padding:.5rem 1rem;border-radius:20px;font-weight:500;font-size:.9rem}.update-controls{padding:2rem;display:flex;gap:1rem;align-items:center}.status-select{flex:1;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem;font-weight:500}.update-button{background:#48bb78;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:opacity .2s}.update-button:disabled{background:#cbd5e0;cursor:not-allowed}.update-button:hover:not(:disabled){opacity:.9}.user-details-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d;padding:2rem;display:grid;grid-template-columns:1fr 1fr;gap:2rem}.user-section,.shipping-section{display:flex;flex-direction:column;gap:1.5rem}.info-grid,.address-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.info-item{display:flex;flex-direction:column;gap:.25rem;padding:1rem;background:#f8f9fa;border-radius:8px}.info-item span{font-size:.9rem;color:#718096}@media(max-width:1200px){.product-content,.user-details-card{grid-template-columns:1fr}}@media(max-width:768px){.update-controls{flex-direction:column}.status-select,.update-button{width:100%}.product-image{height:200px}}.admin-reviews-page{padding:20px;max-width:1200px;margin:0 auto;font-family:Arial,sans-serif}.admin-reviews-page h1{text-align:center;margin-bottom:20px;color:#333}.reviews-table{width:100%;border-collapse:collapse;margin-top:20px}.reviews-table th,.reviews-table td{padding:12px;text-align:left;border-bottom:1px solid #ddd}.reviews-table th{background-color:#f4f4f4;font-weight:700;color:#333}.reviews-table tr:hover{background-color:#f9f9f9}.edit-button,.delete-button{padding:8px 12px;border:none;border-radius:4px;cursor:pointer;font-size:14px;margin-right:5px}.edit-button{background-color:#007bff;color:#fff}.edit-button:hover{background-color:#0056b3}.delete-button{background-color:#dc3545;color:#fff}.delete-button:hover{background-color:#c82333}.error-message{color:red;font-weight:700;text-align:center;margin-top:20px}.inquiries-page{padding:20px}.page-title{text-align:center;margin-bottom:20px}.inquiries-list{display:flex;flex-direction:column;gap:15px}.inquiry-item{border:1px solid #ddd;padding:15px;border-radius:8px;background-color:#f9f9f9}.inquiry-subject{margin:0;font-size:18px;color:#333}.inquiry-message{margin:10px 0;color:#555}.inquiry-details{margin-top:10px}.inquiry-details p{margin:5px 0;font-size:14px;color:#777}.inquiry-actions{display:flex;gap:10px;margin-top:10px}.inquiry-actions select{padding:5px;border-radius:4px;border:1px solid #ccc}.inquiry-actions button{padding:5px 10px;background-color:#ff4d4d;color:#fff;border:none;border-radius:4px;cursor:pointer}.inquiry-actions button:hover{background-color:#c00}.user-list-container{padding:20px;font-family:Arial,sans-serif;max-width:1200px;margin:0 auto}.user-list-container h1{text-align:center;color:#333;font-size:2rem;margin-bottom:20px}.user-list-container table{width:100%;border-collapse:collapse;margin-bottom:20px}.user-list-container th,.user-list-container td{padding:10px;text-align:left;border-bottom:1px solid #ddd}.user-list-container th{background-color:#f4f4f4;font-weight:700}.user-list-container tr:hover{background-color:#f9f9f9}.user-list-container button{background-color:#007bff;color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;transition:background-color .3s ease}.user-list-container button:hover{background-color:#0056b3}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center}.modal{background-color:#fff;padding:20px;border-radius:8px;max-width:600px;width:100%;box-shadow:0 4px 8px #0003}.modal h2{margin-top:0}.modal button{margin-top:20px}.loading,.error{text-align:center;font-size:1.2rem;color:#333}.error{color:red}.no-users{text-align:center;font-size:1.2rem;color:#555}.deal-manager{padding:2rem;max-width:1200px;margin:0 auto}.header{margin-bottom:2rem;display:flex;flex-direction:column;gap:1rem}.controls{display:flex;gap:1rem;flex-wrap:wrap}input[type=text],input[type=number]{padding:.5rem;border:1px solid #ddd;border-radius:4px;flex:1}.btn-add{background:#4caf50;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.error-message{color:#dc3545;padding:1rem;margin-bottom:1rem;border:1px solid #dc3545;border-radius:4px}.loading{text-align:center;padding:2rem;font-size:1.2rem}.deal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.deal-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa}.status{font-size:.8rem;padding:.25rem .5rem;border-radius:12px}.status.active{background:#d4edda;color:#155724}.status.inactive{background:#f8d7da;color:#721c24}.product-image{width:100%;height:200px;object-fit:cover}.deal-details{padding:1rem}.discount{font-size:1.5rem;color:#28a745;font-weight:700;margin:.5rem 0}.card-actions{display:flex;gap:.5rem;padding:1rem;border-top:1px solid #eee}.btn-edit,.btn-delete,.btn-status{flex:1;padding:.5rem;border:none;border-radius:4px;cursor:pointer}.btn-edit{background:#ffc107;color:#000}.btn-delete{background:#dc3545;color:#fff}.btn-status.active{background:#28a745;color:#fff}.btn-status.inactive{background:#6c757d;color:#fff}.modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center}.modal-content{background:#fff;padding:2rem;border-radius:8px;width:90%;max-width:500px;position:relative}.close{position:absolute;right:1rem;top:1rem;font-size:1.5rem;cursor:pointer}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem}.form-group input{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem}.form-actions button{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer}.form-actions button[type=submit]{background:#007bff;color:#fff}
