/* ========================================
   CSS VARIABLES & DESIGN SYSTEM - DARK THEME WITH RED ACCENTS - HOJAYFA
======================================== */
:root {
    /* Red Color Palette for Primary Actions - Hojayfa1 */
    --hojayfa-primary-500: #ef4444;
    --hojayfa-primary-600: #dc2626;
    --hojayfa-primary-700: #b91c1c;
    --hojayfa-primary-800: #991b1b;
    --hojayfa-primary-50: #fef2f2;
    --hojayfa-primary-100: #fee2e2;
    
    /* Dark Theme Grays - Hojayfa2 */
    --hojayfa-gray-50: #18181b;
    --hojayfa-gray-100: #27272a;
    --hojayfa-gray-200: #3f3f46;
    --hojayfa-gray-300: #52525b;
    --hojayfa-gray-400: #71717a;
    --hojayfa-gray-500: #a1a1aa;
    --hojayfa-gray-600: #d4d4d8;
    --hojayfa-gray-700: #e4e4e7;
    --hojayfa-gray-800: #f4f4f5;
    --hojayfa-gray-900: #fafafa;
    
    /* Background Colors - Hojayfa3 */
    --hojayfa-bg-primary: #09090b;
    --hojayfa-bg-secondary: #18181b;
    --hojayfa-bg-tertiary: #27272a;
    --hojayfa-bg-elevated: #3f3f46;
    
    /* Text Colors - Hojayfa4 */
    --hojayfa-text-primary: #fafafa;
    --hojayfa-text-secondary: #d4d4d8;
    --hojayfa-text-tertiary: #a1a1aa;
    --hojayfa-text-muted: #71717a;
    
    /* Status Colors - Hojayfa5 */
    --hojayfa-success-500: #22c55e;
    --hojayfa-success-600: #16a34a;
    --hojayfa-error-500: #ef4444;
    --hojayfa-error-600: #dc2626;
    --hojayfa-warning-500: #f59e0b;
    
    /* Spacing - Hojayfa6 */
    --hojayfa-spacing-xs: 0.25rem;
    --hojayfa-spacing-sm: 0.5rem;
    --hojayfa-spacing-md: 1rem;
    --hojayfa-spacing-lg: 1.5rem;
    --hojayfa-spacing-xl: 2rem;
    --hojayfa-spacing-2xl: 3rem;
    
    /* Typography - Hojayfa7 */
    --hojayfa-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --hojayfa-font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    
    /* Shadows - Hojayfa8 */
    --hojayfa-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --hojayfa-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.5);
    --hojayfa-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
    --hojayfa-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.6);
    
    /* Border Radius - Hojayfa9 */
    --hojayfa-radius-sm: 0.25rem;
    --hojayfa-radius-md: 0.5rem;
    --hojayfa-radius-lg: 0.75rem;
    --hojayfa-radius-xl: 1rem;
    --hojayfa-radius-full: 9999px;
    
    /* Transitions - Hojayfa10 */
    --hojayfa-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --hojayfa-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --hojayfa-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES - HOJAYFA11
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   COMPONENT: BUTTON - RED THEME - HOJAYFA12
======================================== */
.hojayfa-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--hojayfa-spacing-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--hojayfa-radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--hojayfa-transition-fast);
    white-space: nowrap;
    user-select: none;
    outline: none;
    font-family: var(--hojayfa-font-sans);
}

.hojayfa-btn1:focus-visible {
    outline: 2px solid var(--hojayfa-primary-500);
    outline-offset: 2px;
}

.hojayfa-btn1:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Red Primary Buttons - Hojayfa13 */
.hojayfa-btn-primary1 {
    background: var(--hojayfa-primary-600);
    color: white;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.hojayfa-btn-primary1:hover:not(:disabled) {
    background: var(--hojayfa-primary-700);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5), var(--hojayfa-shadow-lg);
}

.hojayfa-btn-primary1:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

/* Secondary Buttons - Hojayfa14 */
.hojayfa-btn-secondary1 {
    background: var(--hojayfa-bg-elevated);
    color: var(--hojayfa-text-primary);
    border: 1px solid var(--hojayfa-gray-300);
}

.hojayfa-btn-secondary1:hover:not(:disabled) {
    background: var(--hojayfa-gray-300);
    border-color: var(--hojayfa-gray-400);
    box-shadow: var(--hojayfa-shadow-md);
}

