/* Custom Styles for Shirt Shop Admin */

/* Admin Version Badge */
.admin-version-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.admin-version-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Cart-style Components for Admin Order Details */
.cart-card-elevated {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 7px 7px -7px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ======================
   Admin Proofs Image Viewer Modal
   ====================== */
.admin-modal-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
}

.admin-modal-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: #ffffff;
    color: #ea580c;
    border: 2px solid #f97316;
    border-radius: 9999px;
    padding: 0.8rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out, transform .15s ease-in-out;
    z-index: 9999;
}

.admin-modal-close:hover {
    background: #fff7ed;
    box-shadow: 0 12px 18px -4px rgba(0,0,0,.12), 0 6px 8px -3px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

/* Cart Header Gradients */

/* Proofs chat scroll area (max 500px height) */
.admin-chat-scroll-500 {
    max-height: 500px;
    overflow-y: auto;
}
.cart-header-primary {
    background: linear-gradient(to right, #dbeafe, #bfdbfe);
    border-bottom: 1px solid #93c5fd;
    padding: 1.25rem 1.5rem;
}

.cart-header-success {
    background: linear-gradient(to right, #dcfce7, #bbf7d0);
    border-bottom: 1px solid #86efac;
    padding: 1.25rem 1.5rem;
}

.cart-header-info {
    background: linear-gradient(to right, #e0f2fe, #b3e5fc);
    border-bottom: 1px solid #81d4fa;
    padding: 1.25rem 1.5rem;
}

/* Cart Body Padding */
.cart-body {
    padding: 1.5rem;
    background: #f9fafb;
}

/* Cart Summary Body */
.cart-summary-body {
    padding: 1.5rem;
}

/* Cart Item Cards */
.cart-item-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

/* Product Image in Cart */
.cart-product-image {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid #f3f4f6;
    transition: all 0.2s ease;
}

.cart-product-image:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.cart-product-image-placeholder {
    width: 5rem;
    height: 5rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
}

/* Order Status Badges */
.order-status-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-in-production { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.payment-pending { background: #fef3c7; color: #92400e; }
.payment-paid { background: #d1fae5; color: #065f46; }
.payment-failed { background: #fee2e2; color: #991b1b; }
.payment-refunded { background: #e0f2fe; color: #0369a1; }

/* Ensure badge colors work properly with higher visibility */
.bg-danger\/20 {
    background-color: rgba(220, 38, 38, 0.15) !important;
}

.text-danger {
    color: rgb(185, 28, 28) !important;
}

.bg-success\/20 {
    background-color: rgba(22, 163, 74, 0.15) !important;
}

.text-success {
    color: rgb(21, 128, 61) !important;
}

.bg-warning\/20 {
    background-color: rgba(217, 119, 6, 0.15) !important;
}

.text-warning {
    color: rgb(180, 83, 9) !important;
}

.bg-info\/20 {
    background-color: rgba(37, 99, 235, 0.15) !important;
}

.text-info {
    color: rgb(29, 78, 216) !important;
}

.bg-primary\/20 {
    background-color: rgba(37, 99, 235, 0.15) !important;
}

.text-primary {
    color: rgb(29, 78, 216) !important;
}

.bg-secondary\/20 {
    background-color: rgba(75, 85, 99, 0.15) !important;
}

.text-secondary {
    color: rgb(55, 65, 81) !important;
}

/* Admin Design Files Section - Using Dashtrap Theme Classes */
/* The design action buttons now use standard Dashtrap button classes:
   - btn btn-sm: Small button size
   - border-{color}: Outlined button style
   - text-{color}: Text color matching border
   - hover:bg-{color}: Fill background on hover
   - hover:text-white: White text on hover
   This maintains consistency with other admin panel buttons */

/* Enhanced Product Image Management Styles */
.image-tabs {
    border-bottom: 1px solid hsl(var(--default-200));
    margin-bottom: 1.5rem;
}

.tab-nav {
    display: flex;
    gap: 0;
    background: hsl(var(--default-50));
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.tab-button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: hsl(var(--default-600));
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-button:hover {
    color: hsl(var(--default-900));
    background: hsl(var(--default-100));
}

.tab-button.active {
    color: hsl(var(--primary-600));
    background: white;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.image-container {
    position: relative;
    border: 2px solid hsl(var(--default-200));
    border-radius: 0.75rem;
    overflow: hidden;
    background: white;
    transition: all 0.15s ease;
}

.image-container:hover {
    border-color: hsl(var(--primary-300));
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.image-thumbnail {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.primary-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: hsl(var(--success-500));
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.image-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.375rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.image-container:hover .image-actions {
    opacity: 1;
}

.btn-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    backdrop-filter: blur(4px);
}

.btn-icon:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.btn-icon.text-danger:hover {
    background: hsl(var(--danger-500));
}

.color-row {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    background: white;
    transition: all 0.15s ease;
}

.color-row:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.06);
}

.color-preview {
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50% !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: inset 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
    display: block !important;
    min-width: 2.5rem !important;
    min-height: 2.5rem !important;
}

.color-preview-small {
    width: 1rem !important;
    height: 1rem !important;
    border-radius: 50% !important;
    border: 1px solid #d1d5db !important;
    display: inline-block !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
}

.image-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.image-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 100%);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.image-upload-area:hover::before {
    opacity: 1;
}

.image-upload-area:hover {
    border-color: #60a5fa;
    transform: translateY(-1px);
}

.image-upload-content {
    position: relative;
    z-index: 1;
}

.image-upload-icon {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 1rem;
    transition: all 0.15s ease;
}

.image-upload-area:hover .image-upload-icon {
    color: #2563eb;
    transform: scale(1.1);
}

.image-upload-text {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.image-upload-subtext {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.image-upload-hint {
    color: #6b7280;
    font-size: 0.75rem;
    font-style: italic;
}

/* Enhanced Checkbox Styling for Product Forms */
.product-checkbox {
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    border-radius: 4px !important;
    border: 2px solid #d1d5db !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.product-checkbox:checked {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e") !important;
    background-size: 12px 12px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.product-checkbox:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.product-checkbox:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Checkbox Label Styling */
.product-checkbox-label {
    cursor: pointer !important;
    user-select: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    line-height: 20px !important;
    height: 20px !important;
}

.product-checkbox-label:hover {
    color: #1f2937 !important;
}

/* Checkbox Container */
.product-checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 6px 4px !important;
    border-radius: 6px !important;
    transition: background-color 0.15s ease-in-out !important;
    min-height: 32px !important;
}

.product-checkbox-container:hover {
    background-color: #f8fafc !important;
}

/* Color Preview Enhancements */
.colour-preview {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 2px solid #e5e7eb !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Checkbox Section Styling */
.checkbox-section {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px !important;
    background-color: #ffffff !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
}

/* Scrollbar styling removed - no longer needed for categories */

/* Section Headers */
.checkbox-section-header {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
}

/* Enhanced spacing for option sections */
.product-options-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
}

@media (min-width: 768px) {
    .product-options-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .product-options-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Product Image Upload Styling */
.image-upload-area {
    border: 2px dashed #d1d5db !important;
    border-radius: 12px !important;
    padding: 32px !important;
    text-align: center !important;
    background-color: #f9fafb !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.image-upload-area:hover {
    border-color: #3b82f6 !important;
    background-color: #eff6ff !important;
}

.image-upload-area.dragover {
    border-color: #3b82f6 !important;
    background-color: #dbeafe !important;
    transform: scale(1.02) !important;
}

.image-thumbnail {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 2px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
}

.image-thumbnail:hover {
    border-color: #3b82f6 !important;
    transform: scale(1.05) !important;
}

.image-container {
    position: relative !important;
    background: white !important;
    border-radius: 12px !important;
    padding: 8px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
}

.image-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-color: #3b82f6 !important;
}

.image-delete-btn {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    background-color: #ef4444 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 12px !important;
    opacity: 0 !important;
}

.image-container:hover .image-delete-btn {
    opacity: 1 !important;
}

.image-delete-btn:hover {
    background-color: #dc2626 !important;
    transform: scale(1.1) !important;
}

.image-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.image-upload-icon {
    color: #9ca3af !important;
    font-size: 48px !important;
    margin-bottom: 16px !important;
}

.image-upload-text {
    color: #6b7280 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.image-upload-subtext {
    color: #9ca3af !important;
    font-size: 14px !important;
}

/* Product Index Table Styling */
.product-table-cell {
    max-width: 350px !important;
}

.product-image-container {
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
    margin-right: 20px !important;
}

.product-info-container {
    min-width: 0 !important;
    flex: 1 !important;
}

.product-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Footer Positioning Fix */
.page-content {
    min-height: calc(100vh - 64px) !important;
    display: flex !important;
    flex-direction: column !important;
}

.page-content main {
    flex: 1 !important;
}

.footer {
    margin-top: auto !important;
}

/* Bootstrap Icons Fix */
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    display: inline-block !important;
    font-family: 'bootstrap-icons' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    vertical-align: -.125em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Alert Styles */
.alert {
    position: relative;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
}

.alert-success {
    color: #20b799;
    background-color: rgba(32, 183, 153, 0.1);
    border-color: #20b799;
}

.alert-danger {
    color: #fa5944;
    background-color: rgba(250, 89, 68, 0.1);
    border-color: #fa5944;
}

.alert-warning {
    color: #efb540;
    background-color: rgba(239, 181, 64, 0.1);
    border-color: #efb540;
}

.alert-info {
    color: #3cbade;
    background-color: rgba(60, 186, 222, 0.1);
    border-color: #3cbade;
}

.alert-primary {
    color: #0ea5e9;
    background-color: rgba(14, 165, 233, 0.1);
    border-color: #0ea5e9;
}

.alert-secondary {
    color: #6b7280;
    background-color: rgba(107, 114, 128, 0.1);
    border-color: #d1d5db;
}

/* Custom Logo Styles */
.sidebar-logo {
    max-height: 120px !important;
    width: 100% !important;
    object-fit: contain !important;
    height: auto !important;
    display: block !important;
}

/* Category Selection Checkbox Styles */
.category-checkbox {
    width: 20px !important;
    height: 20px !important;
    margin-right: 0 !important;
    border-radius: 4px !important;
    border: 2px solid #d1d5db !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    flex-shrink: 0 !important;
}

.category-checkbox:checked {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e") !important;
    background-size: 12px 12px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.category-checkbox:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.category-selection-item {
    min-height: auto !important;
}

.category-selection-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
}

/* Category Customization Selected State */
.category-selected {
    border-color: #d7e2f3 !important;
    border-width: 2px !important;
    background-color: #f7fcff !important; /* bg-primary-100 equivalent */
}


/* Responsive adjustments */
@media (max-width: 640px) {
    .product-checkbox {
        width: 16px !important;
        height: 16px !important;
        margin-right: 10px !important;
    }

    .colour-preview {
        width: 14px !important;
        height: 14px !important;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .image-upload-area {
        padding: 24px !important;
    }

    .image-upload-icon {
        font-size: 36px !important;
    }
}

/* Impression Image Preview Styles */
.impression-image-preview {
    max-height: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
}

.impression-image-preview-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 220px !important;
    padding: 12px !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    margin-top: 12px !important;
}

.impression-image-current {
    max-height: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: 1px solid #d1d5db !important;
}

.impression-preview-label {
    font-size: 14px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Index page impression image */
.impression-index-image {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
}

.impression-index-container {
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background-color: #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Show page impression image */
.impression-show-image {
    max-height: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
}

/* Category Image Preview Styles */
.category-image-preview {
    max-height: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
}

.category-image-preview-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 220px !important;
    padding: 12px !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    margin-top: 12px !important;
}

.category-image-current {
    max-height: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: 1px solid #d1d5db !important;
}

.category-preview-label {
    font-size: 14px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Index page category image */
.category-index-image {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
}

.category-index-container {
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background-color: #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Show page category image */
.category-show-image {
    max-height: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
}

/* Packing Slip Styles */
@media print {
    /* Hide elements that shouldn't print */
    .no-print { display: none !important; }

    /* Basic page setup */
    body {
        font-size: 12px !important;
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
        color: black !important;
    }

    /* Hide layout elements when printing */
    .sidebar, .navbar, .header, .footer, nav, .navigation {
        display: none !important;
    }

    /* Make wrapper and page content behave for printing */
    .wrapper {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .page-content {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
        background: white !important;
    }

    main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    /* Print page container */
    .print-page {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        width: 100% !important;
        background: white !important;
    }

    /* Packing slip content - remove card styling but keep content visible */
    .packing-slip-content {
        background: white !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 20px !important;
        display: block !important;
        width: 100% !important;
    }

    /* Ensure text and content is visible */
    .packing-slip-content * {
        color: black !important;
        background: transparent !important;
    }

    /* Force visibility of key elements */
    .packing-slip-header,
    .order-info-grid,
    .items-table,
    .signature-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Ensure headings are visible */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        display: block !important;
    }

    /* Keep table styling for readability */
    .items-table {
        border-collapse: collapse !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .items-table th,
    .items-table td {
        border-bottom: 1px solid #000 !important;
        padding: 8px !important;
        color: black !important;
    }

    .items-table th {
        background-color: #f0f0f0 !important;
        font-weight: bold !important;
    }
}

/* Screen styles for packing slip */
@media screen {
    .print-page {
        padding: 2rem !important;
    }
}

.packing-slip-header {
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Packing slip brand area sizing */
.packing-slip-brand h2 {
    white-space: nowrap;
}
.packing-slip-brand .text-sm {
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.company-info {
    text-align: right;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.items-table th,
.items-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.items-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.signature-section {
    margin-top: 50px;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

/* Size Quantity Selector for Admin */
.size-quantity-selector {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.size-quantity-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    transition: all 0.2s ease;
}

.size-quantity-option.active {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.size-info {
    flex: 1;
}

.size-name {
    font-weight: 600;
    color: #374151;
}

.size-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.size-qty-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.size-qty-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.size-qty-btn:active {
    background: #e5e7eb;
}

.size-qty-input {
    width: 4rem;
    height: 2rem;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-weight: 600;
}

.size-total-price {
    font-weight: 700;
    color: #059669;
    min-width: 4rem;
    text-align: right;
}

.selected-option {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Product Option Group Styling (for consistent frontend-like styling in admin) */
.product-option-group {
    margin-bottom: 1.5rem;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.option-label i {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Enhanced Size Quantity Selector to match frontend */
.size-quantity-selector {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.size-quantity-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.size-quantity-option:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.size-quantity-option.active {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
}

.size-info {
    flex: 1;
}

.size-name {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.size-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1rem;
}

.size-qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #d1d5db;
    background: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #374151;
}

.size-qty-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
    transform: translateY(-1px);
}

.size-qty-btn:active {
    background: #f3f4f6;
    transform: translateY(0);
}

.size-qty-input {
    width: 5rem;
    height: 2.5rem;
    text-align: center;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #374151;
    background: #ffffff;
    transition: all 0.2s ease;
}

.size-qty-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.size-total-price {
    font-weight: 700;
    color: #059669;
    min-width: 5rem;
    text-align: right;
    font-size: 1.125rem;
}

/* Selected option styling */
.selected-option {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    border-top: 1px solid #f3f4f6;
}

.selected-option span:first-child {
    font-weight: 500;
}

/* Enhanced Tier Pricing Styling for Admin */
.tier-pricing {
    margin-top: 0.5rem;
}

.tier-pricing h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.pricing-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Size Section Styling */
.pricing-size-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.pricing-size-section:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
}

/* Size Header */
.pricing-size-header {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.size-name {
    font-weight: 700;
    font-size: 1rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.size-name::before {
    content: '📏';
    font-size: 0.875rem;
}

.size-tier-count {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

/* Pricing Tiers Container */
.pricing-tiers-container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual Tier Item */
.pricing-tier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.pricing-tier-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(59, 130, 246, 0.1);
}

/* Quantity Section */
.tier-quantity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quantity-range {
    font-weight: 700;
    font-size: 1rem;
    color: #374151;
    line-height: 1.2;
}

.quantity-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.125rem;
}

/* Price Section */
.tier-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.price-amount {
    font-weight: 700;
    font-size: 1.125rem;
    color: #059669;
    line-height: 1.2;
}

.price-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.125rem;
}

/* Empty State */
.pricing-empty-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.empty-icon {
    font-size: 2.5rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.pricing-empty-message p {
    font-size: 0.875rem;
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-size-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .pricing-tier-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .tier-quantity,
    .tier-price {
        align-items: center;
        text-align: center;
    }

    .pricing-tiers-container {
        padding: 0.75rem;
    }
}

@media (max-width: 640px) {
    .pricing-sections {
        gap: 0.75rem;
    }

    .size-name {
        font-size: 0.875rem;
    }

    .size-tier-count {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }
}

/* Custom Color Dropdown Styling */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 2.5rem;
}

.custom-select-trigger:hover {
    border-color: #9ca3af;
}

.custom-select.active .custom-select-trigger {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-select-value {
    flex: 1;
}

.custom-select-arrow {
    color: #6b7280;
    transition: transform 0.2s ease;
    font-size: 0.875rem;
}

.custom-select.active .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.custom-select.active .custom-select-options {
    display: block;
}

.custom-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.custom-option:hover {
    background-color: #f3f4f6;
}

.custom-option.selected {
    background-color: #eff6ff;
    color: #2563eb;
}

.colour-option-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.colour-circle {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.colour-name {
    font-size: 0.875rem;
    color: #374151;
}

.colour-type {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

/* Search functionality styling */
.custom-select-search {
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.clear-search {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.15s ease;
}

.clear-search:hover {
    color: #374151;
    background: #f3f4f6;
}

.custom-options-container {
    max-height: 180px;
    overflow-y: auto;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: #6b7280;
}

.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.no-results-content i {
    font-size: 1.5rem;
    color: #d1d5db;
}

.no-results-content span {
    font-size: 0.875rem;
    font-style: italic;
}

/* Enhanced dropdown positioning */
.custom-select-options {
    max-height: 280px;
    overflow: visible;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .custom-select-trigger {
        padding: 0.375rem 0.5rem;
        min-height: 2.25rem;
    }

    .colour-circle {
        width: 0.875rem;
        height: 0.875rem;
    }

    .colour-name {
        font-size: 0.8125rem;
    }

    .custom-select-search {
        padding: 0.375rem;
    }

    .search-input {
        padding: 0.375rem 2rem 0.375rem 2rem;
        font-size: 0.8125rem;
    }

    .search-icon {
        left: 0.5rem;
    }

    .clear-search {
        right: 0.375rem;
    }
}

/* Print Locations (Impressions) Grid Styling */
.impressions-grid-container {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background: #ffffff;
    max-height: 200px;
    overflow-y: auto;
}

.impressions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.impression-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.375rem;
    background: #f9fafb;
    transition: all 0.2s ease;
    cursor: pointer;
}

.impression-checkbox-item:hover {
    background: #eff6ff;
    border-color: #dbeafe;
}

.impression-checkbox-item:has(.impression-checkbox:checked) {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.impression-checkbox {
    width: 1rem;
    height: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.impression-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.impression-checkbox:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.impression-checkbox:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.impression-checkbox-label {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    flex: 1;
    line-height: 1.4;
}

/* Responsive adjustments for impressions */
@media (max-width: 768px) {
    .impressions-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .impression-checkbox-item {
        padding: 0.375rem 0.5rem;
        gap: 0.5rem;
    }

    .impression-checkbox {
        width: 0.875rem;
        height: 0.875rem;
    }

    .impression-checkbox-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .impressions-grid-container {
        padding: 0.75rem;
        max-height: 160px;
    }
}

/* Selection Summary Styling */
.selection-summary-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(59, 130, 246, 0.1);
}

.selection-summary-header {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #93c5fd;
}

.selection-summary-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
    display: flex;
    align-items: center;
}

.selection-summary-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.selection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.selection-item:hover {
    background: #f8fafc;
    border-color: #bae6fd;
}

.selection-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.selection-label i {
    color: #0284c7;
    font-size: 1rem;
}

.selection-value {
    font-weight: 600;
    color: #1e40af;
    font-size: 0.875rem;
    text-align: right;
}

/* Color selection in summary */
.selection-value .colour-option-content {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    justify-content: flex-end;
}

.selection-value .colour-circle {
    width: 0.875rem;
    height: 0.875rem;
}

.selection-value .colour-name {
    color: #1e40af;
    font-weight: 600;
}

/* Responsive adjustments for selection summary */
@media (max-width: 768px) {
    .selection-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        text-align: left;
    }

    .selection-value {
        text-align: left;
    }

    .selection-value .colour-option-content {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .selection-summary-header {
        padding: 0.75rem 1rem;
    }

    .selection-summary-content {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .selection-item {
        padding: 0.375rem 0.5rem;
    }

    .selection-label,
    .selection-value {
        font-size: 0.8125rem;
    }
}

/* Product Selection with Image Preview */
.product-selection-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.product-dropdown-wrapper {
    flex: 1;
}

.product-dropdown-wrapper .form-select {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    line-height: 1.5;
}

.product-dropdown-wrapper .form-select option {
    font-size: 1rem;
    padding: 0.5rem;
    line-height: 1.4;
}

.product-image-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    min-width: 120px;
}

.product-image-preview:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
}

.product-image-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 0.75rem;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.product-thumbnail:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.75rem;
    gap: 0.25rem;
}

.product-image-placeholder i {
    font-size: 1.5rem;
}

.product-image-info {
    text-align: center;
    width: 100%;
}

.product-image-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-image-price {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
}

/* Responsive adjustments for product selection */
@media (max-width: 768px) {
    .product-selection-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-dropdown-wrapper .form-select {
        font-size: 0.9375rem;
        padding: 0.625rem 0.875rem;
    }

    .product-dropdown-wrapper .form-select option {
        font-size: 0.9375rem;
    }

    .product-image-preview {
        align-self: center;
        min-width: auto;
        flex-direction: row;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .product-image-container {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .product-image-info {
        text-align: left;
        flex: 1;
    }

    .product-image-name {
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
}

@media (max-width: 640px) {
    .product-dropdown-wrapper .form-select {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    .product-dropdown-wrapper .form-select option {
        font-size: 0.875rem;
    }

    .product-image-container {
        width: 50px;
        height: 50px;
    }

    .product-image-preview {
        padding: 0.5rem;
    }

    .product-image-name {
        font-size: 0.8125rem;
    }

    .product-image-price {
        font-size: 0.6875rem;
    }
}

/* Dashboard Product Images */
.dashboard-product-image-container {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.dashboard-product-image-container:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.dashboard-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease;
}

.dashboard-product-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.dashboard-product-placeholder:hover {
    background: #e5e7eb;
}

/* Enhanced dashboard product list styling */
@media (max-width: 640px) {
    .dashboard-product-image-container {
        width: 2.5rem;
        height: 2.5rem;
    }

    .dashboard-product-placeholder i {
        font-size: 0.875rem;
    }
}

/* Enhanced Order Status Overview */
.order-status-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.order-status-header {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-bottom: 1px solid #94a3b8;
    padding: 1.25rem 1.5rem;
}

.order-status-header .card-title {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.order-status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.order-status-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.order-status-item.pending:hover {
    border-color: #fbbf24;
}

.order-status-item.production:hover {
    border-color: #3b82f6;
}

.order-status-item.completed:hover {
    border-color: #10b981;
}

.order-status-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-status-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.order-status-item.pending .order-status-icon {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
}

.order-status-item.production .order-status-icon {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.order-status-item.completed .order-status-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.order-status-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-status-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.order-status-description {
    font-size: 0.75rem;
    color: #64748b;
}

.order-status-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.order-count-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.order-count-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    min-width: fit-content;
}

/* Enhanced Quick Actions */
.quick-actions-card {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.quick-actions-header {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-bottom: 1px solid #94a3b8;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-actions-header .card-title {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.quick-action-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.quick-action-item.primary:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.quick-action-item.info:hover {
    border-color: #06b6d4;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.quick-action-item.warning:hover {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.quick-action-item.success:hover {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.quick-action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quick-action-item.primary .quick-action-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.quick-action-item.info .quick-action-icon {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 2px solid rgba(6, 182, 212, 0.2);
}

.quick-action-item.warning .quick-action-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.quick-action-item.success .quick-action-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.quick-action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-action-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.quick-action-description {
    font-size: 0.75rem;
    color: #64748b;
}

.quick-action-arrow {
    font-size: 1rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.quick-action-item:hover .quick-action-arrow {
    color: #1e293b;
    transform: translateX(0.25rem);
}

.quick-action-item:hover .quick-action-icon {
    transform: scale(1.1);
}

/* Enhanced Recent Orders Card */
.recent-orders-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.recent-orders-header {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-bottom: 1px solid #94a3b8;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recent-orders-header .card-title {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Enhanced Top Selling Products Card */
.top-products-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.top-products-header {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-bottom: 1px solid #94a3b8;
    padding: 1.25rem 1.5rem;
}

.top-products-header .card-title {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

/* Responsive adjustments for dashboard */
@media (max-width: 768px) {
    .order-status-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }

    .order-status-info {
        justify-content: center;
    }

    .order-status-count {
        align-items: center;
    }

    .quick-action-item {
        padding: 1rem;
    }

    .quick-action-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .order-status-header,
    .recent-orders-header,
    .quick-actions-header,
    .top-products-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Analytics Dashboard Styling */
.analytics-metric-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.analytics-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.metric-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.metric-icon.revenue {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.metric-icon.orders {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.metric-icon.customers {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.metric-icon.products {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.metric-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.metric-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.metric-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.metric-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.metric-content {
    text-align: left;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.metric-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Analytics Chart Cards */
.analytics-chart-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.analytics-chart-card .card-header {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid #cbd5e1;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.analytics-chart-card .card-title {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.revenue-chart-container {
    position: relative;
    height: 300px;
}

/* Order Status Breakdown */
.order-status-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.status-breakdown-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.status-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.status-percentage {
    font-size: 0.75rem;
    color: #6b7280;
}

.status-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

/* Analytics Tables */
.analytics-table-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.analytics-table-card .card-header {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid #cbd5e1;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.analytics-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analytics-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.analytics-table-row:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

/* Product Info in Analytics */
.product-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.product-image-small {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.product-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-small i {
    color: #9ca3af;
    font-size: 1rem;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.product-category {
    font-size: 0.75rem;
    color: #6b7280;
}

.product-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
}

.sales-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
}

.product-price {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Customer Info in Analytics */
.customer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.customer-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.customer-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.customer-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.customer-email {
    font-size: 0.75rem;
    color: #6b7280;
}

.customer-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
}

.customer-revenue {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
}

.customer-orders {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Empty States */
.analytics-empty-state {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

/* Responsive Analytics */
@media (max-width: 768px) {
    .analytics-table-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .product-stats,
    .customer-stats {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .metric-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
}

/* Print Locations Styles */
.impressions-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.impression-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    border: 4px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    position: relative !important;
    margin-bottom: 0.5rem !important;
}

/* Material Option - Copy these styles for Impression */
.material-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    border: 4px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    margin-bottom: 0.5rem !important;
}

.material-option:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.material-option.active {
    border: 4px solid #3b82f6 !important;
    background-color: #eff6ff !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06) !important;
}

.impression-option:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Impression Option Active State - Multiple Selectors for Specificity */
.impression-option.active,
div.impression-option[class*="active"],
.impression-option[class*="active"],
div[class^="impression-option"][class*="active"],
.impressions-selector .impression-option.active,
body .impression-option.active {
    border: 4px solid #3b82f6 !important;
    background-color: #eff6ff !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06) !important;
}

.impression-name {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.impression-cost {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 600;
}

.impression-checkbox {
    width: 1.25rem !important;
    height: 1.25rem !important;
    border-radius: 0.25rem !important;
    border: 4px solid #d1d5db !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    margin-left: 1rem !important;
    flex-shrink: 0 !important;
}

.impression-option.active .impression-checkbox,
div.impression-option[class*="active"] .impression-checkbox,
.impression-option[class*="active"] .impression-checkbox {
    border: 4px solid #3b82f6 !important;
}

/* Hide the checkmark icon */
.impression-checkbox i {
    display: none !important;
}

@media (max-width: 768px) {
    .impressions-selector {
        grid-template-columns: 1fr;
    }

    .impression-option {
        padding: 0.875rem 1rem;
    }

    .impression-name {
        font-size: 0.875rem;
    }

    .impression-cost {
        font-size: 0.75rem;
    }

    .impression-checkbox {
        width: 1.25rem;
        height: 1.25rem;
        top: 0.5rem;
        right: 0.5rem;
    }

    .impression-checkbox i {
        font-size: 0.875rem;
    }
}

/* Product Tag Styles */
.tag-capsule {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin: 0.25rem;
}

.tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background-color: #0369a1;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.tag-remove:hover {
    background-color: #be123c;
    transform: scale(1.1);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    min-height: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #ffffff;
}

.tag-input {
    border: none;
    outline: none;
    padding: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
    flex: 1;
    min-width: 120px;
}

.tag-input:focus {
    outline: none;
}

.tag-input::placeholder {
    color: #9ca3af;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #3b82f6;
}

input:focus + .toggle-slider {
    box-shadow: 0 0 1px #3b82f6;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}
