/* Admin Dashboard Styles */

.fulfilled-by {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Inventory Management Card Styles */
.size-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.size-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.size-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.size-card-header {
    padding: 1rem 1.25rem 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.size-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    text-align: center;
}

.size-card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.status-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.status-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.status-option i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Available Status */
.status-option.available {
    border-color: #d1fae5;
    color: #065f46;
}

.status-option.available:hover {
    background: #ecfdf5;
    border-color: #10b981;
}

.status-option.available.selected {
    background: linear-gradient(145deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #16a34a;
    color: #15803d;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Running Low Status */
.status-option.running-low {
    border-color: #fef3c7;
    color: #92400e;
}

.status-option.running-low:hover {
    background: #fffbeb;
    border-color: #f59e0b;
}

.status-option.running-low.selected {
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #d97706;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Getting Low Status */
.status-option.getting-low {
    border-color: #fef3c7;
    color: #92400e;
}

.status-option.getting-low:hover {
    background: #fffbeb;
    border-color: #f59e0b;
}

.status-option.getting-low.selected {
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #d97706;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.emoji-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Out of Stock Status */
.status-option.out-of-stock {
    border-color: #fecaca;
    color: #991b1b;
}

.status-option.out-of-stock:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.status-option.out-of-stock.selected {
    background: linear-gradient(145deg, #fecaca 0%, #fca5a5 100%);
    border-color: #ef4444;
    color: #dc2626;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .size-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .status-option {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .size-title {
        font-size: 1.1rem;
    }
}

/* Size Selection Controls */
.size-selection-controls {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.select-all-sizes, .clear-all-sizes {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.select-all-sizes {
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid #10b981;
}

.select-all-sizes:hover {
    background: linear-gradient(145deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.clear-all-sizes {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.clear-all-sizes:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #9ca3af;
}

.size-checkboxes {
    margin-top: 0.5rem;
}

/* Checkbox Label Animation */
.checkbox-label {
    transition: all 0.2s ease;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    margin: 0.25rem;
    display: inline-block;
}

.checkbox-label:hover {
    background: #f3f4f6;
}

/* Visual feedback for selected checkboxes */
.checkbox-label:has(input:checked) {
    background: #dcfce7;
    color: #166534;
    font-weight: 500;
}

@media (max-width: 768px) {
    .size-selection-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .select-all-sizes, .clear-all-sizes {
        width: 100%;
        text-align: center;
    }
}

/* Alert System Styles - Match other admin sections */
.alert-system-section {
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alert-system-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: transparent;
    color: #1e293b;
    padding: 0;
    border: none;
}

/* Alert content area */
.alert-system-section .active-alerts {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    min-height: 200px;
}

/* Products overview area - ensure proper styling */
.products-overview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
}

/* Ensure section headers are consistent */
.section-header .btn-primary {
    background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
    border-color: #374151;
}

.section-header .btn-primary:hover {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border-color: #1f2937;
}

/* Remove duplicate alert-header styles since we're using section-header */

/* Active alerts styling moved above to alert-system-section */

.no-alerts {
    text-align: center;
    color: #64748b;
    padding: 3rem 1rem;
}

.no-alerts i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.alert-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.alert-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.urgent-alert {
    border-left: 4px solid #ef4444;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.info-alert {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.alert-card .alert-header {
    background: none;
    color: inherit;
    padding: 0;
    margin-bottom: 1rem;
}

.alert-priority {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.priority-icon {
    font-size: 1.25rem;
}

.priority-label {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.urgent-alert .priority-label {
    color: #ef4444;
}

.info-alert .priority-label {
    color: #3b82f6;
}

.alert-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-time {
    font-size: 0.75rem;
    color: #64748b;
}

.alert-message {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 1rem 0;
    color: #1e293b;
}

.alert-status {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.acknowledgment-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ack-count {
    font-weight: 600;
    color: #64748b;
}

.ack-count.all-ack {
    color: #10b981;
}

.acknowledgment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stand-ack {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.stand-ack.acknowledged {
    background: #dcfce7;
    color: #166534;
}

.stand-ack.pending {
    background: #fef3c7;
    color: #92400e;
}

/* Send Alert Modal */
/* Send Alert Modal - Clean Modern Design */
.alert-modal {
    max-width: 650px;
    width: 95%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.alert-modal .modal-content {
    padding: 2rem 2.5rem;
}

.alert-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
}

.alert-form .form-group {
    margin-bottom: 0;
}

.alert-form label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alert-form textarea {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.alert-form textarea:focus {
    outline: none;
    border-color: #374151;
    background: white;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.char-count {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
    text-align: right;
    font-weight: 500;
}

/* Priority Level Cards */
.priority-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
}

.priority-option {
    position: relative;
    display: block;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.priority-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.priority-option .priority-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.priority-option:hover .priority-card {
    border-color: #cbd5e1;
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.priority-option input:checked + .priority-card {
    border-color: #374151;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.urgent-priority input:checked + .priority-card {
    border-color: #ef4444;
    background: linear-gradient(145deg, #fef2f2 0%, #ffffff 100%);
}

.info-priority input:checked + .priority-card {
    border-color: #3b82f6;
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
}

.priority-indicator {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.priority-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.priority-text small {
    display: block;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Stand Selection */
.stand-selection {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #e2e8f0;
    margin: 0 0.5rem;
}

.stand-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.stand-option:hover {
    background: rgba(255, 255, 255, 0.8);
    padding-left: 0.5rem;
}

.stand-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.stand-option label {
    font-weight: 600;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.95rem;
    color: #1e293b;
}

.individual-stands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

/* Form Actions */
.alert-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
    margin-top: 1.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.btn-send-alert {
    background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.25);
    transition: all 0.2s ease;
    color: white;
}

.alert-form .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
}

.btn-send-alert:hover {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 65, 81, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .alert-modal {
        width: 98%;
        max-width: none;
        margin: 0.5rem;
    }
    
    .priority-options {
        grid-template-columns: 1fr;
    }
    
    .individual-stands {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .alert-form .form-actions {
        flex-direction: column-reverse;
    }
    
    .btn-send-alert {
        width: 100%;
    }
}

/* Override blue buttons to greyscale */
.btn-primary {
    background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
    border-color: #374151;
}

.btn-primary:hover {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border-color: #1f2937;
}

@media (max-width: 480px) {
    .size-cards-container {
        gap: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .size-card-header {
        padding: 0.875rem 1rem 0.5rem;
    }
    
    .size-card-body {
        padding: 0.875rem 1rem 1rem;
    }
    
    .status-options {
        gap: 0.6rem;
    }
}

.status-note {
    margin-top: 0.75rem;
    text-align: center;
}

.status-note small {
    color: #6b7280;
    font-style: italic;
}

.no-sizes-message {
    text-align: center;
    padding: 2rem;
    background: #fef3c7;
    border: 2px dashed #f59e0b;
    border-radius: 8px;
    color: #92400e;
}

.no-sizes-message p {
    margin: 0;
    font-weight: 500;
}

.btn-warning-yellow {
    background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: 1px solid #f59e0b;
}

.btn-warning-yellow:hover {
    background: linear-gradient(145deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
}

/* Leaderboard Styles */
.leaderboard-card {
    min-height: 180px;
}

.leaderboard-list {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    max-height: 120px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    font-weight: 600;
    color: #475569;
    min-width: 20px;
}

.leaderboard-name {
    flex: 1;
    margin-left: 0.5rem;
    color: #334155;
}

.leaderboard-count {
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    padding: 0.125rem 0.375rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.leaderboard-rank.gold { color: #f59e0b; }
.leaderboard-rank.silver { color: #6b7280; }
.leaderboard-rank.bronze { color: #d97706; }

.admin-container {
    min-height: 100vh;
    background: #f8fafc;
}

/* Stats Section */
.stats-section {
    padding: 2rem 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Filters Section */
.filters-section {
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

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

/* Table Section */
.table-section {
    padding: 1rem 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.table-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.table-actions {
    display: flex;
    gap: 0.75rem;
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
}

.requests-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.requests-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: top;
}

.requests-table tbody tr:hover {
    background: #f9fafb;
}

.requests-table tbody tr:last-child td {
    border-bottom: none;
}

.loading-row td {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.time-cell {
    font-size: 0.875rem;
    color: #64748b;
    white-space: nowrap;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.size-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.device-info {
    font-size: 0.875rem;
}

.device-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.device-details {
    color: #64748b;
    font-size: 0.8125rem;
}

.stand-info {
    font-size: 0.875rem;
}

.stand-name {
    font-weight: 600;
    color: #1e293b;
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.details-btn {
    background: none;
    border: 1px solid #d1d5db;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.details-btn:hover {
    border-color: #9ca3af;
    color: #374151;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pagination-info {
    margin: 0 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

/* Button Styles */
.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .requests-table {
        min-width: 600px;
    }
    
    .product-cell {
        min-width: 200px;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Modal for Request Details */
.details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.details-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.details-modal h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.details-grid {
    display: grid;
    gap: 1rem;
}

.details-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.details-item:last-child {
    border-bottom: none;
}

.details-label {
    font-weight: 600;
    color: #374151;
}

.details-value {
    color: #64748b;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Product Management Section */
.product-management-section {
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-text {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Collapsible Section Styles */
.collapsible-section {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.collapsible-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 0;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible-header:hover {
    background: #f3f4f6;
}

.collapsible-header .header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.collapsible-header .header-right {
    display: flex;
    align-items: center;
}

.collapsible-header h2 {
    margin: 0;
    color: #374151;
}

.stands-overview.collapsed {
    display: none;
}

.stands-overview:not(.collapsed) {
    display: block;
    padding: 1.5rem;
    background: white;
}

#standToggleBtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-content {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success .fas {
    color: #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .fas {
    color: #ef4444;
}

.toast span {
    color: #374151;
    font-weight: 500;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.products-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-overview-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-overview-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.product-overview-info {
    flex: 1;
}

.product-overview-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.product-overview-details {
    font-size: 0.875rem;
    color: #64748b;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-fulfilled {
    background: #dcfce7;
    color: #166534;
}

.status-out-of-stock {
    background: #fecaca;
    color: #991b1b;
}

.status-pending-restock {
    background: #ede9fe;
    color: #7c3aed;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.action-btn-success {
    background: #10b981;
    color: white;
}

.action-btn-success:hover {
    background: #059669;
}

.action-btn-warning {
    background: #f59e0b;
    color: white;
}

.action-btn-warning:hover {
    background: #d97706;
}

.action-btn-info {
    background: #3b82f6;
    color: white;
}

.action-btn-info:hover {
    background: #2563eb;
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 0.25rem;
}

.quick-btn {
    padding: 0.4rem 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-btn-success {
    background: #10b981;
    color: white;
}

.quick-btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

.quick-btn-danger {
    background: #ef4444;
    color: white;
}

.quick-btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.quick-btn-warning {
    background: #f59e0b;
    color: white;
}

.quick-btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

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

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.8125rem;
}

.size-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Order Status Modal */
.order-summary {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.order-details h4 {
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.order-meta {
    font-size: 0.875rem;
    color: #64748b;
}

.status-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-actions .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.status-actions .btn small {
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Button Variants */
.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-info:hover {
    background: #2563eb;
}

/* Logo styles */
/* Admin header uses logo-section styling from style.css */
.admin-container .logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Ensure no duplicate logos in header */
.admin-container .header h1 img {
    display: none; /* Hide any logos inside h1 elements */
}

/* Override any batch-item styling from main styles that might affect admin */
.admin-container .batch-item {
    border-left: 1px solid #e5e7eb !important;
}

/* Batch Display Styles */
.batch-info {
    font-size: 0.875rem;
    text-align: center;
}

.batch-id {
    background: #ddd6fe;
    color: #7c3aed;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.batch-id:hover {
    background: #c4b5fd;
    color: #6d28d9;
}

.batch-count {
    color: #64748b;
    font-size: 0.75rem;
}

.single-item {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
}

/* Batch Details Modal */
.batch-overview {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

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

.batch-meta-item {
    font-size: 0.875rem;
    color: #374151;
}

.batch-items-list {
    display: grid;
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.batch-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb; /* Override any blue border-left */
}

.batch-item-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.batch-item-status {
    display: flex;
    align-items: center;
}

.batch-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.batch-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Responsive batch styles */
@media (max-width: 768px) {
    .batch-actions {
        flex-direction: column;
    }
    
    .batch-actions .btn {
        width: 100%;
    }
    
    .batch-item-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .batch-item-status {
        align-self: stretch;
        justify-content: space-between;
    }
}

/* Inventory Management Styles */
.product-overview-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    min-width: 140px;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
}

.product-overview-actions .btn-sm {
    min-width: 60px;
    white-space: nowrap;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.inventory-product {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.inventory-product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.inventory-product-info h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.inventory-product-info p {
    color: #64748b;
    margin: 0.25rem 0;
}

.inventory-instructions {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.inventory-instructions p {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.inventory-legend {
    display: flex;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
}

.size-demo {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    min-width: 40px;
}

.size-demo.available {
    background: #dcfce7;
    color: #166534;
    border: 2px solid #16a34a;
}

.size-demo.out-of-stock {
    background: #fecaca;
    color: #991b1b;
    border: 2px solid #dc2626;
}

.inventory-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
}

.inventory-size-btn {
    padding: 1rem 0.75rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.inventory-size-btn.available {
    border-color: #16a34a;
    background: #dcfce7;
    color: #166534;
}

.inventory-size-btn.out-of-stock {
    border-color: #dc2626;
    background: #fecaca;
    color: #991b1b;
}

.inventory-size-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inventory-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

/* Responsive inventory */
@media (max-width: 768px) {
    .inventory-legend {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .inventory-actions {
        flex-direction: column;
    }
    
    .inventory-product {
        flex-direction: column;
        text-align: center;
    }
}

/* Stand Management Styles */
.stand-management-section {
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.stands-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stand-overview-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #10b981;
    transition: all 0.2s ease;
}

.stand-overview-card.inactive {
    border-left-color: #6b7280;
    opacity: 0.7;
}

.stand-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stand-overview-info {
    flex: 1;
    margin-bottom: 1rem;
}

.stand-overview-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inactive-badge {
    background: #fca5a5;
    color: #991b1b;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stand-overview-details {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.stand-overview-meta {
    color: #9ca3af;
    font-size: 0.8125rem;
}

.stand-overview-actions {
    display: flex;
    gap: 0.75rem;
}

/* Responsive stand cards */
@media (max-width: 768px) {
    .stands-overview {
        grid-template-columns: 1fr;
    }
    
    .stand-overview-actions {
        flex-direction: column;
    }
}

/* Processed Orders Section */
.processed-orders-section {
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.processed-orders-content.collapsed {
    display: none;
}

.processed-orders-content:not(.collapsed) {
    display: block;
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 12px 12px;
}

.processed-orders-filters {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.filters-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filters-row select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 0.875rem;
    min-width: 150px;
}

.filters-row select:focus {
    outline: none;
    border-color: #374151;
    box-shadow: 0 0 0 2px rgba(55, 65, 81, 0.1);
}

.processed-orders-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.processed-pagination {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* Responsive processed orders */
@media (max-width: 768px) {
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-row select {
        min-width: auto;
        width: 100%;
    }
}

/* System Reset Section - Bottom of Admin */
.reset-section {
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 2px solid #e5e7eb;
    background: #fafafa;
    border-radius: 12px 12px 0 0;
}

.btn-reset {
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: 2px solid #dc2626;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-reset:hover {
    background: linear-gradient(145deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

.btn-reset:active {
    transform: translateY(0);
}

.reset-warning {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fef2f2;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
    max-width: 500px;
    margin: 0 auto;
}

/* Stand Color System */
.stand-info {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid;
    transition: all 0.2s ease;
}

.stand-color-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left-color: #3b82f6;
    color: #1e40af;
}

.stand-color-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left-color: #10b981;
    color: #065f46;
}

.stand-color-purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-left-color: #8b5cf6;
    color: #5b21b6;
}

.stand-color-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-left-color: #f97316;
    color: #c2410c;
}

.stand-color-red {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border-left-color: #ef4444;
    color: #dc2626;
}

.stand-name {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Hover effects for stand colors */
.stand-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stand-color-blue:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
}

.stand-color-green:hover {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
}

.stand-color-purple:hover {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

.stand-color-orange:hover {
    background: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
}

.stand-color-red:hover {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
}

/* Stand Color Legend */
.stand-color-legend {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.legend-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color-sample {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid;
    min-width: 120px;
    text-align: center;
}

.legend-stand-name {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.no-stands {
    color: #6b7280;
    font-style: italic;
    font-size: 0.875rem;
}

/* Responsive legend */
@media (max-width: 768px) {
    .legend-items {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legend-color-sample {
        min-width: 100px;
        padding: 0.25rem 0.5rem;
    }
    
    .legend-stand-name {
        font-size: 0.7rem;
    }
}

/* Add Stand Modal Footer */
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #f9fafb;
}

.modal-footer .btn {
    min-width: 120px;
}

/* Form styling for Add Stand modal */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group small {
    display: block;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group label input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Responsive stand colors */
@media (max-width: 768px) {
    .stand-info {
        padding: 0.5rem 0.75rem;
    }
    
    .stand-name {
        font-size: 0.75rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Stand Edit Interface Styles */
.stand-edit-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #10b981;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.stand-edit-card.inactive {
    border-left-color: #6b7280;
    opacity: 0.8;
}

.stand-edit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stand-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.stand-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
}

.stand-status.active {
    background: #dcfce7;
    color: #166534;
}

.stand-status.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.stand-id-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: monospace;
}

.stand-edit-form {
    margin: 1.5rem 0;
}

.stand-edit-form .form-group {
    margin-bottom: 1rem;
}

.stand-edit-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.stand-name-input,
.stand-location-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    color: #1e293b;
    background: white;
    transition: all 0.2s ease;
}

.stand-name-input {
    font-weight: 600;
}

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

.stand-name-input:hover,
.stand-location-input:hover {
    border-color: #cbd5e1;
}

.stand-edit-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin: 1.5rem 0 1rem 0;
}

.stand-edit-actions .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
}

.stand-usage-info {
    color: #64748b;
    font-size: 0.8125rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.stand-usage-info i {
    margin-right: 0.5rem;
}

.stand-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
    grid-column: 1 / -1;
}

.stand-empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.stand-empty-state h3 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.stand-empty-state p {
    margin-bottom: 1.5rem;
}

/* Responsive stand edit interface */
@media (max-width: 768px) {
    .stand-edit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stand-status-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .stand-edit-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .stand-edit-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stands-overview {
        grid-template-columns: 1fr;
    }
}

/* Enhanced stand management section */
.stands-overview.collapsed {
    display: none;
}

.stands-overview:not(.collapsed) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}