.format-btn {
        padding: 8px 12px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        background: white;
        cursor: pointer;
        transition: all 0.2s;
    }

    .format-btn:hover {
        border-color: #3b82f6;
    }

    .format-btn.active {
        border-color: #3b82f6;
        background: #3b82f6;
        color: white;
    }

    .format-btn.active .format-btn-text {
        color: white !important;
    }

    /* 确保select下拉框正确显示文本 */
    #quality-select {
        color: #374151 !important;
        font-size: 14px;
        line-height: 1.5;
        background-color: white !important;
    }

    #quality-select option {
        color: #374151;
        background-color: white;
    }

    /* 确保select在未展开时也能显示文本 */
    #quality-select:not([size]) {
        background-image: none;
    }

    .drag-area {
        border: 2px dashed #3b82f6;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        transition: all 0.3s ease;
    }

    .drag-area.dragover {
        border-color: #2563eb;
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        transform: scale(1.02);
    }

    .file-item {
        background: white;
        border-radius: 0.375rem; /* rounded-md */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .file-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .progress-bar-container {
        height: 0.5rem; /* h-2 */
        overflow: hidden;
        border-radius: 9999px;
        background-color: #e5e7eb;
    }

    .progress-bar {
        height: 100%;
        min-height: 100%;
        border-radius: 9999px;
        background: linear-gradient(90deg, #3b82f6, #8b5cf6);
        transition: width 0.3s ease;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }
    }

    .processing {
        animation: pulse 1.5s ease-in-out infinite;
    }

    .format-info {
        background: #f8fafc;
        border-radius: 8px;
        padding: 12px;
        margin-top: 8px;
    }

    .format-info h4 {
        font-weight: 600;
        color: #374151;
        margin-bottom: 4px;
    }

    .format-info p {
        font-size: 12px;
        color: #6b7280;
        line-height: 1.4;
    }
