@import url('colors.css');
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
    height: 100%;
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    line-height: 1.6;
    color: var(--text-primary);
}

.app {
    display: flex;
    min-height: 100vh;
}

.app-content {
    width: 100vw;
    display: flex;
    flex: 0;
    flex-grow: 1;

}

.app-container {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
}


/* ========================================
   SIDEBAR STYLES
   ======================================== */
.sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header h3 {
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

.nav-menu {
    padding: 1rem 0;
}

.nav-menu .nav-item {
    margin-bottom: 0.25rem;
}

.sidebar .nav-link {
    color: var(--sidebar-text);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sidebar-text-hover);
    border-left-color: var(--sidebar-accent);
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.main-content {
    flex: 1;
    margin-left: 250px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.content-wrapper {
    padding: 2rem;
}

/* ========================================
   UNIFIED PAGE HEADER (Single Design)
   ======================================== */
.page-header {
    background: var(--header-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    color: var(--header-text);
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.page-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

/* ========================================
   STATISTICS CARDS
   ======================================== */
.stats-container {
    margin-bottom: 2rem;
}

/* ========================================
   UNIFIED STATISTICS CARDS
   ======================================== */
.stats-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

/* Left Accent Line */
.stats-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.stats-card:hover::before {
  width: 6px;
}

/* Icon */
.stats-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  background: var(--primary-color);
  color: var(--white);
  font-size: 1.25rem;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.stats-card:hover .stats-icon {
  transform: scale(1.1);
}

/* Text */
.stats-content {
  flex: 1;
  text-align: left;
}

.stats-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.25rem 0;
}

.stats-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

/* Stats Trend */
.stats-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.stats-trend i {
  font-size: 0.7rem;
}

.stats-trend .trend-label {
  color: var(--text-muted);
  margin-left: 0.25rem;
}

/* Icon Color Variants */
.stats-icon.orders { 
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); 
}

.stats-icon.revenue { 
  background: linear-gradient(135deg, var(--success-color), var(--success-dark)); 
}

.stats-icon.users { 
  background: linear-gradient(135deg, var(--info-color), var(--info-dark)); 
}

.stats-icon.shops { 
  background: linear-gradient(135deg, var(--warning-color), var(--warning-dark)); 
}

/* ========================================
   FILTER SECTIONS
   ======================================== */
.filter-section {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

.filter-section h5 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.quick-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.quick-filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-medium);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--text-primary);
}

.quick-filter-btn:hover,
.quick-filter-btn.active {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
    text-decoration: none;
}

/* ========================================
   TABLE CONTAINERS & DATATABLES
   ======================================== */
.table-container {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table-container .table {
    margin-bottom: 0;
    width: 100%;
}

.table-container .table thead th {
    border-top: none;
    background: var(--table-header-bg);
    color: var(--table-header-text);
    font-weight: 600;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--table-border);
    white-space: nowrap;
}

.table-container .table tbody tr {
    transition: all var(--transition-normal);
}

.table-container .table tbody tr:hover {
    background: var(--table-hover-bg);
}

.table-container .table td {
    border-color: var(--table-border);
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

/* DataTables Specific Styling */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.375rem 0.75rem;
    margin-left: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--table-hover-bg) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* DataTables Responsive */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* DataTables Buttons */
.dt-buttons .dt-button {
    background: var(--btn-primary-bg) !important;
    border-color: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    border-radius: var(--border-radius-sm);
    padding: 0.375rem 1rem;
    margin-right: 0.5rem;
}

.dt-buttons .dt-button:hover {
    background: var(--btn-primary-hover) !important;
    border-color: var(--btn-primary-hover) !important;
}

/* ========================================
   UNIFIED AVATAR SYSTEM (Single Design)
   ======================================== */
.customer-avatar,
.avatar {
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--avatar-text);
    font-weight: bold;
    margin-right: 0.75rem;
    background: var(--avatar-bg);
}

/* Avatar Size Variants */
.customer-avatar.sm,
.avatar.sm {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
}

