* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --hojayfa-primary-color1: #dc2626;
    --hojayfa-primary-hover2: #b91c1c;
    --hojayfa-primary-dark3: #991b1b;
    --hojayfa-primary-light4: #fee2e2;
    --hojayfa-secondary-color5: #000000;
    --hojayfa-bg-color1: #0a0a0a;
    --hojayfa-card-bg2: #1a1a1a;
    --hojayfa-card-bg-light3: #252525;
    --hojayfa-border-color4: #2a2a2a;
    --hojayfa-border-light5: #333333;
    --hojayfa-text-primary1: #ffffff;
    --hojayfa-text-secondary2: #a3a3a3;
    --hojayfa-text-muted3: #737373;
    --hojayfa-success-color4: #10b981;
    --hojayfa-warning-color5: #f59e0b;
    --hojayfa-danger-color1: #ef4444;
    --hojayfa-shadow-sm2: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --hojayfa-shadow-md3: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --hojayfa-shadow-lg4: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --hojayfa-shadow-glow5: 0 0 20px rgba(220, 38, 38, 0.3);
    --hojayfa-radius-sm1: 0.375rem;
    --hojayfa-radius-md2: 0.5rem;
    --hojayfa-radius-lg3: 0.75rem;
    --hojayfa-radius-xl4: 1rem;
}

body {
    background: var(--hojayfa-bg-color1);
    color: var(--hojayfa-text-primary1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.hojayfa-container1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    color: #f70c3f;
}

.hojayfa-tool-header1 {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.hojayfa-tool-header1 h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--hojayfa-text-primary1);
    margin-bottom: 0.5rem;
}

/* Upload Section */
.hojayfa-upload-section2 {
    margin-bottom: 2rem;
}

.hojayfa-upload-area3 {
    border: 3px dashed rgba(239, 68, 68, 0.5);
    border-radius: var(--hojayfa-radius-xl4);
    padding: 3rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.hojayfa-upload-area3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hojayfa-upload-area3.hojayfa-drag-over4 {
    border-color: var(--hojayfa-primary-color1);
    background: rgba(220, 38, 38, 0.05);
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.2);
}

.hojayfa-upload-icon5 {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--hojayfa-primary-color1), var(--hojayfa-primary-hover2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: hojayfa-pulse1 3s infinite;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

@keyframes hojayfa-pulse1 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hojayfa-upload-area3 h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--hojayfa-text-primary1);
    font-weight: 700;
}

.hojayfa-upload-area3 p {
    color: var(--hojayfa-text-secondary2);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.hojayfa-upload-area3 .hojayfa-file-info1 {
    font-size: 0.8rem;
    color: var(--hojayfa-text-muted3);
    margin-top: 1rem;
}

/* Buttons */
.hojayfa-btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--hojayfa-radius-md2);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.hojayfa-btn2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hojayfa-btn2:hover::before {
    width: 300px;
    height: 300px;
}

.hojayfa-btn-primary3 {
    background: linear-gradient(135deg, var(--hojayfa-primary-color1), var(--hojayfa-primary-hover2));
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    border: 2px solid transparent;
}

.hojayfa-btn-primary3:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5);
    background: linear-gradient(135deg, var(--hojayfa-primary-hover2), var(--hojayfa-primary-dark3));
}

.hojayfa-btn-primary3:active {
    transform: translateY(0);
}

.hojayfa-btn-secondary4 {
    background: var(--hojayfa-card-bg2);
    color: var(--hojayfa-text-primary1);
    border: 2px solid var(--hojayfa-border-light5);
}

