.aliases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px 0;
    min-height: 36px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-color);
}

.alias-input-group {
    display: flex;
    gap: 8px;
}

.alias-input-group input {
    flex: 1;
}

.alias-input-group button {
    padding: 8px 16px;
}

.current-aliases {
    margin-bottom: 1.5rem;
}

.current-aliases label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.aliases-list .alias-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--info-bg);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 2px;
}

.aliases-list .alias-badge .remove-alias {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    color: var(--error-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.aliases-list .alias-badge .remove-alias:hover {
    color: var(--error-color);
    background: var(--error-bg);
}

.aliases-list .alias-badge .remove-alias i {
    font-size: 12px;
}

.no-aliases {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
}

.alias-badge {
    display: inline-flex;
    align-items: center;
    background-color: #4b5563; 
    color: #f3f4f6; 
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

[data-theme="light"] .alias-badge {
    background-color: #6b7280; 
    color: white;
}

[data-theme="dark"] .alias-badge {
    background-color: #4b5563;
    color: #e5e7eb;
}

.remove-alias {
    background: none;
    border: none;
    color: inherit;
    margin-left: 0.5rem;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.remove-alias:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .remove-alias:hover {
    background-color: rgba(0, 0, 0, 0.1);
} 