.customer-avatar,
.avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.customer-avatar.lg,
.avatar.lg {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

/* ========================================
   UNIFIED STATUS BADGES (Single Design)
   ======================================== */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge.pending { 
    background: var(--status-pending-bg);
    color: var(--status-pending-text);
    border: 1px solid var(--status-pending-border);
}

.status-badge.processing { 
    background: var(--status-processing-bg);
    color: var(--status-processing-text);
    border: 1px solid var(--status-processing-border);
}

.status-badge.completed { 
    background: var(--status-completed-bg);
    color: var(--status-completed-text);
    border: 1px solid var(--status-completed-border);
}

.status-badge.cancelled { 
    background: var(--status-cancelled-bg);
    color: var(--status-cancelled-text);
    border: 1px solid var(--status-cancelled-border);
}

/* Alias status classes */
.status-badge.delivered { 
    background: var(--status-completed-bg);
    color: var(--status-completed-text);
}

.status-badge.in-transit { 
    background: var(--status-processing-bg);
    color: var(--status-processing-text);
}

.status-badge.paid { 
    background: var(--status-completed-bg);
    color: var(--status-completed-text);
}

.status-badge.failed { 
    background: var(--status-cancelled-bg);
    color: var(--status-cancelled-text);
}

/* ========================================
   DELIVERY & SERVICE TYPE BADGES
   ======================================== */
.delivery-type-badge,
.service-badge,
.weight-badge,
.payment-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-transform: uppercase;
}

/* Delivery Type Badges */
.delivery-type-badge.express,
.type-express { 
    background: var(--danger-bg);
    color: var(--danger-dark);
}

.delivery-type-badge.standard,
.type-standard { 
    background: var(--success-bg);
    color: var(--success-dark);
}

.delivery-type-badge.scheduled,
.type-scheduled { 
    background: var(--info-bg);
    color: var(--info-dark);
}

/* Service & Weight Badges */
.service-badge {
    background: var(--info-bg);
    color: var(--info-dark);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.8rem;
    font-weight: 500;
}

.weight-badge {
    background: var(--info-bg);
    color: var(--info-dark);
    padding: 0.2rem 0.6rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Payment Badges */
.payment-badge.paid { 
    background: var(--success-bg); 
    color: var(--success-dark); 
}

.payment-badge.pending { 
    background: var(--warning-bg); 
    color: var(--warning-dark); 
}

.payment-badge.failed { 
    background: var(--danger-bg); 
    color: var(--danger-dark); 
}

/* ========================================
   ACTION BUTTONS
   ======================================== */
/* ========================================
   UNIFIED BUTTON SYSTEM
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    font-weight: 500;
    border: none;
    cursor: pointer;
}

/* Button Sizes */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
}

.btn-md {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: var(--border-radius);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

/* Button Variants */
.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--success-bg);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--danger-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--danger-bg);
}

/* Action Buttons Group */
.action-buttons {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.action-buttons .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-light);
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-secondary);
}

/* Special Buttons */
.btn-print {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
}

.btn-print:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

/* ========================================
   UNIFIED INFO CARDS
   ======================================== */