.hojayfa-btn-secondary4:hover {
    background: var(--hojayfa-card-bg-light3);
    border-color: var(--hojayfa-primary-color1);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.hojayfa-btn-outline5 {
    background: transparent;
    border: 2px solid var(--hojayfa-border-light5);
    color: var(--hojayfa-text-primary1);
}

.hojayfa-btn-outline5:hover {
    border-color: var(--hojayfa-primary-color1);
    color: var(--hojayfa-primary-color1);
    background: rgba(220, 38, 38, 0.05);
}

.hojayfa-btn-sm1 {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.hojayfa-btn-icon2 {
    padding: 0.6rem;
    width: 36px;
    height: 36px;
}

/* Editor Section */
.hojayfa-editor-section3 {
    display: none;
    margin-bottom: 2rem;
    animation: hojayfa-fadeIn2 0.5s ease;
}

.hojayfa-editor-section3.hojayfa-active4 {
    display: block;
}

.hojayfa-editor-container5 {
    background: var(--hojayfa-card-bg2);
    border-radius: var(--hojayfa-radius-xl4);
    border: 1px solid var(--hojayfa-border-color4);
    overflow: hidden;
    box-shadow: var(--hojayfa-shadow-lg4);
}

.hojayfa-editor-header1 {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0.02) 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--hojayfa-border-color4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hojayfa-editor-title2 {
    color: var(--hojayfa-text-primary1);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hojayfa-editor-title2 .hojayfa-filename3 {
    color: var(--hojayfa-primary-color1);
    font-weight: 800;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hojayfa-editor-actions4 {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hojayfa-canvas-container5 {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    min-height: 400px;
    position: relative;
}

.hojayfa-canvas-wrapper1 {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

#hojayfaCropCanvas2 {
    display: block;
    max-width: 100%;
    height: auto;
    touch-action: none;
    border-radius: var(--hojayfa-radius-sm1);
}

.hojayfa-crop-overlay3 {
    position: absolute;
    border: 3px solid var(--hojayfa-primary-color1);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7), 0 0 30px rgba(220, 38, 38, 0.4);
    cursor: move;
    touch-action: none;
    border-radius: 4px;
}

.hojayfa-crop-handle4 {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--hojayfa-primary-color1);
    border: 4px solid white;
    border-radius: 50%;
    touch-action: none;
    z-index: 10;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
    transition: transform 0.2s ease;
}

.hojayfa-crop-handle4:hover {
    transform: scale(1.15);
}

.hojayfa-handle-nw5 { top: -14px; left: -14px; cursor: nw-resize; }
.hojayfa-handle-ne1 { top: -14px; right: -14px; cursor: ne-resize; }
.hojayfa-handle-sw2 { bottom: -14px; left: -14px; cursor: sw-resize; }
.hojayfa-handle-se3 { bottom: -14px; right: -14px; cursor: se-resize; }
.hojayfa-handle-n4 { top: -14px; left: 50%; transform: translateX(-50%); cursor: n-resize; }
.hojayfa-handle-s5 { bottom: -14px; left: 50%; transform: translateX(-50%); cursor: s-resize; }
.hojayfa-handle-w1 { top: 50%; left: -14px; transform: translateY(-50%); cursor: w-resize; }
.hojayfa-handle-e2 { top: 50%; right: -14px; transform: translateY(-50%); cursor: e-resize; }

.hojayfa-crop-grid3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hojayfa-grid-line4 {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
}

.hojayfa-grid-line4.hojayfa-horizontal5 {
    width: 100%;
    height: 1px;
}

.hojayfa-grid-line4.hojayfa-vertical1 {
    width: 1px;
    height: 100%;
}

/* Crop Dimensions Display */
.hojayfa-crop-dimensions2 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.85);
    color: var(--hojayfa-primary-color1);
    padding: 0.75rem 1rem;
    border-radius: var(--hojayfa-radius-md2);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--hojayfa-primary-color1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Crop Action Button Below Image */
.hojayfa-crop-action-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    padding: 0 1rem;
}

.hojayfa-crop-btn-main {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.4) !important;
    animation: hojayfa-pulse-glow 2s infinite;
}

.hojayfa-crop-btn-main:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.6) !important;
}

@keyframes hojayfa-pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 30px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 6px 40px rgba(220, 38, 38, 0.6);
    }
}

/* Controls Section */
.hojayfa-controls-section3 {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--hojayfa-border-color4);
    background: var(--hojayfa-bg-color1);
}

.hojayfa-control-group4 {
    margin-bottom: 2rem;
    animation: hojayfa-fadeIn2 0.5s ease;
}

.hojayfa-control-group4:last-child {
    margin-bottom: 0;
}

.hojayfa-control-group4 h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hojayfa-primary-color1);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--hojayfa-primary-color1);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hojayfa-preset-grid5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.hojayfa-preset-btn1 {
    padding: 0.9rem 0.75rem;
    border: 2px solid var(--hojayfa-border-color4);
    border-radius: var(--hojayfa-radius-md2);
    background: var(--hojayfa-card-bg2);
    color: var(--hojayfa-text-primary1);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hojayfa-preset-btn1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.hojayfa-preset-btn1:hover::before {
    left: 100%;
}

.hojayfa-preset-btn1:hover {
    border-color: var(--hojayfa-primary-color1);
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.hojayfa-preset-btn1.hojayfa-active4 {
    border-color: var(--hojayfa-primary-color1);
    background: var(--hojayfa-primary-color1);
    color: white;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.hojayfa-control-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hojayfa-input-group3 {
    display: flex;
    flex-direction: column;
}

.hojayfa-input-group3 label {
    font-size: 0.75rem;
    color: var(--hojayfa-text-secondary2);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hojayfa-input-group3 input,
.hojayfa-input-group3 select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--hojayfa-border-color4);
    border-radius: var(--hojayfa-radius-md2);
    background: var(--hojayfa-card-bg2);
    color: var(--hojayfa-text-primary1);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hojayfa-input-group3 input:focus,
.hojayfa-input-group3 select:focus {
    outline: none;
    border-color: var(--hojayfa-primary-color1);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    background: var(--hojayfa-bg-color1);
}

.hojayfa-toggle-group4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--hojayfa-card-bg2);
    border-radius: var(--hojayfa-radius-md2);
    border: 1px solid var(--hojayfa-border-color4);
}

.hojayfa-toggle5 {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--hojayfa-border-color4);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid var(--hojayfa-border-light5);
    flex-shrink: 0;
}

