/* /Components/Common/ConnectionStatus.razor.rz.scp.css */
.connection-status[b-rpa298r1ir] {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 9998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.connection-status.offline[b-rpa298r1ir] {
    background-color: #dc3545;
    color: white;
    animation: slideDown-b-rpa298r1ir 0.3s ease-out;
}

.connection-status.online[b-rpa298r1ir] {
    background-color: #28a745;
    color: white;
    animation: slideDown-b-rpa298r1ir 0.3s ease-out, fadeOut-b-rpa298r1ir 2s ease-in 1s forwards;
}

@keyframes slideDown-b-rpa298r1ir {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut-b-rpa298r1ir {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-100%);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .connection-status[b-rpa298r1ir] {
        left: 10px;
        right: 10px;
        transform: none;
        width: auto;
    }
}


/* /Components/Common/ErrorFeedbackSidebar.razor.rz.scp.css */
.error-feedback-sidebar[b-gh3zfddlep] {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: var(--z-feedback);
    display: flex;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.error-feedback-sidebar.visible[b-gh3zfddlep] {
    transform: translateX(0);
}

.sidebar-overlay[b-gh3zfddlep] {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.sidebar-content[b-gh3zfddlep] {
    width: 450px;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 100vh;
}

.sidebar-header[b-gh3zfddlep] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f8fafc;
}

.sidebar-header h3[b-gh3zfddlep] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.close-button[b-gh3zfddlep] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.close-button:hover[b-gh3zfddlep] {
    background-color: #e5e7eb;
    color: #374151;
}

.sidebar-body[b-gh3zfddlep] {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.form-group[b-gh3zfddlep] {
    margin-bottom: 1.5rem;
}

.form-group label[b-gh3zfddlep] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-control[b-gh3zfddlep] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus[b-gh3zfddlep] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.error-context[b-gh3zfddlep] {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.error-context h4[b-gh3zfddlep] {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
}

.error-context p[b-gh3zfddlep] {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #92400e;
}

.screenshot-section[b-gh3zfddlep] {
    margin-bottom: 1.5rem;
}

.screenshot-section h4[b-gh3zfddlep] {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.screenshot-preview[b-gh3zfddlep] {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 1rem;
    text-align: center;
}

.screenshot-preview img[b-gh3zfddlep] {
    max-width: 100%;
    max-height: 200px;
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
}

.screenshot-actions[b-gh3zfddlep] {
    text-align: center;
    padding: 1rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.375rem;
}

.screenshot-actions small[b-gh3zfddlep] {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
}

.form-actions[b-gh3zfddlep] {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn[b-gh3zfddlep] {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:disabled[b-gh3zfddlep] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary[b-gh3zfddlep] {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-primary:hover:not(:disabled)[b-gh3zfddlep] {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-outline-primary[b-gh3zfddlep] {
    background-color: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-outline-primary:hover:not(:disabled)[b-gh3zfddlep] {
    background-color: #3b82f6;
    color: white;
}

.btn-outline-secondary[b-gh3zfddlep] {
    background-color: transparent;
    color: #6b7280;
    border-color: #d1d5db;
}

.btn-outline-secondary:hover:not(:disabled)[b-gh3zfddlep] {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-outline-danger[b-gh3zfddlep] {
    background-color: transparent;
    color: #dc2626;
    border-color: #dc2626;
}

.btn-outline-danger:hover:not(:disabled)[b-gh3zfddlep] {
    background-color: #dc2626;
    color: white;
}

.btn-sm[b-gh3zfddlep] {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.submitting-state[b-gh3zfddlep], .success-state[b-gh3zfddlep] {
    text-align: center;
    padding: 2rem;
}

.spinner[b-gh3zfddlep] {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-b-gh3zfddlep 1s linear infinite;
    margin: 0 auto 1rem;
}

.spinner-small[b-gh3zfddlep] {
    border: 2px solid #f3f4f6;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin-b-gh3zfddlep 1s linear infinite;
}

.success-icon[b-gh3zfddlep] {
    background-color: #10b981;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.success-state h4[b-gh3zfddlep] {
    margin: 0 0 1rem 0;
    color: #10b981;
    font-weight: 600;
}

.success-state p[b-gh3zfddlep] {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.text-muted[b-gh3zfddlep] {
    color: #6b7280 !important;
}

@keyframes spin-b-gh3zfddlep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .sidebar-content[b-gh3zfddlep] {
        width: 100%;
    }
    
    .sidebar-overlay[b-gh3zfddlep] {
        display: none;
    }
}

/* Validation message styling */
.validation-message[b-gh3zfddlep] {
    color: #dc2626;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Input validation states */
.form-control.invalid[b-gh3zfddlep] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-control.valid[b-gh3zfddlep] {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* /Components/Common/FeedbackButton.razor.rz.scp.css */
.feedback-button-container[b-ym84mgc7qe] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-feedback);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.feedback-button[b-ym84mgc7qe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 0.875rem 1.25rem;
    border-radius: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 120px;
    justify-content: center;
}

.feedback-button:hover[b-ym84mgc7qe] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.feedback-button:active[b-ym84mgc7qe] {
    transform: translateY(-1px);
}

.feedback-button.expanded[b-ym84mgc7qe] {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.feedback-button.expanded:hover[b-ym84mgc7qe] {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.feedback-icon[b-ym84mgc7qe] {
    font-size: 1.125rem;
    line-height: 1;
}

.feedback-text[b-ym84mgc7qe] {
    font-size: 0.875rem;
    font-weight: 600;
}

.feedback-menu[b-ym84mgc7qe] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    animation: slideUp-b-ym84mgc7qe 0.3s ease-out;
    min-width: 180px;
}

.feedback-menu-item[b-ym84mgc7qe] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-align: left;
    width: 100%;
}

.feedback-menu-item:hover[b-ym84mgc7qe] {
    background-color: #f3f4f6;
    color: #1f2937;
    transform: translateX(2px);
}

.feedback-menu-item .icon[b-ym84mgc7qe] {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
}

@keyframes slideUp-b-ym84mgc7qe {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .feedback-button-container[b-ym84mgc7qe] {
        bottom: 1rem;
        right: 1rem;
    }

    .feedback-button[b-ym84mgc7qe] {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
        min-width: 100px;
    }

    .feedback-menu[b-ym84mgc7qe] {
        min-width: 160px;
    }

    .feedback-menu-item[b-ym84mgc7qe] {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feedback-button[b-ym84mgc7qe] {
        border: 2px solid white;
    }

    .feedback-menu[b-ym84mgc7qe] {
        border: 2px solid #374151;
    }

    .feedback-menu-item:hover[b-ym84mgc7qe] {
        background-color: #374151;
        color: white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .feedback-button[b-ym84mgc7qe],
    .feedback-menu-item[b-ym84mgc7qe] {
        transition: none;
    }

    .feedback-button:hover[b-ym84mgc7qe] {
        transform: none;
    }

    .feedback-menu-item:hover[b-ym84mgc7qe] {
        transform: none;
    }

    @keyframes slideUp-b-ym84mgc7qe {
        from, to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Focus styles for accessibility */
.feedback-button:focus[b-ym84mgc7qe],
.feedback-menu-item:focus[b-ym84mgc7qe] {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Ensure button stays above other elements */
.feedback-button-container[b-ym84mgc7qe] {
    pointer-events: none;
}

.feedback-button[b-ym84mgc7qe],
.feedback-menu[b-ym84mgc7qe],
.feedback-menu-item[b-ym84mgc7qe] {
    pointer-events: auto;
}

/* /Components/Common/NetworkErrorTestPanel.razor.rz.scp.css */
.network-test-panel[b-rehl7ypjqu] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}

.network-test-panel h6[b-rehl7ypjqu] {
    margin-bottom: 8px;
    font-size: 12px;
    text-align: center;
    color: #666;
}


/* /Components/Common/NotificationContainer.razor.rz.scp.css */
.notification-container[b-kedq7sa95w] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-notification);
    pointer-events: none;
    max-width: 400px;
}

.notification[b-kedq7sa95w] {
    pointer-events: auto;
    margin-bottom: 10px;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn-b-kedq7sa95w 0.3s ease-out;
    max-width: 100%;
    word-wrap: break-word;
}

.notification-success[b-kedq7sa95w] {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.notification-info[b-kedq7sa95w] {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.notification-warning[b-kedq7sa95w] {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.notification-error[b-kedq7sa95w] {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.notification-header[b-kedq7sa95w] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-title[b-kedq7sa95w] {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.notification-message[b-kedq7sa95w] {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.notification-actions[b-kedq7sa95w] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-close[b-kedq7sa95w] {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    opacity: 0.6;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}

.btn-close:hover[b-kedq7sa95w] {
    opacity: 1;
}

.btn-close[b-kedq7sa95w]::before {
    content: "×";
}

@keyframes slideIn-b-kedq7sa95w {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.removing[b-kedq7sa95w] {
    animation: slideOut-b-kedq7sa95w 0.3s ease-in forwards;
}

@keyframes slideOut-b-kedq7sa95w {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .notification-container[b-kedq7sa95w] {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }
}


/* /Components/DeepDive/DeepDive.razor.rz.scp.css */
/* DeepDive styles - Modernized, Modular, Mobile-First, Themed */

:root[b-htcqtsklxi] {
    --deepdive-primary: #2196f3;
    --deepdive-primary-light: #e3f2fd;
    --deepdive-primary-dark: #1565c0;
    --deepdive-accent: #00bcd4;
    --deepdive-bg: #fff;
    --deepdive-surface: #f7fafd;
    --deepdive-radius: 10px;
    --deepdive-shadow: 0 2px 8px rgba(33,150,243,0.08);
    --deepdive-padding: 1.2rem;
    --deepdive-gap: 1.5rem;
    --deepdive-font-size: 1.1rem;
    --deepdive-animation-duration: 0.45s;
    --deepdive-animation-ease: cubic-bezier(0.4,0,0.2,1);
}

.deepdive-container[b-htcqtsklxi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--deepdive-gap);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--deepdive-padding);
    min-height: 400px;
    position: relative;
}

.deepdive-viewer[b-htcqtsklxi] {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: var(--deepdive-bg-color, #ffffff);
    border-radius: var(--deepdive-radius, 8px);
    box-shadow: var(--deepdive-shadow, 0 2px 4px rgba(0, 0, 0, 0.1));
    overflow: hidden;
}

.deepdive-viewer.no-animation *[b-htcqtsklxi] {
    animation: none !important;
    transition: none !important;
}

.deepdive-loading[b-htcqtsklxi] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.deepdive-loading .spinner[b-htcqtsklxi] {
    width: 40px;
    height: 40px;
    border: 4px solid var(--deepdive-primary-light, #e3f2fd);
    border-top-color: var(--deepdive-primary, #2196f3);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.deepdive-loading span[b-htcqtsklxi] {
    margin-top: 1rem;
    color: var(--deepdive-text-color, #333);
    font-size: 1.1em;
}

.deepdive-error[b-htcqtsklxi] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--deepdive-error-bg, #ffebee);
    color: var(--deepdive-error-color, #c62828);
    padding: 1rem;
    text-align: center;
}

.deepdive-breadcrumb[b-htcqtsklxi] {
    padding: 1rem;
    background-color: var(--deepdive-bg-color, #ffffff);
    border-bottom: 1px solid var(--deepdive-border-color, #e0e0e0);
}

.deepdive-breadcrumb ol[b-htcqtsklxi] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.deepdive-breadcrumb li[b-htcqtsklxi] {
    display: flex;
    align-items: center;
}

.deepdive-breadcrumb li:not(:last-child)[b-htcqtsklxi]::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--deepdive-text-muted, #757575);
}

.deepdive-breadcrumb a[b-htcqtsklxi] {
    color: var(--deepdive-primary, #2196f3);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.deepdive-breadcrumb a:hover[b-htcqtsklxi] {
    color: var(--deepdive-primary-dark, #1976d2);
    text-decoration: underline;
}

.deepdive-breadcrumb span[b-htcqtsklxi] {
    color: var(--deepdive-text-color, #333);
}

.deepdive-content[b-htcqtsklxi] {
    position: relative;
    width: 100%;
    height: calc(100% - 60px); /* Adjust based on breadcrumb height */
    overflow: hidden;
}

/* Edit mode styles */
.deepdive-container.edit-mode[b-htcqtsklxi] {
    background: var(--deepdive-surface);
    border: 2px dashed var(--deepdive-primary-light);
    border-radius: var(--deepdive-radius);
}

/* Responsive styles */
@media (max-width: 768px) {
    .deepdive-viewer[b-htcqtsklxi] {
        min-height: 300px;
    }

    .deepdive-breadcrumb[b-htcqtsklxi] {
        padding: 0.5rem;
    }

    .deepdive-breadcrumb ol[b-htcqtsklxi] {
        font-size: 0.9em;
    }
}

/* Print styles */
@media print {
    .deepdive-viewer[b-htcqtsklxi] {
        box-shadow: none;
        border: 1px solid #000;
    }

    .deepdive-breadcrumb[b-htcqtsklxi] {
        border-bottom: 1px solid #000;
    }

    .deepdive-breadcrumb a[b-htcqtsklxi] {
        color: #000;
        text-decoration: none;
    }

    .deepdive-breadcrumb li:not(:last-child)[b-htcqtsklxi]::after {
        color: #000;
    }
}

/* Animation classes */
.deepdive-fade-in[b-htcqtsklxi] {
    animation: deepdive-fade-in-b-htcqtsklxi var(--deepdive-animation-duration) var(--deepdive-animation-ease) both;
}

@keyframes deepdive-fade-in-b-htcqtsklxi {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.deepdive-fade-out[b-htcqtsklxi] {
    animation: deepdive-fade-out-b-htcqtsklxi var(--deepdive-animation-duration) var(--deepdive-animation-ease) both;
}

@keyframes deepdive-fade-out-b-htcqtsklxi {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateY(-16px); }
} 
/* /Components/DeepDive/DeepDivePageView.razor.rz.scp.css */
/* DeepDivePageView styles - Modernized, Modular, Mobile-First, Themed */

:root[b-62dm773via] {
  --deepdive-primary: #2196f3;
  --deepdive-primary-light: #e3f2fd;
  --deepdive-primary-dark: #1565c0;
  --deepdive-accent: #00bcd4;
  --deepdive-bg: #fff;
  --deepdive-surface: #f7fafd;
  --deepdive-radius: 10px;
  --deepdive-shadow: 0 2px 8px rgba(33,150,243,0.08);
  --deepdive-padding: 1.2rem;
  --deepdive-gap: 1.5rem;
  --deepdive-font-size: 1.1rem;
  --deepdive-animation-duration: 0.45s;
  --deepdive-animation-ease: cubic-bezier(0.4,0,0.2,1);
}

.deepdive-page-view[b-62dm773via] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--deepdive-gap);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--deepdive-surface);
  border-radius: var(--deepdive-radius);
  box-shadow: var(--deepdive-shadow);
  padding: var(--deepdive-padding);
  font-size: var(--deepdive-font-size);
  color: #222;
}

.deepdive-page[b-62dm773via] {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--deepdive-bg-color, #ffffff);
  transition: transform 0.3s ease-in-out;
}

.deepdive-page.animating[b-62dm773via] {
  animation: fadeIn-b-62dm773via 0.3s ease-in-out;
}

.deepdive-page.zooming[b-62dm773via] {
  animation: zoomIn-b-62dm773via 0.3s ease-in-out;
}

.deepdive-image-container[b-62dm773via] {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.deepdive-image[b-62dm773via] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.deepdive-zones-overlay[b-62dm773via] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.deepdive-zone[b-62dm773via] {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deepdive-zone:hover[b-62dm773via] {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.deepdive-zone .zone-content[b-62dm773via] {
  color: white;
  font-size: 0.8em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.deepdive-zone:hover .zone-content[b-62dm773via] {
  opacity: 1;
}

.deepdive-content[b-62dm773via] {
  padding: 1rem;
  height: 100%;
  overflow-y: auto;
}

.deepdive-video[b-62dm773via] {
  width: 100%;
  max-width: 700px;
  border-radius: var(--deepdive-radius);
  box-shadow: var(--deepdive-shadow);
  background: var(--deepdive-primary-light);
}

.deepdive-page-content[b-62dm773via] {
  width: 100%;
  max-width: 700px;
  background: var(--deepdive-bg);
  border-radius: var(--deepdive-radius);
  box-shadow: var(--deepdive-shadow);
  padding: var(--deepdive-padding);
  margin-top: 1rem;
}

.deepdive-body-content[b-62dm773via] {
  font-size: var(--deepdive-font-size);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.deepdive-thumbnail[b-62dm773via] {
  width: 120px;
  height: auto;
  border-radius: 6px;
  margin-top: 1rem;
  box-shadow: 0 1px 4px rgba(33,150,243,0.08);
}

.deepdive-page-error[b-62dm773via] {
  color: #b00;
  font-weight: bold;
  margin: 2rem auto;
  text-align: center;
}

/* Animation classes */
.deepdive-animating[b-62dm773via] {
  pointer-events: none;
  opacity: 0.7;
  filter: blur(1px);
  transition: opacity var(--deepdive-animation-duration) var(--deepdive-animation-ease), filter var(--deepdive-animation-duration) var(--deepdive-animation-ease);
}

.deepdive-fade-in[b-62dm773via] {
  animation: deepdive-fade-in-b-62dm773via var(--deepdive-animation-duration) var(--deepdive-animation-ease) both;
}
@keyframes deepdive-fade-in-b-62dm773via {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.deepdive-fade-out[b-62dm773via] {
  animation: deepdive-fade-out-b-62dm773via var(--deepdive-animation-ease) both;
}
@keyframes deepdive-fade-out-b-62dm773via {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-16px); }
}

/* Accessibility/ARIA hooks */
.deepdive-zone[tabindex][b-62dm773via] {
  outline: 2px solid var(--deepdive-accent);
  outline-offset: 2px;
}

/* Responsive layout */
@media (max-width: 800px) {
  .deepdive-page-view[b-62dm773via], .deepdive-image-container[b-62dm773via], .deepdive-page-content[b-62dm773via] {
    max-width: 100%;
    padding: 0.5rem;
  }
  .deepdive-video[b-62dm773via] {
    max-width: 100%;
  }
  .deepdive-thumbnail[b-62dm773via] {
    width: 80px;
  }
}

/* Extensibility: All theme variables and animation classes are documented above. */

/* Documented: Zones are now transparent by default, smaller, and icons are larger. */

/* Zoom animation for image container */
.deepdive-zooming[b-62dm773via] {
  animation: deepdive-zoom-in-b-62dm773via 0.7s cubic-bezier(0.4,0,0.2,1) both;
  z-index: 100;
  /* Support zone-centered zoom */
  transform-origin: var(--zoom-origin, 50% 50%);
}
@keyframes deepdive-zoom-in-b-62dm773via {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(3); opacity: 0.2; }
}

/* Transparent background for new page if no image */
.deepdive-page-content.transparent-bg[b-62dm773via] {
  background: rgba(255,255,255,0.7); /* 30% transparent white */
  box-shadow: none;
  z-index: 10;
  position: relative;
}

/* Documented: transparent-bg overlays image with semi-transparent white, parent image remains visible. */

/* Documented: zone icons are now 80px tall, zoom animation class added, transparent background for new page if no image. */

/* Documented: zoom now scales to 3x, supports transform-origin for zone focus, and fades out UI. */

.leaf-icon[b-62dm773via] {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

/* Documented: .leaf-icon is for icons in leaf pages, .zone-icon is only for zone overlays. */

@keyframes fadeIn-b-62dm773via {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn-b-62dm773via {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .deepdive-zone[b-62dm773via] {
    border-width: 1px;
  }

  .deepdive-zone .zone-content[b-62dm773via] {
    font-size: 0.7em;
  }
}

/* Print styles */
@media print {
  .deepdive-zone[b-62dm773via] {
    border: 1px solid #000;
    background-color: transparent;
  }

  .deepdive-zone .zone-content[b-62dm773via] {
    opacity: 1;
    color: #000;
    text-shadow: none;
  }
} 
/* /Components/Media/ImageGallerySelector.razor.rz.scp.css */
.image-gallery-selector[b-z8mkjcwdjd] {
    max-width: 100%;
    min-height: 400px;
}

.gallery-header[b-z8mkjcwdjd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.gallery-title[b-z8mkjcwdjd] {
    margin: 0;
    color: #495057;
    font-weight: 600;
}

.gallery-actions button[b-z8mkjcwdjd] {
    font-size: 0.875rem;
}

.gallery-grid[b-z8mkjcwdjd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item[b-z8mkjcwdjd] {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover[b-z8mkjcwdjd] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.gallery-item.selected[b-z8mkjcwdjd] {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.image-container[b-z8mkjcwdjd] {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.gallery-image[b-z8mkjcwdjd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image[b-z8mkjcwdjd] {
    transform: scale(1.05);
}

.selection-overlay[b-z8mkjcwdjd] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.image-info[b-z8mkjcwdjd] {
    padding: 0.75rem;
}

.image-filename[b-z8mkjcwdjd] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #495057;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-details[b-z8mkjcwdjd] {
    margin-bottom: 0.25rem;
}

.image-date[b-z8mkjcwdjd] {
    font-size: 0.75rem;
}

.gallery-loading[b-z8mkjcwdjd],
.gallery-empty[b-z8mkjcwdjd] {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-error[b-z8mkjcwdjd] {
    margin-bottom: 1rem;
}

.gallery-load-more[b-z8mkjcwdjd] {
    margin-top: 1rem;
}

.gallery-actions-bottom[b-z8mkjcwdjd] {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .gallery-grid[b-z8mkjcwdjd] {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .image-container[b-z8mkjcwdjd] {
        height: 100px;
    }
    
    .image-info[b-z8mkjcwdjd] {
        padding: 0.5rem;
    }
    
    .gallery-header[b-z8mkjcwdjd] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .gallery-actions-bottom[b-z8mkjcwdjd] {
        flex-direction: column;
    }
    
    .gallery-actions-bottom button[b-z8mkjcwdjd] {
        width: 100%;
    }
}

/* Animation for loading spinner */
@keyframes spin-b-z8mkjcwdjd {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin[b-z8mkjcwdjd] {
    animation: spin-b-z8mkjcwdjd 1s linear infinite;
}

/* Folder Structure Styling */
.folder-section[b-z8mkjcwdjd] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.folder-header[b-z8mkjcwdjd] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.folder-header:hover[b-z8mkjcwdjd] {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.folder-title[b-z8mkjcwdjd] {
    margin: 0;
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.folder-count[b-z8mkjcwdjd] {
    margin-left: 8px;
    color: #6c757d;
    font-weight: 400;
    font-size: 0.85rem;
}

.folder-toggle[b-z8mkjcwdjd] {
    color: #6c757d;
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.folder-content[b-z8mkjcwdjd] {
    padding: 16px;
    background: #ffffff;
}

.folder-content .gallery-grid[b-z8mkjcwdjd] {
    margin-bottom: 0;
}

/* Animation for folder expansion */
.folder-content[b-z8mkjcwdjd] {
    animation: folderExpand-b-z8mkjcwdjd 0.3s ease-out;
}

@keyframes folderExpand-b-z8mkjcwdjd {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delete button styling */
.delete-button[b-z8mkjcwdjd] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    border: 2px solid white;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .delete-button[b-z8mkjcwdjd] {
    opacity: 1;
    transform: scale(1);
}

.delete-button:hover[b-z8mkjcwdjd] {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.delete-button:disabled[b-z8mkjcwdjd] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(1);
}

.delete-button:disabled:hover[b-z8mkjcwdjd] {
    background: rgba(220, 53, 69, 0.9);
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
} 
/* /Components/Media/InteractiveImageViewer.razor.rz.scp.css */
.interactive-image-viewer[b-l1iltz95x3] {
    position: relative;
    overflow: hidden; /* Important for zoom effect */
    width: 100%;
    /* aspect-ratio: 16 / 9; /* Adjust as needed or set fixed height */
    background-color: #f0f0f0; /* Placeholder background */
    min-height: 300px; /* Ensure it has some size */
}

/* --- Wrapper: centers the image on the screen using flexbox --- */
.interactive-image-wrapper[b-l1iltz95x3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

/* --- Image container: fixed size, always centered --- */
.image-container[b-l1iltz95x3] {
    position: relative;
    width: 800px;
    height: 600px;
    max-width: 90vw;
    max-height: 80vh;
    margin: auto;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    background: #fff;
    transition: transform 0.3s ease-in-out;
    transform-origin: 50% 50%;
    transform: scale(1.0);
}

.image-container img[b-l1iltz95x3] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Overlay: absolutely covers the image --- */
.zones-overlay[b-l1iltz95x3] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.interactive-zone[b-l1iltz95x3] {
    position: absolute;
    /* No border or background for invisible overlay */
    background: none;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.2s ease;
    padding: 0;
    margin: 0;
    z-index: 3;
}

.interactive-zone:hover[b-l1iltz95x3],
.interactive-zone:focus[b-l1iltz95x3] {
    background-color: rgba(0, 123, 255, 0.4);
    border-color: white;
}

.zone-icon[b-l1iltz95x3] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    max-width: 48px;
    max-height: 48px;
    pointer-events: none;
    display: block;
    opacity: 0.92;
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.interactive-zone:hover .zone-icon[b-l1iltz95x3],
.interactive-zone:focus .zone-icon[b-l1iltz95x3] {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}

/* Visually hide text but keep for screen readers */
.visually-hidden[b-l1iltz95x3] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


.detail-page-container[b-l1iltz95x3] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 100;
    opacity: 0;
    transform: scale(0.2) translate(var(--zoom-x, 0), var(--zoom-y, 0));
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.interactive-image-viewer.zoomed .detail-page-container[b-l1iltz95x3] {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translate(0, 0);
}

.back-button[b-l1iltz95x3] {
    position: absolute; /* Or sticky */
    top: 10px;
    left: 10px;
    z-index: 15;
    padding: 5px 10px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.back-button:hover[b-l1iltz95x3] {
    background-color: #ddd;
}

.detail-page-content[b-l1iltz95x3] {
    padding-top: 40px; /* Space below back button */
}

.detail-page-content h2[b-l1iltz95x3] {
    margin-top: 0;
}

.detail-page-content .thumbnail[b-l1iltz95x3] {
    max-width: 100px;
    float: right;
    margin-left: 15px;
    margin-bottom: 10px;
}

.loading-indicator[b-l1iltz95x3], .error-message[b-l1iltz95x3] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 150px;
    font-style: italic;
    color: #555;
}

.error-message[b-l1iltz95x3] {
    color: red;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .image-container[b-l1iltz95x3],
    .detail-page-container[b-l1iltz95x3] {
        transition: none;
    }
} 
/* /Components/Media/ThumbnailUploadDialog.razor.rz.scp.css */
.thumbnail-dialog-overlay[b-xus2q759c8] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal-critical);
    animation: fadeIn-b-xus2q759c8 0.3s ease-out;
}

.thumbnail-dialog[b-xus2q759c8] {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    max-height: 85vh;
    width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideIn-b-xus2q759c8 0.3s ease-out;
    position: relative;
}

.thumbnail-dialog-header[b-xus2q759c8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px 12px 0 0;
}

.thumbnail-dialog-header h4[b-xus2q759c8] {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.thumbnail-dialog-header h4[b-xus2q759c8]::before {
    content: "🖼️";
    margin-right: 8px;
    font-size: 18px;
}

.thumbnail-dialog-close[b-xus2q759c8] {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-dialog-close:hover:not(:disabled)[b-xus2q759c8] {
    background: #f8f9fa;
    color: #dc3545;
    transform: scale(1.1);
}

.thumbnail-dialog-close:disabled[b-xus2q759c8] {
    opacity: 0.5;
    cursor: not-allowed;
}

.thumbnail-dialog-content[b-xus2q759c8] {
    padding: 24px;
    flex: 1;
    overflow: auto;
    min-height: 400px;
    position: relative;
}

/* Processing Overlay */
.processing-overlay[b-xus2q759c8] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 0 0 12px 12px;
}

.processing-content[b-xus2q759c8] {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.processing-content i[b-xus2q759c8] {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
    animation: spin-b-xus2q759c8 1s linear infinite;
}

.processing-content h5[b-xus2q759c8] {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.processing-content p[b-xus2q759c8] {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 20px;
}

.progress[b-xus2q759c8] {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 16px;
}

.progress-bar[b-xus2q759c8] {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-striped[b-xus2q759c8] {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
}

.progress-bar-animated[b-xus2q759c8] {
    animation: progress-bar-stripes-b-xus2q759c8 1s linear infinite;
}

@keyframes progress-bar-stripes-b-xus2q759c8 {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

@keyframes spin-b-xus2q759c8 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Custom Upload Selector */
.thumbnail-upload-selector[b-xus2q759c8] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-source-toggle[b-xus2q759c8] {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.upload-source-toggle .btn[b-xus2q759c8] {
    padding: 12px 20px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-source-toggle .btn:hover:not(:disabled)[b-xus2q759c8] {
    transform: translateY(-1px);
}

/* Upload Interface */
.upload-interface[b-xus2q759c8] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upload-area[b-xus2q759c8] {
    border: 2px dashed #007bff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(0, 123, 255, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-area:hover[b-xus2q759c8] {
    border-color: #0056b3;
    background: rgba(0, 123, 255, 0.05);
    transform: scale(1.02);
}

.upload-area.drag-over[b-xus2q759c8] {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    transform: scale(1.05);
}

.upload-content[b-xus2q759c8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.upload-content i[b-xus2q759c8] {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 8px;
}

.upload-content h6[b-xus2q759c8] {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.upload-content p[b-xus2q759c8] {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.upload-content small[b-xus2q759c8] {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
}

.upload-progress[b-xus2q759c8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.upload-progress .progress[b-xus2q759c8] {
    height: 6px;
    margin: 0;
}

.upload-progress small[b-xus2q759c8] {
    color: #007bff;
    font-weight: 500;
    text-align: center;
}

.upload-error[b-xus2q759c8] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    font-size: 14px;
}

.upload-error i[b-xus2q759c8] {
    color: #dc3545;
    flex-shrink: 0;
}

.upload-error .btn[b-xus2q759c8] {
    margin-left: auto;
    padding: 2px 6px;
    color: #721c24;
}

.upload-error .btn:hover[b-xus2q759c8] {
    color: #dc3545;
}

.thumbnail-dialog-footer[b-xus2q759c8] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.thumbnail-dialog-footer .btn[b-xus2q759c8] {
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.thumbnail-dialog-footer .btn:disabled[b-xus2q759c8] {
    opacity: 0.6;
    cursor: not-allowed;
}

.thumbnail-dialog-footer .btn-secondary[b-xus2q759c8] {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.thumbnail-dialog-footer .btn-secondary:hover:not(:disabled)[b-xus2q759c8] {
    background: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
}

.thumbnail-dialog-footer .btn .me-2[b-xus2q759c8] {
    margin-right: 0.5rem;
}

/* Animations */
@keyframes fadeIn-b-xus2q759c8 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn-b-xus2q759c8 {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .thumbnail-dialog[b-xus2q759c8] {
        width: 95vw;
        max-height: 90vh;
        margin: 20px;
    }

    .thumbnail-dialog-header[b-xus2q759c8] {
        padding: 16px 20px;
    }

    .thumbnail-dialog-header h4[b-xus2q759c8] {
        font-size: 18px;
    }

    .thumbnail-dialog-content[b-xus2q759c8] {
        padding: 20px;
        min-height: 300px;
    }

    .thumbnail-dialog-footer[b-xus2q759c8] {
        padding: 16px 20px;
        flex-direction: column;
    }

    .thumbnail-dialog-footer .btn[b-xus2q759c8] {
        width: 100%;
    }

    .upload-source-toggle[b-xus2q759c8] {
        flex-direction: column;
    }

    .upload-source-toggle .btn[b-xus2q759c8] {
        width: 100%;
        justify-content: center;
    }

    .upload-area[b-xus2q759c8] {
        padding: 30px 15px;
    }

    .upload-content i[b-xus2q759c8] {
        font-size: 36px;
    }

    .upload-content h6[b-xus2q759c8] {
        font-size: 16px;
    }

    .processing-content[b-xus2q759c8] {
        padding: 20px;
    }

    .processing-content i[b-xus2q759c8] {
        font-size: 36px;
    }

    .processing-content h5[b-xus2q759c8] {
        font-size: 18px;
    }
}

/* Custom styling for the embedded UnifiedFileUploadSelector */
.thumbnail-dialog-content[b-xus2q759c8]  .unified-file-upload-selector {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.thumbnail-dialog-content[b-xus2q759c8]  .upload-source-toggle .btn {
    padding: 12px 20px;
    font-weight: 500;
}

.thumbnail-dialog-content[b-xus2q759c8]  .gallery-interface {
    box-shadow: none;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Loading state */
.thumbnail-dialog.loading[b-xus2q759c8] {
    pointer-events: auto; /* Allow interaction with processing overlay */
}

.thumbnail-dialog.loading .thumbnail-dialog-content > *:not(.processing-overlay)[b-xus2q759c8] {
    opacity: 0.3;
    pointer-events: none;
} 
/* /Components/Media/UnifiedFileUploadSelector.razor.rz.scp.css */
.unified-file-upload-selector[b-urtm03h5l2] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    max-height: 500px;
    overflow-y: auto;
}

/* Choose Picture Button */
.choose-picture-section[b-urtm03h5l2] {
    margin-bottom: 16px;
}

.choose-picture-section .btn[b-urtm03h5l2] {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.choose-picture-section .btn:hover[b-urtm03h5l2] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.choose-picture-section .btn i[b-urtm03h5l2] {
    font-size: 18px;
}

/* Upload/Gallery Toggle (Legacy - keeping for backward compatibility) */
.upload-source-toggle[b-urtm03h5l2] {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.upload-source-toggle .btn[b-urtm03h5l2] {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upload-source-toggle .btn:hover[b-urtm03h5l2] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* Folder Controls */
.folder-controls[b-urtm03h5l2] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.folder-selector select[b-urtm03h5l2] {
    min-width: 150px;
}

.create-folder-dialog[b-urtm03h5l2] {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: var(--bs-light);
    border-radius: 0.375rem;
    border: 1px solid var(--bs-border-color);
}

.create-folder-dialog .input-group[b-urtm03h5l2] {
    max-width: 300px;
}

/* Gallery Section */
.gallery-section[b-urtm03h5l2] {
    background: white;
    border-radius: 6px;
    padding: 16px;
    border: 1px solid #e9ecef;
}

.gallery-header[b-urtm03h5l2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.gallery-header h6[b-urtm03h5l2] {
    margin: 0;
    color: var(--bs-primary);
    font-weight: 600;
}

.gallery-header h6 i[b-urtm03h5l2] {
    margin-right: 0.5rem;
}

.gallery-loading[b-urtm03h5l2] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--bs-secondary);
}

.gallery-empty[b-urtm03h5l2] {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--bs-secondary);
}

.gallery-empty i[b-urtm03h5l2] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.gallery-empty p[b-urtm03h5l2] {
    margin: 0.5rem 0;
    font-weight: 500;
}

.gallery-empty small[b-urtm03h5l2] {
    opacity: 0.7;
}

.gallery-grid[b-urtm03h5l2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item[b-urtm03h5l2] {
    position: relative;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 80px;
}

.gallery-item:hover[b-urtm03h5l2] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-item.selected[b-urtm03h5l2] {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.25);
}

.gallery-item-image[b-urtm03h5l2] {
    position: relative;
    width: 100%;
    height: 60px;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-item-image img[b-urtm03h5l2] {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-item:hover .gallery-item-image img[b-urtm03h5l2] {
    transform: scale(1.05);
}

.gallery-item-overlay[b-urtm03h5l2] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events:none;
}

.gallery-item.selected .gallery-item-overlay[b-urtm03h5l2] {
    opacity: 1;
}

.gallery-item-info[b-urtm03h5l2] {
    padding: 0.5rem;
    background: white;
}

.gallery-item-name[b-urtm03h5l2] {
    display: block;
    font-weight: 500;
    color: var(--bs-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.gallery-item-size[b-urtm03h5l2] {
    display: block;
    color: var(--bs-secondary);
    font-size: 0.75rem;
}

.gallery-actions[b-urtm03h5l2] {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem 0;
    border-top: 1px solid var(--bs-border-color);
    margin-top: 1rem;
}

.gallery-load-more[b-urtm03h5l2] {
    text-align: center;
    margin: 1rem 0;
}

/* Upload Section */
.upload-section[b-urtm03h5l2] {
    background: white;
    border-radius: 6px;
    padding: 16px;
    border: 1px solid #e9ecef;
}

.upload-area[b-urtm03h5l2] {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 32px 16px;
    text-align: center;
    background: rgba(0, 123, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.upload-area:hover[b-urtm03h5l2] {
    border-color: #0056b3;
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.upload-area.drag-over[b-urtm03h5l2] {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    transform: scale(1.02);
}

.upload-content[b-urtm03h5l2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hidden file input - accessible but not visible */
.file-input-hidden[b-urtm03h5l2] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.upload-content i[b-urtm03h5l2] {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.upload-content h6[b-urtm03h5l2] {
    margin: 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.upload-content p[b-urtm03h5l2] {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.upload-content small[b-urtm03h5l2] {
    color: #6c757d;
    font-size: 12px;
    opacity: 0.8;
}

.upload-progress[b-urtm03h5l2] {
    margin-bottom: 16px;
}

.upload-progress .progress[b-urtm03h5l2] {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    margin-bottom: 8px;
}

.upload-progress .progress-bar[b-urtm03h5l2] {
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
}

.upload-progress small[b-urtm03h5l2] {
    color: #6c757d;
    font-size: 12px;
}

.upload-error[b-urtm03h5l2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 6px;
    color: #dc3545;
    font-size: 14px;
}

.upload-error .btn[b-urtm03h5l2] {
    margin-left: auto;
    padding: 2px 6px;
    font-size: 12px;
}

/* Alert Styles */
.alert-sm[b-urtm03h5l2] {
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-sm .btn[b-urtm03h5l2] {
    padding: 2px 8px;
    font-size: 12px;
}

@keyframes fadeIn-b-urtm03h5l2 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid[b-urtm03h5l2] {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .folder-controls[b-urtm03h5l2] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .folder-selector select[b-urtm03h5l2] {
        min-width: auto;
    }
    
    .gallery-header[b-urtm03h5l2] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .gallery-actions[b-urtm03h5l2] {
        flex-direction: column;
    }

    .upload-source-toggle[b-urtm03h5l2] {
        flex-direction: column;
    }

    .upload-area[b-urtm03h5l2] {
        padding: 24px 12px;
    }

    .upload-content i[b-urtm03h5l2] {
        font-size: 24px;
    }

    .upload-content h6[b-urtm03h5l2] {
        font-size: 14px;
    }

    .processing-content[b-urtm03h5l2] {
        min-width: 250px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .unified-file-upload-selector[b-urtm03h5l2] {
        padding: 12px;
    }

    .gallery-grid[b-urtm03h5l2] {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 6px;
    }

    .gallery-item-image[b-urtm03h5l2] {
        height: 60px;
    }

    .gallery-item-info[b-urtm03h5l2] {
        padding: 6px;
    }

    .gallery-item-name[b-urtm03h5l2] {
        font-size: 10px;
    }

    .gallery-item-size[b-urtm03h5l2] {
        font-size: 9px;
    }

    .upload-area[b-urtm03h5l2] {
        padding: 20px 8px;
    }

    .upload-content i[b-urtm03h5l2] {
        font-size: 20px;
    }

    .upload-content h6[b-urtm03h5l2] {
        font-size: 12px;
    }

    .upload-content p[b-urtm03h5l2] {
        font-size: 12px;
    }

    .processing-content[b-urtm03h5l2] {
        min-width: 200px;
        padding: 20px;
    }
}

/* Modal Dialog */
.modal-overlay[b-urtm03h5l2] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal-critical);
    backdrop-filter: blur(2px);
    animation: fadeIn-b-urtm03h5l2 0.2s ease-out;
    pointer-events: auto;
}

.modal-dialog[b-urtm03h5l2] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn-b-urtm03h5l2 0.3s ease-out;
    pointer-events: auto;
    position: relative;
    z-index: calc(var(--z-modal-critical) + 1);
}

.modal-header[b-urtm03h5l2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.modal-title[b-urtm03h5l2] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close[b-urtm03h5l2] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-close:hover[b-urtm03h5l2] {
    background: #e9ecef;
    color: #495057;
}

.modal-body[b-urtm03h5l2] {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Dialog Toggle Buttons */
.dialog-toggle[b-urtm03h5l2] {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dialog-toggle .btn[b-urtm03h5l2] {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dialog-toggle .btn:hover[b-urtm03h5l2] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* Processing Overlay for Modal */
.processing-overlay-modal[b-urtm03h5l2] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: calc(var(--z-modal-critical) + 2);
    backdrop-filter: blur(2px);
}

.processing-content[b-urtm03h5l2] {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    min-width: 300px;
}

.processing-content i[b-urtm03h5l2] {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 16px;
}

.processing-content h5[b-urtm03h5l2] {
    margin: 0 0 8px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.processing-content p[b-urtm03h5l2] {
    margin: 0 0 16px 0;
    color: #6c757d;
    font-size: 14px;
}

.processing-content .progress[b-urtm03h5l2] {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
}

.processing-content .progress-bar[b-urtm03h5l2] {
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeIn-b-urtm03h5l2 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn-b-urtm03h5l2 {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
} 
/* /Components/Zone/ZoneCanvas.razor.rz.scp.css */
.zone-canvas[b-znvhl3636x] {
    width: 100%;
    height: 100%;
    position: relative;
    background: #ffffff;
    overflow: auto;
    user-select: none;
}

/* Canvas Image Container */
.canvas-image-container[b-znvhl3636x] {
    position: relative;
    display: inline-block;
    transform-origin: top left;
    transition: transform 0.2s ease;
}

.canvas-image[b-znvhl3636x] {
    display: block;
    max-width: none;
    height: auto;
    pointer-events: none;
    border: 1px solid #e5e5e5;
}

/* Zones Overlay */
.zones-overlay[b-znvhl3636x] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Zone Items */
.zone-item[b-znvhl3636x] {
    border: 2px solid #667eea;
    background: rgba(102, 126, 234, 0.1);
    pointer-events: auto;
    transition: all 0.2s ease;
    cursor: move;
}

.zone-item:hover[b-znvhl3636x] {
    border-color: #5a6fd8;
    background: rgba(102, 126, 234, 0.15);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.3);
}

.zone-item.selected[b-znvhl3636x] {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.2);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.4);
}

.zone-item.zone-preview[b-znvhl3636x] {
    border-style: dashed;
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* Zone Label */
.zone-label[b-znvhl3636x] {
    position: absolute;
    top: -25px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.zone-item.zone-preview .zone-label[b-znvhl3636x] {
    background: #28a745;
}

/* Resize Handles */
.resize-handles[b-znvhl3636x] {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    pointer-events: none;
}

.resize-handle[b-znvhl3636x] {
    position: absolute;
    background: #667eea;
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.resize-handle:hover[b-znvhl3636x] {
    background: #5a6fd8;
    transform: scale(1.2);
}

/* Corner handles */
.resize-handle.nw[b-znvhl3636x] {
    top: -4px;
    left: -4px;
    cursor: nw-resize;
}

.resize-handle.ne[b-znvhl3636x] {
    top: -4px;
    right: -4px;
    cursor: ne-resize;
}

.resize-handle.sw[b-znvhl3636x] {
    bottom: -4px;
    left: -4px;
    cursor: sw-resize;
}

.resize-handle.se[b-znvhl3636x] {
    bottom: -4px;
    right: -4px;
    cursor: se-resize;
}

/* Edge handles */
.resize-handle.n[b-znvhl3636x] {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

.resize-handle.s[b-znvhl3636x] {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

.resize-handle.w[b-znvhl3636x] {
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
    cursor: ew-resize;
}

.resize-handle.e[b-znvhl3636x] {
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    cursor: ew-resize;
}

/* Empty State */
.canvas-empty-state[b-znvhl3636x] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 3px dashed #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

.canvas-empty-state.drag-over[b-znvhl3636x] {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.02) 100%);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
}

.empty-content[b-znvhl3636x] {
    text-align: center;
    max-width: 480px;
    padding: 32px;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

.empty-icon[b-znvhl3636x] {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.empty-icon i[b-znvhl3636x] {
    color: #667eea;
    opacity: 0.8;
    display: block;
}

.drag-indicator[b-znvhl3636x] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.canvas-empty-state.drag-over .drag-indicator[b-znvhl3636x] {
    opacity: 1;
    transform: scale(1);
    animation: bounce-b-znvhl3636x 0.6s ease infinite alternate;
}

@keyframes bounce-b-znvhl3636x {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.1) translateY(-2px); }
}

.empty-title[b-znvhl3636x] {
    font-size: 24px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.empty-description[b-znvhl3636x] {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Quick Start Guide */
.quick-start-guide[b-znvhl3636x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.step-indicator[b-znvhl3636x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step[b-znvhl3636x] {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.step-text[b-znvhl3636x] {
    font-size: 11px;
    color: #495057;
    font-weight: 500;
    text-align: center;
    max-width: 60px;
    line-height: 1.2;
}

.step-divider[b-znvhl3636x] {
    color: #667eea;
    font-weight: 600;
    font-size: 18px;
    margin: 0 8px;
}

/* Enhanced Upload Button */
.upload-container[b-znvhl3636x] {
    margin-bottom: 24px;
}

.upload-btn[b-znvhl3636x] {
    min-height: 56px;
    min-width: 200px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.upload-btn:hover[b-znvhl3636x] {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a5acd 100%);
    color: white;
}

.upload-btn:focus[b-znvhl3636x] {
    outline: 3px solid rgba(102, 126, 234, 0.3);
    outline-offset: 3px;
}

.upload-btn:active[b-znvhl3636x] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.upload-help[b-znvhl3636x] {
    margin-top: 12px;
}

.upload-help small[b-znvhl3636x] {
    color: #868e96;
    font-size: 13px;
    line-height: 1.4;
}

/* Upload Progress */
.upload-progress[b-znvhl3636x] {
    margin-top: 24px;
    width: 100%;
    max-width: 300px;
}

.upload-progress .progress[b-znvhl3636x] {
    height: 8px;
    border-radius: 4px;
    background: rgba(102, 126, 234, 0.1);
    overflow: hidden;
}

.upload-progress .progress-bar[b-znvhl3636x] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: width 0.3s ease;
}

/* Upload Error */
.upload-error[b-znvhl3636x] {
    margin-top: 16px;
    max-width: 400px;
    border-radius: 8px;
    border: 1px solid #dc3545;
    background: rgba(220, 53, 69, 0.05);
    color: #721c24;
    padding: 12px 16px;
    font-size: 14px;
    position: relative;
}

.upload-error .btn-close[b-znvhl3636x] {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    padding: 4px;
}

/* Enhanced Zone Styling */
.zone-canvas-container[b-znvhl3636x] {
    width: 100%;
    height: 100%;
    position: relative;
    background: #ffffff;
    overflow: auto;
    user-select: none;
}

.canvas-workspace[b-znvhl3636x] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.canvas-background[b-znvhl3636x] {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Enhanced Zone Rectangle */
.zone-rectangle[b-znvhl3636x] {
    position: absolute;
    border: 2px solid #667eea;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: move;
    min-width: 20px;
    min-height: 20px;
}

.zone-rectangle:hover[b-znvhl3636x] {
    border-color: #5a6fd8;
    background: rgba(102, 126, 234, 0.12);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
    transform: translateZ(0);
}

.zone-rectangle.selected[b-znvhl3636x] {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    box-shadow: 
        0 0 0 2px rgba(102, 126, 234, 0.3),
        0 4px 16px rgba(102, 126, 234, 0.25);
    z-index: 100;
}

.zone-rectangle:focus[b-znvhl3636x] {
    outline: 3px solid rgba(102, 126, 234, 0.4);
    outline-offset: 2px;
}

/* Zone Preview (During Creation) */
.zone-preview[b-znvhl3636x] {
    border-style: dashed !important;
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.08) !important;
    animation: pulsePreview-b-znvhl3636x 1.5s ease-in-out infinite;
}

@keyframes pulsePreview-b-znvhl3636x {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Enhanced Zone Label */
.zone-label[b-znvhl3636x] {
    position: absolute;
    top: -32px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 10;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zone-preview .zone-label[b-znvhl3636x] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Enhanced Resize Handles */
.resize-handle[b-znvhl3636x] {
    position: absolute;
    background: #ffffff;
    border: 2px solid #667eea;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
    z-index: 101;
}

.resize-handle:hover[b-znvhl3636x] {
    background: #667eea;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.resize-handle:focus[b-znvhl3636x] {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Resize Handle Positions - Updated for 8-point handles */
.resize-handle.top-left[b-znvhl3636x] {
    top: -6px;
    left: -6px;
    cursor: nw-resize;
}

.resize-handle.top-center[b-znvhl3636x] {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

.resize-handle.top-right[b-znvhl3636x] {
    top: -6px;
    right: -6px;
    cursor: ne-resize;
}

.resize-handle.middle-left[b-znvhl3636x] {
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    cursor: ew-resize;
}

.resize-handle.middle-right[b-znvhl3636x] {
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    cursor: ew-resize;
}

.resize-handle.bottom-left[b-znvhl3636x] {
    bottom: -6px;
    left: -6px;
    cursor: sw-resize;
}

.resize-handle.bottom-center[b-znvhl3636x] {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

.resize-handle.bottom-right[b-znvhl3636x] {
    bottom: -6px;
    right: -6px;
    cursor: se-resize;
}

/* Responsive Design */
@media (max-width: 768px) {
    .canvas-empty-state[b-znvhl3636x] {
        border-width: 2px;
        min-height: 300px;
        padding: 15px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .empty-content[b-znvhl3636x] {
        padding: 24px 16px;
        max-width: 320px;
        width: 100%;
    }
    
    .empty-title[b-znvhl3636x] {
        font-size: 20px;
    }
    
    .empty-description[b-znvhl3636x] {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .quick-start-guide[b-znvhl3636x] {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .step-divider[b-znvhl3636x] {
        transform: rotate(90deg);
        margin: 4px 0;
    }
    
    .upload-btn[b-znvhl3636x] {
        min-height: 48px;
        min-width: 180px;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .zone-label[b-znvhl3636x] {
        font-size: 10px;
        padding: 4px 8px;
        max-width: 120px;
    }
    
    .resize-handle[b-znvhl3636x] {
        width: 16px;
        height: 16px;
    }
    
    .resize-handle.top-left[b-znvhl3636x],
    .resize-handle.top-right[b-znvhl3636x],
    .resize-handle.bottom-left[b-znvhl3636x],
    .resize-handle.bottom-right[b-znvhl3636x] {
        transform: none;
    }
    
    .resize-handle.top-center[b-znvhl3636x],
    .resize-handle.bottom-center[b-znvhl3636x] {
        transform: translateX(-50%);
    }
    
    .resize-handle.middle-left[b-znvhl3636x],
    .resize-handle.middle-right[b-znvhl3636x] {
        transform: translateY(-50%);
    }
}

/* High DPI Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .resize-handle[b-znvhl3636x] {
        border-width: 1px;
    }
    
    .zone-rectangle[b-znvhl3636x] {
        border-width: 1px;
    }
    
    .canvas-empty-state[b-znvhl3636x] {
        border-width: 2px;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    .canvas-empty-state[b-znvhl3636x] {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        border-color: #495057;
    }
    
    .empty-title[b-znvhl3636x] {
        color: #e9ecef;
    }
    
    .empty-description[b-znvhl3636x] {
        color: #adb5bd;
    }
    
    .canvas-workspace[b-znvhl3636x] {
        background: 
            radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 100%),
            linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
            linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
        background-color: #212529;
    }
}

/* Canvas Grid (optional background) */
.zone-canvas[b-znvhl3636x]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

/* Zoom-specific adjustments */
.zone-canvas[style*="scale("] .zone-label[b-znvhl3636x] {
    transform: scale(calc(1 / var(--zoom-level, 1)));
    transform-origin: bottom left;
}

.zone-canvas[style*="scale("] .resize-handle[b-znvhl3636x] {
    transform: scale(calc(1 / var(--zoom-level, 1)));
}

/* Selection box for multi-select (future feature) */
.selection-box[b-znvhl3636x] {
    position: absolute;
    border: 1px dashed #667eea;
    background: rgba(102, 126, 234, 0.1);
    pointer-events: none;
    z-index: 1000;
}

/* Context menu positioning helper */
.zone-context-menu[b-znvhl3636x] {
    position: absolute;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zone-label[b-znvhl3636x] {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .resize-handle[b-znvhl3636x] {
        width: 10px;
        height: 10px;
    }
    
    .zone-item[b-znvhl3636x] {
        border-width: 1px;
    }
}

/* High DPI display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .resize-handle[b-znvhl3636x] {
        border-width: 1px;
    }
    
    .zone-item[b-znvhl3636x] {
        border-width: 1px;
    }
}

/* Tool-specific visual feedback */
.canvas-workspace[data-tool="zone"][b-znvhl3636x] {
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: inset 0 0 0 1px rgba(40, 167, 69, 0.1);
}

.canvas-workspace[data-tool="select"][b-znvhl3636x] {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.1);
}

.canvas-workspace[data-tool="pan"][b-znvhl3636x] {
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.1);
}

/* Tool indicator overlay */
.canvas-workspace[b-znvhl3636x]::before {
    content: attr(data-tool-name);
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.canvas-workspace:hover[b-znvhl3636x]::before {
    opacity: 1;
}

/* Zone creation mode cursor styling */
.canvas-workspace[data-tool="zone"][b-znvhl3636x] {
    cursor: crosshair;
}

/* Zone Creation Overlay - Transparent layer for conflict-free zone creation */
.zone-creation-overlay[b-znvhl3636x] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: transparent;
    pointer-events: auto;
    cursor: crosshair;
}

/* Zone Preview on Overlay - Higher z-index than overlay itself */
.zone-preview-overlay[b-znvhl3636x] {
    position: absolute;
    border: 2px dashed #007bff !important;
    background-color: rgba(0, 123, 255, 0.15) !important;
    box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.3), 
                0 4px 12px rgba(0, 123, 255, 0.2) !important;
    animation: zonePreviewPulse 2s ease-in-out infinite;
    transition: all 0.1s ease-out;
    z-index: 10001;
    pointer-events: none;
}

/* Zone preview indicator for overlay */
.zone-preview-overlay .zone-preview-indicator[b-znvhl3636x] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007bff;
    opacity: 0.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: zoneIndicatorBounce 1s ease-in-out infinite;
    pointer-events: none;
    z-index: 10002;
}

/* Ensure existing zones stay below overlay when creating */
.canvas-workspace[data-tool="zone"] .zone-rectangle[b-znvhl3636x] {
    z-index: 1000;
}

.canvas-workspace[data-tool="zone"] .zone-rectangle.selected[b-znvhl3636x] {
    z-index: 1001;
}

/* Image Source Toggle */
.image-source-toggle[b-znvhl3636x] {
    margin-bottom: 1.5rem;
}

.image-source-toggle .btn-group[b-znvhl3636x] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.image-source-toggle .btn[b-znvhl3636x] {
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #495057;
}

.image-source-toggle .btn:first-child[b-znvhl3636x] {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.image-source-toggle .btn:last-child[b-znvhl3636x] {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.image-source-toggle .btn.btn-primary[b-znvhl3636x] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.image-source-toggle .btn.btn-outline-primary[b-znvhl3636x] {
    background: #ffffff;
    color: #667eea;
    border: 1px solid #e9ecef;
}

.image-source-toggle .btn:hover[b-znvhl3636x] {
    transform: translateY(-1px);
}

.image-source-toggle .btn.btn-primary:hover[b-znvhl3636x] {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a5acd 100%);
}

.image-source-toggle .btn.btn-outline-primary:hover[b-znvhl3636x] {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
}

/* Gallery Container */
.gallery-container[b-znvhl3636x] {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
} 

/* Increased modal z-index above zone overlay */
.zone-creation-overlay[b-znvhl3636x] {
    z-index: var(--z-canvas-overlay);
}

.zone-preview-overlay[b-znvhl3636x] {
    z-index: calc(var(--z-canvas-overlay) + 1);
} 
/* /Components/Zone/ZoneEditorLayout.razor.rz.scp.css */
.zone-editor-layout[b-ueu2l5lfu6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

/* Header Styling */
.editor-header[b-ueu2l5lfu6] {
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.editor-header-left[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.editor-logo[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #667eea;
    font-size: 16px;
}

.editor-breadcrumb[b-ueu2l5lfu6] {
    font-size: 14px;
}

.editor-header-center[b-ueu2l5lfu6] {
    flex: 1;
    display: flex;
    justify-content: center;
}

.editor-tools[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.editor-divider[b-ueu2l5lfu6] {
    width: 1px;
    height: 24px;
    background: #e5e5e5;
}

.editor-header-right[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.zoom-controls[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 6px 10px;
    min-height: 44px;
}

.zoom-btn[b-ueu2l5lfu6] {
    min-width: 36px;
    min-height: 36px;
    padding: 6px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: #495057;
}

.zoom-btn:hover[b-ueu2l5lfu6] {
    background: #ffffff;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zoom-btn:focus[b-ueu2l5lfu6] {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.zoom-level[b-ueu2l5lfu6] {
    font-size: 13px;
    font-weight: 600;
    min-width: 48px;
    text-align: center;
    color: #495057;
    padding: 0 8px;
    user-select: none;
}

.editor-actions[b-ueu2l5lfu6] {
    display: flex;
    gap: 8px;
}

/* Main Editor Area */
.editor-main[b-ueu2l5lfu6] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Sidebar Styling */
.editor-sidebar[b-ueu2l5lfu6] {
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 5;
}

.editor-sidebar.docked[b-ueu2l5lfu6] {
    width: 320px;
}

.editor-sidebar.collapsed[b-ueu2l5lfu6] {
    width: 0;
    border-right: none;
}

.editor-sidebar.floating[b-ueu2l5lfu6] {
    position: fixed;             /* Overlay relative to viewport */
    top: 60px;                   /* sits right under the 60 px header */
    right: 24px;                
    width: 320px;
    height: calc(100vh - 72px); /* header + small breathing space */
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    z-index: 1010;              /* above canvas but below any modal */
}

.editor-sidebar.floating .sidebar-header[b-ueu2l5lfu6] {
    border-radius: 8px 8px 0 0;
    cursor: move; /* future drag-handle */
}

.editor-sidebar.floating .sidebar-content[b-ueu2l5lfu6] {
    height: calc(100% - 50px); /* account for header height */
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
}

.sidebar-header[b-ueu2l5lfu6] {
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    background: #fafbfc;
    flex-wrap: wrap;
}

.sidebar-tabs-container[b-ueu2l5lfu6] {
    flex: 1 1 auto;            /* take the remaining header space */
    min-width: 0;             /* allow it to shrink so it stays inside */
    overflow: hidden;         /* hide any accidental overflow */
}

.sidebar-tabs[b-ueu2l5lfu6] {
    width: 100%;
    overflow-x: auto;         /* enable horizontal scroll on very small widths */
}

.sidebar-tabs .nav-item[b-ueu2l5lfu6] {
    flex: 1;
}

.sidebar-tabs .nav-link[b-ueu2l5lfu6] {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 0;
    transition: all 0.2s ease;
    min-height: 44px;
    position: relative;
}

.sidebar-tabs .nav-link.disabled[b-ueu2l5lfu6] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.sidebar-tabs .nav-link.active[b-ueu2l5lfu6] {
    background: #ffffff;
    color: #667eea;
    border-bottom: 3px solid #667eea;
    font-weight: 600;
}

.sidebar-tabs .nav-link:hover:not(.disabled):not(.active)[b-ueu2l5lfu6] {
    background: rgba(102, 126, 234, 0.05);
    color: #495057;
    transform: translateY(-1px);
}

.sidebar-tabs .nav-link:focus[b-ueu2l5lfu6] {
    outline: 2px solid #667eea;
    outline-offset: -2px;
    z-index: 1;
}

.sidebar-tabs .nav-link i[b-ueu2l5lfu6] {
    font-size: 16px;
}

.sidebar-tabs .nav-link span[b-ueu2l5lfu6] {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-toggle[b-ueu2l5lfu6] {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 4px 8px;
}

.sidebar-content[b-ueu2l5lfu6] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Layers Tab */
.tab-content-layers[b-ueu2l5lfu6] {
    height: 100%;
}

.layers-header[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.layers-header h6[b-ueu2l5lfu6] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.layers-list[b-ueu2l5lfu6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layer-item[b-ueu2l5lfu6] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.layer-item:hover[b-ueu2l5lfu6] {
    background: #e9ecef;
    border-color: #dee2e6;
}

.layer-item.selected[b-ueu2l5lfu6] {
    background: #e3f2fd;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.layer-info[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.layer-icon[b-ueu2l5lfu6] {
    color: #6c757d;
    font-size: 14px;
}

.layer-name[b-ueu2l5lfu6] {
    font-size: 13px;
    font-weight: 500;
    color: #495057;
}

.layer-actions[b-ueu2l5lfu6] {
    display: flex;
    gap: 4px;
}

.layer-actions .btn[b-ueu2l5lfu6] {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
}

/* Empty State */
.empty-state[b-ueu2l5lfu6] {
    text-align: center;
    padding: 32px 16px;
    border-radius: 8px;
    background: rgba(248, 249, 250, 0.5);
    border: 2px dashed #dee2e6;
}

.empty-state i[b-ueu2l5lfu6] {
    margin-bottom: 12px;
    opacity: 0.7;
}

.empty-state p[b-ueu2l5lfu6] {
    margin-bottom: 8px;
    font-weight: 500;
    color: #6c757d;
}

.empty-state small[b-ueu2l5lfu6] {
    line-height: 1.5;
    color: #868e96;
}

/* Canvas Container */
.editor-canvas-container[b-ueu2l5lfu6] {
    flex: 1;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Properties Tab */
.tab-content-properties[b-ueu2l5lfu6] {
    height: 100%;
}

/* Settings Tab */
.tab-content-settings[b-ueu2l5lfu6] {
    height: 100%;
}

/* Button Overrides */
.editor-header .btn[b-ueu2l5lfu6] {
    min-height: 44px;
    min-width: 44px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    outline: none;
}

.editor-header .btn-sm[b-ueu2l5lfu6] {
    padding: 4px 8px;
    font-size: 11px;
}

.sidebar-content .btn-sm[b-ueu2l5lfu6] {
    padding: 4px 8px;
    font-size: 11px;
}

/* Enhanced Button Styling - 2025 Principles */
.editor-header .btn[b-ueu2l5lfu6] {
    min-height: 44px;
    min-width: 44px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    outline: none;
}

/* Tool Buttons */
.tool-btn[b-ueu2l5lfu6] {
    min-width: 48px;
    padding: 8px 12px;
}

.tool-btn:hover[b-ueu2l5lfu6] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.tool-btn:focus[b-ueu2l5lfu6] {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.tool-btn.btn-primary[b-ueu2l5lfu6] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.tool-btn.btn-outline-primary[b-ueu2l5lfu6] {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #495057;
}

.tool-btn.btn-outline-primary:hover[b-ueu2l5lfu6] {
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f3ff 100%);
    border-color: #667eea;
    color: #667eea;
}

/* Action Buttons (Undo/Redo) */
.action-btn[b-ueu2l5lfu6] {
    min-width: 44px;
    padding: 8px 10px;
}

.action-btn:disabled[b-ueu2l5lfu6] {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.action-btn:hover:not(:disabled)[b-ueu2l5lfu6] {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.action-btn:focus[b-ueu2l5lfu6] {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Primary Save Button */
.save-btn[b-ueu2l5lfu6] {
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.save-btn.btn-success[b-ueu2l5lfu6] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.save-btn.btn-success:hover[b-ueu2l5lfu6] {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
}

.save-btn.btn-outline-secondary[b-ueu2l5lfu6] {
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #6c757d;
}

.save-btn.btn-outline-secondary:disabled[b-ueu2l5lfu6] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.save-btn:focus[b-ueu2l5lfu6] {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* Fullscreen Buttons */
.fullscreen-btn[b-ueu2l5lfu6],
.exit-btn[b-ueu2l5lfu6] {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.fullscreen-btn:hover[b-ueu2l5lfu6],
.exit-btn:hover[b-ueu2l5lfu6] {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
    color: #495057;
}

.fullscreen-btn:focus[b-ueu2l5lfu6],
.exit-btn:focus[b-ueu2l5lfu6] {
    outline: 2px solid #6c757d;
    outline-offset: 2px;
}

/* Autosave Indicator */
.autosave-indicator[b-ueu2l5lfu6] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(40, 167, 69, 0.1);
    font-size: 12px;
    font-weight: 500;
    min-height: 32px;
    animation: fadeInOut-b-ueu2l5lfu6 0.3s ease;
}

@keyframes fadeInOut-b-ueu2l5lfu6 {
    0% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Dividers */
.divider-vertical[b-ueu2l5lfu6] {
    width: 1px;
    height: 28px;
    background: #e5e5e5;
    margin: 0 8px;
}

/* Button Groups */
.btn-group[b-ueu2l5lfu6] {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-group .btn[b-ueu2l5lfu6] {
    border-radius: 0;
    border-right: 1px solid #e5e5e5;
}

.btn-group .btn:first-child[b-ueu2l5lfu6] {
    border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child[b-ueu2l5lfu6] {
    border-radius: 0 8px 8px 0;
    border-right: none;
}

.btn-group .btn:only-child[b-ueu2l5lfu6] {
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .editor-sidebar.docked[b-ueu2l5lfu6] {
        width: 280px;
    }
    
    .editor-header[b-ueu2l5lfu6] {
        padding: 0 16px;
    }
    
    .zoom-controls[b-ueu2l5lfu6] {
        gap: 2px;
        padding: 4px 8px;
    }
    
    .zoom-btn[b-ueu2l5lfu6] {
        min-width: 32px;
        min-height: 32px;
    }
}

@media (max-width: 768px) {
    .editor-header-center[b-ueu2l5lfu6] {
        display: none;
    }
    
    .editor-sidebar.docked[b-ueu2l5lfu6] {
        position: fixed;
        top: 60px;
        left: 0;
        height: calc(100vh - 60px);
        width: 100%;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.1);
    }
    
    .editor-sidebar .sidebar-content[b-ueu2l5lfu6] {
        background: white;
        width: 320px;
        height: 100%;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    }
    
    .editor-header[b-ueu2l5lfu6] {
        flex-wrap: wrap;
        height: auto;
        min-height: 60px;
        padding: 8px 16px;
    }
    
    .editor-actions[b-ueu2l5lfu6] {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .autosave-indicator[b-ueu2l5lfu6] {
        display: none;
    }

    .editor-sidebar.floating[b-ueu2l5lfu6] {
        top: 60px;
        right: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        border-radius: 0;
    }

    .editor-sidebar.floating .sidebar-content[b-ueu2l5lfu6] {
        width: 100%;
        border-radius: 0;
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn[b-ueu2l5lfu6] {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .zone-item[b-ueu2l5lfu6],
    .sidebar-tabs .nav-link[b-ueu2l5lfu6],
    .btn[b-ueu2l5lfu6] {
        border-width: 0.5px;
    }
}

/* Focus Visible Polyfill for Better Accessibility */
.btn:focus-visible[b-ueu2l5lfu6] {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible)[b-ueu2l5lfu6] {
    outline: none;
}

/* Scrollbar Styling */
.sidebar-content[b-ueu2l5lfu6]::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content[b-ueu2l5lfu6]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar-content[b-ueu2l5lfu6]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar-content[b-ueu2l5lfu6]::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.json-viewer[b-ueu2l5lfu6] {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    white-space: pre-wrap;
    overflow: auto;
    max-height: 100%;
    overflow-x: auto;
}
/* /Components/Zone/ZonePropertiesPanel.razor.rz.scp.css */
.zone-properties-panel[b-ruh18lnlff] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.properties-header[b-ruh18lnlff] {
    padding: 16px 0 12px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 16px;
}

.properties-header h6[b-ruh18lnlff] {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.properties-header small[b-ruh18lnlff] {
    font-size: 12px;
}

.properties-content[b-ruh18lnlff] {
    flex: 1;
    overflow-y: auto;
}

/* Property Sections */
.property-section[b-ruh18lnlff] {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.property-section:last-of-type[b-ruh18lnlff] {
    border-bottom: none;
    margin-bottom: 16px;
}

.section-title[b-ruh18lnlff] {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.section-title[b-ruh18lnlff]::before {
    content: '';
    width: 3px;
    height: 12px;
    background: #667eea;
    margin-right: 8px;
    border-radius: 2px;
}

/* Property Items */
.property-item[b-ruh18lnlff] {
    margin-bottom: 12px;
}

.property-label[b-ruh18lnlff] {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.property-grid[b-ruh18lnlff] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

/* Form Controls */
.form-control-sm[b-ruh18lnlff] {
    font-size: 12px;
    padding: 4px 8px;
    border-color: #e5e5e5;
}

.form-control-sm:focus[b-ruh18lnlff] {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-select-sm[b-ruh18lnlff] {
    font-size: 12px;
    padding: 4px 8px;
    border-color: #e5e5e5;
}

.form-select-sm:focus[b-ruh18lnlff] {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Color Input Group */
.color-input-group[b-ruh18lnlff] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.form-control-color[b-ruh18lnlff] {
    width: 32px;
    height: 32px;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
}

.color-input-group .form-control[b-ruh18lnlff] {
    flex: 1;
}

/* Range Input Group */
.range-input-group[b-ruh18lnlff] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-range[b-ruh18lnlff] {
    flex: 1;
    height: 4px;
}

.form-range[b-ruh18lnlff]::-webkit-slider-thumb {
    background: #667eea;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-range[b-ruh18lnlff]::-moz-range-thumb {
    background: #667eea;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.range-value[b-ruh18lnlff] {
    font-size: 11px;
    font-weight: 500;
    color: #6c757d;
    min-width: 30px;
    text-align: right;
}

/* Form Switch */
.form-check-input:checked[b-ruh18lnlff] {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus[b-ruh18lnlff] {
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-check-label[b-ruh18lnlff] {
    font-size: 12px;
    color: #495057;
}

/* Properties Actions */
.properties-actions[b-ruh18lnlff] {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}

.properties-actions .btn[b-ruh18lnlff] {
    flex: 1;
    font-size: 11px;
    padding: 6px 12px;
}

/* Scrollbar Styling */
.properties-content[b-ruh18lnlff]::-webkit-scrollbar {
    width: 4px;
}

.properties-content[b-ruh18lnlff]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.properties-content[b-ruh18lnlff]::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 2px;
}

.properties-content[b-ruh18lnlff]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-grid[b-ruh18lnlff] {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .properties-header[b-ruh18lnlff] {
        padding: 12px 0 8px 0;
    }
    
    .property-section[b-ruh18lnlff] {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .properties-actions[b-ruh18lnlff] {
        flex-direction: column;
    }
    
    .properties-actions .btn[b-ruh18lnlff] {
        flex: none;
    }
}

/* Input State Indicators */
.form-control:invalid[b-ruh18lnlff] {
    border-color: #dc3545;
}

.form-control:invalid:focus[b-ruh18lnlff] {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-control:valid:focus[b-ruh18lnlff] {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Disabled State */
.form-control:disabled[b-ruh18lnlff],
.form-select:disabled[b-ruh18lnlff] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Custom Property Type Indicators */
.property-item[data-type="position"] .property-label[b-ruh18lnlff]::after {
    content: '📍';
    margin-left: 4px;
}

.property-item[data-type="color"] .property-label[b-ruh18lnlff]::after {
    content: '🎨';
    margin-left: 4px;
}

.property-item[data-type="size"] .property-label[b-ruh18lnlff]::after {
    content: '📏';
    margin-left: 4px;
}

/* Text Formatting Styles */
.size-controls[b-ruh18lnlff] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-input[b-ruh18lnlff] {
    width: 70px;
    text-align: center;
}

.btn-group-text-style[b-ruh18lnlff] {
    display: flex;
    gap: 2px;
}

.btn-group-text-style .btn[b-ruh18lnlff] {
    border-radius: 4px !important;
    min-width: 36px;
    min-height: 36px;
}

.color-presets[b-ruh18lnlff] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.color-preset[b-ruh18lnlff] {
    width: 32px;
    height: 32px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.color-preset:hover[b-ruh18lnlff] {
    border-color: #667eea;
    transform: scale(1.1);
}

.color-preset.selected[b-ruh18lnlff] {
    border-color: #667eea;
    border-width: 3px;
}

.color-preset.selected[b-ruh18lnlff]::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.clear-bg[b-ruh18lnlff] {
    width: 100%;
    margin-top: 8px;
}

.text-formatting-actions[b-ruh18lnlff] {
    display: flex;
    gap: 8px;
}

.text-formatting-actions .btn[b-ruh18lnlff] {
    flex: 1;
} 
/* /Components/Zone/ZoneTemplateSettings.razor.rz.scp.css */
.zone-template-settings[b-z8ttlf96pe] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.settings-header[b-z8ttlf96pe] {
    padding: 16px 0 12px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 16px;
}

.settings-header h6[b-z8ttlf96pe] {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.settings-header small[b-z8ttlf96pe] {
    font-size: 12px;
}

.settings-content[b-z8ttlf96pe] {
    flex: 1;
    overflow-y: auto;
}

/* Setting Sections */
.setting-section[b-z8ttlf96pe] {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.setting-section:last-of-type[b-z8ttlf96pe] {
    border-bottom: none;
    margin-bottom: 16px;
}

.section-title[b-z8ttlf96pe] {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.section-title[b-z8ttlf96pe]::before {
    content: '';
    width: 3px;
    height: 12px;
    background: #667eea;
    margin-right: 8px;
    border-radius: 2px;
}

/* Setting Items */
.setting-item[b-z8ttlf96pe] {
    margin-bottom: 12px;
}

.setting-label[b-z8ttlf96pe] {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Dimension Inputs */
.dimension-inputs[b-z8ttlf96pe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Image Preview */
.image-preview[b-z8ttlf96pe] {
    position: relative;
    display: inline-block;
}

.preview-image[b-z8ttlf96pe] {
    max-width: 200px;
    max-height: 120px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    object-fit: cover;
}

.remove-image[b-z8ttlf96pe] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grid Controls */
.grid-controls[b-z8ttlf96pe] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grid-size-control[b-z8ttlf96pe] {
    padding-left: 24px;
}

.grid-size-control .form-label[b-z8ttlf96pe] {
    font-size: 11px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 4px;
}

/* Color Input Group */
.color-input-group[b-z8ttlf96pe] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.form-control-color[b-z8ttlf96pe] {
    width: 32px;
    height: 32px;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
}

.color-input-group .form-control[b-z8ttlf96pe] {
    flex: 1;
}

/* JSON Actions */
.json-actions[b-z8ttlf96pe] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.json-actions .btn[b-z8ttlf96pe] {
    font-size: 11px;
    padding: 4px 8px;
}

/* Thumbnail Preview */
.thumbnail-preview[b-z8ttlf96pe] {
    margin-top: 8px;
}

.preview-thumbnail[b-z8ttlf96pe] {
    max-width: 100px;
    max-height: 75px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    object-fit: cover;
}

/* Form Controls */
.form-control-sm[b-z8ttlf96pe] {
    font-size: 12px;
    padding: 4px 8px;
    border-color: #e5e5e5;
}

.form-control-sm:focus[b-z8ttlf96pe] {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-select-sm[b-z8ttlf96pe] {
    font-size: 12px;
    padding: 4px 8px;
    border-color: #e5e5e5;
}

.form-select-sm:focus[b-z8ttlf96pe] {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Input Groups */
.input-group-sm .input-group-text[b-z8ttlf96pe] {
    font-size: 11px;
    font-weight: 500;
    background-color: #f8f9fa;
    border-color: #e5e5e5;
    color: #6c757d;
}

/* Form Switch */
.form-check-input:checked[b-z8ttlf96pe] {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus[b-z8ttlf96pe] {
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-check-label[b-z8ttlf96pe] {
    font-size: 12px;
    color: #495057;
}

/* Monospace Font */
.font-monospace[b-z8ttlf96pe] {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.4;
}

/* Scrollbar Styling */
.settings-content[b-z8ttlf96pe]::-webkit-scrollbar {
    width: 4px;
}

.settings-content[b-z8ttlf96pe]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.settings-content[b-z8ttlf96pe]::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 2px;
}

.settings-content[b-z8ttlf96pe]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dimension-inputs[b-z8ttlf96pe] {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .settings-header[b-z8ttlf96pe] {
        padding: 12px 0 8px 0;
    }
    
    .setting-section[b-z8ttlf96pe] {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .json-actions[b-z8ttlf96pe] {
        flex-direction: column;
    }
    
    .json-actions .btn[b-z8ttlf96pe] {
        flex: none;
        width: 100%;
    }
    
    .color-input-group[b-z8ttlf96pe] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-control-color[b-z8ttlf96pe] {
        width: 100%;
        height: 40px;
    }
}

/* Input State Indicators */
.form-control:invalid[b-z8ttlf96pe] {
    border-color: #dc3545;
}

.form-control:invalid:focus[b-z8ttlf96pe] {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-control:valid:focus[b-z8ttlf96pe] {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Disabled State */
.form-control:disabled[b-z8ttlf96pe],
.form-select:disabled[b-z8ttlf96pe] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
} 
/* /Pages/TemplatesList.razor.rz.scp.css */
.templates-list[b-bfu4wkbulh] {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.list-header[b-bfu4wkbulh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.list-header h1[b-bfu4wkbulh] {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.create-button[b-bfu4wkbulh] {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.create-button:hover[b-bfu4wkbulh] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.templates-grid[b-bfu4wkbulh] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.template-card[b-bfu4wkbulh] {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.template-card:hover[b-bfu4wkbulh] {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.template-thumbnail[b-bfu4wkbulh] {
    height: 180px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.template-thumbnail img[b-bfu4wkbulh] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card:hover .template-thumbnail img[b-bfu4wkbulh] {
    transform: scale(1.05);
}

.thumbnail-placeholder[b-bfu4wkbulh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.thumbnail-placeholder i[b-bfu4wkbulh] {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.template-content[b-bfu4wkbulh] {
    padding: 1.5rem;
}

.template-content h3[b-bfu4wkbulh] {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.template-content p[b-bfu4wkbulh] {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template-meta[b-bfu4wkbulh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 1rem;
}

.status[b-bfu4wkbulh] {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-draft[b-bfu4wkbulh] {
    background-color: #fef3c7;
    color: #92400e;
}

.status-published[b-bfu4wkbulh] {
    background-color: #d1fae5;
    color: #065f46;
}

.status-archived[b-bfu4wkbulh] {
    background-color: #e5e7eb;
    color: #374151;
}

.date[b-bfu4wkbulh] {
    color: #9ca3af;
    font-weight: 500;
}

.no-templates[b-bfu4wkbulh] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed #e5e7eb;
}

.no-templates p[b-bfu4wkbulh] {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .templates-list[b-bfu4wkbulh] {
        padding: 1rem;
    }
    
    .list-header[b-bfu4wkbulh] {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .templates-grid[b-bfu4wkbulh] {
        grid-template-columns: 1fr;
    }
    
    .template-meta[b-bfu4wkbulh] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-xhq8wx871u] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xhq8wx871u] {
    flex: 1;
}

.sidebar[b-xhq8wx871u] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xhq8wx871u] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xhq8wx871u]  a, .top-row[b-xhq8wx871u]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-xhq8wx871u]  a:hover, .top-row[b-xhq8wx871u]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-xhq8wx871u]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-xhq8wx871u] {
        display: none;
    }

    .top-row.auth[b-xhq8wx871u] {
        justify-content: space-between;
    }

    .top-row[b-xhq8wx871u]  a, .top-row[b-xhq8wx871u]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xhq8wx871u] {
        flex-direction: row;
    }

    .sidebar[b-xhq8wx871u] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xhq8wx871u] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xhq8wx871u]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xhq8wx871u], article[b-xhq8wx871u] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-js6s4o785y] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-js6s4o785y] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-js6s4o785y] {
    font-size: 1.1rem;
}

.oi[b-js6s4o785y] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-js6s4o785y] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-js6s4o785y] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-js6s4o785y] {
        padding-bottom: 1rem;
    }

    .nav-item[b-js6s4o785y]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-js6s4o785y]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-js6s4o785y]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-js6s4o785y] {
        display: none;
    }

    .collapse[b-js6s4o785y] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-js6s4o785y] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
