.epo-upload-container {
    background-color: var(--muted);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    width: 100%;
}

.epo-upload-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.epo-upload-title {
    font-weight: 600;
    color: var(--foreground);
    font-size: 1.1rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.25em;
}

.epo-upload-required-asterisk {
    color: var(--destructive);
    font-weight: bold;
    margin-left: 0.2em;
}

.epo-upload-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
}

.epo-upload-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: var(--card);
    transition: border-color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.epo-upload-dropzone:hover,
.epo-upload-dropzone-active {
    border-color: var(--primary);
    background-color: oklch(from var(--primary) l c h / 0.05);
}

.epo-upload-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.epo-upload-text {
    font-size: 1rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.epo-upload-subtext {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.epo-upload-browse-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.epo-upload-browse-button:hover {
    background-color: oklch(from var(--primary) l calc(c * 0.9) h);
}

.epo-upload-file-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.epo-upload-file-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}

.epo-upload-file-icon {
    margin-right: 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.epo-upload-file-info {
    flex: 1;
    overflow: hidden;
}

.epo-upload-file-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.epo-upload-file-size {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.epo-upload-file-progress {
    height: 4px;
    width: 100%;
    background-color: var(--muted);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.epo-upload-file-progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.epo-upload-file-remove {
    margin-left: 0.75rem;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 9999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.epo-upload-file-remove:hover {
    background-color: var(--muted);
    color: var(--destructive);
}

.epo-upload-max-size {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
		margin-left: 1rem;
}

.epo-upload-hidden {
    display: none !important;
}