.hojayfa-toggle5.hojayfa-active4 {
    background: var(--hojayfa-primary-color1);
    border-color: var(--hojayfa-primary-color1);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

.hojayfa-toggle-slider1 {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hojayfa-toggle5.hojayfa-active4 .hojayfa-toggle-slider1 {
    transform: translateX(30px);
}

.hojayfa-toggle-group4 label {
    font-size: 0.9rem;
    color: var(--hojayfa-text-primary1);
    font-weight: 600;
    flex: 1;
}

input[type="range"].hojayfa-range2 {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--hojayfa-border-color4);
    outline: none;
}

input[type="range"].hojayfa-range2::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--hojayfa-primary-color1);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    transition: transform 0.2s ease;
}

input[type="range"].hojayfa-range2::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"].hojayfa-range2::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--hojayfa-primary-color1);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.hojayfa-slider-control3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 1rem;
    background: var(--hojayfa-card-bg2);
    border-radius: var(--hojayfa-radius-md2);
    border: 1px solid var(--hojayfa-border-color4);
}

.hojayfa-slider-control3 label {
    min-width: 70px;
    font-size: 0.85rem;
    color: var(--hojayfa-text-secondary2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hojayfa-slider-value4 {
    min-width: 60px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--hojayfa-primary-color1);
    font-weight: 700;
}

/* Image Queue Section */
.hojayfa-queue-section5 {
    display: none;
    margin-top: 3rem;
    animation: hojayfa-fadeIn2 0.5s ease;
}

.hojayfa-queue-section5.hojayfa-active4 {
    display: block;
}

.hojayfa-queue-header1 {
    background: var(--hojayfa-card-bg2);
    border-radius: var(--hojayfa-radius-xl4) var(--hojayfa-radius-xl4) 0 0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid var(--hojayfa-border-color4);
    border-bottom: none;
}

.hojayfa-queue-header1 h2 {
    font-size: 1.5rem;
    color: var(--hojayfa-text-primary1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hojayfa-queue-count2 {
    background: var(--hojayfa-primary-color1);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--hojayfa-radius-md2);
    font-size: 0.85rem;
    font-weight: 700;
}

.hojayfa-bulk-controls3 {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hojayfa-queue-body4 {
    background: var(--hojayfa-card-bg2);
    border: 1px solid var(--hojayfa-border-color4);
    border-top: none;
    border-radius: 0 0 var(--hojayfa-radius-xl4) var(--hojayfa-radius-xl4);
    padding: 1.5rem;
}

.hojayfa-image-grid5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.hojayfa-image-card1 {
    background: var(--hojayfa-bg-color1);
    border-radius: var(--hojayfa-radius-lg3);
    padding: 1rem;
    border: 2px solid var(--hojayfa-border-color4);
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hojayfa-image-card1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.5s ease;
}

.hojayfa-image-card1:hover::before {
    left: 100%;
}

.hojayfa-image-card1:hover {
    border-color: var(--hojayfa-primary-color1);
    box-shadow: 0 4px 25px rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

.hojayfa-image-card1.hojayfa-selected2 {
    border-color: var(--hojayfa-primary-color1);
    background: rgba(220, 38, 38, 0.05);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.hojayfa-image-card1.hojayfa-active4 {
    border-color: var(--hojayfa-success-color4);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.hojayfa-image-thumbnail3 {
    width: 100px;
    height: 100px;
    border-radius: var(--hojayfa-radius-md2);
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--hojayfa-border-color4);
    flex-shrink: 0;
    position: relative;
}

.hojayfa-image-thumbnail3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hojayfa-image-info4 {
    flex: 1;
    min-width: 0;
}

.hojayfa-image-info4 h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--hojayfa-text-primary1);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    letter-spacing: 0.3px;
}

.hojayfa-image-info4 .hojayfa-filename-highlight5 {
    color: var(--hojayfa-primary-color1);
    font-weight: 800;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: var(--hojayfa-radius-sm1);
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hojayfa-image-meta1 {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--hojayfa-text-secondary2);
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.hojayfa-image-meta1 span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hojayfa-status-badge2 {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: var(--hojayfa-radius-sm1);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hojayfa-status-queued3 {
    background: rgba(220, 38, 38, 0.15);
    color: var(--hojayfa-primary-color1);
    border: 1px solid var(--hojayfa-primary-color1);
}

.hojayfa-status-done4 {
    background: rgba(16, 185, 129, 0.15);
    color: var(--hojayfa-success-color4);
    border: 1px solid var(--hojayfa-success-color4);
}

.hojayfa-status-editing5 {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.hojayfa-image-actions1 {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.hojayfa-action-btn2 {
    width: 40px;
    height: 40px;
    border-radius: var(--hojayfa-radius-md2);
    border: 2px solid var(--hojayfa-border-color4);
    background: var(--hojayfa-card-bg2);
    color: var(--hojayfa-text-primary1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hojayfa-action-btn2:hover {
    border-color: var(--hojayfa-primary-color1);
    background: rgba(220, 38, 38, 0.1);
    transform: scale(1.15);
}

.hojayfa-action-btn2.hojayfa-danger3:hover {
    border-color: var(--hojayfa-danger-color1);
    background: rgba(239, 68, 68, 0.1);
}

.hojayfa-action-btn2.hojayfa-success4:hover {
    border-color: var(--hojayfa-success-color4);
    background: rgba(16, 185, 129, 0.1);
}

/* Notification */
.hojayfa-notification5 {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.25rem 2.5rem;
    border-radius: var(--hojayfa-radius-lg3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: hojayfa-slideDown1 0.3s ease;
    max-width: 90%;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid;
    backdrop-filter: blur(10px);
}

.hojayfa-notification5.hojayfa-success4 {
    background: rgba(26, 26, 26, 0.95);
    color: var(--hojayfa-primary-color1);
    border-color: var(--hojayfa-primary-color1);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
}

.hojayfa-notification5.hojayfa-warning2 {
    background: rgba(26, 26, 26, 0.95);
    color: var(--hojayfa-warning-color5);
    border-color: var(--hojayfa-warning-color5);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
}

.hojayfa-notification5.hojayfa-error3 {
    background: rgba(26, 26, 26, 0.95);
    color: var(--hojayfa-danger-color1);
    border-color: var(--hojayfa-danger-color1);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
}

@keyframes hojayfa-slideDown1 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes hojayfa-fadeIn2 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.hojayfa-spinner4 {
    width: 40px;
    height: 40px;
    border: 4px solid var(--hojayfa-border-color4);
    border-top-color: var(--hojayfa-primary-color1);
    border-radius: 50%;
    animation: hojayfa-spin5 1s linear infinite;
    margin: 2rem auto;
}

@keyframes hojayfa-spin5 {
    to { transform: rotate(360deg); }
}

/* Quick Actions Toolbar */
.hojayfa-quick-actions1 {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.hojayfa-quick-action-btn2 {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hojayfa-primary-color1), var(--hojayfa-primary-hover2));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.hojayfa-quick-action-btn2:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.6);
}

/* Prevent text selection during drag */
.hojayfa-crop-overlay3,
.hojayfa-crop-handle4,
.hojayfa-canvas-wrapper1 {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Responsive Design */
@media (min-width: 480px) {
    .hojayfa-preset-grid5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .hojayfa-container1 {
        padding: 2rem;
    }

    .hojayfa-image-grid5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hojayfa-canvas-container5 {
        padding: 3rem 2rem;
        min-height: 500px;
    }

    .hojayfa-controls-section3 {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .hojayfa-image-grid5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .hojayfa-preset-grid5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .hojayfa-image-grid5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile specific */
@media (max-width: 767px) {
    .hojayfa-tool-header1 h1 {
        font-size: 1.75rem;
        letter-spacing: 2px;
    }

    .hojayfa-upload-area3 {
        padding: 2rem 1rem;
    }

    .hojayfa-upload-icon5 {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .hojayfa-btn2 {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .hojayfa-editor-actions4 {
        width: 100%;
        justify-content: stretch;
    }

    .hojayfa-editor-actions4 .hojayfa-btn2 {
        flex: 1;
    }

    .hojayfa-queue-header1 {
        flex-direction: column;
        align-items: stretch;
    }

    .hojayfa-queue-header1 h2 {
        font-size: 1.25rem;
        text-align: center;
    }

    .hojayfa-bulk-controls3 {
        width: 100%;
        justify-content: center;
    }

    .hojayfa-bulk-controls3 .hojayfa-btn2 {
        flex: 1;
    }

    .hojayfa-image-card1 {
        flex-direction: column;
        text-align: center;
    }

    .hojayfa-image-thumbnail3 {
        width: 100%;
        height: 150px;
    }

    .hojayfa-image-info4 {
        width: 100%;
    }

    .hojayfa-image-actions1 {
        width: 100%;
        justify-content: center;
    }

    .hojayfa-crop-dimensions2 {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .hojayfa-quick-actions1 {
        bottom: 1rem;
        right: 1rem;
    }

    .hojayfa-quick-action-btn2 {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .hojayfa-crop-btn-main {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
    }
}