* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hojayfa-container-1 {
    max-width: 1200px;
    margin: 0 auto;
    animation: hojayfa-fadeIn-1 0.5s ease;
}

@keyframes hojayfa-fadeIn-1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */


.hojayfa-title-1 {
            text-align: center;
            margin-bottom: 1.5rem;
            padding: 1rem 0;
	color: #f70c3f;
        }

.hojayfa-title-1 h1 {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

/* Upload Area */
.hojayfa-upload-section-1 {
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hojayfa-upload-area-1 {
	   border: 3px dashed rgba(239, 68, 68, 0.5);
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hojayfa-upload-area-1.hojayfa-dragover-1 {
    border-color: #ff4757;
    background: rgba(255, 107, 107, 0.15);
    transform: scale(1.02);
}

.hojayfa-upload-icon-1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: hojayfa-float-1 3s ease-in-out infinite;
}

@keyframes hojayfa-float-1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hojayfa-upload-text-1 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.hojayfa-upload-subtext-1 {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 25px;
}

.hojayfa-browse-btn-1 {
    background: #f70c3f;
    color: white;
    border: none;
    padding: 14px 45px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hojayfa-browse-btn-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

#hojayfa-fileInput-1 {
    display: none;
}

/* Edit Controls Section */
.hojayfa-edit-controls-1 {
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    display: none;
}

.hojayfa-edit-controls-1.hojayfa-show-1 {
    display: block;
    animation: hojayfa-slideDown-1 0.4s ease;
}

@keyframes hojayfa-slideDown-1 {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding: 25px;
    }
}

.hojayfa-control-group-1 {
    margin-bottom: 25px;
}

.hojayfa-control-label-1 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hojayfa-control-value-1 {
    color: #ff6b6b;
    font-size: 1.2rem;
    font-weight: 700;
}

.hojayfa-quality-slider-1 {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.hojayfa-quality-slider-1::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(255, 107, 107, 0.5);
    transition: all 0.2s ease;
}

.hojayfa-quality-slider-1::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.7);
}

.hojayfa-quality-slider-1::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 15px rgba(255, 107, 107, 0.5);
}

.hojayfa-slider-marks-1 {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #888;
}

/* Images Gallery */
.hojayfa-images-gallery-1 {
    display: none;
}

.hojayfa-images-gallery-1.hojayfa-show-1 {
    display: block;
}

.hojayfa-gallery-header-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hojayfa-gallery-title-1 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 600;
}

.hojayfa-image-count-1 {
    color: #ff6b6b;
    font-weight: 700;
}

.hojayfa-batch-actions-1 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hojayfa-action-btn-1 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hojayfa-action-btn-1:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.hojayfa-action-btn-1:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.hojayfa-action-btn-1.hojayfa-secondary-1 {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.hojayfa-action-btn-1.hojayfa-secondary-1:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Images Grid */
.hojayfa-images-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.hojayfa-image-card-1 {
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: hojayfa-cardAppear-1 0.5s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

@keyframes hojayfa-cardAppear-1 {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hojayfa-image-card-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 107, 107, 0.3);
}

.hojayfa-image-preview-container-1 {
    position: relative;
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hojayfa-image-preview-1 {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hojayfa-image-card-1:hover .hojayfa-image-preview-1 {
    transform: scale(1.05);
}

.hojayfa-remove-btn-1 {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    color: #ff6b6b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.hojayfa-remove-btn-1:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.15) rotate(90deg);
}

.hojayfa-image-info-1 {
    margin-bottom: 15px;
}

.hojayfa-image-name-1 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    background: rgba(255, 107, 107, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
}

.hojayfa-image-details-1 {
    font-size: 0.85rem;
    color: #b0b0b0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hojayfa-detail-item-1 {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Progress Bar */
.hojayfa-progress-container-1 {
    margin: 15px 0;
    display: none;
}

.hojayfa-progress-container-1.hojayfa-show-1 {
    display: block;
}

.hojayfa-progress-bar-1 {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.hojayfa-progress-fill-1 {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hojayfa-progress-fill-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: hojayfa-shimmer-1 1.5s infinite;
}

@keyframes hojayfa-shimmer-1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.hojayfa-progress-text-1 {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-top: 6px;
    font-weight: 600;
    text-align: center;
}

/* Status Badge */
.hojayfa-status-badge-1 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hojayfa-status-badge-1.hojayfa-converting-1 {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.hojayfa-status-badge-1.hojayfa-completed-1 {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Download Button */
.hojayfa-download-btn-1 {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hojayfa-download-btn-1:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.hojayfa-download-btn-1:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* Live Preview Section */
.hojayfa-live-preview-1 {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    display: none;
}

.hojayfa-live-preview-1.hojayfa-show-1 {
    display: block;
    animation: hojayfa-slideDown-1 0.4s ease;
}

.hojayfa-preview-header-1 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.hojayfa-preview-comparison-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.hojayfa-preview-box-1 {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.hojayfa-preview-label-1 {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 10px;
    font-weight: 600;
}

.hojayfa-preview-image-container-1 {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hojayfa-preview-image-1 {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hojayfa-preview-info-1 {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #888;
}

/* Toast Notification */
.hojayfa-toast-1 {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    animation: hojayfa-toastSlide-1 0.4s ease;
    backdrop-filter: blur(10px);
}

@keyframes hojayfa-toastSlide-1 {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hojayfa-toast-1.hojayfa-success-1 {
    border-left: 5px solid #4caf50;
}

.hojayfa-toast-1.hojayfa-error-1 {
    border-left: 5px solid #ff6b6b;
}

.hojayfa-toast-icon-1 {
    font-size: 1.6rem;
}

.hojayfa-toast-message-1 {
    color: #1e1e1e;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Spinner */
.hojayfa-spinner-1 {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: hojayfa-spin-1 0.8s linear infinite;
}

@keyframes hojayfa-spin-1 {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hojayfa-container-1 {
        padding: 15px;
    }

    .hojayfa-subtitle-1 {
        font-size: 0.95rem;
    }


    .hojayfa-upload-area-1 {
        padding: 40px 15px;
    }

    .hojayfa-upload-icon-1 {
        font-size: 3rem;
    }

    .hojayfa-upload-text-1 {
        font-size: 1.2rem;
    }

    .hojayfa-browse-btn-1 {
        padding: 12px 35px;
        font-size: 1rem;
    }

    .hojayfa-images-grid-1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hojayfa-gallery-header-1 {
        flex-direction: column;
        align-items: stretch;
    }

    .hojayfa-batch-actions-1 {
        width: 100%;
        justify-content: stretch;
    }

    .hojayfa-action-btn-1 {
        flex: 1;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hojayfa-preview-comparison-1 {
        grid-template-columns: 1fr;
    }

    .hojayfa-toast-1 {
        right: 10px;
        left: 10px;
        top: 10px;
    }
}

/* Additional Enhancements */
.hojayfa-feature-highlight-1 {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 111, 0.1) 100%);
    border-left: 4px solid #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.hojayfa-drag-indicator-1 {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #888;
    cursor: move;
}