.info-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3,
.section-title {
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   SPECIALIZED CARDS
   ======================================== */
.order-header,
.invoice-container {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.order-header {
    color: var(--white);
    text-align: center;
    background: var(--header-bg);
}

.service-item,
.order-item {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.service-item {
    border-left: 4px solid var(--success-color);
}

.order-item {
    border-left: 4px solid var(--primary-color);
}

.customer-info,
.contact-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.service-details-info {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-light) 100%);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.booking-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--info-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.payment-info {
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.address-card {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.status-update-card {
    background: linear-gradient(135deg, var(--info-light) 0%, var(--info-color) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.delivery-assignment-card {
    background: linear-gradient(135deg, var(--success-light) 0%, var(--success-color) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.delivery-info-card,
.service-info-card {
    background: linear-gradient(135deg, var(--warning-bg) 0%, var(--warning-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* ========================================
   MAP CONTAINER
   ======================================== */
.map-container {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 400px;
    margin-bottom: 2rem;
}

#map {
    width: 100%;
    height: 100%;
}

/* ========================================
   TOTALS & PRICING
   ======================================== */
.grand-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success-color);
    border-top: 2px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 1rem;
}

.order-amount {
    font-weight: 600;
    color: var(--success-color);
}

.booking-datetime {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   UTILITIES
   ======================================== */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   RIDER SELECTION
   ======================================== */
.rider-option {
    transition: all var(--transition-normal);
}

.rider-option:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.rider-option.border-success {
    border-color: var(--success-color) !important;
    background-color: var(--success-bg) !important;
}

/* ========================================
   FORM SECTIONS & COMPONENTS
   ======================================== */
.form-section {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* ========================================
   IMAGE UPLOAD COMPONENTS
   ======================================== */
.image-upload-area {
    border: 2px dashed var(--border-medium);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    background: var(--light-gray);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.image-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--info-bg);
}

.image-upload-area.dragover {
    border-color: var(--success-color);
    background: var(--success-bg);
}

.image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}
    
/* ========================================
   ATTRIBUTE & FORM CONTROLS
   ======================================== */
.attribute-row {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.remove-attribute {
    background: var(--danger-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.remove-attribute:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px var(--danger-bg);
}

.add-attribute-btn {
    background: linear-gradient(45deg, var(--success-color), var(--success-light));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-xl);
    color: var(--white);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.add-attribute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--success-bg);
}

.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    transition: all var(--transition-normal);
    background: var(--input-bg);
    color: var(--input-text);
}

.form-control:focus, .form-select:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 0.2rem var(--shadow-light);
    outline: none;
}

.save-btn {
    background: var(--btn-primary-bg);
    border: none;
    padding: 0.75rem 3rem;
    border-radius: var(--border-radius-xl);
    color: var(--btn-primary-text);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.save-btn:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-hover);
    color: var(--btn-primary-text);
}

/* ========================================
   FORM LABELS & VALIDATION
   ======================================== */
.required-asterisk {
    color: var(--danger-color);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* ========================================
   IMAGE COMPONENTS
   ======================================== */
.current-image {
    position: relative;
    display: inline-block;
}

.current-image .badge {
    position: absolute;
    top: -10px;
    right: -10px;
}

/* ========================================
   ADDITIONAL FORM BUTTONS
   ======================================== */
.update-btn {
    background: linear-gradient(45deg, var(--success-color), var(--success-light));
    border: none;
    padding: 0.75rem 3rem;
    border-radius: var(--border-radius-xl);
    color: var(--white);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--success-bg);
    color: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    }

        /* ========================================
   PRODUCT COMPONENTS
   ======================================== */
/* ========================================
   PRODUCT IMAGE STYLES
   ======================================== */
.product-image-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all var(--transition-normal);
    display: block;
    background-color: var(--bg-secondary);
}

.product-image-wrapper:hover .product-image {
    transform: scale(1.05);
}

.product-image-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow-light);
}

/* Product image sizes */
.product-image-wrapper.sm {
    width: 40px;
    height: 40px;
}

.product-image-wrapper.lg {
    width: 80px;
    height: 80px;
}

/* Product image states */
.product-image.out-of-stock {
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Error state styling */
.product-image:not([src]),
.product-image[src=""],
.product-image[src*="placeholder"] {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-light) 100%);
    position: relative;
}

.product-image:not([src]):after,
.product-image[src=""]:after,
.product-image[src*="placeholder"]:after {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Loading state */
.product-image.loading {
    animation: imagePulse 1.5s infinite;
}

@keyframes imagePulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Image loading placeholder */
.product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: -1;
}

/* Ensure images don't break layout */
.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

@keyframes imagePulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.rating-stars {
    color: var(--warning-color);
    display: inline-flex;
    gap: 2px;
}

.rating-stars i {
    transition: all var(--transition-normal);
}

.rating-stars:hover i {
    transform: scale(1.1);
}

        .product-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        border-radius: var(--border-radius-xl);
        padding: 2rem;
        color: var(--white);
        margin-bottom: 2rem;
    }
    
    .product-image {
        width: 100%;
        max-width: 400px;
        height: 300px;
        object-fit: cover;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-xl);
    }
    
    .info-card {
        background: var(--white);
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        margin-bottom: 2rem;
        transition: var(--transition-normal);
    }
    
    .info-card:hover {
        transform: translateY(-5px);
    }
    
    .section-title {
        color: var(--text-secondary);
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }
    
    .attribute-item {
        background: var(--light-bg);
        border-radius: var(--border-radius-md);
        padding: 1rem;
        margin-bottom: 1rem;
        border-left: 4px solid var(--primary-color);
        transition: var(--transition-normal);
    }
    
    .attribute-item:hover {
        background: var(--border-color);
        border-left-color: var(--primary-dark);
    }
    
    .price-tag {
        background: linear-gradient(45deg, var(--success-color), var(--success-light));
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius-full);
        font-weight: 600;
        display: inline-block;
    }
    
    .mrp-tag {
        background: var(--text-muted);
        color: var(--white);
        padding: 0.25rem 0.75rem;
        border-radius: var(--border-radius-lg);
        font-size: 0.875rem;
        text-decoration: line-through;
    }
    
    .discount-badge {
        background: var(--danger-color);
        color: var(--white);
        padding: 0.25rem 0.75rem;
        border-radius: var(--border-radius-lg);
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .rating-section {
        background: linear-gradient(135deg, var(--warning-bg) 0%, var(--warning-border) 100%);
        border-radius: var(--border-radius-lg);
        padding: 1.5rem;
        text-align: center;
    }
    
    .rating-stars {
        font-size: 1.5rem;
        color: var(--warning-color);
        margin-bottom: 0.5rem;
    }
    
    .status-badge {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
        border-radius: var(--border-radius-full);
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .shop-info {
        background: linear-gradient(135deg, var(--info-color) 0%, var(--info-light) 100%);
        border-radius: var(--border-radius-lg);
        padding: 1.5rem;
        color: var(--white);
        margin-bottom: 1rem;
    }
    
    .action-button {
        padding: 0.75rem 2rem;
        border-radius: var(--border-radius-full);
        font-weight: 600;
        transition: var(--transition-normal);
        border: none;
        text-decoration: none;
        display: inline-block;
    }
    
    .action-button:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
    .btn-edit {
        background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
        color: var(--white);
    }
    
    .btn-delete {
        background: linear-gradient(45deg, var(--danger-color), var(--danger-dark));
        color: var(--white);
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-card {
        background: var(--white);
        border-radius: var(--border-radius-lg);
        padding: 1.5rem;
        text-align: center;
        box-shadow: var(--shadow-md);
        transition: var(--transition-normal);
    }
    
    .stat-card:hover {
        transform: translateY(-3px);
    }
    
    .stat-value {
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        color: var(--text-muted);
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* ========================================
   PROFESSIONAL TAB STYLING
   ======================================== */
/* Professional Tab Styling */
.professional-tabs {
    --tab-active-color: var(--primary-color);
    --tab-hover-color: var(--primary-light);
    --tab-border-color: var(--border-color);
}

/* Tab List Container */
.professional-tab-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

/* Individual Tab Styling */
.professional-tab {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 1.75rem;
    margin-bottom: 0;
    margin-right: 0.5rem;
    background: var(--white);
    border: 1px solid var(--tab-border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: fit-content;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.professional-tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--tab-active-color), var(--tab-hover-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Tab Hover State */
.professional-tab:hover {
    color: var(--tab-hover-color);
    border-color: var(--tab-hover-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.professional-tab:hover::before {
    opacity: 0.1;
}

/* Active Tab State */
.professional-tab.active {
    background: linear-gradient(135deg, var(--tab-active-color), var(--tab-hover-color));
    color: var(--white);
    border-color: var(--tab-active-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.professional-tab.active::before {
    opacity: 0;
}

/* Tab Icons */
.professional-tab i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.professional-tab:hover i {
    transform: scale(1.1);
}

/* Tab Panels */
.professional-tab-panel {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.professional-tab-panel.active {
    display: block;
}

/* Tab Content Wrapper */
.tab-content-wrapper {
    padding: 2rem;
    background: var(--white);
    min-height: 400px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.4s ease-out;
}

/* Tab Header Styling */
.tab-header {
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tab-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Form Styles for Tabs */
.form-group {
    margin-bottom: 1.5rem;
}

.professional-tabs .form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.professional-tabs .form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
    color: var(--text-primary);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.professional-tabs .form-control:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem var(--primary-bg);
}

.form-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.form-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text-muted);
    transition: 0.4s;
    border-radius: var(--border-radius-full);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: 0.4s;
    border-radius: var(--border-radius-full);
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Data Table Styles for Tabs */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--text-secondary);
}

.data-table tbody tr:hover {
    background-color: var(--light-bg);
}

/* Animation for Tab Content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ENHANCED FORM SECTIONS & COMPONENTS
   ======================================== */
.form-section {
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.form-section h3 {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.step-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.step {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step.active:not(:last-child)::after {
    background: var(--success-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.75rem;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: var(--success-color);
    color: var(--white);
}

.step.completed .step-number {
    background: var(--success-color);
    color: var(--white);
}

.step-label {
    font-weight: 500;
    color: var(--text-muted);
}

.step.active .step-label {
    color: var(--success-color);
    font-weight: 600;
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    position: relative;
}

.map-container #googleMap {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--info-bg) 0%, var(--info-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--info-color);
    font-size: 1.125rem;
    flex-direction: column;
}

.image-upload-area {
    border: 2px dashed var(--border-medium);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    text-align: center;
    background: var(--light-bg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.image-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
}

.image-upload-area.dragover {
    border-color: var(--success-color);
    background: var(--success-bg);
}

.preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
}

.btn-group .btn {
    margin-right: 0.5rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Form Validation Styles */
.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 0.2rem var(--danger-bg);
}

.invalid-feedback {
    display: block;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border-lg {
    width: 3rem;
    height: 3rem;
}

/* ========================================
   ADDITIONAL FORM COMPONENTS & STYLES
   ======================================== */
.section-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.current-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.image-upload-area {
    border: 2px dashed var(--border-medium);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    text-align: center;
    background: var(--light-bg);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
}

.image-upload-area.dragover {
    border-color: var(--success-color);
    background: var(--success-bg);
}

.preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    position: relative;
}

.map-container #googleMap {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--info-bg) 0%, var(--info-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--info-color);
    font-size: 1.125rem;
    flex-direction: column;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.active {
    background-color: var(--success-bg);
    color: var(--success-dark);
}

.status-badge.inactive {
    background-color: var(--danger-bg);
    color: var(--danger-color);
}

.info-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    width: 20px;
    margin-right: 0.75rem;
}

/* ========================================
   ADVANCED LOADING & DATA DISPLAY COMPONENTS
   ======================================== */
.custom-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: var(--border-radius-sm);
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

/* Modern Spinner Animation */
.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: var(--border-radius-full);
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary-color);
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    border-right-color: var(--success-color);
    animation-delay: -0.5s;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: var(--warning-color);
    animation-delay: -1s;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Loading Text Styles */
.loading-text {
    color: var(--text-secondary);
}

.loading-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.loading-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Enhanced Empty State Styles */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 300px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--light-bg) 100%);
    border-radius: var(--border-radius-lg);
    border: 2px dashed var(--border-medium);
}

.empty-content {
    text-align: center;
    max-width: 400px;
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.8;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.empty-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Shop Image Styles */
.shop-image {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* Enhanced Action Button Styles */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.action-btn:hover {
    background: var(--light-bg);
    color: var(--text-secondary);
    transform: scale(1.05);
}

.action-btn.view {
    border-color: var(--success-color);
    color: var(--success-color);
}

.action-btn.view:hover {
    background: var(--success-color);
    color: var(--white);
}

.action-btn.edit {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.action-btn.edit:hover {
    background: var(--primary-color);
    color: var(--white);
}

.action-btn.delete {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.action-btn.delete:hover {
    background: var(--danger-color);
    color: var(--white);
}

/* Enhanced Data Table Styles */
.data-table {
    position: relative;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.data-table tbody tr:hover {
    background-color: var(--light-bg);
}

/* Mobile Responsive Cards for Table */
.mobile-cards-container {
    display: none;
}

.mobile-card {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mobile-card-header {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--light-bg) 100%);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-card-body {
    padding: 1rem;
}

.mobile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-field:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
}

.mobile-field-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    min-width: 80px;
}

.mobile-field-value {
    flex: 1;
    text-align: right;
}

.mobile-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

/* Shop Row Animation */

/* ========================================
   DASHBOARD COMPONENTS
   ======================================== */
/* Stats Cards */

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.stats-card:hover .stats-icon {
    transform: scale(1.1);
}

.stats-icon.orders { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); }
.stats-icon.revenue { background: linear-gradient(135deg, var(--success-color), var(--success-dark)); }
.stats-icon.users { background: linear-gradient(135deg, var(--info-color), var(--info-dark)); }
.stats-icon.shops { background: linear-gradient(135deg, var(--warning-color), var(--warning-dark)); }

.stats-content {
    flex-grow: 1;
}

.stats-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stats-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stats-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--success-color);
}

.stats-trend i {
    font-size: 0.75rem;
}

.stats-trend .trend-label {
    color: var(--text-muted);
    margin-left: 0.25rem;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

/* Info Cards */
.info-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: all var(--transition-normal);
}

.info-card:hover {
    box-shadow: var(--card-shadow-hover);
}

/* Loading States */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-muted);
}

.loading-spinner i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.shop-row {
    animation: fadeInUp 0.4s ease-out;
}

/* ========================================
   SHOP VIEW & DETAIL COMPONENTS
   ======================================== */
/* Hero Section for Shop View */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    transform: translate(50%, -50%);
}

.shop-image-large {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-xl);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.info-card h4 {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Shop Toggle Styles */
.form-check-input:checked {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.form-check-input:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.25rem var(--success-bg);
}

.form-check-label {
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color var(--transition-normal);
}

.shop-status-updating {
    opacity: 0.7;
    pointer-events: none;
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--light-bg);
    position: relative;
}

.map-container #googleMap {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-xl);
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    flex-direction: column;
}



.stats-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stats-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.action-btn {
    border-radius: var(--border-radius-lg);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-content {
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
}

.timeline-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Loading Skeleton */
.loading-skeleton {
    background: linear-gradient(90deg, var(--skeleton-light) 25%, var(--skeleton-dark) 50%, var(--skeleton-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
    height: 1.25rem;
    margin-bottom: 0.5rem;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   COMPREHENSIVE UI COMPONENTS & DASHBOARD
   ======================================== */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
    font-size: 16px;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background-color: var(--status-completed-bg);
    color: var(--status-completed-text);
    border: 1px solid var(--status-completed-border);
}

.status-inactive {
    background-color: var(--status-cancelled-bg);
    color: var(--status-cancelled-text);
    border: 1px solid var(--status-cancelled-border);
}

.status-pending {
    background-color: var(--status-pending-bg);
    color: var(--status-pending-text);
    border: 1px solid var(--status-pending-border);
}

.status-blocked {
    background-color: var(--status-cancelled-bg);
    color: var(--status-cancelled-text);
    border: 1px solid var(--status-cancelled-border);
}

.status-verified {
    background-color: var(--info-bg);
    color: var(--info-dark);
    border: 1px solid var(--info-border);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.btn-action {
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.filter-container {
    background-color: var(--light-bg);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}



.stats-card:hover {
    transform: translateY(-5px);
}

.table-responsive {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.modal-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

/* Layout Structure */





/* Sidebar for admin */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 70px);
    
    margin-top: 70px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    left: 0;
    top: 70px;
    height: calc(100vh - 70px);
    z-index: 1050;
    overflow-y: auto;
    transition: transform var(--transition-normal);
}

.admin-content {
    flex-grow: 1;
    margin-left: 280px;
    padding: 20px;
    transition: margin-left var(--transition-normal);
}

.sidebar-toggle {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.sidebar-toggle:hover {
    color: var(--primary-color);
}

/* Enhanced sidebar styling */
.sidebar .nav-link {
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    border-radius: 0;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar .nav-link.active {
    background-color: var(--primary-bg);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

/* Orders submenu styling */
.sidebar .collapse .nav {
    background-color: var(--bg-primary);
}

.sidebar .collapse .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem 0.5rem 3rem;
}

/* Hero Section Styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 850px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced Stats Card Styles */
.stats-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.stats-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stats-card-bg {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--border-radius-xl);
}

.stats-icon-wrapper {
    width: 80px;
    height: 80px;
    position: relative;
    transition: all var(--transition-normal);
}

.stats-card-modern:hover .stats-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.stats-icon-bg {
    box-shadow: var(--shadow-lg);
}

.stats-pulse {
    background: rgba(255, 255, 255, 0.3);
    animation: statsPulse 2s ease-in-out infinite;
}

@keyframes statsPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.stats-number-wrapper {
    position: relative;
    z-index: 2;
}

.stats-counter {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.stats-growth {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-lg);
    padding: 4px 8px;
    display: inline-block;
    font-weight: 600;
}

.stats-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, var(--success-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--info-light) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--warning-light) 0%, transparent 50%);
    width: 100%;
    height: 100%;
}

.trust-indicators-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.trust-indicators-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg) !important;
}

/* Service Card Styles */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--border-radius-xl) !important;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl) !important;
}

