.file-upload-area {
    min-height: 280px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-muted);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area.dragover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: scale(1.02);
}

.file-upload-area.has-file {
    border-color: var(--success);
    background-color: #f0fdf4;
}

.upload-content {
    text-align: center;
    padding: 2rem;
}

.upload-icon {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.upload-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.upload-subtext {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.upload-formats {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.upload-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.file-info {
    padding: 1.5rem;
    text-align: center;
}

.file-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.file-details i {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.file-details h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.file-details p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0.25rem 0;
}

.output-options {
    background-color: var(--surface-muted);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.output-options label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

.output-options select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--surface);
    color: var(--text-main);
}

.base64-output {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-all;
}

.copy-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-notification.error {
    background: var(--danger);
}

@media (max-width: 768px) {
    .file-upload-area {
        min-height: 220px;
    }
    
    .upload-content {
        padding: 1.5rem;
    }
    
    .base64-output {
        min-height: 250px;
        max-height: 400px;
        font-size: 0.75rem;
    }
}

