/* _content/GarmentProducts/Pages/Dashboard.razor.rz.scp.css */
body[b-77abn13mbe] {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
}

.dashboard-card[b-77abn13mbe] {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dashboard-card:hover[b-77abn13mbe] {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon[b-77abn13mbe] {
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-icon[b-77abn13mbe] {
    transform: scale(1.1);
}

.search-highlight[b-77abn13mbe] {
    background-color: #fef3c7;
    padding: 2px 4px;
    border-radius: 3px;
}

.fade-in[b-77abn13mbe] {
    animation: fadeIn-b-77abn13mbe 0.3s ease-in;
}

@keyframes fadeIn-b-77abn13mbe {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
/* _content/GarmentProducts/Pages/ECommerce/EcommerceReport.razor.rz.scp.css */
/* Ecommerce Report Styles */
@keyframes slide-in-b-lnfscxpapm {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.animate-slide-in[b-lnfscxpapm] {
    animation: slide-in-b-lnfscxpapm 0.3s ease-out;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
    .lg\\:hidden[b-lnfscxpapm] {
        display: block !important;
    }
    
    .lg\\:flex[b-lnfscxpapm] {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .lg\\:hidden[b-lnfscxpapm] {
        display: none !important;
    }
    
    .lg\\:flex[b-lnfscxpapm] {
        display: flex !important;
    }
}

/* Table responsive */
@media (max-width: 768px) {
    .table-responsive[b-lnfscxpapm] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive table[b-lnfscxpapm] {
        min-width: 800px;
    }
}

/* Filter panel mobile styles */
@media (max-width: 1024px) {
    .filter-panel-mobile[b-lnfscxpapm] {
        width: 100vw;
        max-width: 100vw;
    }
}

/* Pagination mobile styles */
@media (max-width: 640px) {
    .pagination-mobile[b-lnfscxpapm] {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-mobile .flex[b-lnfscxpapm] {
        justify-content: center;
    }
}
/* _content/GarmentProducts/Shared/MainLayout.razor.rz.scp.css */
/* Main Layout Styles */
/* Prevent horizontal scrolling on the entire page */
html[b-uqphcfnv0x], body[b-uqphcfnv0x] {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure proper container behavior */
.sub-menu[b-uqphcfnv0x] {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
}

.submenu-arrow[b-uqphcfnv0x] {
    transition: transform 0.3s ease-in-out;
}

.menu-item.has-submenu.active .sub-menu[b-uqphcfnv0x] {
    max-height: 500px;
}

.menu-item.has-submenu.active .submenu-arrow[b-uqphcfnv0x] {
    transform: rotate(180deg);
}

/* Logo responsive adjustments */
.logo-text[b-uqphcfnv0x] {
    transition: all 0.3s ease-in-out;
}

/* Mobile menu improvements */
@media (max-width: 768px) {
    .sub-menu[b-uqphcfnv0x] {
        max-height: none !important;
        display: block;
    }
    
    .menu-item.has-submenu.active .sub-menu[b-uqphcfnv0x] {
        display: block;
    }
    
    .menu-item.has-submenu:not(.active) .sub-menu[b-uqphcfnv0x] {
        display: none;
    }
}

/* Collapsed sidebar styles */
.collapsed .sub-menu[b-uqphcfnv0x] {
    display: none !important;
}

.collapsed .menu-item.has-submenu.active .sub-menu[b-uqphcfnv0x] {
    display: none !important;
}

/* Hide scrollbar in collapsed sidebar */
aside.collapsed nav#main-nav[b-uqphcfnv0x]::-webkit-scrollbar {
    display: none;
}
aside.collapsed nav#main-nav[b-uqphcfnv0x] {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* User section styles */
.user-info[b-uqphcfnv0x] {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.user-info a[b-uqphcfnv0x], .user-info button[b-uqphcfnv0x] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form button styling */
.user-menu button[type="submit"][b-uqphcfnv0x] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.user-menu button[type="submit"]:hover[b-uqphcfnv0x] {
    text-decoration: underline;
}

/* Responsive user section */
@media (max-width: 768px) {
    .user-info[b-uqphcfnv0x] {
        max-width: 200px;
    }
}

/* Additional fixes for horizontal scrolling */
.main-content-wrapper[b-uqphcfnv0x] {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure tables and wide content don't break layout */
.table-responsive[b-uqphcfnv0x] {
    overflow-x: auto;
    max-width: 100%;
}

/* Fix for any elements that might cause horizontal overflow */
*[b-uqphcfnv0x] {
    box-sizing: border-box;
}

/* Ensure sidebar doesn't cause horizontal scroll */
.sidebar-container[b-uqphcfnv0x] {
    overflow-x: hidden;
    position: relative;
}

/* Mobile menu backdrop fix */
.mobile-backdrop[b-uqphcfnv0x] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
}

/* Fix for collapsed sidebar hover popout */
@media (min-width: 768px) {
    .group:hover .md\\:group-hover\\:block[b-uqphcfnv0x] {
        overflow: visible !important;
        max-width: none !important;
        width: auto !important;
    }
}

/* Ensure proper scrollbar behavior */
.overflow-y-auto[b-uqphcfnv0x] {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 transparent;
}

.overflow-y-auto[b-uqphcfnv0x]::-webkit-scrollbar {
    width: 6px;
}

.overflow-y-auto[b-uqphcfnv0x]::-webkit-scrollbar-track {
    background: transparent;
}

.overflow-y-auto[b-uqphcfnv0x]::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 3px;
}

.overflow-y-auto[b-uqphcfnv0x]::-webkit-scrollbar-thumb:hover {
    background-color: #a0aec0;
}

/* Prevent any element from causing horizontal overflow */
.w-full[b-uqphcfnv0x], .flex-1[b-uqphcfnv0x], .min-w-0[b-uqphcfnv0x] {
    min-width: 0;
    max-width: 100%;
}

/* Additional responsive fixes */
@media (max-width: 640px) {
    .px-4.sm\\:px-6.lg\\:px-8[b-uqphcfnv0x] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Ensure all containers respect viewport width */
.container[b-uqphcfnv0x], .container-fluid[b-uqphcfnv0x] {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix for any potential table overflow */
table[b-uqphcfnv0x] {
    max-width: 100%;
    table-layout: auto;
}

/* Ensure images don't break layout */
img[b-uqphcfnv0x] {
    max-width: 100%;
    height: auto;
}

/* Fix for any form elements that might overflow */
input[b-uqphcfnv0x], select[b-uqphcfnv0x], textarea[b-uqphcfnv0x] {
    max-width: 100%;
}

/* Fix gap between sidebar and main content on desktop */
@media (min-width: 768px) {
    /* Ensure flex container has no gap and no spacing */
    .md\\:flex[b-uqphcfnv0x] {
        gap: 0 !important;
        margin: 0 !important;
        display: flex !important;
        width: 100%;
    }
    
    /* Ensure sidebar is properly positioned without gaps */
    aside.md\\:relative[b-uqphcfnv0x] {
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-right: 1px solid #e5e7eb;
    }
    
    /* Ensure main content fills remaining space without gaps */
    main.flex-1[b-uqphcfnv0x] {
        margin-left: 0 !important;
        padding-left: 0 !important;
        flex-grow: 1;
        min-width: 0;
        width: auto;
    }
    
    /* Prevent any background showing through during transitions */
    .md\\:flex > aside + main[b-uqphcfnv0x],
    .md\\:flex > main[b-uqphcfnv0x] {
        margin-left: 0 !important;
    }
    
    /* Ensure no gaps appear between sidebar and main during transitions */
    .md\\:flex > *[b-uqphcfnv0x] {
        margin: 0 !important;
    }
}
/* _content/GarmentProducts/Shared/NavMenu.razor.rz.scp.css */
/* Top bar */
.top-row[b-h0utker1b9] {
    position: sticky;
    top: 0;
    z-index: 1030;
  }
  
  /* Sidebar base */
  .sidebar[b-h0utker1b9] {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    width: 280px;
  }
  
  /* Scroll area */
  .menu-scroll[b-h0utker1b9] {
    height: 100%;
    overflow-y: auto;
    padding: .75rem .75rem 2rem;
  }
  
  /* Links */
  .nav-link[b-h0utker1b9] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    border-radius: .5rem;
    color: #374151;
    text-decoration: none;
  }
  .nav-link:hover[b-h0utker1b9],
  .nav-link.active[b-h0utker1b9] {
    background: #f3f4f6;
    color: #111827;
  }
  
  /* Make sure labels aren’t hidden on mobile */
  .nav-link .label[b-h0utker1b9] { display: inline !important; white-space: nowrap; }
  
  .nav-section-title[b-h0utker1b9] {
    font-weight: 600;
    color: #6b7280;
    padding: .75rem .75rem .5rem;
  }
  
  /* Desktop (≥992px): always visible sticky panel */
  @media (min-width: 992px) {
    .sidebar[b-h0utker1b9] {
      position: sticky;
      top: 56px; /* header height */
      height: calc(100vh - 56px);
      z-index: 1010;
      display: block;
    }
    .sidebar-backdrop[b-h0utker1b9] { display: none !important; }
  }
  
  /* Mobile (<992px): hidden by default; full menu when open */
  @media (max-width: 991.98px) {
    .sidebar[b-h0utker1b9] { display: none; } /* closed */
    .sidebar.open[b-h0utker1b9] {
      display: block;           /* open */
      position: fixed;
      top: 56px;
      left: 0;
      width: 280px;
      height: calc(100vh - 56px);
      z-index: 1080;            /* above popovers */
      box-shadow: 0 10px 24px rgba(0,0,0,.18);
      background: #fff;
    }
  
    .sidebar-backdrop[b-h0utker1b9] {
      position: fixed;
      inset: 56px 0 0 0;
      background: rgba(0,0,0,.28);
      z-index: 1075;
    }
  
    /* kill any icon-only rail rules */
    .icon-rail[b-h0utker1b9], .sidebar .icon-only[b-h0utker1b9] { display: none !important; }
  }
  
/* _content/GarmentProducts/Sync/Pages/LiveVsLaunch/LiveVsLaunch.razor.rz.scp.css */
/* Live vs Launch Page Styles */

body[b-feamchd2rn] {
    font-family: 'Inter',sans-serif;
    background-color: #f8fafc
}

.form-input:focus[b-feamchd2rn], .form-select:focus[b-feamchd2rn] {
    outline: none;
    box-shadow: 0 0 0 2px #3b82f6;
    border-color: #3b82f6
}

.status-badge[b-feamchd2rn] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 9999px;
    white-space: nowrap
}

.status-active[b-feamchd2rn] {
    background: #dcfce7;
    color: #166534
}

.status-active .dot[b-feamchd2rn] {
    background: #22c55e
}

.status-draft[b-feamchd2rn] {
    background: #ffedd5;
    color: #9a3412
}

.status-draft .dot[b-feamchd2rn] {
    background: #f97316
}

.status-archived[b-feamchd2rn] {
    background: #e5e7eb;
    color: #374151
}

.status-archived .dot[b-feamchd2rn] {
    background: #6b7280
}

.status-ok[b-feamchd2rn] {
    background: #dcfce7;
    color: #166534
}

.status-ok .dot[b-feamchd2rn] {
    background: #22c55e
}

.status-warning[b-feamchd2rn] {
    background: #fef3c7;
    color: #92400e
}

.status-warning .dot[b-feamchd2rn] {
    background: #f59e0b
}

.status-pending[b-feamchd2rn] {
    background: #fee2e2;
    color: #991b1b
}

.status-pending .dot[b-feamchd2rn] {
    background: #ef4444
}

tbody tr:hover[b-feamchd2rn] {
    background: #f9fafb
}

.th-sort[b-feamchd2rn] {
    cursor: pointer;
    user-select: none
}

/* Table layout improvements */
table[b-feamchd2rn] {
    table-layout: auto;
    min-width: 100%;
    width: 100%;
}

/* Make thead sticky when scrolling */
thead[b-feamchd2rn] {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f9fafb;
}

/* Ensure proper text wrapping */
.break-words[b-feamchd2rn] {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Status badges should wrap properly */
.status-badge[b-feamchd2rn] {
    white-space: normal;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
}

/* Responsive table improvements */
.table-container[b-feamchd2rn] {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    min-height: 100vh;
}

/* Make table responsive with minimum column widths */
@media (max-width: 768px) {
    table[b-feamchd2rn] {
        min-width: 1200px; /* Ensure minimum width for readability */
    }
    
    .table-container[b-feamchd2rn] {
        border-radius: 0;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
}

/* Improve column sizing for better responsive behavior */
th[b-feamchd2rn], td[b-feamchd2rn] {
    min-width: 80px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Specific column width adjustments */
.col-image[b-feamchd2rn] { width: 80px; min-width: 80px; max-width: 80px; }
.col-design[b-feamchd2rn] { width: 100px; min-width: 100px; max-width: 100px; }
.col-item-name[b-feamchd2rn] { width: 200px; min-width: 150px; max-width: 250px; }
.col-launch[b-feamchd2rn] { width: 120px; min-width: 100px; max-width: 150px; }
.col-at[b-feamchd2rn] { width: 80px; min-width: 70px; max-width: 100px; }
.col-status[b-feamchd2rn] { width: 120px; min-width: 100px; max-width: 150px; }
.col-stock[b-feamchd2rn] { width: 100px; min-width: 80px; max-width: 120px; }
.col-date[b-feamchd2rn] { width: 140px; min-width: 120px; max-width: 160px; }
.col-remarks[b-feamchd2rn] { width: 180px; min-width: 150px; max-width: 200px; }
.col-actions[b-feamchd2rn] { width: 100px; min-width: 80px; max-width: 120px; }

/* Allow the actions cell to show dropdown outside the cell bounds */
.col-actions[b-feamchd2rn] {
    overflow: visible !important;
    position: relative;
}

/* Horizontal scroll indicator */
.table-container[b-feamchd2rn]::after {
    content: "← Scroll horizontally to see more columns →";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.table-container:hover[b-feamchd2rn]::after {
    opacity: 1;
}

/* Hide scroll indicator on desktop when not needed */
@media (min-width: 1200px) {
    .table-container[b-feamchd2rn]::after {
        display: none;
    }
}

/* Improve scrollbar styling */
.table-container[b-feamchd2rn]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container[b-feamchd2rn]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container[b-feamchd2rn]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-container[b-feamchd2rn]::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile card view improvements */
@media (max-width: 1023px) {
    .mobile-card[b-feamchd2rn] {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .mobile-card:hover[b-feamchd2rn] {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure mobile cards don't overflow */
    .mobile-card[b-feamchd2rn] {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Improve mobile spacing */
    .mobile-card .p-4[b-feamchd2rn] {
        padding: 1rem;
    }
    
    /* Better mobile button sizing */
    .mobile-card button[b-feamchd2rn] {
        min-height: 44px; /* iOS touch target size */
    }
}

/* Mobile-specific status badge adjustments */
@media (max-width: 640px) {
    .status-badge[b-feamchd2rn] {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .status-badge .dot[b-feamchd2rn] {
        width: 0.25rem;
        height: 0.25rem;
        margin-right: 0.25rem;
    }
}

.actions-dropdown-container[b-feamchd2rn] {
    position: absolute; /* anchor to relative parent (.dropdown-container) */
    top: calc(100% + 4px); /* below the button */
    right: 0; /* align right edges */
    width: 220px;
    z-index: 1000;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
}

/* Ensure the trigger container establishes a positioning context */
.dropdown-container[b-feamchd2rn] {
    position: relative;
}

/* On mobile and tablet, use static positioning within the card */
@media (max-width: 1023px) {
    .actions-dropdown-container[b-feamchd2rn] {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin-top: 8px;
        z-index: auto !important;
    }
}

/* Filter panel mobile responsive styles */
#filter-panel[b-feamchd2rn] {
    z-index: 9999 !important;
}

/* Ensure filter panel is visible on mobile landscape */
@media (max-width: 1024px) {
    #filter-panel[b-feamchd2rn] {
        width: 100vw !important;
        max-width: 100vw !important;
        right: 0 !important;
        left: 0 !important;
    }
}

/* Specific handling for mobile landscape (wider than 640px but less than 1024px) */
@media (min-width: 641px) and (max-width: 1024px) and (orientation: landscape) {
    #filter-panel[b-feamchd2rn] {
        width: 100vw !important;
        max-width: 100vw !important;
        right: 0 !important;
        left: 0 !important;
    }
}

/* Ensure backdrop is visible on mobile */
@media (max-width: 1024px) {
    /* Backdrop z-index is handled in the razor file with z-[9998] */
}