.service-card-bg {
    border-radius: var(--border-radius-xl);
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-card-bg {
    opacity: 0.8;
}

.service-icon-wrapper {
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.25;
    }
    50% {
        opacity: 0.15;
    }
}

.service-card .btn {
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-full) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card:hover .btn {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Service Features Styles */
.service-features-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, var(--light-bg) 100%);
    border-radius: var(--border-radius-xxl);
    padding: 40px 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-features-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--success-bg) 0%, var(--info-bg) 50%, var(--warning-bg) 100%);
    z-index: 1;
}

.service-features-wrapper > * {
    position: relative;
    z-index: 2;
}

.features-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), var(--info-color), var(--warning-color));
    border-radius: var(--border-radius-sm);
}

.feature-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.feature-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-bg-gradient {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--border-radius-xl);
}

.feature-icon-container {
    width: 70px;
    height: 70px;
    transition: all var(--transition-normal);
}

.feature-card-modern:hover .feature-icon-container {
    transform: scale(1.15) rotate(10deg);
}

.feature-pulse {
    background: rgba(255, 255, 255, 0.4);
    animation: featurePulse 2.5s ease-in-out infinite;
}

@keyframes featurePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.feature-content {
    transition: all var(--transition-normal);
}

.feature-card-modern:hover .feature-content {
    transform: translateY(-3px);
}