/* Ghost Buttons - Hojayfa15 */
.hojayfa-btn-ghost1 {
    background: transparent;
    color: var(--hojayfa-text-secondary);
}

.hojayfa-btn-ghost1:hover:not(:disabled) {
    background: var(--hojayfa-bg-tertiary);
    color: var(--hojayfa-text-primary);
}

/* Danger Buttons - Hojayfa16 */
.hojayfa-btn-danger1 {
    background: var(--hojayfa-error-600);
    color: white;
}

.hojayfa-btn-danger1:hover:not(:disabled) {
    background: var(--hojayfa-error-500);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.hojayfa-btn-sm1 {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.hojayfa-btn-lg1 {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.hojayfa-btn-icon1 {
    padding: 0.625rem;
    width: 2.5rem;
    height: 2.5rem;
}

.hojayfa-btn-icon1.hojayfa-btn-sm1 {
    width: 2rem;
    height: 2rem;
    padding: 0.375rem;
}

/* ========================================
   COMPONENT: FILE DROP ZONE - HOJAYFA17
======================================== */
.hojayfa-upload-container1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--hojayfa-spacing-xl) var(--hojayfa-spacing-md);
}

.hojayfa-file-drop-zone1 {
   border: 3px dashed rgba(239, 68, 68, 0.5);
    border-radius: var(--hojayfa-radius-xl);
    padding: var(--hojayfa-spacing-2xl);
    text-align: center;
    transition: all var(--hojayfa-transition-base);
    cursor: pointer;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--hojayfa-spacing-lg);
}

.hojayfa-file-drop-zone1.hojayfa-drag-over1 {
    border-color: var(--hojayfa-primary-500);
    background: rgba(220, 38, 38, 0.1);
    transform: scale(1.01);
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.3), var(--hojayfa-shadow-lg);
}

.hojayfa-file-drop-zone1 input[type="file"] {
    display: none;
}

.hojayfa-drop-icon1 {
    font-size: 4rem;
    filter: grayscale(0.3) brightness(1.2);
}

.hojayfa-drop-text1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hojayfa-text-primary);
}

.hojayfa-drop-hint1 {
    font-size: 0.875rem;
    color: var(--hojayfa-text-tertiary);
    max-width: 500px;
}

.hojayfa-supported-formats1 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hojayfa-spacing-sm);
    justify-content: center;
    margin-top: var(--hojayfa-spacing-sm);
}

.hojayfa-format-badge1 {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--hojayfa-bg-elevated);
    color: var(--hojayfa-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--hojayfa-radius-full);
    text-transform: uppercase;
    border: 1px solid var(--hojayfa-gray-200);
}

.hojayfa-tool-header1 {
            text-align: center;
            margin-bottom: 1.5rem;
            padding: 1rem 0;
	color: #f70c3f;
        }

.hojayfa-tool-header1 h1 {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

/* ========================================
   INLINE EDITOR SECTION - HOJAYFA18
======================================== */
.hojayfa-editor-section1 {
    margin-top: var(--hojayfa-spacing-xl);
    border-radius: var(--hojayfa-radius-xl);
    padding: var(--hojayfa-spacing-xl);
    border: 1px solid var(--hojayfa-gray-200);
    display: none;
}

.hojayfa-editor-section1.hojayfa-visible1 {
    display: block;
    animation: hojayfaSlideDown1 0.3s ease-out;
}

@keyframes hojayfaSlideDown1 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hojayfa-section-header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--hojayfa-spacing-lg);
    padding-bottom: var(--hojayfa-spacing-md);
    border-bottom: 2px solid var(--hojayfa-gray-200);
    flex-wrap: wrap;
    gap: var(--hojayfa-spacing-md);
}

.hojayfa-section-title1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hojayfa-text-primary);
    display: flex;
    align-items: center;
    gap: var(--hojayfa-spacing-sm);
}

.hojayfa-section-actions1 {
    display: flex;
    gap: var(--hojayfa-spacing-sm);
    flex-wrap: wrap;
}

/* ========================================
   EDITOR LAYOUT - HOJAYFA19
======================================== */
.hojayfa-editor-layout1 {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--hojayfa-spacing-xl);
    margin-bottom: var(--hojayfa-spacing-xl);
}

@media (max-width: 1024px) {
    .hojayfa-editor-layout1 {
        grid-template-columns: 1fr;
    }
}

