:root {
    --hojayfa-bg-primary1: #000000;
    --hojayfa-bg-secondary1: #1a1a1a;
    --hojayfa-bg-card1: #0f0f0f;
    --hojayfa-text-primary1: #ffffff;
    --hojayfa-text-secondary1: #b0b0b0;
    --hojayfa-accent-red1: #f70c3f;
    --hojayfa-border-color1: rgba(239, 68, 68, 0.5);
    --hojayfa-success-green1: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hojayfa-container1 {
    max-width: 1200px;
    margin: 0 auto;
}

.hojayfa-header1 {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.hojayfa-header1 h1 {
    font-size: 22px;
    font-weight: 700;
    color: #f70c3f;
    margin-bottom: 0.5rem;
}

.hojayfa-header1 p {
    font-size: 14px;
    color: var(--hojayfa-text-secondary1);
}

.hojayfa-upload-section1 {
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 3px dashed rgba(239, 68, 68, 0.5);
    transition: all 0.3s ease;
}

.hojayfa-upload-section1.hojayfa-drag-over1 {
    border-color: var(--hojayfa-accent-red1);
    background: rgba(247, 12, 63, 0.1);
}

.hojayfa-upload-area1 {
    text-align: center;
    padding: 3rem 1rem;
    cursor: pointer;
}

.hojayfa-upload-icon1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--hojayfa-accent-red1);
}

.hojayfa-upload-text1 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--hojayfa-text-primary1);
}

.hojayfa-upload-subtext1 {
    font-size: 0.9rem;
    color: var(--hojayfa-text-secondary1);
    margin-bottom: 1.5rem;
}

.hojayfa-browse-btn1 {
    background: var(--hojayfa-accent-red1);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 12, 63, 0.3);
}

.hojayfa-browse-btn1:hover {
    background: #d10a35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 12, 63, 0.4);
}

.hojayfa-browse-btn1:active {
    transform: translateY(0);
}

.hojayfa-file-input1 {
    display: none;
}

.hojayfa-settings-section1 {
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.hojayfa-settings-title1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--hojayfa-text-primary1);
}

.hojayfa-compression-level1 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hojayfa-level-label1 {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--hojayfa-text-secondary1);
}

.hojayfa-percentage-display1 {
    background: var(--hojayfa-bg-secondary1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hojayfa-accent-red1);
}

.hojayfa-slider1 {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--hojayfa-bg-secondary1);
    outline: none;
    -webkit-appearance: none;
}

.hojayfa-slider1::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hojayfa-accent-red1);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(247, 12, 63, 0.5);
}

.hojayfa-slider1::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hojayfa-accent-red1);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(247, 12, 63, 0.5);
}

.hojayfa-queue-header1 {
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hojayfa-queue-info1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hojayfa-queue-count1 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hojayfa-text-primary1);
}

.hojayfa-compress-all-btn1 {
    background: var(--hojayfa-accent-red1);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 12, 63, 0.3);
}

.hojayfa-compress-all-btn1:hover:not(:disabled) {
    background: #d10a35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 12, 63, 0.4);
}

.hojayfa-compress-all-btn1:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hojayfa-preview-section1 {
    margin-bottom: 2rem;
}

.hojayfa-files-list1 {
    display: grid;
    gap: 1rem;
}

hojayfa-file-card1 {
    background: var(--hojayfa-bg-card1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: hojayfa-slideIn1 0.3s ease;
}

@keyframes hojayfa-slideIn1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hojayfa-file-header1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.hojayfa-file-info1 {
    flex: 1;
    min-width: 200px;
}

.hojayfa-file-name1 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--hojayfa-text-primary1);
    word-break: break-word;
}

.hojayfa-file-sizes1 {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--hojayfa-text-secondary1);
    flex-wrap: wrap;
}

.hojayfa-size-item1 {
    display: flex;
    flex-direction: column;
}

.hojayfa-size-label1 {
    font-size: 0.75rem;
    color: var(--hojayfa-text-secondary1);
}

.hojayfa-size-value1 {
    font-weight: 600;
    color: var(--hojayfa-text-primary1);
}

.hojayfa-status-badge1 {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.hojayfa-status-pending1 {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.hojayfa-status-compressing1 {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.hojayfa-status-completed1 {
    background: rgba(16, 185, 129, 0.2);
    color: var(--hojayfa-success-green1);
}

.hojayfa-status-error1 {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.hojayfa-progress-container1 {
    margin: 1rem 0;
}

.hojayfa-progress-bar1 {
    width: 100%;
    height: 8px;
    background: var(--hojayfa-bg-secondary1);
    border-radius: 4px;
    overflow: hidden;
}

.hojayfa-progress-fill1 {
    height: 100%;
    background: linear-gradient(90deg, var(--hojayfa-accent-red1), #ff1744);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.hojayfa-progress-text1 {
    text-align: center;
    font-size: 0.85rem;
    color: var(--hojayfa-text-secondary1);
    margin-top: 0.5rem;
}

.hojayfa-file-actions1 {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hojayfa-action-btn1 {
    background: var(--hojayfa-accent-red1);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.hojayfa-action-btn1:hover:not(:disabled) {
    background: #d10a35;
    transform: translateY(-2px);
}

.hojayfa-action-btn1:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hojayfa-delete-btn1 {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.hojayfa-delete-btn1:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.hojayfa-recompress-btn1 {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.hojayfa-recompress-btn1:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.hojayfa-bulk-actions1 {
    background: var(--hojayfa-bg-card1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hojayfa-bulk-buttons1 {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hojayfa-bulk-btn1 {
    background: var(--hojayfa-accent-red1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 12, 63, 0.3);
    flex: 1;
    min-width: 200px;
}

.hojayfa-bulk-btn1:hover:not(:disabled) {
    background: #d10a35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 12, 63, 0.4);
}

.hojayfa-bulk-btn1:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hojayfa-empty-state1 {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--hojayfa-text-secondary1);
}

.hojayfa-empty-icon1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.hojayfa-compression-info1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.hojayfa-savings1 {
    color: var(--hojayfa-success-green1);
    font-weight: 600;
}

    .hojayfa-header1 h1 {
        font-size: 18px;
    }

    .hojayfa-upload-section1 {
        padding: 1.5rem;
    }

    .hojayfa-upload-area1 {
        padding: 2rem 1rem;
    }

    .hojayfa-upload-icon1 {
        font-size: 2rem;
    }

    .hojayfa-file-header1 {
        flex-direction: column;
    }

    .hojayfa-file-actions1 {
        flex-direction: column;
    }

    .hojayfa-action-btn1 {
        width: 100%;
    }

    .hojayfa-delete-btn1 {
        width: 100%;
    }

    .hojayfa-recompress-btn1 {
        width: 100%;
    }

    .hojayfa-bulk-buttons1 {
        flex-direction: column;
    }

    .hojayfa-bulk-btn1 {
        width: 100%;
    }

    .hojayfa-queue-header1 {
        flex-direction: column;
    }
}