.feature-badge {
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.feature-card-modern:hover .feature-badge {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.mini-feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mini-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
}

/* Enhanced Why Choose Us Styles */
.why-choose-us-wrapper {
    padding: 20px;
}

.header-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color), var(--warning-light));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--warning-shadow);
    animation: headerIconFloat 3s ease-in-out infinite;
}

@keyframes headerIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.header-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--warning-color), var(--warning-light));
    border-radius: var(--border-radius-sm);
    margin-top: 5px;
}

.enhanced-feature-item {
    border-radius: var(--border-radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.enhanced-feature-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-item-bg {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--light-bg) 100%);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.enhanced-icon-wrapper {
    width: 70px;
    height: 70px;
    transition: all var(--transition-normal);
}

.enhanced-feature-item:hover .enhanced-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.icon-inner {
    width: 100%;
    height: 100%;
    z-index: 2;
}

.icon-pulse {
    background: rgba(255, 255, 255, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.enhanced-feature-item:hover .feature-badge {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.feature-stats small {
    transition: all var(--transition-normal);
}

.enhanced-feature-item:hover .feature-stats small {
    transform: translateY(-1px);
}

.trust-elements-row {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.trust-elements-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-element {
    transition: all var(--transition-normal);
    padding: 15px;
    border-radius: var(--border-radius-lg);
}

.trust-element:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Testimonial Section Styles */
.testimonial-card {
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Feature Item Styles */
.feature-item {
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes scale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
    gap: 8px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.carousel-indicator.active {
    width: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   HEADER & NAVBAR STYLES
   ======================================== */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-left: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center;
    transition: all var(--transition-normal);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--primary-bg) !important;
    border-radius: var(--border-radius-sm);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--primary-bg) !important;
    border-radius: var(--border-radius-sm);
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    width: auto;
}

.dropdown-menu {
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
}

.dropdown-item {
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: all var(--transition-normal);
}

.dropdown-item:hover {
    background: var(--primary-bg);
    color: var(--primary-color);
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Button Styles Override for Header */
.navbar .btn {
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all var(--transition-normal);
}

.navbar .btn-outline-success {
    color: var(--success-color);
    border-color: var(--success-color);
    background: transparent;
}

.navbar .btn-outline-success:hover {
    background: var(--success-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--success-bg);
}

.navbar .btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--white);
}

.navbar .btn-success:hover {
    background: var(--success-dark);
    border-color: var(--success-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--success-bg);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Admin Sidebar Toggle Button */
#adminSidebarToggle {
    border: none;
    background: none;
    color: var(--success-color);
    font-size: 1.2rem;
    padding: 0.5rem;
}

#adminSidebarToggle:hover {
    color: var(--success-dark);
    background: var(--success-bg);
    border-radius: var(--border-radius-sm);
}

/* ========================================
   MEDIA QUERIES & RESPONSIVE DESIGN
   ======================================== */

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .no-print {
        display: none !important;
    }
    
    .invoice-container,
    .info-card {
        box-shadow: none;
        border: 1px solid var(--border-medium);
    }
}

/* ========================================
   MOBILE & TABLET RESPONSIVE STYLES
   ======================================== */

/* Mobile responsive adjustments for admin layout */

/* Responsive Design for Data Tables */
@media (max-width: 992px) {
    /* Hide table and show mobile cards */
    .data-table .table-responsive {
        display: none !important;
    }

    .mobile-cards-container {
        display: block !important;
    }

    /* Adjust loading and empty states */
    .loading-spinner {
        width: 48px;
        height: 48px;
    }

    .loading-title {
        font-size: 1rem;
    }

    .loading-subtitle {
        font-size: 0.8rem;
    }

    .empty-state {
        padding: 2rem 1rem;
        min-height: 200px;
    }

    .empty-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .empty-title {
        font-size: 1.125rem;
    }

    .empty-subtitle {
        font-size: 0.875rem;
    }

    /* Mobile-specific adjustments */
    .card-header {
        padding: 1rem;
    }

    .card-header h4 {
        font-size: 1.25rem;
    }

    /* Action buttons in mobile */
    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    /* Shop images */
    .shop-image {
        width: 40px;
        height: 40px;
    }

  

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        top: 0;
        height: 100vh;
        z-index: 1060;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
        padding: 15px;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1055;
        display: none;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

/* General responsive design for tablets and small screens */
@media (max-width: 768px) {
    
    
    .main-content {
        margin-left: 0;
    }
    
    
    
    .page-header {
        padding: 1.5rem;
    }
    
    .quick-filters {
        justify-content: center;
    }
    
    .action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .stats-container .row > div {
        margin-bottom: 1rem;
    }

    /* Professional Tabs responsive */
    .professional-tab-list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.75rem;
    }

    .professional-tab {
        flex-shrink: 0;
        min-width: 160px;
        margin-right: 0.5rem;
    }

    .tab-content-wrapper {
        padding: 1rem;
    }

    .tab-title {
        font-size: 1.25rem;
    }

    /* Shop View responsive */
    .hero-section {
        padding: 1.5rem;
    }

    .shop-image-large {
        width: 80px;
        height: 80px;
    }

    .info-card {
        padding: 1rem;
    }

    .action-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Mobile phone responsive design */
@media (max-width: 576px) {
    .mobile-card-header {
        padding: 0.75rem;
    }

    .mobile-card-body {
        padding: 0.75rem;
    }

    .mobile-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .mobile-field-value {
        text-align: left;
    }

    .mobile-actions {
        justify-content: center;
    }

    .action-btn {
        width: 40px;
        height: 40px;
    }
}