.hojayfa-preview-section1 {
    display: flex;
    flex-direction: column;
    gap: var(--hojayfa-spacing-lg);
}

.hojayfa-preview-container1 {
    background: var(--hojayfa-bg-tertiary);
    border-radius: var(--hojayfa-radius-lg);
    padding: var(--hojayfa-spacing-lg);
    border: 1px solid var(--hojayfa-gray-200);
}

.hojayfa-preview-header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--hojayfa-spacing-md);
}

.hojayfa-preview-label1 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hojayfa-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hojayfa-preview-info1 {
    font-size: 0.75rem;
    color: var(--hojayfa-text-muted);
}

.hojayfa-preview-canvas-container1 {
    background: var(--hojayfa-bg-primary);
    border-radius: var(--hojayfa-radius-md);
    padding: var(--hojayfa-spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px solid var(--hojayfa-gray-300);
    position: relative;
    overflow: auto;
}

.hojayfa-preview-canvas1 {
    max-width: 100%;
    max-height: 500px;
    border-radius: var(--hojayfa-radius-sm);
    box-shadow: var(--hojayfa-shadow-md);
}

.hojayfa-controls-sidebar1 {
    background: var(--hojayfa-bg-tertiary);
    border-radius: var(--hojayfa-radius-lg);
    padding: var(--hojayfa-spacing-lg);
    border: 1px solid var(--hojayfa-gray-200);
    height: fit-content;
    position: sticky;
    top: var(--hojayfa-spacing-lg);
}

.hojayfa-control-group1 {
    margin-bottom: var(--hojayfa-spacing-lg);
}

.hojayfa-control-group1:last-child {
    margin-bottom: 0;
}

.hojayfa-control-label1 {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hojayfa-text-secondary);
    margin-bottom: var(--hojayfa-spacing-sm);
}

.hojayfa-control-row1 {
    display: flex;
    gap: var(--hojayfa-spacing-sm);
    flex-wrap: wrap;
    align-items: center;
}

.hojayfa-slider-container1 {
    flex: 1;
    min-width: 200px;
}

.hojayfa-slider1 {
    width: 100%;
    height: 6px;
    border-radius: var(--hojayfa-radius-full);
    background: var(--hojayfa-gray-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.hojayfa-slider1::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hojayfa-primary-600);
    cursor: pointer;
    transition: all var(--hojayfa-transition-fast);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.hojayfa-slider1::-webkit-slider-thumb:hover {
    background: var(--hojayfa-primary-700);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.7);
}

.hojayfa-slider1::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hojayfa-primary-600);
    cursor: pointer;
    border: none;
    transition: all var(--hojayfa-transition-fast);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.hojayfa-slider1::-moz-range-thumb:hover {
    background: var(--hojayfa-primary-700);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.7);
}

.hojayfa-numeric-input1 {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--hojayfa-gray-300);
    border-radius: var(--hojayfa-radius-md);
    font-size: 0.875rem;
    text-align: center;
    font-weight: 600;
    background: var(--hojayfa-bg-primary);
    color: var(--hojayfa-text-primary);
}

.hojayfa-numeric-input1:focus {
    outline: 2px solid var(--hojayfa-primary-600);
    outline-offset: 0;
    border-color: var(--hojayfa-primary-600);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.hojayfa-toggle-switch1 {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.hojayfa-toggle-switch1 input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hojayfa-toggle-slider1 {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--hojayfa-gray-300);
    border-radius: var(--hojayfa-radius-full);
    transition: var(--hojayfa-transition-base);
}

.hojayfa-toggle-slider1:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--hojayfa-transition-base);
}

input:checked + .hojayfa-toggle-slider1 {
    background: var(--hojayfa-primary-600);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

input:checked + .hojayfa-toggle-slider1:before {
    transform: translateX(20px);
}

.hojayfa-toggle-label1 {
    display: flex;
    align-items: center;
    gap: var(--hojayfa-spacing-sm);
    cursor: pointer;
}

.hojayfa-select-input1 {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--hojayfa-gray-300);
    border-radius: var(--hojayfa-radius-md);
    font-size: 0.875rem;
    background: var(--hojayfa-bg-primary);
    color: var(--hojayfa-text-primary);
    cursor: pointer;
    transition: var(--hojayfa-transition-fast);
}

.hojayfa-select-input1:focus {
    outline: 2px solid var(--hojayfa-primary-600);
    outline-offset: 0;
    border-color: var(--hojayfa-primary-600);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.hojayfa-divider1 {
    height: 1px;
    background: var(--hojayfa-gray-200);
    margin: var(--hojayfa-spacing-lg) 0;
}

/* ========================================
   IMAGE GALLERY / THUMBNAILS - HOJAYFA20
======================================== */
.hojayfa-gallery-section1 {
    margin-top: var(--hojayfa-spacing-xl);
    display: none;
}

.hojayfa-gallery-section1.hojayfa-visible1 {
    display: block;
}

.hojayfa-gallery-header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--hojayfa-spacing-lg);
    flex-wrap: wrap;
    gap: var(--hojayfa-spacing-md);
}

.hojayfa-gallery-title1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hojayfa-text-primary);
}

.hojayfa-gallery-actions1 {
    display: flex;
    gap: var(--hojayfa-spacing-sm);
    flex-wrap: wrap;
}

.hojayfa-image-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--hojayfa-spacing-md);
}

@media (max-width: 768px) {
    .hojayfa-image-grid1 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ========================================
   THUMBNAIL CARD - HOJAYFA21
======================================== */
.hojayfa-image-card1 {
    background: var(--hojayfa-bg-secondary);
    border-radius: var(--hojayfa-radius-lg);
    box-shadow: var(--hojayfa-shadow-sm);
    overflow: hidden;
    transition: all var(--hojayfa-transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

.hojayfa-image-card1:hover {
    box-shadow: var(--hojayfa-shadow-lg);
    transform: translateY(-2px);
    border-color: var(--hojayfa-gray-300);
}

.hojayfa-image-card1.hojayfa-selected1 {
    border-color: var(--hojayfa-primary-600);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2), var(--hojayfa-shadow-lg);
}

.hojayfa-image-card1.hojayfa-active1 {
    border-color: var(--hojayfa-primary-500);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.3), var(--hojayfa-shadow-xl);
}

.hojayfa-image-card-thumbnail1 {
    position: relative;
    width: 100%;
    height: 150px;
    background: var(--hojayfa-bg-tertiary);
    overflow: hidden;
}

.hojayfa-image-card-thumbnail1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hojayfa-transition-base);
}

.hojayfa-image-card1:hover .hojayfa-image-card-thumbnail1 img {
    transform: scale(1.05);
}

.hojayfa-image-card-checkbox1 {
    position: absolute;
    top: var(--hojayfa-spacing-sm);
    left: var(--hojayfa-spacing-sm);
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    z-index: 10;
    accent-color: var(--hojayfa-primary-600);
}

.hojayfa-rotation-badge1 {
    position: absolute;
    top: var(--hojayfa-spacing-sm);
    right: var(--hojayfa-spacing-sm);
    padding: 0.25rem 0.5rem;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--hojayfa-radius-sm);
    backdrop-filter: blur(4px);
    box-shadow: var(--hojayfa-shadow-md);
}

.hojayfa-image-card-info1 {
    padding: var(--hojayfa-spacing-sm);
}

.hojayfa-image-card-filename1 {
    font-weight: 600;
    color: var(--hojayfa-text-primary);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.hojayfa-image-card-meta1 {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--hojayfa-text-tertiary);
    margin-top: var(--hojayfa-spacing-xs);
}

/* ========================================
   BULK ACTIONS BAR - HOJAYFA22
======================================== */
.hojayfa-bulk-actions-bar1 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--hojayfa-bg-secondary);
    border-top: 1px solid var(--hojayfa-gray-200);
    padding: var(--hojayfa-spacing-md) var(--hojayfa-spacing-lg);
    box-shadow: var(--hojayfa-shadow-xl);
    transform: translateY(100%);
    transition: transform var(--hojayfa-transition-base);
    z-index: 100;
}

.hojayfa-bulk-actions-bar1.hojayfa-visible1 {
    transform: translateY(0);
}

.hojayfa-bulk-actions-content1 {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--hojayfa-spacing-md);
}

.hojayfa-bulk-actions-info1 {
    font-weight: 600;
    color: var(--hojayfa-text-primary);
}

.hojayfa-bulk-actions-buttons1 {
    display: flex;
    gap: var(--hojayfa-spacing-sm);
    flex-wrap: wrap;
}

/* ========================================
   COMPONENT: TOAST NOTIFICATIONS - HOJAYFA23
======================================== */
.hojayfa-toast-container1 {
    position: fixed;
    top: var(--hojayfa-spacing-lg);
    right: var(--hojayfa-spacing-lg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: var(--hojayfa-spacing-sm);
    max-width: 400px;
}

@media (max-width: 768px) {
    .hojayfa-toast-container1 {
        left: var(--hojayfa-spacing-md);
        right: var(--hojayfa-spacing-md);
        max-width: none;
    }
}

.hojayfa-toast1 {
    background: var(--hojayfa-bg-secondary);
    border-radius: var(--hojayfa-radius-lg);
    box-shadow: var(--hojayfa-shadow-xl);
    padding: var(--hojayfa-spacing-md) var(--hojayfa-spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--hojayfa-spacing-md);
    animation: hojayfaSlideIn1 var(--hojayfa-transition-base);
    border: 1px solid var(--hojayfa-gray-200);
    border-left: 4px solid var(--hojayfa-primary-600);
}

@keyframes hojayfaSlideIn1 {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hojayfa-toast1.hojayfa-success1 {
    border-left-color: var(--hojayfa-success-500);
}

.hojayfa-toast1.hojayfa-error1 {
    border-left-color: var(--hojayfa-error-500);
}

.hojayfa-toast1.hojayfa-warning1 {
    border-left-color: var(--hojayfa-warning-500);
}

.hojayfa-toast-icon1 {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hojayfa-toast1.hojayfa-success1 .hojayfa-toast-icon1 { color: var(--hojayfa-success-500); }
.hojayfa-toast1.hojayfa-error1 .hojayfa-toast-icon1 { color: var(--hojayfa-error-500); }
.hojayfa-toast1.hojayfa-warning1 .hojayfa-toast-icon1 { color: var(--hojayfa-warning-500); }
.hojayfa-toast1.hojayfa-info1 .hojayfa-toast-icon1 { color: var(--hojayfa-primary-600); }

.hojayfa-toast-content1 {
    flex: 1;
}

.hojayfa-toast-title1 {
    font-weight: 600;
    color: var(--hojayfa-text-primary);
    margin-bottom: 0.25rem;
}

.hojayfa-toast-message1 {
    font-size: 0.875rem;
    color: var(--hojayfa-text-secondary);
}

.hojayfa-toast-close1 {
    background: none;
    border: none;
    color: var(--hojayfa-text-tertiary);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
}

.hojayfa-toast-close1:hover {
    color: var(--hojayfa-text-primary);
}

/* ========================================
   UTILITY CLASSES - HOJAYFA24
======================================== */
.hojayfa-hidden1 {
    display: none !important;
}

.hojayfa-text-center1 {
    text-align: center;
}

/* ========================================
   LOADING SPINNER - HOJAYFA25
======================================== */
.hojayfa-spinner1 {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: hojayfaSpin1 0.6s linear infinite;
}

@keyframes hojayfaSpin1 {
    to { transform: rotate(360deg); }
}

.hojayfa-loading-overlay1 {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--hojayfa-radius-md);
}

.hojayfa-loading-spinner1 {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--hojayfa-gray-200);
    border-top-color: var(--hojayfa-primary-600);
    border-radius: 50%;
    animation: hojayfaSpin1 0.8s linear infinite;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS - HOJAYFA27
======================================== */
@media (max-width: 768px) {
    .hojayfa-upload-container1 {
        padding: var(--hojayfa-spacing-md) var(--hojayfa-spacing-sm);
    }
    
    .hojayfa-file-drop-zone1 {
        padding: var(--hojayfa-spacing-xl) var(--hojayfa-spacing-lg);
        min-height: 250px;
    }
    
    .hojayfa-drop-icon1 {
        font-size: 3rem;
    }
    
    .hojayfa-drop-text1 {
        font-size: 1.125rem;
    }
    
    .hojayfa-editor-section1 {
        padding: var(--hojayfa-spacing-md);
    }
    
    .hojayfa-controls-sidebar1 {
        position: static;
    }
    
    .hojayfa-btn1 {
        min-width: 100px;
    }
    
    .hojayfa-section-actions1 .hojayfa-btn1 {
        flex: 1;
    }
    
    .hojayfa-bulk-actions-buttons1 {
        width: 100%;
    }
    
    .hojayfa-bulk-actions-buttons1 .hojayfa-btn1 {
        flex: 1;
    }
}